Bug 684641

Summary: %changelog not in descending chronological order
Product: [Community] Publican Reporter: Tomas Dabašinskas <tdabasin>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NOTABUG QA Contact: Ruediger Landmann <rlandman+disabled>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-14 04:33:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Dabašinskas 2011-03-14 04:20:52 UTC
Hi, I'm getting an error %changelog not in descending chronological order when I run publican package -brew -lang en-US.
My Revision_History.xml:
<appendix>
 <title>Revision History</title>
 <simpara>
  <revhistory>
   <revision>
    <revnumber>8-2</revnumber>
    <date>2011-02-23</date>
    <author>
     <firstname>Tomas</firstname>
     <surname>Dabasinskas</surname>
     <email>tomas</email>
    </author>
    <revdescription><member>Week 8, build 2</member></revdescription>
   </revision>
   <revision>
    <revnumber>11-1</revnumber>
    <date>2011-03-14</date>
    <author>
     <firstname>Tomas</firstname>
     <surname>Dabasinskas</surname>
     <email>tomas</email>
    </author>
    <revdescription><member>Week 11, build 1</member></revdescription>
   </revision>
  </revhistory>
 </simpara>
</appendix>

If I move revision 11-1 above 8-2 it starts to work again. 
Can you please fix this so that date chronological order is determined by the revision number+date? Alternatively order from bottom of the file to the top.

Thanks

Comment 1 Jeff Fearn 🐞 2011-03-14 04:33:25 UTC
Publican does not change the order of the entries, they are expected to be in reverse chronological order. i.e. newest at top.