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:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-19 pitanga Open/ClosedOpen => Closed
    2010-06-18 pitanga StatusReady For Test => Fixed
    2010-06-17 ttn Assigned tottn => pitanga
    2010-06-07 ttn StatusNeed Info => Ready For Test
    2010-05-06 ttn StatusNone => Need Info

    Back to the top


    Powered by Savane 3.7