<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:43 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-595] Make bits serialization sorted (alphabetically)</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-595</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Yang specification describes canonical form for bits to be ordered by position: &lt;a href=&quot;http://tools.ietf.org/html/rfc6020#section-9.7.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://tools.ietf.org/html/rfc6020#section-9.7.3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But yang-data-api specifies:&lt;br/&gt;
  public interface BitsCodec&amp;lt;T&amp;gt; extends Codec&amp;lt;T, Set&amp;lt;String&amp;gt;&amp;gt;{&lt;br/&gt;
and Set loses the ordering.&lt;br/&gt;
This makes ODL report bits in pseudorandom order, which is not nice as users need more logic to compare outputs.&lt;/p&gt;

&lt;p&gt;A simple improvement would be to order serialized values alphabetically. It would take some CPU cycles, but most Yang models only have a few bits to sort.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23015">YANGTOOLS-595</key>
            <summary>Make bits serialization sorted (alphabetically)</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Mar 2016 17:25:47 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:45 +0000</updated>
                            <resolved>Tue, 22 Mar 2016 13:21:31 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43833" author="vrpolak" created="Fri, 18 Mar 2016 17:29:12 +0000"  >&lt;p&gt;An early idea of a fix, not verified yet:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36450/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36450/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43834" author="tony.tkacik@gmail.com" created="Tue, 22 Mar 2016 10:40:02 +0000"  >&lt;p&gt;Cannonical ordering (&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-596&quot; title=&quot;Make bits serialization sorted (by position)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-596&quot;&gt;&lt;del&gt;YANGTOOLS-596&lt;/del&gt;&lt;/a&gt;) would be more preferable then ordering by alphabet&lt;/p&gt;</comment>
                            <comment id="43835" author="vrpolak" created="Tue, 22 Mar 2016 13:21:31 +0000"  >&lt;p&gt;(In reply to Tony Tkacik from comment #2)&lt;br/&gt;
&amp;gt; Cannonical ordering (&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-596&quot; title=&quot;Make bits serialization sorted (by position)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-596&quot;&gt;&lt;del&gt;YANGTOOLS-596&lt;/del&gt;&lt;/a&gt;) would be more preferable then ordering by&lt;br/&gt;
&amp;gt; alphabet&lt;/p&gt;

&lt;p&gt;I agree, but I suspect &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-596&quot; title=&quot;Make bits serialization sorted (by position)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-596&quot;&gt;&lt;del&gt;YANGTOOLS-596&lt;/del&gt;&lt;/a&gt; fix will only be included in Boron.&lt;br/&gt;
If Beryllium does not get that &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-596&quot; title=&quot;Make bits serialization sorted (by position)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-596&quot;&gt;&lt;del&gt;YANGTOOLS-596&lt;/del&gt;&lt;/a&gt; fix, would this improvement be suitable for Beryllium?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5560</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5560]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02873:</customfieldvalue>

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