<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:37:28 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>[RELENG-86] Reduce autorelease build size by converting karaf builds to profiles</title>
                <link>https://jira.opendaylight.org/browse/RELENG-86</link>
                <project id="10164" key="RELENG">releng</project>
                    <description>&lt;p&gt;Per discussions on mailing list thread: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/dev/2018-April/004857.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/dev/2018-April/004857.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We discovered that Autorelease Carbon build size appears to be significantly larger since the last release. One point that came out of the discussions was that the project local karaf distributions should not be built by autorelease and released as part of simrel.&lt;/p&gt;

&lt;p&gt;2 things need to be done here:&lt;/p&gt;

&lt;p&gt;1. Patch autorelease builds to ignore the &quot;karaf&quot; profile with &quot;-P!karaf&quot;&lt;br/&gt;
2. Patch all projects that are producing karaf distros to have a &quot;karaf&quot; profile that is active by default&lt;/p&gt;

&lt;p&gt;This method will allow by default the same behaviour that developers are expecting when they run local builds but allows us to disable the karaf distribution in autorelease builds.&lt;/p&gt;

&lt;p&gt;We need to deploy this to Carbon ASAP however we should do it for all supported releases.&lt;/p&gt;

&lt;p&gt;For patches suggest using &quot;autorelease-skip-karaf&quot;:&lt;/p&gt;

&lt;p&gt;git review -t autorelease-skip-karaf&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Fluorine: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:master&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Oxygen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/oxygen&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/oxygen&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/nitrogen&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/nitrogen&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/carbon&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/carbon&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For those helping out with patches to test if your patch works run these 2 commands and check the Maven reactor (takes about 30 seconds):&lt;/p&gt;

&lt;p&gt;1. mvn clean install&lt;br/&gt;
2. mvn clean install -P!karaf&lt;/p&gt;

&lt;p&gt;The first should include the karaf in the build. The 2nd should not.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="29615">RELENG-86</key>
            <summary>Reduce autorelease build size by converting karaf builds to profiles</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <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="zxiiro">Thanh Ha (zxiiro)</assignee>
                                    <reporter username="zxiiro">Thanh Ha (zxiiro)</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Apr 2018 23:40:22 +0000</created>
                <updated>Fri, 4 May 2018 17:52:25 +0000</updated>
                            <resolved>Fri, 4 May 2018 17:52:25 +0000</resolved>
                                                    <fixVersion>Carbon-SR4</fixVersion>
                                    <component>Autorelease</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="62123" author="zxiiro" created="Fri, 6 Apr 2018 00:12:15 +0000"  >&lt;p&gt;There is an issue with activeByDefault where if the same pom.xml has other profiles that is activated via other methods it disables all of the activeByDefault profiles. We should ensure all the pom.xmls are updated to only have profiles that have activeByDefault.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://stackoverflow.com/questions/5309379/how-to-keep-maven-profiles-which-are-activebydefault-active-even-if-another-prof&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/5309379/how-to-keep-maven-profiles-which-are-activebydefault-active-even-if-another-prof&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62124" author="zxiiro" created="Fri, 6 Apr 2018 00:14:13 +0000"  >&lt;p&gt;First simple patch example with the USC project:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/70387&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70387&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="62134" author="zxiiro" created="Fri, 6 Apr 2018 00:35:35 +0000"  >&lt;p&gt;We need to be careful if a project uses activeByDefault in the same pom.xml then using properties will disable their local profile. In that case we should use activeByDefault to not disturb their local configuration.&lt;/p&gt;

&lt;p&gt;Which means autorelease needs to disable the profile with &quot;-P&amp;#33;karaf&quot; regardless of activation method.&lt;/p&gt;

&lt;p&gt;A common case we need to resolve is if a project still has the obsolete maven-site configuration we need to remove it first. Refer to this USC patch as an example:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/70388&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70388&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="62145" author="zxiiro" created="Fri, 6 Apr 2018 00:48:08 +0000"  >&lt;p&gt;To test if your patch works run these 2 commands and check the Maven reactor (takes about 30 seconds):&lt;/p&gt;

&lt;p&gt;1. mvn clean install&lt;br/&gt;
2. mvn clean install -P&amp;#33;karaf&lt;/p&gt;

&lt;p&gt;The first should include the karaf in the build. The 2nd should not.&lt;/p&gt;</comment>
                            <comment id="62147" author="zxiiro" created="Fri, 6 Apr 2018 01:15:57 +0000"  >&lt;p&gt;This patch should disable karaf in the autorelease builds:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/70398&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70398&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="62153" author="vorburger" created="Fri, 6 Apr 2018 08:06:52 +0000"  >&lt;p&gt;&amp;gt;  Autorelease Carbon build size appears to be significantly larger since the last release. &lt;/p&gt;

&lt;p&gt;It would be interesting to understand why... perhaps we could solve the root cause of this by excluding something somewhere? Perhaps &lt;a href=&quot;https://ownyourbits.com/2018/03/25/analize-disk-usage-with-dutree/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;using a tool such as dutree&lt;/a&gt; (recommended by &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;) could shed more light on why we are suddenly consuming that much more space in autorelease than before...&lt;/p&gt;</comment>
                            <comment id="62155" author="skitt@redhat.com" created="Fri, 6 Apr 2018 08:20:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=vorburger&quot; class=&quot;user-hover&quot; rel=&quot;vorburger&quot;&gt;vorburger&lt;/a&gt;, we &lt;b&gt;know&lt;/b&gt; why the builds are larger: we&#8217;re keeping the Pax Exam builds so we can archive the Karaf logs.&lt;/p&gt;</comment>
                            <comment id="62222" author="zxiiro" created="Sat, 7 Apr 2018 02:23:18 +0000"  >&lt;p&gt;Patches submitted to all of the Carbon projects:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.google.com/spreadsheets/d/1VcB12FBiFV4GAEHZSspHBNxKI_9XugJp-6Qbbw20Omk/edit#gid=306314613&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.google.com/spreadsheets/d/1VcB12FBiFV4GAEHZSspHBNxKI_9XugJp-6Qbbw20Omk/edit#gid=306314613&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="62223" author="zxiiro" created="Sat, 7 Apr 2018 02:29:02 +0000"  >&lt;p&gt;Using these filters to track the remaining branches:&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Fluorine: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:master&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Oxygen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/oxygen&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/oxygen&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/nitrogen&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/nitrogen&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/carbon&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:autorelease-skip-karaf+branch:stable/carbon&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="62225" author="zxiiro" created="Sat, 7 Apr 2018 05:09:28 +0000"  >&lt;p&gt;Big thanks to &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dfarrell07&quot; class=&quot;user-hover&quot; rel=&quot;dfarrell07&quot;&gt;dfarrell07&lt;/a&gt; for helping out, we completed cherry-picking the patches to all branches for all the autorelease projects.&lt;/p&gt;</comment>
                            <comment id="62837" author="zxiiro" created="Fri, 4 May 2018 17:52:25 +0000"  >&lt;p&gt;Going to consider this issue resolved since it is no longer preventing autorelease from passing. Patches have been proposed to all of the projects and it&apos;s now up to them whether or not to accept them. I will keep pushing for it for active projects participating in the managed release.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03cu7:</customfieldvalue>

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