all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>, emacs-devel@gnu.org
Subject: Re: GNU Emacs is on Bazaar now.
Date: Tue, 29 Dec 2009 10:54:14 -0500	[thread overview]
Message-ID: <87637ppyhl.fsf@red-bean.com> (raw)
In-Reply-To: <f7ccd24b0912290227s53c797dfpc231f9a3555d9049@mail.gmail.com> (Juanma Barranquero's message of "Tue, 29 Dec 2009 11:27:16 +0100")

Juanma Barranquero <lekktu@gmail.com> writes:
>On Tue, Dec 29, 2009 at 05:46, Óscar Fuentes <ofv@wanadoo.es> wrote:
>> Personally, if I were a hacker doing quick contributions to emacs (the
>> sort of thing that ends on one single commit), I would use the
>> centralized workflow.
>
>And you would likely get some heat the nth time that you accidentally
>committed half-done changes, incomplete changelog entries, partial
>commits, etc. All the things that you can do in your local, non-bound
>branch and then fix at your own pace before sending it upstream. At
>least, I would (receive the heat, I mean, because I would likely do
>these mistakes).
>
>I know that I'm not saying anything that you don't know; also that
>you've insisted that we're developing Emacs, not creating the
>best-looking commit log ever. But it seems best to start recommending
>safer, cleaner practices. People who knows better, knows enough to
>bypass the recommendations.

Remember, during the transition, the point of
http://www.emacswiki.org/emacs-en/BzrForEmacsDevs was to offer a
reliable, safe, and simple method for continuing to work.  That way, no
one would shoot themselves (or the project) in the foot while learning
how to use Bazaar.  This naturally involved compromises.

Soon, though, developers (like Kenichi Handa) will be more familiar and
comfortable with Bazaar.  Once that happens, they *will* start looking
for ways to get around annoyances -- such as the need to do two commits
with two log messages (!) even for simple typo changes.

This is inevitable; if we deny this reality, we simply make the doc less
useful.  We always expected there would be adjustments to the doc once
we actually started using Bazaar; now we're hitting the first of those.

So at some point, I think it might be good to add Oscar's proposed
bound-branch-for-really-truly-one-commit-fixes method to the
documentation, as an option.  The recipe needed to be simple for the
transition, but it can get a *little* more complicated after that.  We
could recommend that the branch be called "oneoffs" or something.

Óscar, does your proposed workflow look like this?:

  ### Prepare the branch:
  $ cd $DEVHOME/emacs
  $ bzr branch trunk oneoffs
  $ cd oneoffs
  $ echo "public_branch = sftp://<membername>@bzr.savannah.gnu.org/srv/bzr/emacs/trunk" >> .bzr/branch/branch.conf
  $ bzr bind sftp://<membername>@bzr.savannah.gnu.org/srv/bzr/emacs/trunk

  ### To make a truly one-off typo fix, do this:
  $ cd $DEVHOME/emacs/oneoffs
  $ bzr update
  $ <<< edit to make the change, & edit the appropriate ChangeLog >>>
  $ bzr update
  $ <<< resolve any conflicts >>>
  $ bzr commit -m "* README: Fix typo."

(I want to be absolutely clear on what we're talking about, before we
figure out whether and how to document it.)

-Karl




  reply	other threads:[~2009-12-29 15:54 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-27 22:55 GNU Emacs is on Bazaar now Karl Fogel
2009-12-28  6:46 ` Kenichi Handa
2009-12-28  6:55   ` Karl Fogel
2009-12-28  8:07     ` Kenichi Handa
2009-12-28  8:52       ` Andreas Schwab
2009-12-28 11:41         ` Juanma Barranquero
2009-12-28 11:45         ` Kenichi Handa
2009-12-28 12:08           ` Juanma Barranquero
2009-12-28 13:10             ` Kenichi Handa
2009-12-28 12:09           ` Andreas Schwab
2009-12-28 13:22             ` Xavier Maillard
2009-12-28 13:51           ` Stephen J. Turnbull
2009-12-28 14:42             ` Juanma Barranquero
2009-12-28  9:19   ` Andreas Schwab
2009-12-28 11:44     ` Juanma Barranquero
2009-12-28 11:47     ` Kenichi Handa
2009-12-28 12:06       ` Andreas Schwab
2009-12-28 13:08         ` Kenichi Handa
2009-12-28 19:59           ` Andreas Schwab
2009-12-28 21:27             ` Karl Fogel
2009-12-28 22:16               ` Andreas Schwab
2009-12-28 22:24                 ` Karl Fogel
2009-12-29  1:26                   ` Giorgos Keramidas
2009-12-29  2:08                     ` Juanma Barranquero
2009-12-29  2:26                       ` Giorgos Keramidas
2009-12-28 22:30                 ` Óscar Fuentes
2009-12-28 22:41                   ` Karl Fogel
2009-12-28 23:14                     ` Óscar Fuentes
2009-12-29  1:17                       ` Karl Fogel
2009-12-29  2:12                         ` Óscar Fuentes
2009-12-29  1:57                       ` Stephen J. Turnbull
2009-12-29  2:00                         ` Karl Fogel
2009-12-29  2:16                         ` Óscar Fuentes
2009-12-29  4:32                           ` Stephen J. Turnbull
2009-12-29  4:46                             ` Óscar Fuentes
2009-12-29  7:25                               ` Kevin Rodgers
2009-12-29 10:27                               ` Juanma Barranquero
2009-12-29 15:54                                 ` Karl Fogel [this message]
2009-12-29 16:01                                   ` Juanma Barranquero
2009-12-29 16:15                                   ` Óscar Fuentes
2009-12-29 18:08                                   ` Eli Zaretskii
2009-12-29 18:09                                     ` Juanma Barranquero
2009-12-29 18:47                                       ` Eli Zaretskii
2009-12-29 18:13                                     ` Chong Yidong
2009-12-29 18:36                                       ` Eli Zaretskii
2009-12-29 18:54                                         ` Karl Fogel
2009-12-29 20:06                                           ` Eli Zaretskii
2009-12-29 20:14                                             ` Karl Fogel
2009-12-31  8:18                                               ` Stephen J. Turnbull
2009-12-31  8:29                                                 ` Óscar Fuentes
2009-12-31  9:26                                                   ` Miles Bader
2009-12-31  8:44                                                 ` Miles Bader
2010-01-01  8:41                                                   ` Stephen J. Turnbull
2009-12-31  5:57                                       ` Stephen J. Turnbull
2009-12-31  6:36                                         ` Óscar Fuentes
2010-01-01  9:21                                           ` Stephen J. Turnbull
2010-01-01  9:48                                             ` Óscar Fuentes
2009-12-31 11:33                                         ` Chong Yidong
2009-12-29  1:47                   ` Stephen J. Turnbull
2009-12-29  2:38                     ` Óscar Fuentes
2009-12-29  4:38                       ` Stephen J. Turnbull
2009-12-29  4:58                         ` Óscar Fuentes
2009-12-31  5:54                           ` Stephen J. Turnbull
2009-12-31  5:58                             ` Miles Bader
2009-12-31  6:02                             ` Dan Nicolaescu
2010-01-01 11:22                               ` Stephen J. Turnbull
2009-12-31  6:33                             ` Óscar Fuentes
2009-12-31  6:51                               ` Miles Bader
2010-01-01 10:01                               ` Stephen J. Turnbull
2010-01-01 10:19                                 ` Óscar Fuentes
2009-12-29  6:14                       ` Karl Fogel
2009-12-29  7:23                         ` Óscar Fuentes
2009-12-28 19:19 ` Eli Zaretskii
2009-12-28 20:00   ` Andreas Schwab
2009-12-28 20:17     ` Eli Zaretskii
2009-12-29 18:00   ` James Cloos
2009-12-29 19:40     ` Óscar Fuentes
2009-12-29 20:02       ` Eli Zaretskii
2009-12-29 20:55       ` James Cloos
2009-12-29 21:30         ` Óscar Fuentes

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=87637ppyhl.fsf@red-bean.com \
    --to=kfogel@red-bean.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=ofv@wanadoo.es \
    /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 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.