Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Request #12501 ChangeLog in reverse order as option
Submitted: 2007-11-21 20:26 UTC
From: farell Assigned:
Status: Verified Package: PEAR_PackageFileManager_Cli (version 0.3.0)
PHP Version: 5.2.4 OS: windows xp
Roadmaps: (Not assigned)    
Subscription  


 [2007-11-21 20:26 UTC] farell (Laurent Laville)
Description: ------------ I'd really appreciate to have an option that make it possible to generate package xml 2.0 with changelog in reverse order (new to old). Personally I prefer when I have the latest version in top of changelog list, and not in bottom as by default PFM behavior. The PFM option is "changelogoldtonew" (default = true) and produce something like that : <changelog> <release> <version> <release>0.1.0</release> <api>0.1.0</api> </version> ... </release> <release> <version> <release>0.2.0</release> <api>0.2.0</api> </version> ... </changelog> Test script: --------------- $options = array('filelistgenerator' => 'file', 'baseinstalldir' => 'Services/W3C', 'simpleoutput' => true, 'changelogoldtonew' => false, 'ignore' => array(__FILE__) ); $p2 = &PEAR_PackageFileManager2::importOptions($packagefile, $options);

Comments