[aur-dev] Setting keywords from the command line
louipc.ist at gmail.com
Fri Oct 16 22:50:46 UTC 2015
On Thu 01 Oct 2015 00:17 +0200, Marcel Korpel wrote:
> * 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 .
> 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.
3. Make keywords part of the PKGBUILD spec, the metadata is then output to
More information about the aur-dev