Page 1 of 1

Upgrade from 2.0b3 to git snapshot...

Posted: Tue Sep 30, 2014 1:13 am
by latcarf
Hi guys,

I wanted to start looking at the latest on GitHub and was wondering the best way to upgrade from my 2.0b3 install to a git snapshot.

I cloned the git repo and then tried to do a copy from there to my s9y install but after doing so, my sidebar plugins don't show up and the Admin UI is broken (looks like no css and missing all "Settings" links after "Configuration").

What I did was the following but I gather this might not be all I need to do:

Code: Select all

git clone https://github.com/s9y/Serendipity.git
cp -R Serendipity/* /path/to/web/blog/Serendipity/
I also tried the same on a shared install and saw the same problem:

Code: Select all

git clone https://github.com/s9y/Serendipity.git
cp -R Serendipity/* /usr/local/lib/php/Serendipity/
cp -R Serendipity/deployment/* /path/to/web/blog/s9ytest
Am I missing a step? Thanks for your help!!

Re: Upgrade from 2.0b3 to git snapshot...

Posted: Tue Sep 30, 2014 9:43 am
by Timbalu
latcarf wrote:Am I missing a step?
Well yes!
The 2.0-betas live in a 2.0 branch, currently, which is https://github.com/s9y/Serendipity/tree/2.0.
To clone a specific single branch you'd need to do something like this:

Code: Select all

git clone user@git-server:project_name.git -b branch_name --single-branch /some/folder 
Else you need to

Code: Select all

git checkout 2.0
git pull origin 2.0
after clone, but before copy.

[SOLVED] Upgrade from 2.0b3 to git snapshot...

Posted: Tue Sep 30, 2014 7:49 pm
by latcarf
Aha! You've got it branched. I should have payed more attention to the git repository. Thanks for setting me straight!

Worked great!!