#3863: DevTool - autoChangelog
-------------------------------+--------------------------------------------
 Reporter:  arczi              |       Owner:  garry.yao   
     Type:  New Feature        |      Status:  assigned    
 Priority:  Normal             |   Milestone:  CKEditor 3.x
Component:  General            |     Version:              
 Keywords:  Confirmed Review?  |  
-------------------------------+--------------------------------------------

Comment(by mosipov):

 Replying to [comment:8 arczi]:
 > We can also use PHP (+phpSubversion client if it works) or just parse
 our site:
 >
 >
 
https://dev.fckeditor.net/log/CKEditor/trunk?action=stop_on_copy&mode=stop_on_copy&rev=3897&stop_rev=3097&limit=100
 >
 > I think it is the simplest way.
 >

 The link is broken. Anyway, the result would simply give you the log and
 '''not''' the fixed bugs from Trac.

 Replying to [comment:9 garry.yao]:
 > Thanks for the tips, I like the simplicity promises from your approach,
 while I'm indented to have those dev tools developed with JavaScript,
 first for flexibility, then for easy maintainability (everybody could
 alter it later). [[BR]]
 > Regard the footprint, the source code it self is only a fews lines, does
 it really hurt to have more dependency jars for a dev tool?

 In my opinion, it does! Comparing the ratio of real source code to the
 deps. It's too much for my taste.

 {{{
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 ======================================================================

      changes-tool
      creates a changes.html from Trac

      mosipov
 ====================================================================== -->
 <project name="changes-tool" default="create-changes">
     <description>
             creates a changes.html from Trac
     </description>
         <taskdef
             name="csv2xml"
             classname="de.oio.util.ant.CSV2XMLKonverterTask"
 classpath="lib/CSV2XML-ant.jar"/>
     <!-- =================================
           target: create-changes
          ================================= -->
     <target name="create-changes" depends="convert-csv2xml"
 description="creates a changes.html from Trac">
         <xslt in="target/changes.xml" out="target/changes.html"
 style="src/changes.xsl"  />

     </target>

     <!-- - - - - - - - - - - - - - - - - -
           target: convert-csv
          - - - - - - - - - - - - - - - - - -->
     <target name="convert-csv2xml" depends="get-csv">
         <replaceregexp file="target/changes.csv" byline="true" match=","
 replace=";" flags="g" />
         <csv2xml basedir="target" outdir="target" >
                 <include name="changes.csv" />
                 </csv2xml>

     </target>

         <!-- - - - - - - - - - - - - - - - - -
                   target: convert-csv
                  - - - - - - - - - - - - - - - - - -->
             <target name="get-csv">
                 <mkdir dir="target"/>
                 <get dest="target/changes.csv"
 
src="http://dev.fckeditor.net/query?status=closed&amp;group=resolution&amp;format=csv&amp;order=priority&amp;col=id&amp;col=summary&amp;col=milestone&amp;col=type&amp;milestone=CKEditor+3.0&amp;milestone=CKEditor+3.1"/>
             </target>

 </project>
 }}}

 Almost done quick and dirty, add lib, add stylesheet.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3863#comment:10>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to