FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 11-15-2009, 02:00 PM
Xavier
 
Default Introduce Include key globing for pacman.conf v4

On Mon, Oct 12, 2009 at 4:06 AM, Dan McGee <dpmcgee@gmail.com> wrote:
> On Fri, Sep 11, 2009 at 5:35 AM, Marc - A. Dahlhaus [ Administration |
> Westermann GmbH ] <mad@wol.de> wrote:
>> This patch adds the ability to use Include filenames
>> containing wildcards.
>>
>> Added a headercheck for glob.h to configure.ac.
>> Added a globfree call to clean up the struct properly.
>> Removed tilde expanding.
>> Fixed a no debug print on GLOB_NOMATCH condition bug.
>>
>> Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
>> ---
> Xavier, comments here? I kind of dropped this one on the floor, but a
> quick review and I think it is good.
>

I am still not convinced that this is terribly useful. But its like 10
lines, so no big deal
http://mailman.archlinux.org/pipermail/pacman-dev/2009-September/009361.html

Like, if it's used for repos, you cannot even control their priority ?
Sounds like a show-stopper to me.
If not for repos, what else ?
 
Old 11-16-2009, 01:04 AM
Dan McGee
 
Default Introduce Include key globing for pacman.conf v4

On Sun, Nov 15, 2009 at 9:00 AM, Xavier <shiningxc@gmail.com> wrote:
> On Mon, Oct 12, 2009 at 4:06 AM, Dan McGee <dpmcgee@gmail.com> wrote:
>> On Fri, Sep 11, 2009 at 5:35 AM, Marc - A. Dahlhaus [ Administration |
>> Westermann GmbH ] <mad@wol.de> wrote:
>>> This patch adds the ability to use Include filenames
>>> containing wildcards.
>>>
>>> Added a headercheck for glob.h to configure.ac.
>>> Added a globfree call to clean up the struct properly.
>>> Removed tilde expanding.
>>> Fixed a no debug print on GLOB_NOMATCH condition bug.
>>>
>>> Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
>>> ---
>> Xavier, comments here? I kind of dropped this one on the floor, but a
>> quick review and I think it is good.
>>
>
> I am still not convinced that this is terribly useful. But its like 10
> lines, so no big deal
> http://mailman.archlinux.org/pipermail/pacman-dev/2009-September/009361.html
>
> Like, if it's used for repos, you cannot even control their priority ?
> Sounds like a show-stopper to me.
> If not for repos, what else ?

Yeah, this is an interesting problem. I'm not sure glob() is even
guaranteed to return results in a known (e.g. alphabetical) order.
Also, looking at this, if glob returns NOSPACE, we should probably
pull out the fireworks and blow up- running pacman half-configured
would be no good.

I'm also thinking of how many reports we are going to get of people
doing recursive self-includes, but maybe I'm making a problem from
nothing here.

-Dan
 

Thread Tools




All times are GMT. The time now is 03:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org