[pacman-dev] [PATCH] Added --dont-downgrade flag to repo-add

Eli Schwartz eschwartz at archlinux.org
Wed May 8 00:47:38 UTC 2019


On 5/7/19 8:26 PM, Allan McRae wrote:
> On 29/4/19 4:07 am, ekarndam at autistici.org wrote:
>> From: ekardnam <lucabertozzi.pub at gmail.com>
>>
> 
> Adding a commit message with a brief description of what this patch does
> would be great.   Also add a line with the number of the bug it fixes.
> 
> I do not like --dont-downgrade because of the "dont".  Abbreviations
> should be avoided.  I'm also not a fan of "--no-downgrade"
> 
> How about "--prevent-downgrades" and adding a short option?  "-p" or
> "-d" would work.

The "p" puts emphasis on the prevention, the "d" puts emphasis on the
downgrade. So I prefer the former.

The "d" also collides with the --delta option that was just removed,
which would have surprising results in scripts that still use -d, while
not being particularly advantageous as a shortopt name.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1597 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20190507/3e5482de/attachment.sig>


More information about the pacman-dev mailing list