Understanding SVN, GIT, and upgrader

thebrandons

Joined: 2008-11-08
Posts: 28
Posted: Fri, 2009-09-25 13:48

1) I am a normal user and have enjoyed SVN because of simple upgrades. By looking around in the developer area I figured out that you have moved to GIT. May I ask the motivation for the switch because it requires everyone to learn/install another File Revision tool? How do I figure out the available GIT revisions/tags, the only command I found is listed below? Should I create a GIT fork if I might make a few personal tweaks to the code? Lastly is there any documentation for Gallery3 GIT for the normal user?

>git clone git://github.com/gallery/gallery3.git

2) After I install Beta3 will I seamlessly be able to update to the official Gallery3 when it becomes available? I am confused by the Upgrader functionality inside of Gallery3. Since I upgrade the code directly (GIT) what purpose does the Upgrader server (perhaps database updates)?

Thanks,
Kevin

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-09-25 16:03

Motivation? GIT is a much better tool. I'm also just a user, not a developer, but from what I see, git is easier to use and much more powerful.

Here's some answers to your questions:
http://codex.gallery2.org/Gallery:Using_Git
http://codex.gallery2.org/Gallery:Git_FAQ

(I have more updates I need to do to those pages to link to some other excellent material one of the devs pointed me to)

To answer your second question, yes. Just git pull and you'll update. The upgrader process does database updates, git pull just gets new code.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sat, 2009-09-26 05:33
Quote:
May I ask the motivation for the switch because it requires everyone to learn/install another File Revision tool?

Several reasons and I don't know them all.
Ease of use
Simple ability for users to 'fork'.
Simple ability for user contributed changes ot be merged.
G3 is completely different than G1/G2 an found that GIT fit some of the shortcomings that SVN had.

The average user does not need to know GIT. They download a version and install. SVN required some code to get a 'nightly' build and GIT offerst a download button for ease of getting people involved in the beginning of the project.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team