[pacman-dev] [PATCH 2/2] pacman: add front end support for disabled repos

Allan McRae allan at archlinux.org
Mon Jul 2 20:50:51 EDT 2012


On 03/07/12 10:22, Dan McGee wrote:
> On Mon, Jul 2, 2012 at 7:15 PM, Dave Reisner <d at falconindy.com> wrote:
>> On Tue, Jul 03, 2012 at 10:02:03AM +1000, Allan McRae wrote:
>>> On 03/07/12 09:45, Dave Reisner wrote:
>>>> Hook up a per-repo 'Disabled' flag in the config for users to mark repos
>>>> as disabled. This can take a boolean value such as 'yes', 'true', or
>>>> '1', or the similar negated 'no', 'false', or '0'.
>>>
>>> Why do we need this complexity?   Why not just specifying "Disabled"
>>> disables the repo and not specifying does not...
>>>
>>
>> We may not. Dan brought up the idea of making this a bit more granular,
>> but I don't have my IRC logs to recall exactly what was mentioned... he
>> can weigh in here.
> 
> Given that we have no key-only options under repos, I'm leaning
> against having those be introduced. I've never been a fan of them in
> the [options] section either.

OK.  But do we really need all of True/Yes/1 etc.  I just find that
confusing compared to a single "Disabled" flag.

How about:
Usage = All (default)
Usage = Search Install Update


Allan


More information about the pacman-dev mailing list