-
Notifications
You must be signed in to change notification settings - Fork 15
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
Ensure that the transition to the "release/quince" branch name will not cause any trouble #258
Comments
There are repos with branches named "release":
The way git uses directories to store branch information, you can't have both a "release" branch and a "release/palm" branch. If you try, you get an error:
We'll need to update the eight repos to rename their branches and associated workflows/processes. |
What about having it prefiex with |
I think that "open/*" is less meaningful than "release/*". Everything that we are doing is supposed to be open, so that "open" prefix does not really make sense. The "release" branches in the repo mentioned by Ned above are confusing, and we should get rid of them: https://github.com/openedx/edx-analytics-configuration/tree/release Of these branches, only the edx-analytics-pipeline seems to be actively maintained. I think it's OK if we make an exception and do not create a branch for this repo in Palm -- at least not right away. Let's ask one of the maintainers: @HassanJaveed84, as one of the last committers, can I please get your attention on this issue? Would it be possible to rename the "release" branch of the edx-analytics-pipeline repo? |
This is tangential, but since we're about to change how we name branches & tags, it would be a good time to think about how we release tags too: https://openedx.slack.com/archives/C049JQZFR5E/p1681224120187389. It could be helpful to the community if we make all the changes at the same time. |
@regisb @kdmccormick should this still be a priority for Palm? |
No, postponed to Quince. We realized that there was indeed trouble to change the name, because there already exists a "release" branch in some of the Open edX repos. |
Just something I forgot to mention earlier, we also need to check for tags because git/github treats branch and the tag same in some cases. i.e. in git for checkout and for github in the url |
@timmc-edx did some work moving branches: edx/open-source-process-wg#94 |
No one was in charge of this issue, so I'm not sure whether we'll be able to make the change for Quince... Unless someone deletes the "release" branches in the repos listed above? |
I'll make sure that the conflicting branches are gone before Redwood. Once that's done, if someone else is able to take on the task of updating the docs and the release script, I'd appreciate it. |
The bad news: There are still a few repos left with The good news: The remaining
So, for Sumac, BTR is all clear to switch the branch prefix to Here's how I listed the (you need to install #!/usr/bin/env bash
{
for repo in $(gh api --paginate /orgs/openedx/repos --jq '.[].name' | grep -v '\-ghsa-' | sort) ; do
echo $repo
for branch in $(gh api --paginate /repos/openedx/$repo/branches --jq '.[].name' | grep -E '^release(/.*)?$') ; do
echo " ~ $branch"
done
for tag in $(gh api --paginate /repos/openedx/$repo/tags --jq '.[].name' | grep -E '^release(/.*)/?$') ; do
echo " @ $tag"
done
done
} | tee openedx-release-conflict-branches.txt
|
As of 2024-04-30, with the old analytics repos archived, no openedx repos have A few repos have tags under the
Finally, only one repo has a branch under the So, BTR, at long last you are finally clear to take over the |
There was a widespread community agreement that we should switch to a different pattern for naming release branches and tags:
This conversation was held here: https://discuss.openedx.org/t/should-we-rename-the-release-branches/8827
@e0d wrote an ADR here: openedx/.github#36 That ADR is approved but was not merged yet.
We should check whether the "release/*" pattern will interfere with any existing branch that follows that same pattern. This potential issue was raised by @kdmccormick in this Slack conversation: https://app.slack.com/client/T02SNA1T6/threads/thread/C02SNA1U4-1680624333.853709
The text was updated successfully, but these errors were encountered: