[pacman-dev] [PATCH] [RFC] Add UpgradeSigLevel configuration option
Allan McRae
allan at archlinux.org
Thu Jan 12 20:30:31 EST 2012
On 22/12/11 20:26, Allan McRae wrote:
> Use to override the global SigLevel value for upgrade operations.
>
> e.g. when installing a package without a signature:
>
> Fails to install:
> SigLevel = Optional
> UpgradeSigLevel = Required
>
> Fails to install:
> SigLevel = Required
>
> Installs:
> SigLevel = Required
> UpgradeSigLevel = Optional
>
> Installs:
> SigLevel = Optional
>
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---
>
> The main issue I see here is that UpgradeSigLevel must come after the global
> SigLevel value. Otherwise the only way I see to use the value of SigLevel as
> a default for UpgradeSigLevel requires much code duplication.
So, any further comments on this before I take a stab at improving
things further. So far the comments were:
1) distinguish between "pacman -U <url>" and "pacman -U <file>"
2) change name of option as "Upgrade" is confusing
What about using:
LocalFileSigLevel
RemoteFileSigLevel
Is RemoteFile too confusing with packages from repos?
Allan
More information about the pacman-dev
mailing list