bug-gnu-arch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnu-arch] [bug #7223] add-id's detects of automatic changelog ids f


From: Olaf Meeuwissen
Subject: [Bug-gnu-arch] [bug #7223] add-id's detects of automatic changelog ids fails if the revision is not of the form 0.1
Date: Tue, 25 Jul 2006 22:34:16 +0900
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.4) Gecko/20060608 (Debian-1.8.0.4-1) Galeon/2.0.1 (Debian package 2.0.1-3)

Follow-up Comment #2, bug #7223 (project gnu-arch):

I've had a bit of trouble getting this to work as well, but finally figured
out a way to get this to work.  I'm using tla-1.3.3-2 on Debian GNU/Linux
(testing/unstable), in case that matters.

Here's the gist of what I did:

 $ mkdir changelog--auto--0.0
 $ cd changelog--auto--0.0
 $ tla archive-setup `basename $PWD`
 $ tla init-tree `basename $PWD`
 $ sed -i 's,^explicit,tagline,' \{arch\}/\=tagging-method
 $ tla changelog > ChangeLog
 $ tla make-log
 $ $EDITOR \+\+log*
 $ tla import

After that the content of ++log* gets added to the ChangeLog file.  I also
added a number of other source files with `tla add-id` befor the import.  The
crux is that you should NOT `tla add-id ChangeLog` because that changes the ID
to use something that'll never match the arch_changelog_id_re #define quoted
in the original bug report.

I'd also like to point out that the first example in the original bug report
nicely illustrates this.  The ID starts with
"x_Elmar_Hoffmann_<address@hidden>".  This will of course NEVER match that
regexp in changelog.c, no matter what version number you use.

With regards to the followup by <tchernobog>, I'd hazard a guess that `tla
inventory --ids` shows an ID that fails the regexp on the first part as well.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7223>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]