unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Updated HACKING
@ 2008-09-03  4:42 Han-Wen Nienhuys
  2008-09-03  8:10 ` Ludovic Courtès
  0 siblings, 1 reply; 10+ messages in thread
From: Han-Wen Nienhuys @ 2008-09-03  4:42 UTC (permalink / raw)
  To: guile-devel

Please check dev/hanwen for changes.  

I've also looked at renaming ChangeLogs, but I got a scare when I saw how 
many we have (I forgot GUILE did per directory ones).  Seeing so many deprecated
files makes want to

- delete them, or
- put them in a separate subdirectory where they will be out of sight.  

comments?


-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen





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

* Re: Updated HACKING
  2008-09-03  4:42 Updated HACKING Han-Wen Nienhuys
@ 2008-09-03  8:10 ` Ludovic Courtès
  2008-09-04  2:35   ` Han-Wen Nienhuys
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2008-09-03  8:10 UTC (permalink / raw)
  To: guile-devel

Hi,

Han-Wen Nienhuys <hanwen@xs4all.nl> writes:

> Please check dev/hanwen for changes.  

The `HACKING' changes looks good overall, thank you!  The "complete
description in the commit message" should rather be "complete
ChangeLog-style description in the commit message (see the GNU Coding
Standards for details)".  The sentence "Post your patch to
guile-devel@gnu.org" lacks a period.

(It was funny to see notes about EGCS, a patch for CVS, etc.  ;-))

> I've also looked at renaming ChangeLogs, but I got a scare when I saw how 
> many we have (I forgot GUILE did per directory ones).  Seeing so many deprecated
> files makes want to
>
> - delete them, or

No.

> - put them in a separate subdirectory where they will be out of sight.  

Not sure.  How about just renaming them to `ChangeLog-2008' for now, and
add a top-level `ChangeLog' that reads something like "Please refer to
git.sv.gnu.org blah blah blah"?

Thanks,
Ludo'.





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

* Re: Updated HACKING
  2008-09-03  8:10 ` Ludovic Courtès
@ 2008-09-04  2:35   ` Han-Wen Nienhuys
  2008-09-04 11:45     ` Ludovic Courtès
  2008-09-04 18:32     ` Andy Wingo
  0 siblings, 2 replies; 10+ messages in thread
From: Han-Wen Nienhuys @ 2008-09-04  2:35 UTC (permalink / raw)
  To: guile-devel

Ludovic Courtès escreveu:
> Hi,
> 
> Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
> 
>> Please check dev/hanwen for changes.  
> 
> The `HACKING' changes looks good overall, thank you!  The "complete
> description in the commit message" should rather be "complete
> ChangeLog-style description in the commit message (see the GNU Coding
> Standards for details)".  The sentence "Post your patch to
> guile-devel@gnu.org" lacks a period.

How about the following:


- Provide a description in the commit message, like so:

  1-line description of change

  More extensive discussion of your change.  Document why you are
  changing things.

  * filename (function name): file specific change comments.


This the 1 line + more extensive doc is the standard for git (AFAIK) 
and lilypond. Background info is very useful for later referral.  

I would like to propose to only have the 

 * filename

sections if there are file specific notes that are not covered by
the general description and git's list of modified files.

-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen





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

* Re: Updated HACKING
  2008-09-04  2:35   ` Han-Wen Nienhuys
@ 2008-09-04 11:45     ` Ludovic Courtès
  2008-09-04 18:32     ` Andy Wingo
  1 sibling, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2008-09-04 11:45 UTC (permalink / raw)
  To: guile-devel

Han-Wen Nienhuys <hanwen@xs4all.nl> writes:

> How about the following:

Guile is a GNU project, let's stick to the good old and widely
understood ChangeLog style rather than rolling our own format.

Thanks,
Ludo'.





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

* Re: Updated HACKING
  2008-09-04  2:35   ` Han-Wen Nienhuys
  2008-09-04 11:45     ` Ludovic Courtès
@ 2008-09-04 18:32     ` Andy Wingo
  2008-09-04 19:49       ` Ludovic Courtès
  1 sibling, 1 reply; 10+ messages in thread
From: Andy Wingo @ 2008-09-04 18:32 UTC (permalink / raw)
  To: hanwen; +Cc: guile-devel

On Wed 03 Sep 2008 19:35, Han-Wen Nienhuys <hanwen@xs4all.nl> writes:

> How about the following:
>
>
> - Provide a description in the commit message, like so:
>
>   1-line description of change
>
>   More extensive discussion of your change.  Document why you are
>   changing things.
>
>   * filename (function name): file specific change comments.

This looks really good to me. If we move from ChangeLogs, then it makes
sense to adjust the format as necessary, preserving the same semantics.
We should probably propose this as the standard GNU format, actually. (I
believe bzr people use something like this as well.)

> I would like to propose to only have the 
>
>  * filename
>
> sections if there are file specific notes that are not covered by
> the general description and git's list of modified files.

I agree in the case that e.g. you're just updating copyrights; but
generally I prefer to have the files in. It's nice to be able to read
everything in one place, instead of bouncing my eye around in gitk, and
it doesn't impact readability adversely since it's after any general
comment.

Also, listing files helps the committer make sure that you're committing
only those files that you intend to -- often, when I make the commit
message, I find that there's some unwanted change, which reminds me to
exclude it from the commit.

Andy
-- 
http://wingolog.org/




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

* Re: Updated HACKING
  2008-09-04 18:32     ` Andy Wingo
@ 2008-09-04 19:49       ` Ludovic Courtès
  2008-09-11 21:27         ` Neil Jerram
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2008-09-04 19:49 UTC (permalink / raw)
  To: guile-devel

Hi,

Andy Wingo <wingo@pobox.com> writes:

> On Wed 03 Sep 2008 19:35, Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>
>> How about the following:
>>
>>
>> - Provide a description in the commit message, like so:
>>
>>   1-line description of change
>>
>>   More extensive discussion of your change.  Document why you are
>>   changing things.
>>
>>   * filename (function name): file specific change comments.
>
> This looks really good to me. If we move from ChangeLogs, then it makes
> sense to adjust the format as necessary, preserving the same semantics.
> We should probably propose this as the standard GNU format, actually. (I
> believe bzr people use something like this as well.)

Actually, what you're proposing is what I had in mind.  :-)

It's essentially the GNU ChangeLog format, with the addition of the
summary line and optional extended summary.  Adding a one-line summary
has been common practice in some projects, there are examples in Gnulib
and Guile.

Anyway, if you are willing to propose something beyond just that, the
discussion should be directed to `gnu-prog-discuss' IMO.

Thanks,
Ludo'.





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

* Re: Updated HACKING
  2008-09-04 19:49       ` Ludovic Courtès
@ 2008-09-11 21:27         ` Neil Jerram
  2008-09-12  7:56           ` Ludovic Courtès
  2008-09-12 20:05           ` `ChangeLog' files are gone! Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: Neil Jerram @ 2008-09-11 21:27 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

2008/9/4 Ludovic Courtès <ludo@gnu.org>:
> Hi,
>
> Andy Wingo <wingo@pobox.com> writes:
>
>> On Wed 03 Sep 2008 19:35, Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>>
>>> How about the following:
>>>
>>>
>>> - Provide a description in the commit message, like so:
>>>
>>>   1-line description of change
>>>
>>>   More extensive discussion of your change.  Document why you are
>>>   changing things.
>>>
>>>   * filename (function name): file specific change comments.
>>
>> This looks really good to me. If we move from ChangeLogs, then it makes
>> sense to adjust the format as necessary, preserving the same semantics.
>> We should probably propose this as the standard GNU format, actually. (I
>> believe bzr people use something like this as well.)
>
> Actually, what you're proposing is what I had in mind.  :-)
>
> It's essentially the GNU ChangeLog format, with the addition of the
> summary line and optional extended summary.  Adding a one-line summary
> has been common practice in some projects, there are examples in Gnulib
> and Guile.

For the record, I'm happy with this too.  Thanks Han-Wen for
describing this in HACKING (and for the other updates).

So, have we yet announced that we're definitively switching from
ChangeLog change logs to Git commit message change logs?  In case
anyone's in doubt: we are.

In practice, I believe the last commit with a ChangeLog change was
31st August, so for the record (if needed) we can say that the switch
happened from 1st September onwards.

Regards,
      Neil




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

* Re: Updated HACKING
  2008-09-11 21:27         ` Neil Jerram
@ 2008-09-12  7:56           ` Ludovic Courtès
  2008-09-12 20:05           ` `ChangeLog' files are gone! Ludovic Courtès
  1 sibling, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2008-09-12  7:56 UTC (permalink / raw)
  To: guile-devel

Hi,

"Neil Jerram" <neiljerram@googlemail.com> writes:

> In practice, I believe the last commit with a ChangeLog change was
> 31st August, so for the record (if needed) we can say that the switch
> happened from 1st September onwards.

Yes, I forgot to rename the ChangeLog files, etc., but I can do it later
on today or this week-end if nobody else does.

Thanks,
Ludo'.





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

* `ChangeLog' files are gone!
  2008-09-11 21:27         ` Neil Jerram
  2008-09-12  7:56           ` Ludovic Courtès
@ 2008-09-12 20:05           ` Ludovic Courtès
  2008-09-14 16:25             ` Neil Jerram
  1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2008-09-12 20:05 UTC (permalink / raw)
  To: guile-devel

Hello!

"Neil Jerram" <neiljerram@googlemail.com> writes:

> In practice, I believe the last commit with a ChangeLog change was
> 31st August, so for the record (if needed) we can say that the switch
> happened from 1st September onwards.

I committed two things: renaming the `ChangeLog' files to
`ChangeLog-2008', and adding them to the distribution.  The first commit
also adds an explanation in the top-level `ChangeLog' file.  Feel free
to amend it if you think of improvements.

Thanks,
Ludo'.





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

* Re: `ChangeLog' files are gone!
  2008-09-12 20:05           ` `ChangeLog' files are gone! Ludovic Courtès
@ 2008-09-14 16:25             ` Neil Jerram
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Jerram @ 2008-09-14 16:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

2008/9/12 Ludovic Courtès <ludo@gnu.org>:

> I committed two things: renaming the `ChangeLog' files to
> `ChangeLog-2008', and adding them to the distribution.  The first commit
> also adds an explanation in the top-level `ChangeLog' file.  Feel free
> to amend it if you think of improvements.

All looks perfect!

    Neil




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

end of thread, other threads:[~2008-09-14 16:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03  4:42 Updated HACKING Han-Wen Nienhuys
2008-09-03  8:10 ` Ludovic Courtès
2008-09-04  2:35   ` Han-Wen Nienhuys
2008-09-04 11:45     ` Ludovic Courtès
2008-09-04 18:32     ` Andy Wingo
2008-09-04 19:49       ` Ludovic Courtès
2008-09-11 21:27         ` Neil Jerram
2008-09-12  7:56           ` Ludovic Courtès
2008-09-12 20:05           ` `ChangeLog' files are gone! Ludovic Courtès
2008-09-14 16:25             ` Neil Jerram

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).