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: Kenneth Loafman
Subject: Re: [Duplicity-talk] Why do we have --include-filelist (as opposed to just globbing)?
Date: Fri, 9 Jan 2015 14:36:02 -0600

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> 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>> 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
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

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