- New:
addcommand learned--no-verifyflag to disable verification of packages prior to copying/moving them repository. - Fix:
addcommand verifies packages by reading them before copying/moving them to the repository.
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
confcommand 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:
confcommand added, with the following subcommands:new,edit,show, andmigrate. - New:
searchcommand learned-i(--info) flag, to show as much information in search results as possible. - New:
searchcommand learned-bas an alias for--sort-by. - New:
querycommand added, to retrieve all metadata on a package in AUR. - Remove:
--backupand--backup-dirhave been removed, in favor of using profiles to configure these settings. - Remove:
newcommand removed in favor ofconfandreset. - Remove:
action_on_completeconfiguration item has been removed, since this causes too many problems. - Remove:
unconfiguredconfiguration item is no longer needed (issue #53). - Update: make output more consistent.
- Update: improve debugging, usage, and error output.
- Update:
searchcommand flag--quietrenamed to--raw. - Update:
resetcommand 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 for
status,update,listanddown -ucommands. - 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.
- New:
searchcommand added, to search for matching packages in AUR. - New
downcommand learned-n(--dry-run) option, which is useful for showing what a recursive download would retrieve, or outputting the build order. - Update:
new configcommand now backs up existing configuration files. - Update:
github.com/goulash/pacmandependency moved into repository. - Fix:
versioncommand does not show entire configuration. - Fix: issue #46, do not panic or print errors with large repos.
- Fix: issue #33, recursive download and dependency resolution broken.
This release fixes several bugs and adds support for signatures and Zst compression.
- New: repoctl can find and add signature files that accompany packages.
- New:
addcommand learned-l(--link) option. - New:
addcommand learned-r(--require-signature) option. - New:
updatecommand learned-r(--require-signature) option. - New: configuration file gained
require_signaturefield. - New: support Zstandard compression for packages.
- Update: print entire error message when system command fails.
- Update: issue #34,
listcommand learned-r(--registered) option. - Fix: issue #35, in which signature files are recognized as package files and are attempted to be read.
- Fix: issue #36, do not abort download when some packages not on AUR.
- Fix: issue #47, do not mishandle files compressed with Zstandard.
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:
- New:
statuscommand learned-c(--cached) - Update: pruning the set of debug messages printed with
--debug. - Fix: pull request #31, which fixed
add_paramsandrm_paramsparsing in the configuration file (contributed by @maximbaz). Previously, these were incorrectly parsed in the singular tense.
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:
downcommand learned-rand-oflags that resolve dependencies and write a recommended order of compilation for any downloaded packages. - Fix: 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.
This release adds action hooks to the configuration, and shows the configuration
when the version command is used.
- New:
pre_actionandpost_actionstring 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:
versioncommand prints the values of the active configuration. - Change:
new configcommand doesn't try to be smart about database extension anymore. It's just confusing. - Update: removing unnecessary error messages during repository creation.
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:
listcommand learned to filter with regex argument - Update: documentation of list command improved.
- Fix: status -m does not read AUR
- Fix: reading repository without database failing
This release rewrites repoctl to use the cobra library from spf13. Several
new commands are defined: down and reset, as well as two commands being
redefined update and add. Also, the core functionality is put into a
library to keep the main program small.
This release changes the AUR lookup functionality to use AUR4 instead of AUR. When https://aur4.archlinux.org is the same as https://aur.archlinux.org, we will revert this change (done).
Sorry this release has taken a while, that was not to annoy you. ;-)
With Go 1.5 allowing vendoring, we stop using gb (sorry).
- New: repoctl learned command
hostfor temporarily serving the repository on the network on a specified address and port. Something like darkhttpd may be better suited if the repository is to be hosted for longer periods of time. - New: repoctl learned command
downwith several flags. See the help message for more information on this. In short, we can download and extract tarballs for updated packages, all packages, and specified packages. - New: repoctl learned command
reset. - Change: command
addhas completely different semantics. See the help. - Change: command
updateinherited the semantics of the oldaddcommand in addition to its current functionality. - Change: short form of
--outdatedflag for list has been changed from-uto-o - Update: AUR retrieval has been improved
- Update: using spf13/cobra as our commandline engine now
- Fix: license information correction (was BSD, is MIT)
- Fix: typographical errors
This release fixes a critical bug and updates a few other non-functional files.
- Fix: was not in correct directory when removing package files
- Update: Zsh completion understands reset command
This marks the first release where gb is used to build the project. That means that all the dependencies for this project (apart from gb itself) are contained within the project. Other changes are:
- New: simple shortcutting filter commands is now possible. Instead of
aur.newyou can writea.n. At the moment, both parts are required. - New: library
shortryto implement some of shortcutting behavior. - New: filter
db.missingshows packages in local database which do not have respective files. These are candidates for deletion. - New: filter command can negate filters.
- New: default configuration is written if there is no configuration. If default configuration is not edited, repoctl refuses to run.
There are probably many more changes, but at the moment I can't be bothered to hunt them all down.
- New: The configuration file learned the field
ignore_aur, which affects status and filter commands.
This release changes the versioning scheme to use semantic versioning. Since we are still changing a lot of program details and functionality, we are in an unstable state, hence the major version number being 0. We chose 10 as the minor number just because.
Additionally, there are some changes and updates:
- New: Repoctl learned the
filtercommand, which can take certain criteria. - Change: The
statuscommand takes no arguments anymore. - Change: The configuration file is in the TOML format now, and it is being read (but not created yet).