Default GIT branch

Feel free to talk about anything and everything in this board.
Post Reply
cyberk
Newbie
Newbie
Posts: 3
Joined: January 12th, 2014, 12:06 pm

Default GIT branch

Post by cyberk »

Hello,

Out of curiosity, why is the default branch at GIT the dev branch, and not the master branch?

Better question, will running the following command get me the latest stable version, or the latest development version?

git clone git://github.com/sabnzbd/sabnzbd.git
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Default GIT branch

Post by shypike »

We follow git-flow a bit, except merging to Master.
The stable release is now based on branch "1.0.x".
The actual development on branch "develop", which is also the default branch.
cyberk
Newbie
Newbie
Posts: 3
Joined: January 12th, 2014, 12:06 pm

Re: Default GIT branch

Post by cyberk »

Thanks, I think I understand

If I want to clone the latest stable, I should clone the 1.0.x branch,

git clone -b 1.0.x --single-branch https://github.com/sabnzbd/sabnzbd.git
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Default GIT branch

Post by shypike »

For now , yes.
Until we move to 1.1.x
chese80
Newbie
Newbie
Posts: 4
Joined: May 24th, 2016, 6:54 pm

Re: Default GIT branch

Post by chese80 »

What is the Feature/cherrypy branch?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Default GIT branch

Post by shypike »

We sometimes develop new features on a separate branch.
This one is now obsolete and will be deleted at some time.
Post Reply