bugLibreDWG - Bugs: bug #29798, create-changelog broken

 
 

bug #29798: create-changelog broken

Submitted by:  Rodrigo Rodrigues da Silva <pitanga>
Submitted on:  Thu 06 May 2010 03:12:47 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Rodrigo Rodrigues da Silva <pitanga>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Jun 2010 07:55:31 AM UTC, comment #2:

I have found the cause of the problem: Git 1.6.3 introduces spelling --format=STR to be equivalent to --pretty=format:STR, which is fine for those who have Git 1.6.3 or later.

The fix, then, is to use the more verbose spelling. I have pushed such a change to Savannah and am changing the status to "Ready For Test".

Thien-Thi Nguyen <ttn>
Project Member
Thu 06 May 2010 08:54:53 AM UTC, comment #1:

This looks like a version-skew problem with Git. The create-changelog program expects a "git log" command that supports the fancy --format option.

There are two approaches to solve the problem:

(1) require maintainers (or whoever wishes to run create-changelog) to have a sufficiently up-to-date Git installed;

(2) have create-changelog test "git log" capability at runtime and use a fallback strategy if older Git is detected.

Personally, i like (1) because that's easy for me. However, doing (1) does not set a good example and thus is less desirable, so (2) it will be.

pitanga, could you please post version info for the Git you have installed? In the meantime, i will do some archeology on "git log" capabilities to explore the possibilities for (2).

Thien-Thi Nguyen <ttn>
Project Member
Thu 06 May 2010 03:12:47 AM UTC, original submission:

rodrigo@snowball2:~/devel/libredwg/build-aux$ ./create-changelog
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50asymptote.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50git-core.el (source)...
Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
Loading /etc/emacs/site-start.d/50lilypond-data.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Generating full history
----------
fatal: unrecognized argument: --format=&B%n%ci%s%n %an <%ae>%n%n %s%n%b%n&E%n

Rodrigo Rodrigues da Silva <pitanga>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttn (Posted a comment)
  • -unavailable- added by pitanga (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Jun 2010 01:08:29 AM UTCpitangaOpen/ClosedOpen=>Closed
    Fri 18 Jun 2010 10:47:40 PM UTCpitangaStatusReady For Test=>Fixed
    Thu 17 Jun 2010 12:47:36 PM UTCttnAssigned tottn=>pitanga
    Mon 07 Jun 2010 07:55:31 AM UTCttnStatusNeed Info=>Ready For Test
    Thu 06 May 2010 08:54:53 AM UTCttnStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1