Tutor Branches Rename

Hello everyone,

This is to inform you that the “Tutor branch rename” proposed in TEP: Rename nightly->next and master->release has been completed. We have just completed the renaming of the Tutor branches across core and various plugins in overhangio GitHub organization. As per the proposal, the renames are as follows:

  • master ----> release
  • nightly ----> main

To learn about the background, please read Tutor branches rename · Issue #1096 · overhangio/tutor · GitHub. Both the “master” and “nightly” branches have been deleted from GitHub. To update your local environments, you will need to run those commands locally (assuming your remote is “origin”):

git branch -m master release
git fetch origin
git branch -u origin/release release
git remote set-head origin -a

git branch -m nightly main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

For Tutor Nightly users who do not set a TUTOR_ROOT, both the project root tutor-nightly and the plugins root tutor-nightly-plugins in their default paths will be automatically renamed.

Let us know if you face any issues.

Thanks

3 Likes

Nice!

For Tutor Nightly users who do not set a TUTOR_ROOT, both the project root tutor-nightly and the plugins root tutor-nightly-plugins in their default paths will be automatically renamed.

I don’t have TUTOR_ROOT set, but this did not work for me. So in addition to running those commands on each tutor repo, to keep my devstack working, I had to:

  1. Go into docker UI and delete all the tutor_nightly_dev containers
  2. Run these commands:
cd ~/Library/Application\ Support
mv tutor-nightly tutor-main
mv tutor-nightly-plugins tutor-main-plugins
tutor config save
tutor dev launch -I

huh, interesting. The hook was added but it would run on release, not nightly/main.

Ah, I think I figured out the issue. It is checking the presence of root but it should have been new root name (tutor-main).

We have merged the fix for auto-renaming fix: update nightly migration action by DawoudSheraz · Pull Request #1169 · overhangio/tutor · GitHub.

2 Likes