PlexConnect icon indicating copy to clipboard operation
PlexConnect copied to clipboard

Difficult to know what to fork with no 'master' branch.

Open NorthIsUp opened this issue 13 years ago • 17 comments

To make helping out easier could you add a canonical master branch so we can know where to fork/dev off of?

NorthIsUp avatar Aug 01 '13 05:08 NorthIsUp

Yeah... we lost our "master" branch, when we decided that the branched out "XML_templates"-branch is the way to go. A couple of weeks later we deleted the (the stuck in nowhere) "master". So in our case, picking the original "master" wouldn't be the way to go... I am not sure, if renaming the current one is such a good idea. There is a lot of documentation around, pointing exactly to the XML_templates branch. Maintaining two branches with the same content seems rather stupid as well... What to do?

iBaa avatar Aug 01 '13 15:08 iBaa

if XML_templates is "the way to go" and it is deployable it sounds like it is your new master. It would make it much more clear for those wanting to help.

On August 1, 2013 at 8:26:38 AM, iBaa ([email protected]) wrote:

Yeah... we lost our "master" branch, when we decided that the branched out "XML_templates"-branch is the way to go. A couple of weeks later we deleted the (the stuck in nowhere) "master". So in our case, picking the original "master" wouldn't be the way to go... I am not sure, if renaming the current one is such a good idea. There is a lot of documentation around, pointing exactly to the XML_templates branch. Maintaining two branches with the same content seems rather stupid as well... What to do?

— Reply to this email directly or view it on GitHub.

NorthIsUp avatar Aug 01 '13 17:08 NorthIsUp

Maybe add a note to the dev section of the wiki.

finkdiff avatar Aug 01 '13 17:08 finkdiff

I'd recommend moving XML_templates over to master, would be less confusing.

elan avatar Aug 02 '13 01:08 elan

...but will break all the available download/install instructions. :-(

iBaa avatar Aug 02 '13 06:08 iBaa

The instructions are easy enough to change, I said when you deleted the master branch that people would expect to find the current code there :)

roidy avatar Aug 02 '13 15:08 roidy

Yes... if I wouldn't have deleted the OLD master, nobody would find the current code. And yes, the instructions can be adapted - as long as we have our hands on them. There are - I guess - a couple of them around the internet, that we can not change. Let's start with Elan's blog post. If I remember correctly, there are some links as well. I think, we can branch out another master branch and delete the current working one. But I have no idea, what will happen with the history and stuff... :-(

iBaa avatar Aug 02 '13 20:08 iBaa

I can edit the links in my blog.

And it's super easy to not lose history:

$ git checkout XML_Templates
$ git checkout -b master
$ git push -f origin master

Now master is the same as XML_Templates.

elan avatar Aug 02 '13 20:08 elan

+1 this seems like the best solution.

On August 2, 2013 at 1:59:36 PM, Elan Feingold ([email protected]) wrote:

I can edit the links in my blog.

And it's super easy to not lose history:

$ git checkout XML_Templates $ git checkout -b master $ git push -f origin master Now master is the same as XML_Templates.

— Reply to this email directly or view it on GitHub.

NorthIsUp avatar Aug 02 '13 21:08 NorthIsUp

Okay let's do it on Sunday and I will change the docs and add a temp sticky to let people know; tommorow I have to pack my house!

finkdiff avatar Aug 02 '13 21:08 finkdiff

NorthIsUp you owe us code ;p

finkdiff avatar Aug 02 '13 21:08 finkdiff

Yes... if I wouldn't have deleted the OLD master, nobody would find the current code

It's not about you deleting the OLD master, the fact is the moment the OLD master was deleted the XML_Templates branch should have been renamed to master. Then people would find the code right were it's supposed to be in master.

roidy avatar Aug 03 '13 07:08 roidy

"XML_Templates" is set as the default branch, isn't that telling anything? Okay, okay, we will do the rename. I should still be able to access the database thereafter :-D

iBaa avatar Aug 03 '13 11:08 iBaa

"XML_Templates" is set as the default branch, isn't that telling anything?

The main working code being in Master is just a standard that people expect.

roidy avatar Aug 03 '13 14:08 roidy

added "master" branch according to Elan's cook book.

iBaa avatar Aug 07 '13 19:08 iBaa

two days later... removed the "old" XML-Templates branch. Unfortunately this step closed/removed all open pull requests - round about 5? It was no bad intention, just missing knowledge about github. So please, please, reopen your valid pull requests if possible. Or create new ones. Sorry for this.

iBaa avatar Aug 09 '13 19:08 iBaa

about 4 weeks and counting... I will close it now :-D

iBaa avatar Sep 01 '13 20:09 iBaa