[aur-dev] Setting keywords from the command line

Lukas Fleischer lfleischer at archlinux.org
Tue Sep 29 06:40:20 UTC 2015


Hi,

Currently, in order to change the keywords of a package base, users need
to log into the web interface and submit a form on the package base
details page. It would be nice to be able to change keywords without
using a web browser, see FS#45627 [1].

Now, there are two options:

1. Add a set-keywords command to the aurweb SSH interface such that
   users can run `ssh aur.archlinux.org set-keywords foobar keyword1
   keyword2 keyword3` to change keywords (or still use the web
   interface).

2. Remove the option from the web interface and introduce a new file
   (.KEYWORDS or something more general like .AURINFO, .AURMETADATA)
   that is parsed in the Git update hook.

Obviously, with the second option, one would get a history of keyword
changes. On the other hand, some might argue that this will clutter the
commit history (although keyword changes should not happen too often)
and that this changes makes the AUR package repositories special in a
certain way (currently there is nothing AUR-specific in the Git
repositories itself, an implementation of the second idea will add such
information).

Are there any opinions on which option should be implemented? Any other
advantages/disadvantages I did not think of?

Regards,
Lukas

[1] https://bugs.archlinux.org/task/45627


More information about the aur-dev mailing list