unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: "Eric S. Raymond" <esr@thyrsus.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Bazaar references complicate the git transition
Date: Sat, 11 Jan 2014 12:10:54 -0500	[thread overview]
Message-ID: <C619406F-72CB-4A55-9CD2-F58407882D9F@gmail.com> (raw)
In-Reply-To: <20140111155429.1A12C3803A6@snark.thyrsus.com>

Eric,

Thanks for working on the transition.

Please do not alter history in the git repository.  This would be bad for everyone downstream of the git mirror, and downright catastrophic for projects like mine (with 50+ merges of the course of years).

Why not use the mechanism that is foreseen for revising commit messages going forward?
Either "notes", as suggested, or a separate file (like the Changelog file).  If and when someone needs to resolve a reference, it could be easily done manually or automatically.

- David  (of aquamacs.org)


On Jan 11, 2014, at 10:54 AM, Eric S. Raymond <esr@thyrsus.com> wrote:

> This is particularly a heads-up for RMS and Andreas.
> 
> I missed something on my first pass through the git mirror that I
> shouldn't have.  Some commit comments have Bazaar local revision
> numbers in them referring to other commits.  (It is possible
> others have full hashes in them; I haven't looked closely enough at
> everything yet to be sure.)
> 
> Left uncorrected, this would be bad.  Those revision numbers 
> will become meaningless after the git transition. Information about
> which commits refer to which others would be lost.  This would be 
> particularly unfortunate with respect to reversion and correction
> commits.
> 
> The good news: in reposurgeon, I have a good tool for quickly finding
> and moving these to VCS-independent forms.  It's a VCS history editor
> which does just about everything you could imagine such a tool
> doing. It can take in RCS, CVS, Subversion, hg, bzr, and git
> repositories; it can emit all of those except CVS (Subversion output
> is alpha-stage).
> 
> The bad news: when reposurgeon edits a commit comment, all hashes of
> its descendants are (necessarily) altered.  This means, in practice, 
> that the reqired modifications cannot be done in situ on the 
> Savannah repo.
> 
> Here's how the procedure will need to go:
> 
> 1. Commits to bzr and git repos are temporarily closed.
> 
> 2. I clone the Savannah git repo.
> 
> 3. I signal for a reset of the Savannah git repo to empty.
> 
> 4. I apply a pre-built reposurgeon script fixing the references.
> 
> 5. I push the altered repo to the empty repo on Savannah.
> 
> 6. Commits are opened again.  (The commit-mirroring from bzr
>   will not care that the git repo has been altered.)
> 
> Step 4 will only take a few minutes (I'll build the modification
> script ahead of time).  The problem that is the steps around that
> require going through Savannah's admins, who (a) don't have procedures
> for this sort of thing, and (b) are often difficult to reach and get a
> response from.
> 
> That's why I think this needs an RMS intervention.
> 
> The two pain points are: (a) blocking/unblocking repo access, and
> (b) resetting the repo to empty. We need a way to push those buttons,
> either through a web interface or through an admin paying attention.
> 
> In the ideal case, Andreas and I would pick a date and time, then
> at that time join an IRC chat with a Savannah admin who has been 
> pre-briefed and knows what to do. The whole process should not take
> more than 30 minutes.
> 
> Note: this needs to happen *before* the release tags are cryptosigned,
> beacause of the hash invalidations.
> -- 
> 		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
> 
> As the Founding Fathers knew well, a government that does not trust its honest,
> law-abiding, taxpaying citizens with the means of self-defense is not itself
> worthy of trust. Laws disarming honest citizens proclaim that the government
> is the master, not the servant, of the people.
>        -- Jeff Snyder
> 




  parent reply	other threads:[~2014-01-11 17:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11 15:54 Bazaar references complicate the git transition Eric S. Raymond
2014-01-11 16:15 ` Juanma Barranquero
2014-01-11 16:29   ` Eric S. Raymond
2014-01-11 16:53     ` Juanma Barranquero
2014-01-11 16:24 ` David Kastrup
2014-01-11 16:40   ` Eric S. Raymond
2014-01-11 17:23     ` Juanma Barranquero
2014-01-11 22:47     ` Timur Aydin
2014-01-11 23:40       ` Eric S. Raymond
2014-01-11 16:36 ` Eli Zaretskii
2014-01-11 16:43   ` Eric S. Raymond
2014-01-11 17:10 ` David Reitter [this message]
2014-01-11 17:27   ` Eric S. Raymond
2014-01-11 17:46     ` David Kastrup
2014-01-11 18:00       ` Andreas Schwab
2014-01-11 18:04     ` Eli Zaretskii
2014-01-11 18:08       ` Eli Zaretskii
2014-01-11 18:24         ` Óscar Fuentes
2014-01-11 19:15           ` Thien-Thi Nguyen
2014-01-11 19:46             ` Eli Zaretskii
2014-01-11 19:36           ` Paul Eggert
2014-01-11 20:53             ` Eric S. Raymond
2014-01-11 20:13         ` David Reitter
2014-01-11 20:36           ` David Kastrup
2014-01-11 21:26           ` Eric S. Raymond
2014-01-11 22:22             ` David Reitter
2014-01-11 23:03             ` Converting bzr revision-IDs to action stamps (was: Bazaar references complicate the git transition) Joshua Judson Rosen
2014-01-11 23:45               ` Eric S. Raymond
2014-01-12  5:39                 ` Joshua Judson Rosen
2014-01-12 12:43                   ` Eric S. Raymond
2014-01-11 18:39 ` Bazaar references complicate the git transition Richard Stallman
2014-01-12  3:14   ` Stefan Monnier
2014-01-12  3:55     ` Eric S. Raymond
2014-01-12 22:25       ` Stefan Monnier
2014-01-12 23:02         ` Eric S. Raymond
2014-01-13  2:28         ` Glenn Morris
2014-01-13  3:42           ` Stefan Monnier
2014-01-12 13:44     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C619406F-72CB-4A55-9CD2-F58407882D9F@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=esr@thyrsus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).