<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:55 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>[CONTROLLER-399] Some generated sources in yang-test show as unstaged/changed in Git</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-399</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The *Module and *ModuleFactory source files  that are generated by the yang-maven-plugin are put under src/main/java. Normally, these files are meant to be permanent (unless manually deleted) but the ones in yang-test aren&apos;t because the intent is to re-generate them on each build for testing so there is a yang-test maven plugin that deletes the source files before building. They actually are checked into Git but probably by accident.  &lt;/p&gt;

&lt;p&gt;The yang-test maven plugin also inserts implementation code into the files after their generated. This should result in the files being the same on each build so git doesn&apos;t see them as changed but the code generator inserts a new time stamp into the files each time they&apos;re generated so git does see them as changed. This seems to be a recent change as it wasn&apos;t happening before.&lt;/p&gt;

&lt;p&gt;Instead of generating the files under src/main/java we should generate them under the git-ignored src/main/yang-config. The yangtools CodeGeneratorImpl class allows you to specify a &quot;persistentSourceDir&quot; that overrides the default src/main/java for &quot;persistent&quot; files. We should add this to the JMXGenerator as well.&lt;/p&gt;

&lt;p&gt;In addition, the ProcessSources class which rewrites the stub methods with implementation code needs to look in src/main/yang-config.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24953">CONTROLLER-399</key>
            <summary>Some generated sources in yang-test show as unstaged/changed in Git</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="10000">Done</resolution>
                                        <assignee username="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="tpantelis">Tom Pantelis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Apr 2014 23:09:10 +0000</created>
                <updated>Tue, 5 May 2015 15:17:11 +0000</updated>
                            <resolved>Tue, 5 May 2015 15:17:11 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="48154" author="tpantelis" created="Fri, 25 Apr 2014 23:16:13 +0000"  >&lt;p&gt;Submitted to Gerrit: &lt;a href=&quot;https://git.opendaylight.org/gerrit/6411&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/6411&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48155" author="tpantelis" created="Sat, 3 May 2014 14:56:56 +0000"  >&lt;p&gt;Fixed upstream&lt;/p&gt;</comment>
                            <comment id="48156" author="carolsand@gmail.com" created="Tue, 5 May 2015 15:17:11 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&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>852</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=852]]></customfieldvalue>

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

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