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

Allan McRae allan at archlinux.org
Wed May 8 00:52:04 UTC 2019


On 8/5/19 10:47 am, Eli Schwartz wrote:
> 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.
> 

Good point about deltas.  Go with "-p" as the short option.

A


More information about the pacman-dev mailing list