You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current structure of the building repositories takes only a branch argument. Other determinant arguments are valuable for various workflow situations, e.g. using the "last good SHA" in a branch build failure scenario.
I would like to contribute a non-breaking update where branch behavior is default, but optional arguments can override the default branch.
The text was updated successfully, but these errors were encountered:
The import statement already supports pointing to a specific tag since branch is the same as the git clone--branch option (see here). Allowing any commit or a PR number would require some code changes.
You're right, I wrote my issue title clumsily! I meant that it would be good to have options between the four; I'll tweak the issue.
What kinds of changes in this vein would you welcome? I'd obviously like to avoid heavy restructures wherever possible and don't want to change the repo against your vision, but having a fallback SHA would be really valuable for my project. I was thinking about adding an optional commit arg, for example, which would be leveraged to checkout the SHA in sparse_clone.sh. (I included PR as well for this issue, primarily for the sake of completeness, but could break that out.) Would this be feasible?
jes-so
changed the title
feature: Capability to use commits, PRs, or tags instead of branches to build from
feature: Capability to use commits, PRs, tags, or branches to build from
Aug 1, 2024
The current structure of the building repositories takes only a branch argument. Other determinant arguments are valuable for various workflow situations, e.g. using the "last good SHA" in a branch build failure scenario.
I would like to contribute a non-breaking update where branch behavior is default, but optional arguments can override the default branch.
The text was updated successfully, but these errors were encountered: