All of lore.kernel.org
 help / color / mirror / Atom feed
* Important notice regarding Bazaar repository
@ 2009-10-30 15:20 Robert Millan
  2009-10-30 18:45 ` Robert Millan
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Millan @ 2009-10-30 15:20 UTC (permalink / raw)
  To: grub-devel; +Cc: Vladimir Serbinenko, Colin Watson


Bazaar repository has been reconstructed and will soon be uploaded.  Here
are some important notes to take into account in order to prevent this
from happening again.

  - Don't use a bzr-svn version earlier than 1.0.0.  At 0.4.10 is buggy and
    corrupts your repository.  Actually, if you can, avoid bzr-svn completely.
    I will use it to resync trunk, and this should suffice for now.

  - Remove bzr-svn cache.  Data corruption most likely spread to it (this
    happened to me):

    $ rm -rf ~/.bazaar/svn-cache/

  - Don't use bzr-svn to commit to trunk (either original or mirror).  Use
    svn against the original svn repository.

  - Some of the pre-existing branches were corrupted and must NOT be re-pushed
    as-is.  Before pushing any new work to the repository (be it a new branch
    or an update to an existing one), verify that it is clean:

    - Make sure bzr-svn cache was removed.
    - Enter a directory that is NOT part of any local shared-repo.
    - bzr co ../path/to/local/branch

    In some branches, (for example, /people/robertmh/ntldr), this will result
    in bzr error indicating the data is corrupt.  If that doesn't happen, go
    ahead with the push but please NOTIFY ME either by mail or IRC.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Important notice regarding Bazaar repository
  2009-10-30 15:20 Important notice regarding Bazaar repository Robert Millan
@ 2009-10-30 18:45 ` Robert Millan
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Millan @ 2009-10-30 18:45 UTC (permalink / raw)
  To: grub-devel; +Cc: Vladimir Serbinenko, Colin Watson

On Fri, Oct 30, 2009 at 04:20:49PM +0100, Robert Millan wrote:
>   - Some of the pre-existing branches were corrupted and must NOT be re-pushed
>     as-is.  Before pushing any new work to the repository (be it a new branch
>     or an update to an existing one), verify that it is clean:
> 
>     - Make sure bzr-svn cache was removed.
>     - Enter a directory that is NOT part of any local shared-repo.
>     - bzr co ../path/to/local/branch
> 
>     In some branches, (for example, /people/robertmh/ntldr), this will result
>     in bzr error indicating the data is corrupt.  If that doesn't happen, go
>     ahead with the push but please NOTIFY ME either by mail or IRC.

Btw, for extra safety I recommend that you create a new local shared-repo, and
for each branch once it's been verified that it is not corrupt, you merge it
into the new repo untill it is feasible to remove the old one.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-30 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 15:20 Important notice regarding Bazaar repository Robert Millan
2009-10-30 18:45 ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.