<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:15 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>[DAMD-4] Hash need to be 8byte</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-4</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;Hash of calculate_pfsVisitHash and calculate_pfsConfigId need to be 8byte.&lt;br/&gt;
&amp;gt;     # convert to int and truncate to 8 bytes&lt;br/&gt;
&amp;gt; sha1 = int(m.hexdigest(), 16) &amp;amp; 0xffffffff&lt;/p&gt;

&lt;p&gt;I think 0xffffffff is 4byte....?&lt;/p&gt;</description>
                <environment></environment>
        <key id="10900">DAMD-4</key>
            <summary>Hash need to be 8byte</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</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="rhl">rhl</assignee>
                                    <reporter username="atsushi.shimono">shimono</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jun 2016 04:15:15 +0000</created>
                <updated>Mon, 6 May 2019 17:31:24 +0000</updated>
                            <resolved>Sun, 14 Jan 2018 23:16:13 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="11288" author="rhl" created="Sat, 3 Sep 2016 18:35:08 +0000"  >&lt;p&gt;Sorry this took so long to resolve (I thought I had real work to do!)&lt;/p&gt;

&lt;p&gt;Yes, you&apos;re right, but the data model specifies 8 hex digits, so it&apos;s a typo in the comment.  I&apos;ve fixed it.&lt;/p&gt;</comment>
                            <comment id="11598" author="rhl" created="Sun, 20 Nov 2016 08:19:17 +0000"  >&lt;p&gt;I didn&apos;t merge the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-4&quot; title=&quot;Hash need to be 8byte&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-4&quot;&gt;&lt;del&gt;DAMD-4&lt;/del&gt;&lt;/a&gt; code in utils.py, and when I came to finally merge the issue I realised that we do indeed have a problem.  Shimono-san correctly fixed the SHA truncation, but he didn&apos;t address the filenames.&lt;/p&gt;

&lt;p&gt;I specified 64-bit SHA1s;  I think that that&apos;s plenty and anyway that&apos;s the biggest number that we can easily put into fits tables so let&apos;s stick to that.  Unfortunately, I confused bytes with hexadecimal digits and specified %08x formats, whereas I should have said %016x.&lt;/p&gt;

&lt;p&gt;This is a pain.  I&apos;d simply truncate the SHA1s to 4 bytes for filenames, except that some of the filenames include objIds, and they are also 64 bits and we can&apos;t simply truncate them as they are very far from random.&lt;/p&gt;

&lt;p&gt;I think we have to face reality and write out all 16 hex digits in both places &amp;#8211; ugly.  What do you think?&lt;/p&gt;</comment>
                            <comment id="12874" author="rhl" created="Sun, 14 Jan 2018 23:16:13 +0000"  >&lt;p&gt;OK, I went with the 0x016x format and that is what is implemented in the data model and DRP-2D&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13551">DAMD-56</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_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|ii00fb:</customfieldvalue>

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