[pacman-dev] [PATCH 1/5] pacman-key: keyring management tool
Allan McRae
allan at archlinux.org
Tue Jul 27 08:12:46 EDT 2010
On 27/07/10 06:33, Daenyth Blank wrote:
> On Mon, Jul 26, 2010 at 16:26, Denis A. Altoé Falqueto
> <denisfalqueto at gmail.com> wrote:
>> The script pacman-key will manage pacman's keyring. It imports, exports,
>> fetches from keyservers, helps in the process of trusting and updates
>> the trust database.
>>
>> Signed-off-by: Denis A. Altoé Falqueto<denisfalqueto at gmail.com>
>> ---
> I'd have the script use getopt from the start rather than a manual
> loop over the args. You can see makepkg for an example.
>
Just to be clear, makepkg does not use getopt due to portability issue.
It uses its own bash implementation instead. Also, repo-add uses a
case statement.
Not saying which is the best way forward in this case, but something to
think about.
Allan
More information about the pacman-dev
mailing list