[RFC] Smoother upgrades

Jelmer Vernooij jelmer at samba.org
Wed May 13 16:08:30 BST 2009


On Wed, May 13, 2009 at 05:02:06PM +0200, Vincent Ladeuil wrote:
> >>>>> "Jelmer" == Jelmer Vernooij <jelmer at samba.org> writes:

> <snip/>

>     Jelmer> Some way to remove the backup directories
>     Jelmer> automatically if the upgrade went ok. Otherwise you
>     Jelmer> end up having to remove a bunch of those directories
>     Jelmer> that you have to remove, even if something like
>     Jelmer> --find/--recurse is available.

> There was a discussion about adding a new command 'bzr clean'
> that would take care of obsolete-packs and upload, adding
> backup.bzr there will make more sense IMHO (I like to keep the
> backups for a couple of days/weeks before deleting them).

I think this operation is common enough to be runnable after upgrade
(but only if the upgrade was successful). If we separate them users
might end up removing backup.bzr in places where the upgrade was not
succesful and end up losing data.

As a side-note I think 'bzr clean' is a confusing name. The name
doesn't really indicate how it is different from 'bzr clean-tree' and
git has a 'git clean' command that behaves similarly to 'bzr clean-tree'.
I much prefer 'bzr garbage-collect' (did that have the same function?) that 
was proposed earlier. 

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090513/8a4b0a44/attachment.pgp 


More information about the bazaar mailing list