<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:43:38 JST 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>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-2162] Fix false dirty tag after pfsinstall</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-2162</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Some products when get installed, get wrongly assigned dirty tag.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When some binaries get built&lt;/li&gt;
	&lt;li&gt;ics_actorkeys&lt;br/&gt;
If we are to throw warnings, this needs to be fixed first.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="24506">INSTRM-2162</key>
            <summary>Fix false dirty tag after pfsinstall</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="arnaud.lefur">arnaud.lefur</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Wed, 31 Jan 2024 19:10:18 +0000</created>
                <updated>Fri, 2 Feb 2024 15:45:08 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="36934" author="cloomis" created="Wed, 31 Jan 2024 20:00:27 +0000"  >&lt;p&gt;Historically, most MHS products had a &lt;tt&gt;setup.py}}file, which is then what {{pfsinstall/eupsinstall&lt;/tt&gt; used. Some products now have &lt;tt&gt;SConstruct&lt;/tt&gt; files, which &lt;tt&gt;eupsinstall&lt;/tt&gt; will always use in preference to &lt;tt&gt;setup.py&lt;/tt&gt; if it is available. For all those products, installed versions do &lt;b&gt;not&lt;/b&gt; have a &lt;tt&gt;.git&lt;/tt&gt; directory, and will never see &lt;tt&gt;-dirty&lt;/tt&gt;. For those, we are fine.&lt;/p&gt;

&lt;p&gt;A few products have neither &lt;tt&gt;setup.py&lt;/tt&gt; nor &lt;tt&gt;SConstruct&lt;/tt&gt; file, in which case &lt;tt&gt;eupsinstall&lt;/tt&gt; will &lt;tt&gt;cp -r&lt;/tt&gt; the entire directory in. Those products will &lt;b&gt;always&lt;/b&gt; show &lt;tt&gt;-dirty&lt;/tt&gt;, because &lt;tt&gt;eupsinstall&lt;/tt&gt; then updates the &lt;tt&gt;.table&lt;/tt&gt; file with the frozen eups versions. For the products in this group which are simply pure-python we can just add &lt;tt&gt;SConstruct/setup.py&lt;/tt&gt; files. Umm, &lt;tt&gt;ics_actorkeys&lt;/tt&gt; is one example.&lt;/p&gt;

&lt;p&gt;The harder products are the ones which do not have &lt;tt&gt;setup.py&lt;/tt&gt; files because they require fancier builds (oh, cython, vendor libraries/binaries, kernel modules) and I was too weak to face the work of packaging them &quot;right&quot;. Umm, &lt;tt&gt;ics_mcsActor, ics_rtdADIO, ics_xcu_fpga, hxhal&lt;/tt&gt; are the obvious ones. But those are it, I think. &lt;/p&gt;
</comment>
                            <comment id="36938" author="cloomis" created="Wed, 31 Jan 2024 20:31:20 +0000"  >&lt;p&gt;And I&apos;ll clarify the ticket description a bit....&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;pfsinstall&lt;/tt&gt; will only install from a git tag, and except for the optional trailing letter for unchanged revisions on top of updated dependencies, the installed &lt;tt&gt;eups&lt;/tt&gt; version will always be the &lt;tt&gt;git&lt;/tt&gt; tag.&lt;/p&gt;

&lt;p&gt;The actors &lt;tt&gt;version&lt;/tt&gt; command tries to generate both &lt;tt&gt;git describe&lt;/tt&gt; and &lt;tt&gt;eups list&lt;/tt&gt; version for each setup product. If the git version is available, that is the one which is preferred (has more information, including &lt;tt&gt;-dirty&lt;/tt&gt; and the number of revisions since the last tag). Otherwise the &lt;tt&gt;eups&lt;/tt&gt; version is used. For PFS that is usually the &lt;tt&gt;git&lt;/tt&gt; version as described above. For LSST it is now some crazy pair of SHAs and the real version is in a less accessible &lt;tt&gt;eups&lt;/tt&gt; tag.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="24505">INSTRM-2161</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qph7:06r0900009</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>