all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bazaar references complicate the git transition
@ 2014-01-11 15:54 Eric S. Raymond
  2014-01-11 16:15 ` Juanma Barranquero
                   ` (4 more replies)
  0 siblings, 5 replies; 38+ messages in thread
From: Eric S. Raymond @ 2014-01-11 15:54 UTC (permalink / raw)
  To: emacs-devel

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



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

end of thread, other threads:[~2014-01-13  3:42 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

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

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.