Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: <emacs-devel@gnu.org>, <ding@gnus.org>
Subject: Re: The Gnus repository is switching to Git as of 2010-04-19
Date: Tue, 20 Apr 2010 08:55:39 -0500	[thread overview]
Message-ID: <87fx2qgrdw.fsf@lifelogs.com> (raw)
In-Reply-To: <jwvr5mb8evr.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 19 Apr 2010 14:50:03 -0400")

On Mon, 19 Apr 2010 14:50:03 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote: 

SM> Here is the way I imagine it might work:
SM> - take an Emacs Bzr branch.
SM> - massage it with "bzr mv", "bzr rm", and "bzr add" to make it look
SM>   exactly like the corresponding revision in Gnus's Git.
SM> - call it "Gnus Bzr branch".
SM> - then use magic to make this Gnus Bzr branch sync bidirectionally with
SM>   the corresponding Git branch.

SM> We should then be able to use manually "bzr merge" from the Emacs Bzr
SM> branch to the Gnus Bzr branch and vice versa without too much pain (tho
SM> it will suffer from many spurious conflicts on files that are in one
SM> branch but not in the other, so some extra scripting will be helpful to
SM> ease the pain).

SM> If someone knows a magician that can take care of the Bzr<->Git part,
SM> I'm all ears.

I asked Carsten (org-mode) for guidance as he does something similar.

git-bzr supports push and pull (bzr-git only supports pull) so maybe it
makes sense to put the magic on the Git side.  In that case it may also
make sense to set up the "for-emacs" synchronization branch inside Gnus
and simply pull all the commits out of Bazaar for a specific set of
files.  IOW, instead of massaging the file locations in the for-emacs
branch, I could assemble a map of "gnus-file-name <-> emacs-file-name"
for all the files that need to be synchronized and then only look at
commits that involve those files.  So the "magic" would not only
synchronize but also translate and make rearranging the files
unnecessary.

I don't know which approach is best, honestly, so Carsten's opinion will
be valuable in addition to yours and anyone else willing to help.
Katsumi Yamaoka and Miles Bader, especially, may have interesting views
as they've worked on this synchronization with the CVS side.

Ted



  parent reply	other threads:[~2010-04-20 13:55 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 17:34 Ted Zlatanov
2010-04-19 18:21 ` Sivaram Neelakantan
2010-04-19 19:13   ` Ted Zlatanov
2010-04-21  8:50     ` Steinar Bang
2010-04-21  9:01       ` David Engster
2010-04-21  9:02         ` David Engster
2010-04-21 10:05       ` Andreas Schwab
2010-04-21 12:12         ` Andreas Schwab
2010-04-21 14:10           ` Ted Zlatanov
2010-04-21 14:54             ` Andreas Schwab
2010-04-23  0:55               ` Ted Zlatanov
2010-04-22  8:12           ` Steinar Bang
2010-04-19 19:17   ` Sven Joachim
2010-04-20 13:03 ` Harry Putnam
2010-04-20 13:29   ` Ted Zlatanov
2010-04-20 13:57   ` Andreas Schwab
     [not found] ` <jwvr5mb8evr.fsf-monnier+emacs@gnu.org>
2010-04-20 13:55   ` Ted Zlatanov [this message]
2010-04-20 15:00     ` Stefan Monnier
2010-04-20 20:05       ` Ted Zlatanov
2010-04-20 22:28         ` Stefan Monnier
2010-04-20 23:44           ` Ted Zlatanov
2010-04-21  3:16             ` Stefan Monnier
2010-04-21 11:03               ` Gnus Git synchronization with Emacs Bazaar (was: The Gnus repository is switching to Git as of 2010-04-19) Ted Zlatanov
2010-04-22  2:24                 ` Stephen J. Turnbull
2010-04-21  0:33           ` The Gnus repository is switching to Git as of 2010-04-19 Stephen J. Turnbull
2010-04-21  0:51             ` Ted Zlatanov
2010-04-21  3:31               ` Stephen J. Turnbull
2010-04-21  3:11             ` Stefan Monnier
2010-04-21  4:00               ` Stephen J. Turnbull
2010-04-21  9:01           ` Andreas Schwab
2010-04-21  2:59         ` Teemu Likonen
2010-04-21 11:30           ` Ævar Arnfjörð Bjarmason
2010-04-21 14:57             ` Teemu Likonen
2010-04-21 16:36               ` Ævar Arnfjörð Bjarmason
2010-04-23  1:09         ` cgit beautification (was: The Gnus repository is switching to Git as of 2010-04-19) Ted Zlatanov
2011-02-25 22:04           ` cgit beautification Ted Zlatanov
2011-02-25 22:56             ` Adam Sjøgren
2011-02-25 23:19             ` Adam Sjøgren
2011-02-26 12:05               ` Lars Ingebrigtsen
2011-03-01 10:27               ` Ted Zlatanov
2011-03-01 10:30                 ` Ted Zlatanov
2011-03-01 11:31                   ` Adam Sjøgren
2011-03-01 13:32                     ` Ted Zlatanov
2011-03-01 17:08                       ` Adam Sjøgren
2011-03-02 11:05                         ` Ted Zlatanov
2010-04-22  5:49     ` The Gnus repository is switching to Git as of 2010-04-19 Harry Putnam
2010-04-23  0:36       ` Ted Zlatanov

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

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

  git send-email \
    --in-reply-to=87fx2qgrdw.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
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 NNTP newsgroup(s).