Re: [ANNOUNCE] Master branch renamed to main
Thanks for checking Francis! Hopefully that means we won't have any issues. -- Michael Mior mm...@apache.org Le mar. 26 avr. 2022 à 22:23, Francis Chuang a écrit : > Quick update. I just did a dry-run release for Avatica and it built fine > without needing to set the branch in vlsi-release-plugin's configuration. > > The plugin only pushes tags to git and I don't think it ever commits any > files, so I don't think it needs to know about us renaming our default > branch to main. I also ran `git branch -a` in my local copy of Avatica > and I don't see any branch or references to "master" after running a > dry-run release. > > On 27/04/2022 9:03 am, Michael Mior wrote: > > One outstanding issue is that I was unable to set the branch to main for > > stage-vote-release-plugin. I believe it may default to "master", so I'm > not > > sure if we'll run into issues on the next release. > > -- > > Michael Mior > > mm...@apache.org > > > > > > Le mar. 26 avr. 2022 à 16:30, Julian Hyde a écrit : > > > >> Thanks, Michael. It all looks good from my end. > >> > >> I had opened a pull request yesterday (when the branch was named > >> 'master') and it merged smoothly today (after the rename). > >> > >> Julian > >> > >> On Tue, Apr 26, 2022 at 7:54 AM Michael Mior wrote: > >>> > >>> The master branch has now been renamed to main. If you have an existing > >>> checkout, please follow the steps below (thanks to Francis!) to ensure > >> your > >>> local master branch is also correctly renamed. Note that if you do not > >> have > >>> any local changes, you can also simply clone a new copy of the > repository > >>> and the default branch will now be main. > >>> > >>> 1. Ensure you are in the repository's folder in your command line. > >>> 2. Stash any uncommitted changes: > >>>- git stash > >>> 3. Check out your local master branch: > >>>- git checkout master > >>> 4. Rename your local master branch to main: > >>>- git branch -m master main > >>> 5. Fetch latest commits and branches from remote: > >>>- git fetch > >>> 6. Remove the tracking branch: > >>>- git branch --unset-upstream > >>> 7. Create a new tracking branch (assuming the remote is called > >> origin): > >>>- git branch -u origin/main > >>> 8. Restore your uncommitted changes: > >>>- git stash pop > >>> > >>> -- > >>> Michael Mior > >>> mm...@apache.org > >> > > >
Re: [ANNOUNCE] Master branch renamed to main
Quick update. I just did a dry-run release for Avatica and it built fine without needing to set the branch in vlsi-release-plugin's configuration. The plugin only pushes tags to git and I don't think it ever commits any files, so I don't think it needs to know about us renaming our default branch to main. I also ran `git branch -a` in my local copy of Avatica and I don't see any branch or references to "master" after running a dry-run release. On 27/04/2022 9:03 am, Michael Mior wrote: One outstanding issue is that I was unable to set the branch to main for stage-vote-release-plugin. I believe it may default to "master", so I'm not sure if we'll run into issues on the next release. -- Michael Mior mm...@apache.org Le mar. 26 avr. 2022 à 16:30, Julian Hyde a écrit : Thanks, Michael. It all looks good from my end. I had opened a pull request yesterday (when the branch was named 'master') and it merged smoothly today (after the rename). Julian On Tue, Apr 26, 2022 at 7:54 AM Michael Mior wrote: The master branch has now been renamed to main. If you have an existing checkout, please follow the steps below (thanks to Francis!) to ensure your local master branch is also correctly renamed. Note that if you do not have any local changes, you can also simply clone a new copy of the repository and the default branch will now be main. 1. Ensure you are in the repository's folder in your command line. 2. Stash any uncommitted changes: - git stash 3. Check out your local master branch: - git checkout master 4. Rename your local master branch to main: - git branch -m master main 5. Fetch latest commits and branches from remote: - git fetch 6. Remove the tracking branch: - git branch --unset-upstream 7. Create a new tracking branch (assuming the remote is called origin): - git branch -u origin/main 8. Restore your uncommitted changes: - git stash pop -- Michael Mior mm...@apache.org
Re: [ANNOUNCE] Master branch renamed to main
Not sure how the stage-vote-release-plugin works internally, but I think the branch is not set in calcite and calcite-avatica originally, so perhaps it's smart enough to use the name of the current branch instead of defaulting to master. On 27/04/2022 9:03 am, Michael Mior wrote: One outstanding issue is that I was unable to set the branch to main for stage-vote-release-plugin. I believe it may default to "master", so I'm not sure if we'll run into issues on the next release. -- Michael Mior mm...@apache.org Le mar. 26 avr. 2022 à 16:30, Julian Hyde a écrit : Thanks, Michael. It all looks good from my end. I had opened a pull request yesterday (when the branch was named 'master') and it merged smoothly today (after the rename). Julian On Tue, Apr 26, 2022 at 7:54 AM Michael Mior wrote: The master branch has now been renamed to main. If you have an existing checkout, please follow the steps below (thanks to Francis!) to ensure your local master branch is also correctly renamed. Note that if you do not have any local changes, you can also simply clone a new copy of the repository and the default branch will now be main. 1. Ensure you are in the repository's folder in your command line. 2. Stash any uncommitted changes: - git stash 3. Check out your local master branch: - git checkout master 4. Rename your local master branch to main: - git branch -m master main 5. Fetch latest commits and branches from remote: - git fetch 6. Remove the tracking branch: - git branch --unset-upstream 7. Create a new tracking branch (assuming the remote is called origin): - git branch -u origin/main 8. Restore your uncommitted changes: - git stash pop -- Michael Mior mm...@apache.org
Re: [ANNOUNCE] Master branch renamed to main
One outstanding issue is that I was unable to set the branch to main for stage-vote-release-plugin. I believe it may default to "master", so I'm not sure if we'll run into issues on the next release. -- Michael Mior mm...@apache.org Le mar. 26 avr. 2022 à 16:30, Julian Hyde a écrit : > Thanks, Michael. It all looks good from my end. > > I had opened a pull request yesterday (when the branch was named > 'master') and it merged smoothly today (after the rename). > > Julian > > On Tue, Apr 26, 2022 at 7:54 AM Michael Mior wrote: > > > > The master branch has now been renamed to main. If you have an existing > > checkout, please follow the steps below (thanks to Francis!) to ensure > your > > local master branch is also correctly renamed. Note that if you do not > have > > any local changes, you can also simply clone a new copy of the repository > > and the default branch will now be main. > > > >1. Ensure you are in the repository's folder in your command line. > >2. Stash any uncommitted changes: > > - git stash > >3. Check out your local master branch: > > - git checkout master > >4. Rename your local master branch to main: > > - git branch -m master main > >5. Fetch latest commits and branches from remote: > > - git fetch > >6. Remove the tracking branch: > > - git branch --unset-upstream > >7. Create a new tracking branch (assuming the remote is called > origin): > > - git branch -u origin/main > >8. Restore your uncommitted changes: > > - git stash pop > > > > -- > > Michael Mior > > mm...@apache.org >
Re: [ANNOUNCE] Master branch renamed to main
Thanks, Michael. It all looks good from my end. I had opened a pull request yesterday (when the branch was named 'master') and it merged smoothly today (after the rename). Julian On Tue, Apr 26, 2022 at 7:54 AM Michael Mior wrote: > > The master branch has now been renamed to main. If you have an existing > checkout, please follow the steps below (thanks to Francis!) to ensure your > local master branch is also correctly renamed. Note that if you do not have > any local changes, you can also simply clone a new copy of the repository > and the default branch will now be main. > >1. Ensure you are in the repository's folder in your command line. >2. Stash any uncommitted changes: > - git stash >3. Check out your local master branch: > - git checkout master >4. Rename your local master branch to main: > - git branch -m master main >5. Fetch latest commits and branches from remote: > - git fetch >6. Remove the tracking branch: > - git branch --unset-upstream >7. Create a new tracking branch (assuming the remote is called origin): > - git branch -u origin/main >8. Restore your uncommitted changes: > - git stash pop > > -- > Michael Mior > mm...@apache.org
[ANNOUNCE] Master branch renamed to main
The master branch has now been renamed to main. If you have an existing checkout, please follow the steps below (thanks to Francis!) to ensure your local master branch is also correctly renamed. Note that if you do not have any local changes, you can also simply clone a new copy of the repository and the default branch will now be main. 1. Ensure you are in the repository's folder in your command line. 2. Stash any uncommitted changes: - git stash 3. Check out your local master branch: - git checkout master 4. Rename your local master branch to main: - git branch -m master main 5. Fetch latest commits and branches from remote: - git fetch 6. Remove the tracking branch: - git branch --unset-upstream 7. Create a new tracking branch (assuming the remote is called origin): - git branch -u origin/main 8. Restore your uncommitted changes: - git stash pop -- Michael Mior mm...@apache.org