public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-project@lists.gentoo.org
Subject: Re: [gentoo-project] ChangeLog generation: Edit generated Changelogs
Date: Mon, 19 Sep 2011 19:53:09 +0200	[thread overview]
Message-ID: <20110919175309.GH1168@gentoo.org> (raw)
In-Reply-To: <4E777A2F.3050306@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]

On 19-09-2011 20:21:51 +0300, Markos Chandras wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On 09/19/11 20:09, Fabian Groffen wrote:
> > 
> > $EDITOR ChangeLog && repoman commit -m "added bugref"
> > 
> > (side-note: I don't see the point of your echangelog usage for this
> > case)
> > 
> > 
> Ok pretty much what I said in my previous email. In this case you edit
> the ChangeLog but the "added bugref" text will be appended to
> Changelog instead of fixing your previous commit message. In my
> opinion we have two options here

Why?  The message will not go to ChangeLog, simply because repoman would
not do that, because echangelog doesn't do that as well:

[nut:portage/mail-client/mutt] % cvs update
cvs update: Updating .
cvs update: Updating files
[nut:portage/mail-client/mutt] % echangelog "bla"
**
** NOTE: No non-trivial changed files found.  Normally echangelog
** should be run after all affected files have been added and/or
** modified.  Did you forget to cvs add?
**
** In strict mode, exiting
** If you know what you're doing there pass '--no-strict' to echangelog

> 1) Ignore commit messages that only affect ChangeLogs. This requires
> the ChangeLog entry to be kept on $VCS cause it is easier

we already do that

> OR
> 2) Remove the head -1 ChangeLog entry and insert the new one.

complex for no reason

> In both cases, the ChangeLogs need to be on $VCS

or put differently, it's the best we can do when it is decided that we
need to be able to do things that require a file (like currently already
is the case).

> The only advantage for having the post-commit server generating the
> ChangeLogs is the reduce $VCS size. I can't see any other advantages
> whatsoever

I think this is non-sense, and only complicates matters.


-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2011-09-19 17:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 14:08 [gentoo-project] ChangeLog generation: Edit generated Changelogs Markos Chandras
2011-09-16 21:32 ` "Paweł Hajdan, Jr."
2011-09-17  8:32   ` Markos Chandras
2011-09-17  9:07     ` Nirbheek Chauhan
2011-09-17 14:01       ` Rich Freeman
2011-09-19 13:26         ` Fabian Groffen
2011-09-19 13:44           ` Markos Chandras
2011-09-19 14:27             ` Fabian Groffen
2011-09-19 16:28               ` Markos Chandras
2011-09-19 16:51                 ` Fabian Groffen
2011-09-19 16:58                   ` Markos Chandras
2011-09-19 17:09                     ` Fabian Groffen
2011-09-19 17:21                       ` Markos Chandras
2011-09-19 17:53                         ` Fabian Groffen [this message]
2011-09-19 21:39               ` Donnie Berkholz
2011-09-19 21:46                 ` Michał Górny
2011-09-20  6:57                   ` Fabian Groffen
2011-09-28 17:37 ` Fabian Groffen
2011-09-28 18:24   ` Mr. Aaron W. Swenson
2011-09-29 17:04   ` Markos Chandras

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=20110919175309.GH1168@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-project@lists.gentoo.org \
    /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