duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #01956
Re: Next release
-
To:
duplicity-team <duplicity-team@xxxxxxxxxxxxxxxxxxx>
-
From:
edgar.soldin@xxxxxx
-
Date:
Thu, 23 Jan 2014 20:57:55 +0100
-
In-reply-to:
<CACQ9CU6HjWu96O=Ud3rTspAsPV1ycehVG0oSe8HrdM_mqOVNtQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
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>> 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>
>
> 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>
> 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