<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:26:52 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3270] Handle default branch name in NPM Workflows step SonarCloud</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3270</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;In the &quot;SonarCloud&quot; step of the GitHub Actions workflows for NPM, there is a hardcoded &quot;master&quot; branch name.&lt;/p&gt;

&lt;p&gt;This will need to handle either &quot;main&quot; or &quot;master&quot; to enable repositories to be transitioned to the new name.&lt;/p&gt;</description>
                <environment></environment>
        <key id="82121">FOLIO-3270</key>
            <summary>Handle default branch name in NPM Workflows step SonarCloud</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="712020:66ff5e1e-556d-4407-89fd-6ed1fe9b6b30">Ankita Sen</assignee>
                                                                <reporter accountid="61cd0ca0bce5e00069e98be7">David Crossley</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 26 Aug 2021 04:33:08 +0000</created>
                <updated>Mon, 30 Aug 2021 02:55:29 +0000</updated>
                            <resolved>Fri, 27 Aug 2021 08:21:12 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="196525" author="712020:66ff5e1e-556d-4407-89fd-6ed1fe9b6b30" created="Thu, 26 Aug 2021 12:06:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;&#160;- The $default-branch variable doesn&apos;t work and the best way I found after trying several ways was to add another environment variable called&#160;&lt;b&gt;DEFAULT_VARIABLE&lt;/b&gt; and for the following repositories set it to master&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;stripes-core&lt;/li&gt;
	&lt;li&gt;stripes-connect&lt;/li&gt;
	&lt;li&gt;stripes-form&lt;/li&gt;
	&lt;li&gt;stripes-components&lt;/li&gt;
	&lt;li&gt;ui-users&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The Github workflow template has also been updated.&lt;/p&gt;</comment>
                                                            <comment id="196527" author="712020:66ff5e1e-556d-4407-89fd-6ed1fe9b6b30" created="Thu, 26 Aug 2021 12:09:12 +0000"  >&lt;p&gt;The workflow has been to modified to remove the hardcoded &apos;master&apos; instead configuring a environment variable DEFAULT_BRANCh to either &apos;master&apos; or &apos;main&apos;&lt;/p&gt;</comment>
                                                            <comment id="196529" author="61cd0ca0bce5e00069e98be7" created="Fri, 27 Aug 2021 02:55:17 +0000"  >&lt;p&gt;That technique seems to be sub-optimal. It now means that when repos want to later switch to &quot;main&quot; as their default branch, then there will be many workflows to be modified. Especially if we need to switch them all at the same time. (About 180 frontend and backend repos with 2 or more each.)&lt;/p&gt;

&lt;p&gt;My net search found a potential solution today. I do not profess to be expert, but it seems to work in my minimal test. You would know better &amp;#8211; perhaps there are specific situations where it is not sufficient.&lt;/p&gt;

&lt;p&gt;It is from &lt;a href=&quot;https://stackoverflow.com/a/68414395&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://stackoverflow.com/a/68414395&lt;/a&gt; (thanks &quot;antonmos&quot;) added recently last month.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://github.com/folio-org/ga-test/actions/workflows/test-default-branch.yml&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/ga-test/actions/workflows/test-default-branch.yml&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="196531" author="712020:66ff5e1e-556d-4407-89fd-6ed1fe9b6b30" created="Fri, 27 Aug 2021 08:14:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;&#160;- Thank you very much for this suggestion. It works. I am now updating all the repositories with this solution.&lt;/p&gt;</comment>
                                                            <comment id="196533" author="712020:66ff5e1e-556d-4407-89fd-6ed1fe9b6b30" created="Fri, 27 Aug 2021 08:21:12 +0000"  >&lt;p&gt;Updated all the workflows with the proposed solution by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;.&lt;/p&gt;</comment>
                                                            <comment id="196534" author="61cd0ca0bce5e00069e98be7" created="Fri, 27 Aug 2021 12:54:01 +0000"  >&lt;p&gt;That is fantastic. Thanks.&lt;/p&gt;</comment>
                                                            <comment id="196536" author="61cd0ca0bce5e00069e98be7" created="Mon, 30 Aug 2021 02:55:29 +0000"  >&lt;p&gt;A reminder that the workflow-templates are not yet updated.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79743">FOLIO-3190</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="82087">FOLIO-3070</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0382n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="389">DevOps Sprint 121</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 26 Aug 2021 12:06:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>