<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:20:46 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-28] Provide an id object to track site, camera, spectrograph, etc.</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-28</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;The image acquisition actors need to know their &quot;site&quot; in order to set the file prefix (PF$(site)A). Besides that, several actors need to know what camera/dewar/spectrograph they are connected to.&lt;/p&gt;

&lt;p&gt;I think I&apos;ll make a &lt;tt&gt;pfscore&lt;/tt&gt; module in &lt;tt&gt;tron_actorcore&lt;/tt&gt; for these kinds of things. I&apos;m using a &lt;tt&gt;SpectroIds&lt;/tt&gt; class in the ccd actor which I&apos;ll move over for a start. By default the identity is picked up from the hostname (e.g. &lt;tt&gt;bee_r1.pfs&lt;/tt&gt;), but can be overridden. The site cannot be deduced in that way, so right now I&apos;m using a $PFS_SITE environment variable.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11361">INSTRM-28</key>
            <summary>Provide an id object to track site, camera, spectrograph, etc.</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="cloomis">cloomis</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>SM1</label>
                    </labels>
                <created>Thu, 1 Dec 2016 09:11:29 +0000</created>
                <updated>Thu, 10 Jan 2019 23:49:02 +0000</updated>
                            <resolved>Thu, 10 Jan 2019 23:49:02 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="11651" author="atsushi.shimono" created="Thu, 1 Dec 2016 10:17:24 +0000"  >&lt;p&gt;One possibility could be to set in domain part of FQDN from DHCP, like bee_r1.pfs_lam...?&lt;/p&gt;</comment>
                            <comment id="11938" author="cloomis" created="Wed, 15 Mar 2017 16:35:59 +0000"  >&lt;p&gt;Nice idea, but I think it would be useful to have a common domain. In the end I added a TXT record, yielding &quot;J&quot;, &quot;L&quot;, &quot;S&quot;, etc.&lt;/p&gt;</comment>
                            <comment id="11968" author="atsushi.shimono" created="Wed, 29 Mar 2017 11:38:37 +0000"  >&lt;p&gt;Need some lines to be copied into &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-71&quot; title=&quot;organization of dnsmasq configuration files - both DHCP and DNS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-71&quot;&gt;&lt;del&gt;INSTRM-71&lt;/del&gt;&lt;/a&gt; for details of TXT record.&lt;/p&gt;</comment>
                            <comment id="12109" author="atsushi.shimono" created="Tue, 18 Apr 2017 06:43:57 +0000"  >&lt;p&gt;a line has added in dnsmasq configuration requirement at &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-71&quot; title=&quot;organization of dnsmasq configuration files - both DHCP and DNS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-71&quot;&gt;&lt;del&gt;INSTRM-71&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="12305" author="cloomis" created="Fri, 23 Jun 2017 07:23:08 +0000"  >&lt;p&gt;Proof-of-concept committed. Since he needs to use it I&apos;m asking Arnaud to review.&lt;/p&gt;</comment>
                            <comment id="12310" author="arnaud.lefur" created="Fri, 23 Jun 2017 09:39:30 +0000"  >&lt;p&gt;This seems good to me.&lt;br/&gt;
But i&apos;m not sure how it can be used from enu since I only care about specModule, and specNum.&lt;br/&gt;
I can also deduce that from the hostname, but I need to rewrite hostnameId function&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;def hostnameId():
    hostname = socket.gethostname()
    hostname = os.path.splitext(hostname)[0]
    _, hostid = hostname.split(&apos;enu&apos;)
    return hostid
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="14758" author="cloomis" created="Thu, 10 Jan 2019 23:49:02 +0000"  >&lt;p&gt;Merged at 94d87aa, tagged 1.9.7&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="11620">INSTRM-119</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>INSTRM-511</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpuc:ih</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>arnaud.lefur</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="32">2019 B</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>