[FOLIO-2965] build platforms from master and release branches, instead of snapshot and master Created: 15/Jan/21  Updated: 01/Mar/21

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: TBD
Reporter: Zak Burke Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: FOLIO DevOps

 Description   

TL;DR:

  • Build platforms' release artifacts from a new branch, e.g. release instead of master.
  • Build platforms' development artifacts from the default branch, i.e. master instead of snapshot

The details:

platform-core and platform-complete user their master branches to handle released artifacts and their snapshot branches to handle development artifacts. This is useful, but it's confusing for anybody who hasn't encountered it before and is a frequent source of errors for app devs who are trying to build a workspace and check out the wrong version of their platform, and even for core devs who need to update the platform's package.json file but forget they need to raise their PRs against snapshot.



 Comments   
Comment by Jakub Skoczen [ 18/Jan/21 ]

Zak Burke John Malconian I agree this is confusing, the master branch should track the snapshot {{master} artifacts from individual master branches. As far as the "release" branch goes – it probably makes more sense to have names releases – r1, r2, .. etc.

Comment by Zak Burke [ 01/Mar/21 ]

Alternatively, could we change the default branches of these repos to snapshot? That would shift the burden of changing the checked-out branch to our renovate scripts, and it would reduce the developer-impact for folks who are running platforms locally.

It might be just as much effort, however, and folks might still raise PRs against the wrong branches ... so maybe it's not worth the effort. Dunno; I'm just thinking through options.

Generated at Thu Feb 08 23:24:35 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.