Releases: cassava/repoctl
Version 0.22.2
Version 0.22.1
This bugfix release resolves the missing xdata
field support for package databases.
Version 0.22
This release is a maintenance release, fixing some long-standing issues
and also keeping up-to-date with changes to Pacman and AUR.
Dependencies have also been updated to the latest versions.
- New:
add
command learned--no-verify
flag to disable verification of
packages prior to copying/moving them repository. - Fix: verify packages before adding them to repository.
- Fix: support
xdata
field from pacman 6.1 (@intelfx). - Fix: error reading packages leading to all packages removed (@intelfx).
- Fix: do not hardcode paths to
repo-add
andrepo-remove
(@JustTNE). - Fix: update to use new AUR endpoint (@potatoattack).
- Fix: Remove outdated reference to
--backup
flag in help (@cyrinux). - Fix:
add
command verifies packages by reading them before
copying/moving them to the repository.
Version 0.21
This release brings us much closer to a 1.0 release. Many long-standing issues
have been addressed and the usage of repoctl has been improved in several
significant ways.
First of all, our landing page has been rewritten, so scan that
and see if you can learn something useful!
- New: support configuration profiles. See
conf
command
for configuration help and-P
(--profile
) flag for
choosing the profile. (This resolves issue #23) - New: full completion support for Bash, Zsh, and Fish shells.
- New:
conf
command added, with the following subcommands:
new
,edit
,show
, andmigrate
. - New:
search
command learned-i
(--info
) flag, to show
as much information in search results as possible. - New:
search
command learned-b
as an alias for--sort-by
. - New:
query
command added, to retrieve all metadata on a package in AUR. - Remove:
--backup
and--backup-dir
have been removed,
in favor of using profiles to configure these settings. - Remove:
new
command removed in favor ofconf
andreset
. - Remove:
action_on_complete
configuration item has been removed,
since this causes too many problems. - Remove:
unconfigured
configuration item is no longer needed (issue #53). - Update: make output more consistent.
- Update: improve debugging, usage, and error output.
- Update:
search
command flag--quiet
renamed to--raw
. - Update:
reset
command can initialize a repository now.
This is also the recommended procedure for creating a new repository. - Update: configuration is no longer required when it is not needed.
- Update: radically improve speed of reading directory of packages,
which is relevant forstatus
,update
,list
anddown -u
commands. - Update: Streamline repository structure.
- Fix: issue #37, make backup directory if it does not exist.
- Fix: issue #52, gz, xz, bz2, and zst database compressions supported now.
- Fix: issue #57, no more errors reading zst-compressed packages.
- Fix: abort commands that modify the database when it is locked.
- Fix: only query AUR for packages when necessary.
Version 0.20
This release fixes some bugs and adds searching capability to repoctl.
- New:
search
command added. - New
down
command learned-n
(--dry-run
) option. - Update:
new
config command now backs up existing configuration files. - Update: github.com/goulash/pacman dependency moved into repository.
- Bugfix:
version
command does not show entire configuration. - Bugfix: issue #46, do not panic or print errors with large repos.
- Bugfix: issue #33, recursive download and dependency resolution broken.
Version 0.19
This release fixes several bugs and adds support for signatures and Zst
compression.
This release comes a lot later than planned. In the future, I will try to release more often rather than try to bundle changes and fixes together.
- New: repoctl can find and add signature files that accompany packages.
- New:
add
command learned-l
(--link
) option. - New:
add
command learned-r
(--require-signature
) option. - New:
update
command learned-r
(--require-signature
) option. - New: configuration file gained
require_signature
field. - New: support Zstandard compression for packages.
- Update: print entire error message when system command fails.
- Update: issue #34,
list
command learned-r
(--registered
) option. - Bugfix: issue #35, in which signature files are recognized as package
files and are attempted to be read. - Bugfix: issue #36, do not abort download when some packages not on AUR.
- Bugfix: issue #47, do not mishandle files compressed with Zstandard.
Version 0.18
This release adds an alternate way to deal with obsolete package files, for
better interoperability with tools like paccache
(see Issue #30 for the discussion; many thanks to @maximbaz).
When backup is enabled and the backup directory resolves to the repository
directory, then package files are ignored instead of moved or deleted.
You can make this permanent in the configuration:
backup = true
backup_dir = ""
When this is set, you need to pass --backup=false
to get repoctl to ever
remove the package files, such as when using repoctl remove pkgname
.
Other minor changes include:
Version 0.17
This release adds dependency resolution for the down
command
and fixes a bug that occurs when trying to update a repository that
has more than 250 packages.
- New:
down
command learned-r
and-o
flags that resolve dependencies
and write a recommended order of compilation for any downloaded packages. - Bugfix: issue #28, in which AUR queries for a local database with more
than 250 packages failed. - Update: better error messages when pre/post command actions fail.
- Update: somewhat improved zsh completion (contributed by KoHcoJlb).
- New: generated bash completion via the cobra library.
Version 0.16
This release adds action hooks to the configuration, and shows the configuration
when the version
command is used.
- New:
pre_action
andpost_action
string options have been added to the
configuration. These commands are run in a local shell. They can be used
to mount a remote filesystem where the database is located and dismount
it afterwards. - Change:
version
command prints the values of the active configuration. - Change:
new config
command doesn't try to be smart about database
extension anymore. It's just confusing. - Update: removing unnecessary error messages during repository creation.
Version 0.15
This release adds regex filtering support to the list
command. A small
bug in the status
command has been fixed, as well as with the pacman library.
Nothing major however.
- New:
list
command learned to filter with regex argument - Bugfix: status -m does not read AUR
- Bugfix: reading repository without database failing
- Update: documentation of list command improved
- Update: vendored libraries have been updated