<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:39:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LUDOC-6] Build task needed.</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-6</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;The manual needs a test and build job. Test and build includes five steps:&lt;/p&gt;

&lt;p&gt;(TEST)&lt;/p&gt;

&lt;p&gt;1. Verify with xmllint the ./index.xml of doc/manual:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;xmllint --noout --xinclude --noent --relaxng /usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng ./index.xml
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;(TEST)&lt;/p&gt;

&lt;p&gt;2. (Optional) Verify with jing the ./index.xml of doc/manual:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;java -cp /home/richard/whamcloud/pubwiki/tools/jing-20081028/bin/  -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration -jar /home/richard/whamcloud/pubwiki/tools/jing-20081028/bin/jing.jar /usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng ./index.xml
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;(BUILD)&lt;/p&gt;

&lt;p&gt;3. Build a pdf of the manual:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;xsltproc --stringparam  fop1.extensions 1 --stringparam  section.label.includes.component.label 1 --stringparam  section.autolabel 1 --stringparam  chapter.autolabel 1 --stringparam  appendix.autolabel 1 --xinclude -o /tmp/manual.fo /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl ./index.xml &amp;amp;&amp;amp; fop /tmp/manual.fo /tmp/manual.pdf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;(BUILD)&lt;br/&gt;
4. Build a HTML of the manual:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;xsltproc --stringparam  fop1.extensions  1 --stringparam  section.label.includes.component.label 1 --stringparam  section.autolabel 1 --stringparam  chapter.autolabel 1 --stringparam  appendix.autolabel 1 --xinclude -o /tmp/manual.html /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl ./index.xml
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;(AUTOMATION)&lt;/p&gt;

&lt;p&gt;5. Mark Gerrit +1 Hudson!&lt;/p&gt;</description>
                <environment>Build environment</environment>
        <key id="11154">LUDOC-6</key>
            <summary>Build task needed.</summary>
                <type id="3" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11318&amp;avatarType=issuetype">Task</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="mjmac">Michael MacDonald</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Jun 2011 10:27:40 +0000</created>
                <updated>Mon, 27 Jun 2011 11:32:24 +0000</updated>
                            <resolved>Mon, 27 Jun 2011 11:32:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="16291" author="mjmac" created="Tue, 14 Jun 2011 10:10:30 +0000"  >&lt;p&gt;I&apos;ve created the git repo as doc/manual and set up permissions such that Richard can push to it.&lt;/p&gt;

&lt;p&gt;I&apos;ve also set up two Jenkins jobs:&lt;br/&gt;
&lt;a href=&quot;https://newbuild.whamcloud.com/job/lustre-manual/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://newbuild.whamcloud.com/job/lustre-manual/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://newbuild.whamcloud.com/job/lustre-manual-reviews/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://newbuild.whamcloud.com/job/lustre-manual-reviews/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These are configured similarly to the regular lustre jobs &amp;#8211; lustre-manual periodically (once an hour) polls the master branch of the doc/manual repo and builds any changes it sees, whereas lustre-manual-reviews is triggered by individual Gerrit reviews.&lt;/p&gt;

&lt;p&gt;Currently, there seems to be a problem in generating PDFs with fop.  As I&apos;m unfamiliar with these tools, I&apos;ll hand this task back to Richard for resolution.  If there are packages which need to be installed, please update this issue and I&apos;ll take care of them.&lt;/p&gt;</comment>
                            <comment id="16346" author="rhenwood" created="Tue, 14 Jun 2011 18:58:25 +0000"  >&lt;p&gt;Mike and I have made some progress on this issue: there is a RHEL6 package &apos;docbook5-style-xsl&apos; that reduces the warnings to zero during the xsltproc transform. Fop still fails.&lt;/p&gt;</comment>
                            <comment id="16409" author="rhenwood" created="Wed, 15 Jun 2011 15:32:07 +0000"  >&lt;p&gt;It seems that there is a problem with the version of fop that is included with RHEL6 with the docbook we&apos;ve generated. The version 1.0 from here:&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;http://apache.deathculture.net/xmlgraphics/fop/binaries/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://apache.deathculture.net/xmlgraphics/fop/binaries/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;generates a PDF. &lt;/p&gt;

&lt;p&gt;Mike: is possible to add a 1.0 fop requirement?&lt;/p&gt;</comment>
                            <comment id="16410" author="rhenwood" created="Wed, 15 Jun 2011 15:33:03 +0000"  >&lt;p&gt;Can we add a dependence on fop 1.0?&lt;/p&gt;</comment>
                            <comment id="16637" author="mjmac" created="Mon, 20 Jun 2011 15:24:10 +0000"  >&lt;p&gt;Did you build/run fop-1.0 on RHEL6?  I managed to package it, but it fails with the following:&lt;/p&gt;

&lt;p&gt;Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/uri/CommonURIResolver&lt;/p&gt;

&lt;p&gt;This is apparently due to a missing xmlgraphics-commons-1.4.jar.  I located one and downloaded it, and as an experiment made it available to fop via CLASSPATH.  I managed to get a bit further, but ran into this:&lt;/p&gt;

&lt;p&gt;SEVERE: Couldn&apos;t find hyphenation pattern en&lt;/p&gt;

&lt;p&gt;This is apparently due to a missing fop-hyph.jar, which I also downloaded and made available via CLASSPATH.  Now it fails with the following: &lt;/p&gt;

&lt;p&gt;Exception in thread &quot;main&quot; java.lang.NoSuchMethodError: org.apache.xmlgraphics.java2d.GraphicContext.&amp;lt;init&amp;gt;(Lorg/apache/xmlgraphics/java2d/GraphicContext;&lt;/p&gt;

&lt;p&gt;I think, given that I have been poking at this for most of a day when I&apos;m supposed to be working on Hydra, that I&apos;m going to have to push back on this request.  Please find a way to generate the manual which works with the packages provided by RHEL6, or else package up the necessary tool stack and push it to the toolkit repo.&lt;/p&gt;</comment>
                            <comment id="16772" author="rhenwood" created="Wed, 22 Jun 2011 13:52:27 +0000"  >&lt;p&gt;Mike, Thanks for your time on this.&lt;/p&gt;

&lt;p&gt;As you instruct, I&apos;ve been looking at creating a fop workflow on a vanilla RHEL6 machine. I have had a look at the fop package you&apos;ve built and I believe that the dependency on xmlgraphics-commons needs to be:&lt;/p&gt;

&lt;p&gt;Requires:       xmlgraphics-commons &amp;gt;= 1.4&lt;/p&gt;

&lt;p&gt;I&apos;ve created a change for this: &lt;a href=&quot;http://review.whamcloud.com/#change,998&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,998&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;There are RPMs of xmlgraphics-commons &amp;gt;= 1.4 available (i.e. on &lt;a href=&quot;http://rpm.pbone.net/index.php3/stat/4/idpl/15778038/dir/rawhide/com/xmlgraphics-commons-1.4-3.noarch.rpm.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;pbone.net&lt;/a&gt;), but they not as part of the RHEL6 distro. In addition the RPM I looked at has a dependency on &apos;apache&apos;-commons-io and &apos;apache&apos;-commons-logging. I believe the equivalent packages in RHEL6 are &apos;jakarta&apos;-commons-io and &apos;jakarta&apos;-commons-logging. By forcing the rpm install of xmlgraphics-commons.1.4.rpm, and then installing your fop.1.0.rpm. I can generate a pdf manual.&lt;/p&gt;

&lt;p&gt;I&apos;ve taken the xmlgraphics-commons source, created a .spec that corrects the dependency from apache to jakarta. This change is: &lt;a href=&quot;#change,999&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;://review.whamcloud.com/#change,999&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;a name=&quot;Stepstobuildpdfmanual.&quot;&gt;&lt;/a&gt;Steps to build pdf manual.&lt;/h3&gt;

&lt;ol&gt;
	&lt;li&gt;Install java &lt;tt&gt;yum install java&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;create a fop version of the manual
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# xsltproc --stringparam  fop1.extensions  1 --stringparam  section.label.includes.component.label 1 --stringparam  section.autolabel 1 --stringparam  chapter.autolabel 1 --stringparam  appendix.autolabel 1 --xinclude -o /tmp/manual.fo /usr/share/sgml/docbook/xsl-ns-stylesheets-1.75.2/fo/docbook.xsl ./index.xml
Making portrait pages on USletter paper (8.5inx11in)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;Observe no errors are returned.&lt;/li&gt;
	&lt;li&gt;install jakarta-commons-io and jakarta-commons-logging&lt;/li&gt;
	&lt;li&gt;install xmlgraphics-commons from &lt;a href=&quot;http://newbuild.whamcloud.com/job/toolkit/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;build.whamcloud.com/toolkit&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Install fop from &lt;a href=&quot;http://newbuild.whamcloud.com/job/toolkit/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;build.whamcloud.com/toolkit&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Convert the fop file to a pdf using fop:
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# fop /tmp/manual.fo /tmp/manual.pdf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;NOTE the fop job creates a bunch of warnings. I think these are acceptable at this stage but should be tidied up in future.&lt;/p&gt;</comment>
                            <comment id="16809" author="rhenwood" created="Wed, 22 Jun 2011 17:10:38 +0000"  >&lt;p&gt;NOTE: xmlgraphic-commons introduces additional dependencies during build:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;ant-junit junit jakarta-commons-io jakarta-commons-logging
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="16999" author="rhenwood" created="Mon, 27 Jun 2011 11:32:24 +0000"  >&lt;p&gt;Manual now builds, Hudson hooked into Gerrit: Thanks Mike!&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10032"><![CDATA[Test Infrastructure]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvl93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7204</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>