<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:14:23 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>[STRIPES-570] Document handling of forked repos in Stripes build</title>
                <link>https://folio-org.atlassian.net/browse/STRIPES-570</link>
                <project id="10145" key="STRIPES">Stripes</project>
                    <description>&lt;p&gt;As observed with folio/react-big-calendar and folio/react-githubish-mentions, forked third-party repos don&apos;t always play nice with our build process.  This is because the forked repo likely has its own build and publish steps and should not be transpiled during a platform build of Stripes.  (By default, all &amp;#64;folio-scoped modules will be transpiled using stripes-core&apos;s babel settings).&lt;/p&gt;

&lt;p&gt;A brief set of recommendations to review prior to introducing a fork would help.  Notably we should ask ourselves:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;What artifacts need to be published?&lt;/li&gt;
	&lt;li&gt;What are the steps to generate them?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Then provide guidelines on:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Including a Jenkinsfile and using runScripts (or package.json prepublish?) to invoke such steps.&lt;/li&gt;
	&lt;li&gt;Add to the &lt;a href=&quot;https://github.com/folio-org/stripes-core/blob/b08b32680a3b3bd2b7ab6beecd4394e097fea62e/webpack/babel-loader-rule.js#L3-L6&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-scope exclusions&lt;/a&gt; when necessary&lt;/li&gt;
&lt;/ul&gt;

</description>
                <environment></environment>
        <key id="61368">STRIPES-570</key>
            <summary>Document handling of forked repos in Stripes build</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="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="-1">Unassigned</assignee>
                                                                <reporter accountid="557058:624212b9-5938-4e3b-84c6-8c8a8db84996">Matthew Jones</reporter>
                                    <labels>
                            <label>stripes_documentation</label>
                    </labels>
                <created>Mon, 15 Oct 2018 19:20:15 +0000</created>
                <updated>Wed, 18 Nov 2020 19:41:02 +0000</updated>
                            <resolved>Wed, 18 Nov 2020 19:41:02 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                                                            <comment id="146046" author="557058:624212b9-5938-4e3b-84c6-8c8a8db84996" created="Mon, 15 Oct 2018 20:29:10 +0000"  >&lt;p&gt;After reviewing folio/react-githubish-mentions with &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt;, it was noted that while this repo doesn&apos;t currently make use of &quot;runScripts&quot; to build, it does publish transpiled content.  This is because a &quot;prepublish&quot; script exists to accomplish the task.  The recommendation for runScripts over prepublish remains TBD.&lt;/p&gt;</comment>
                                                            <comment id="146047" author="5cd595118fa24d0dd2de1253" created="Wed, 17 Oct 2018 14:21:00 +0000"  >&lt;p&gt;The repos/projects themselves each potentially have their own way of dealing with this that conforms to whatever their needs are. To keep the delta on forks to a minimum, it&apos;s not ideal to require many changes to that aspect of a project for it to be set up for CI. OTOH a single prepublish key in the package.json is a pretty small change - it would just be an experiment to run and be sure it worked. My Jenkins-fu is weak - &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; if necessary, could commands for publish also specified in a Jenkinsfile?&lt;/p&gt;</comment>
                                                            <comment id="146048" author="5f9abc1eb45b2e007453f423" created="Thu, 18 Oct 2018 13:45:32 +0000"  >&lt;blockquote&gt;
&lt;p&gt;if necessary, could commands for publish also specified in a Jenkinsfile?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Not sure I&apos;m completely understanding the question.  &apos;npm publish&apos; is automatically run on the master branch or when the repo is git tagged and released.  Outside of that, I don&apos;t think you want to run publish anywhere else.  react-githubish-mentions currently has a prepublish script that invokes a &apos;build&apos; script.    This is totally fine, except that we probably want to invoke this build script in Jenkins for non-release/master branch builds as well.   This can be accomplished by adding&lt;/p&gt;

&lt;p&gt;runScripts = [ &apos;build&apos;, &apos;&apos;] &lt;/p&gt;

&lt;p&gt;to the Jenkinsfile.  &lt;/p&gt;

&lt;p&gt;Let me know if I&apos;m missing something. &lt;/p&gt;</comment>
                                                            <comment id="146049" author="5cd595118fa24d0dd2de1253" created="Sat, 27 Oct 2018 03:02:34 +0000"  >&lt;p&gt;Exactly what I was curious about, thanks! We&apos;ve seen some diversity among the ways that third party repos handle their publishing task, but nothing that seems like runScripts won&apos;t fix. Some are set up as simple as a &apos;prepublish&apos; key in the package.json, and various other keys set accordingly to that setup (files, main, module, etc) others have build (or similar) commands that run series of tasks necessary to generate their published files.&lt;/p&gt;</comment>
                                                            <comment id="146050" author="5cd595118fa24d0dd2de1253" created="Wed, 18 Nov 2020 19:41:02 +0000"  >&lt;p&gt;Old story... the examples listed here are no longer in use. Closing!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80795">FOLIO-1570</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61370">STRIPES-568</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="10183"><![CDATA[Stripes Force]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 17 Oct 2018 14:21:00 +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>