2002-03-03 17:25:28 -05:00
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Gets pending patches from bugzilla and cleans html -->
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="prepare-patchqueue" depends="init" description="Patch queue 2 mail">
|
|
|
|
<mkdir dir="${build.patchqueue}"/>
|
|
|
|
<get
|
|
|
|
src="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Cocoon+2&short_desc=%5BPATCH%5D&short_desc_type=anywordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&namedcmd=cocoon+patch+queue&newqueryname=&order=Reuse+same+sort+as+last+time"
|
|
|
|
dest="${build.patchqueue}/bugzillapatchqueue.html"
|
|
|
|
verbose="true"
|
|
|
|
usetimestamp="true"
|
|
|
|
ignoreerrors="true"/>
|
|
|
|
|
|
|
|
<jtidy src="${build.patchqueue}/bugzillapatchqueue.html"
|
|
|
|
dest="${build.patchqueue}/bugzillapatchqueue.xhtml"
|
|
|
|
log="${build.patchqueue}/bugzillapatchqueue.log"
|
|
|
|
summary="true"
|
|
|
|
warn="true"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Transforms bugzilla patches html into xml -->
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="patchqueue-xml" depends="prepare-patchqueue">
|
|
|
|
<copy file="${tools.dir}/src/bugzilla2patchqueue.xsl"
|
|
|
|
tofile="${build.patchqueue}/bugzilla2patchqueue.xsl"/>
|
|
|
|
<style basedir="${build.patchqueue}"
|
|
|
|
destdir="${build.patchqueue}"
|
|
|
|
includes="bugzillapatchqueue.xhtml"
|
|
|
|
extension=".xml"
|
|
|
|
style="bugzilla2patchqueue.xsl"/>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Makes patches.xml for xdocs using bugzilla patches xml -->
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="patchqueue-xdocs" depends="patchqueue-xml">
|
|
|
|
<copy file="${tools.dir}/src/patchqueue2xdocs.xsl"
|
|
|
|
tofile="${build.patchqueue}/patchqueue2xdocs.xsl"/>
|
|
|
|
|
|
|
|
<style basedir="${build.patchqueue}"
|
|
|
|
destdir="${build.patchqueue}"
|
|
|
|
includes="bugzillapatchqueue.xml"
|
|
|
|
extension=".xdoc"
|
|
|
|
style="patchqueue2xdocs.xsl"/>
|
|
|
|
|
|
|
|
<copy file="${build.patchqueue}/bugzillapatchqueue.xdoc" tofile="${docs.dir}/patches.xml"/>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Sends a notification of the current patch queue to the mailing list -->
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="patchqueue" depends="patchqueue-xdocs">
|
|
|
|
<copy file="${tools.dir}/src/patchqueue2text4dev.xsl"
|
|
|
|
tofile="${build.patchqueue}/patchqueue2text4dev.xsl"/>
|
|
|
|
<style basedir="${build.patchqueue}"
|
|
|
|
destdir="${build.patchqueue}"
|
|
|
|
includes="bugzillapatchqueue.xml"
|
|
|
|
extension=".txt"
|
|
|
|
style="patchqueue2text4dev.xsl"/>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Sends a notification of the current patch queue to the mailing list -->
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="patchqueue-notify" depends="patchqueue">
|
|
|
|
<mail from="patch-queue@nicolaken.com"
|
|
|
|
tolist="cocoon-dev@xml.apache.org"
|
|
|
|
mailhost="192.4.0.155"
|
|
|
|
subject="DO NOT REPLY [PATCH QUEUE] Summary ${TODAY}"
|
|
|
|
files="${build.patchqueue}/bugzillapatchqueue.txt"/>
|
|
|
|
|
|
|
|
</target>
|
2002-03-15 08:32:11 -05:00
|
|
|
|
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- Calls the targets needed for Gump -->
|
|
|
|
<!-- =================================================================== -->
|
2002-03-19 04:24:33 -05:00
|
|
|
<target name="gump" depends="testmodule">
|
2002-03-15 08:32:11 -05:00
|
|
|
</target>
|
|
|
|
|
|
|
|
|