-
Notifications
You must be signed in to change notification settings - Fork 181
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
Experimenting New Release Process #1013
Comments
Since the commit history of the new approach is non-linear but GitHub shows the non-linear commits in a linear way, PR reviewers are required to be careful about the following situation where %%{init: { 'theme': 'base' } }%%
gitGraph
commit tag: "v1.0.0"
commit
branch fork/release-vote
checkout main
commit id: "feat: A"
checkout fork/release-vote
commit id: "bump: update to v1.1.0-rc.1" tag: "v1.1.0-rc.1" type: HIGHLIGHT
checkout main
commit id: "feat: B"
merge fork/release-vote
checkout main
commit
|
/cc @FeynmanZhou @yizha1 as |
How can we deal with this situation? If we cannot pick Update: This is not an issue. I realized that the |
As alternative solution to cherry picking, we can merge Cherry pick version: %%{init: { 'theme': 'base' } }%%
gitGraph
commit tag: "v1.0.0"
commit
branch fork/release-vote
commit id: "bump: update to v1.1.0-rc.1" tag: "v1.1.0-rc.1" type: HIGHLIGHT
branch release-1.1
checkout main
merge fork/release-vote
commit id: "fix: fix a bug"
checkout release-1.1
cherry-pick id: "fix: fix a bug"
branch fork/release-vote-2
commit id: "bump: update to v1.1.0-rc.2" tag: "v1.1.0-rc.2" type: HIGHLIGHT
checkout release-1.1
merge fork/release-vote-2
checkout main
cherry-pick id: "bump: update to v1.1.0-rc.2"
checkout release-1.1
branch fork/release-vote-3
commit id: "bump: update to v1.1.0" tag: "v1.1.0" type: HIGHLIGHT
checkout release-1.1
merge fork/release-vote-3
checkout main
cherry-pick id: "bump: update to v1.1.0"
commit
Merge version %%{init: { 'theme': 'base' } }%%
gitGraph
commit tag: "v1.0.0"
commit
branch fork/release-vote
commit id: "bump: update to v1.1.0-rc.1" tag: "v1.1.0-rc.1" type: HIGHLIGHT
branch release-1.1
checkout main
merge fork/release-vote
commit id: "fix: fix a bug"
checkout release-1.1
merge main
branch fork/release-vote-2
commit id: "bump: update to v1.1.0-rc.2" tag: "v1.1.0-rc.2" type: HIGHLIGHT
checkout release-1.1
merge fork/release-vote-2
checkout main
merge release-1.1
checkout release-1.1
branch fork/release-vote-3
commit id: "bump: update to v1.1.0" tag: "v1.1.0" type: HIGHLIGHT
checkout release-1.1
merge fork/release-vote-3
checkout main
merge release-1.1
commit
|
Do we need to update - https://github.com/oras-project/oras-www/blob/main/docs/community/developer_guide.mdx#L79 Another recommendation would be to include the diff from the last tag (major or minor)
|
@sajayantony I am on it oras-project/oras-www#213 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Do we need this? |
This is already applied and documented in here |
As documented in Release checklist, we need to update the oras version to the upcoming release version before voting as
oras
maintains a linear commit history. However, there is a risk that we might need to revert the version update commit if the vote gets rejected.Success scenario:
Bad scenario where releasing
v1.1.0-rc.1
is rejected once:As inspired by opencontainers/image-spec, #1002 and #1010, the above risk can be mitigated by cutting from a PR branch (and then merge back) where the PR approval is treated as a vote although it makes
oras
commit history non-linear.Success scenario:
Bad scenario where releasing
v1.1.0-rc.1
is rejected once:@qweeah @TerryHowe @sajayantony @SteveLasker I think we can reset releasing
v1.1.0-rc.1
and start experimenting with the new approach. If it works perfect, we can update the release checklist accordingly.The text was updated successfully, but these errors were encountered: