-
Notifications
You must be signed in to change notification settings - Fork 743
Release process - tagged commits on branch #13543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've discussed this with other Red Hat maintainers and we might have a proposal (to be put into a PR for discussion at a later point in time). I don't think it's feasible to have the tagged commits be part of the same linear history of However, there is a way to keep the The solution (to be proposed in a PR at a later point) is to have the
Effectively, this would create a tree like
where A,B,C,D,.. are merge commits (with two parents) titled ie. The A,B,C,D,.. merge commits would have exactly the same code (repository contents) as the latest merged-in tag. This can easily be double-checked by anyone with Overall, this would effectively fulfill both use cases of
Does that make sense? |
Thank you for looking into this @comps! This proposal appears to address my concerns from a downstream perspective. I've submitted this: [meta-security][RFC] scap-security-guide do_fetch resolution - upstream release process This is also a nice bonus (though the Yocto community explicitly prefers fixed revisions):
Looking forward to the PR |
Also note that while the approach will likely solve the problem you're seeing, the current approach is valid too - 616d436 is reachable via the v0.1.76 tag. In git, as long as an object is reachable through another object (blob via tree, tree/commit via another commit) or via what git calls a "ref" (branch, tag, anything under In this case, 616d436 is not dangling, and having it reachable only from a tag is a perfectly valid scenario. So this looks like a Github UI bug (feature?) because it displays the same message for real dangling commits. |
Uh oh!
There was an error while loading. Please reload this page.
Downstream background
Yocto Project:
Yocto is used to build operating systems such as Automotive Grade Linux, Poky (reference distribution), TSEL, and Wind River Linux.
Yocto is industry-standard and has a reference in this project as "openembedded".
Yocto functionality is split into various "layers".
Understanding and Creating Layers:
meta-security
(a layer) includes this project ("downstream").Project commits and branches
The meta-security master branch currently points to v0.1.76 using:
source revision (
SRVREV
): 616d436source URI (
SRC_URI
) using this project's "stable" branchAt the time of the downstream commit, 616d436 was on the stable branch.
Something was changed in this project's branch history, as the commit is no longer on any branch:
When this happens, Yocto users are unable to use the recipe:
I've also observed this behavior (inconsistently) in previous releases.
Request
Would it be possible to adjust the release process to ensure tagged commits remain on a branch?
The text was updated successfully, but these errors were encountered: