duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Why do we have --include-filelist (as opposed to ju


From: Marc Evans
Subject: Re: [Duplicity-talk] Why do we have --include-filelist (as opposed to just globbing)?
Date: Fri, 09 Jan 2015 15:50:21 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Makes sense to me, e.g. simplify the code and have one path that can
handle both globbing and non. For backward compatibility you could leave
the cli flags but direct them down the same code path.

- Marc

On 1/9/15 3:36 PM, Kenneth Loafman wrote:
> Now that you mention it, I see no reason to have both globbing and
> non-globbing options.  Allow globbing in all cases and simplify the CLI
> and the code.  Is there some reason to make these exclusive?
> 
> ...Ken
> 
> 
> On Fri, Jan 9, 2015 at 12:29 PM, Marc Evans <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     I use --exclude **/some/path** and --exclude-filelist /some/file
>     routinely. As long as that functionality remains in some form, I am
>     content.
> 
>     - Marc
> 
>     On Fri, Jan 9, 2015 at 11:47 AM, Aaron Whitehouse
>     > <address@hidden <mailto:address@hidden>
>     <mailto:address@hidden <mailto:address@hidden>>>
>     wrote:
>     >
>     >     Hi all,
>     >
>     >     We've had a couple of bugs recently that only affect
>     >     --include/exclude-filelist but not
>     --include/exclude-globbing-filelist.
>     >     One reason for this is that the code paths for the two
>     different types
>     >     of filelists are separate in selection.py. I have been
>     contemplating
>     >     trying to simplify this file a bit to keep things together
>     until the
>     >     globs are interpreted. Before I do that, I wanted to check
>     that there is
>     >     actually a use case for filelists that *aren't* globbing. I
>     have often
>     >     used globbing filelists for normal paths without issues. The only
>     >     advantage that I can see in a non-globbing filelist would be
>     if you had
>     >     filenames that had globbing characters in them, but we
>     probably want a
>     >     way to escape such characters in globbing filelists anyway (if
>     there
>     >     isn't already), as otherwise people with such files couldn't take
>     >     advantage of the benefits of globbing filelists.
>     >
>     >     I'm wondering if the more sensible answer is to essentially
>     get rid of
>     >     include and exclude filelists altogether (we could obviously
>     redirect
>     >     the option for the short term etc. and may want to rename globbing
>     >     filelists to just be filelists if there aren't any others).
>     >
>     >     I would be interested in your thoughts.
>     >
>     >     Kind regards,
>     >
>     >     Aaron
> 
>     _______________________________________________
>     Duplicity-talk mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]