[aur-dev] Setting keywords from the command line

Marcel Korpel marcel.korpel at gmail.com
Wed Sep 30 22:17:12 UTC 2015

* Lukas Fleischer <lfleischer at archlinux.org> (Tue, 29 Sep 2015 08:40:20
> 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].

Sounds good to add a method to change keywords without using a web

> 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.

I strongly prefer 1. 2 causes too much clutter in the source tree and
I don't like having AUR-specific files around, especially not if it's
(only) for keywords. That would be another file we have to parse (if
it's not as simple as lines with keywords or a line with keywords
separated by spaces). And what if we invent another AUR-specific
option? Another file? Change the syntax of the keywords file?

In case of 1, a command like `get-keywords` would also be necessary, so
one can see what the current keywords are.

Best, Marcel

More information about the aur-dev mailing list