git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-svn.perl: Strip ChangeLog bits.

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 4, 2008, 09:03 UTC
Message-ID
<20080804090309.GD5435@hand.yhbt.net>
In-Reply-To
<1217836189.7649.7.camel@heerbeest>
Jan Nieuwenhuizen <janneke-list@xs4all.nl> wrote:
Show 24 quoted lines
> On zo, 2008-08-03 at 19:09 -0700, Eric Wong wrote:
> 
> > Jan Nieuwenhuizen <janneke-list@xs4all.nl> wrote:
> > > I could imagine that leaving git-svn alone and adding a hook to git-log
> > > would be more useful, though.
> > 
> > NACK on modifying git-svn to support more changelog formats.
> > 
> > A better idea would be to write a generic script that takes "git log",
> > "git svn log" or even plain "svn log" output and filters it
> > independently.
> 
> > This filter should be reusable for both plain svn and git-svn:
> 
> >     The possibilities are endless :)
> 
> Yes, but we'll most probably drop SVN rsn, possibly after a short period
> of supporting both; and not stripping the cruft in the conversion means
> we carry this with us until eternity.  Besides, who is going to
> distribute the script, inform users about its availability?
> 
> What we have now suffices for our ooo-build conversion.  If you do not
> find it useful, more power/less code to you.  Let others search the
> archives and/or patch git-svn themselves, if indeed there are any.

In the one-shot case, a git filter-branch script would probably be ideal and reusable for other projects.

Anyways, I strongly believe changelog modification/reformatting should be done in a more generic way that can benefit users of other tools (archimport/cvsimport etc...), too.

-- 
Eric Wong
Previous: Jan NieuwenhuizenNext: Jan Nieuwenhuizen
Message 12 of 14 in “git-svn.perl: Strip ChangeLog bits.”
  1. git-svn.perl: Strip ChangeLog bits.Jan Nieuwenhuizen, Aug 2, 2008
  2. Petr BaudisAug 2, 2008
  3. Junio C HamanoAug 2, 2008
  4. Jan NieuwenhuizenAug 2, 2008
  5. Junio C HamanoAug 2, 2008
  6. Jan NieuwenhuizenAug 3, 2008
  7. Junio C HamanoAug 3, 2008
  8. Jan NieuwenhuizenAug 4, 2008
  9. Eric WongAug 4, 2008
  10. Junio C HamanoAug 4, 2008
  11. Jan NieuwenhuizenAug 4, 2008
  12. Eric WongAug 4, 2008
  13. Jan NieuwenhuizenAug 4, 2008
  14. Jan NieuwenhuizenAug 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.