duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #01986
Re: Next release
-
To:
duplicity-team <duplicity-team@xxxxxxxxxxxxxxxxxxx>
-
From:
edgar.soldin@xxxxxx
-
Date:
Sun, 02 Feb 2014 15:23:07 +0100
-
In-reply-to:
<CAD-_Ma2NEO8uH301LfjiG6vRgGQK3MbexGCA1ze=uMQrAMcQGw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Mike,
sounds like a fair compromise. as you are familiar with the issue, would you mind implementing it like this?
..ede
On 31.01.2014 14:15, Kenneth Loafman wrote:
> I agree. We try to exit with an error code, but I know we don't keep track of errors for later reporting. Perhaps just a message that says to examine the log would suffice for now?
>
>
> On Fri, Jan 31, 2014 at 7:12 AM, <edgar.soldin@xxxxxx <mailto:edgar.soldin@xxxxxx>> wrote:
>
> Ken,
>
> could you give your take on the below?
> i still feel duplicity should exit with an error code after the restore and mention the files it had problems with in the end. a warning i the middle might be easily overlooked by the user.
>
> ..ede
>
>
> On 23.01.2014 20:57, edgar.soldin@xxxxxx <mailto:edgar.soldin@xxxxxx> wrote:
> > actually we issue a warning only..
> >
> > to put it in other words. finishing without a special hint could give a user the impression that all files were restored fine (on the command line) which they weren't. we should circumvent that.
> >
> > ..ede
> >
> > On 23.01.2014 20:51, Michael Terry wrote:
> >> Interesting thought. We do issue a log message... And Deja Dup does collect those and warn user at end. I hadn't thought of duplicity doing that collating itself.
> >>
> >> I don't know how I feel about an error exit code. I'm not sold, but I don't feel strongly. Most error returns are currently for "could not finish" but we did sorta finish. Eh.
> >>
> >> It feels like brain surgery most of the time. :)
> >>
> >> -mt
> >>
> >>
> >> On 23 January 2014 14:43, <edgar.soldin@xxxxxx <mailto:edgar.soldin@xxxxxx> <mailto:edgar.soldin@xxxxxx <mailto:edgar.soldin@xxxxxx>>> wrote:
> >>
> >> On 23.01.2014 19:34, Michael Terry wrote:
> >> > There is a separate but related patch in 0.6.23 that makes the bug less severe by letting the user restore the rest of the files that aren't affected (rather than aborting restore entirely):
> >> > https://code.launchpad.net/~mterry/duplicity/catch-seq-copy-error/+merge/186106 <https://code.launchpad.net/%7Emterry/duplicity/catch-seq-copy-error/+merge/186106> <https://code.launchpad.net/%7Emterry/duplicity/catch-seq-copy-error/+merge/186106> <https://code.launchpad.net/%7Emterry/duplicity/catch-seq-copy-error/+merge/186106>
> >>
> >> i see.. well done.
> >> dangerous though! the error, it is an error if a file cannot be restored, should be collected and mentioned in the end with something like "some files could not be restored properly, check log".
> >>
> >> also we should end with an error exit code because of that of cause.
> >>
> >> ..ede
> >>
> >> PS: Mike, i admire your understanding of the whole duplicity infrastructure! looks like brain surgery to me most of the time...
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team> <https://launchpad.net/%7Eduplicity-team>
> >> Post to : duplicity-team@xxxxxxxxxxxxxxxxxxx <mailto:duplicity-team@xxxxxxxxxxxxxxxxxxx> <mailto:duplicity-team@xxxxxxxxxxxxxxxxxxx <mailto:duplicity-team@xxxxxxxxxxxxxxxxxxx>>
> >> Unsubscribe : https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team> <https://launchpad.net/%7Eduplicity-team>
> >> More help : https://help.launchpad.net/ListHelp
> >>
> >>
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team>
> > Post to : duplicity-team@xxxxxxxxxxxxxxxxxxx <mailto:duplicity-team@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team>
> > More help : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team>
> Post to : duplicity-team@xxxxxxxxxxxxxxxxxxx <mailto:duplicity-team@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~duplicity-team <https://launchpad.net/%7Eduplicity-team>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References
-
Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: edgar . soldin, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: edgar . soldin, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: Kenneth Loafman, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: edgar . soldin, 2014-01-23
-
Re: Next release
From: Michael Terry, 2014-01-23
-
Re: Next release
From: edgar . soldin, 2014-01-23
-
Re: Next release
From: edgar . soldin, 2014-01-31
-
Re: Next release
From: Kenneth Loafman, 2014-01-31