Comment 1 for bug 1755955

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1755955] [NEW] best order is unclear, of exclude-if-present and exclude-device-files

I'm guessing that the runs completed as they should? Were there any
inclusions that should not have been made?

On Wed, Mar 14, 2018 at 8:00 PM, David Williams <
<email address hidden>> wrote:

> Public bug reported:
>
> Duplicity version 0.7.17 (and, was in 0.7.16 as well -- probably much
> earlier too).
>
> This may be a "man page only" issue, but a warning message may not even
> be needed? Or perhaps improved?
>
> If I specify "--exclude-device-files" first and then specify "--exclude-
> if-present filename" after that everything runs fine, no warnings.
>
> But, then I read in man pages about "--exclude-if-present filename" :
> "This option needs to come before any other include or exclude options."
>
> So, I put that first, followed by "--exclude-device-files" and now get a
> warning that says
> "
> Warning: exclude-device-files is not the first selector.
> This may not be what you intended
> "
>
> So, in short, which is it? Must exclude-device-files come first or
> exclude-if-present?
>
> Perhaps merely the man pages should be updated to be clearer?
>
> But, honestly, the warning message does not help me much in terms of
> knowing if it is what I intend or not. :) Perhaps the warning should be
> improved?
>
> ** Affects: duplicity
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> Duplicity version 0.7.17 (and, was in 0.7.16 as well -- probably much
> earlier too).
>
> - This may be a "map page only" issue, but a warning message may not even
> + This may be a "man page only" issue, but a warning message may not even
> be needed? Or perhaps improved?
>
> If I specify "--exclude-device-files" first and then specify "--exclude-
> if-present filename" after that everything runs fine, no warnings.
>
> But, then I read in man pages about "--exclude-if-present filename" :
> "This option needs to come before any other include or exclude options."
>
> - So, I put that first, followed by "--exclude-device-files" and now get a
> warning that says
> + So, I put that first, followed by "--exclude-device-files" and now get a
> warning that says
> "
> Warning: exclude-device-files is not the first selector.
> This may not be what you intended
> - "
> + "
>
> So, in short, which is it? Must exclude-device-files come first or
> exclude-if-present?
>
> Perhaps merely the man pages should be updated to be clearer?
>
> But, honestly, the warning message does not help me much in terms of
> knowing if it is what I intend or not. :) Perhaps the warning should be
> improved?
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1755955
>
> Title:
> best order is unclear, of exclude-if-present and exclude-device-files
>
> Status in Duplicity:
> New
>
> Bug description:
> Duplicity version 0.7.17 (and, was in 0.7.16 as well -- probably much
> earlier too).
>
> This may be a "man page only" issue, but a warning message may not
> even be needed? Or perhaps improved?
>
> If I specify "--exclude-device-files" first and then specify
> "--exclude-if-present filename" after that everything runs fine, no
> warnings.
>
> But, then I read in man pages about "--exclude-if-present filename" :
> "This option needs to come before any other include or exclude options."
>
> So, I put that first, followed by "--exclude-device-files" and now get a
> warning that says
> "
> Warning: exclude-device-files is not the first selector.
> This may not be what you intended
> "
>
> So, in short, which is it? Must exclude-device-files come first or
> exclude-if-present?
>
> Perhaps merely the man pages should be updated to be clearer?
>
> But, honestly, the warning message does not help me much in terms of
> knowing if it is what I intend or not. :) Perhaps the warning should
> be improved?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1755955/+subscriptions
>