Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-05-02 17:22:36

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Using Git

We have now completed the move from SVN to Git smile

There is a bit of a guide to using Git on our wiki, however if anyone has any questions just ask (or Google!).

One thing I'd like to ask is that everyone who plans on committing sets up their name and email properly in their git client. Ideally you should set this to whatever is listed here (sorry, dev's only!), so that your future commits will match your previous ones.

For some reason all the tags didn't import properly, but I've manually retagged most of them (didn't bother with a couple older ones but that shouldn't matter).

Offline

#2 2010-05-04 09:18:17

sanjayrup
Member
Registered: 2010-03-29
Posts: 8

Re: Using Git

there is no Trac for Git ? smile

Offline

#3 2010-05-04 09:20:24

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

That's why we link to Gitorious.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#4 2010-05-04 19:46:26

davidlougheed
Member
Registered: 2010-04-16
Posts: 38

Re: Using Git

Is there a trac-roadmap type thing in gitorious? that was pretty useful for me.

Offline

#5 2010-05-04 19:50:42

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

Not there wink


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#6 2010-05-04 20:33:42

sanjayrup
Member
Registered: 2010-03-29
Posts: 8

Re: Using Git

i have stop my fluxbb 1.4 svn 1585, but now i can't see if there is any update

Offline

#7 2010-05-04 20:38:09

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

You can do so on Gitorious.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#8 2010-05-04 21:53:56

Plazzmex
Member
Registered: 2008-07-24
Posts: 85

Re: Using Git

Franz wrote:

You can do so on Gitorious.

But where is the build numbers ?
sorry if i missed something...

Offline

#9 2010-05-04 21:57:53

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

There are none. Do you see the hashes on that page (well, they only display the first seven characters, but you get the point). Because of the advanced branching concept in Git, build numbers wouldn't work. That's why they use these unique IDs to identify revisions...

To keep up with the core, I suggest you clone the repository so that you have your own one and then just use "git pull" to get new changes. Else use Gitorious' Atom feed.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#10 2010-05-05 00:21:25

Plazzmex
Member
Registered: 2008-07-24
Posts: 85

Re: Using Git

much harder to use than the previous repository was...
Also no option to download the revision in zip file ? I mean only to changes made in specific revision.. In previous repository i could download in the bottom of the page only the files that have been changes and not always the full tar
Also the download link for the full latest revision doesn't work ! so basically can't download it at all !
Freaking me out this your new SVN. Much more liked the older one !!!

Edited:
Also which one is the r1578 revision that was in the previous svn ?

Last edited by Plazzmex (2010-05-05 00:25:25)

Offline

#11 2010-05-05 07:45:59

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Using Git

I wouldn't say it's harder to use, it's just different and needs getting used to.
If you view the source tree there is an option on the right hand side to "download master as tar.gz" which will download the full source. You're right there isn't an option to download only the files that have changed, but I don't see the point in that. What you should be doing to keep up-to-date with development is pulling the git repository, not just going to the website and downloading changed files then replacing them.

To get a copy of the latest revision:

git clone git://gitorious.org/fluxbb/fluxbb.git

to then at a later date update this copy to the latest revision:

git pull

This is how we keep the website and forums here up-to-date, there is no manual work, simply one command (or in our case we have made a button to click that runs that command) and all updates are applied automatically.

How doesn't the download link work? You get a .tar.gz instead of a .zip, but .tar.gz is better anyway. If you're using Windows something like WinRAR or 7zip can open them for you.

Offline

#12 2010-05-05 12:43:41

zaher
Member
From: Damascus, Syria
Registered: 2008-07-12
Posts: 126
Website

Re: Using Git

Git is for large project/contributors, i do not think it is suite for FluxBB, but i will not open any GIT vs SVN here.

BTW it is good for me to learn using GIT by FluxBB, but i really hate it (the GIT)

Offline

#13 2010-05-05 12:51:55

FSX
Former Developer
From: NL
Registered: 2008-05-09
Posts: 818
Website

Re: Using Git

Can't imagine why would hate Git. It works perfectly and has man pages for every command.

Offline

#14 2010-05-05 12:53:46

inops
Member
Registered: 2008-05-10
Posts: 15

Re: Using Git

Regarding the Git vs SVN discussion (even though we don't want to have a discussion here) this might be quite interesting for some people around:
http://www.youtube.com/watch?v=4XpnKHJAok8

Last edited by inops (2010-05-05 12:54:12)

Offline

#15 2010-05-05 13:15:28

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Using Git

FSX wrote:

Can't imagine why would hate Git.

I think it maybe depends what end you look at it from. From a developer point of view I would say Git is much better and maybe even easier to use once you're used to it. From the view of someone trying to follow development the only real difference I can see is the lack of revision numbers, which makes it harder to track.

Offline

#16 2010-05-05 14:43:46

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

inops wrote:

Regarding the Git vs SVN discussion (even though we don't want to have a discussion here) this might be quite interesting for some people around:
http://www.youtube.com/watch?v=4XpnKHJAok8

Maybe not the best example wink I think he's quite arrogant on that video.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#17 2010-05-05 15:09:56

ridgerunner
Member
Registered: 2008-06-24
Posts: 183
Website

Re: Using Git

Yes, unfortunately it looks like all the old SVN revision numbers were lost during the translation to the new repository.

We'll all need to get used to referring to each commit by its SHA number.

On the plus side Git is *far* superior to SVN or CVS. For example: once you get a taste of the Gitk GUI app for browsing the commit history, there is no turning back...
Gitk.png
If you are on Windows, go get a copy of msysgit and read this article and watch this screencast to "git" up and running. (But when you install msysgit be sure to choose the "Commit line endings as they are" option when prompted with the "Choosing CR/LF behavior" dialog box (and use a text editor which uses plain linefeeds).
smile

Offline

#18 2010-05-05 19:45:00

zaher
Member
From: Damascus, Syria
Registered: 2008-07-12
Posts: 126
Website

Offline

#19 2010-05-05 22:41:05

Plazzmex
Member
Registered: 2008-07-24
Posts: 85

Re: Using Git

I don't like the idea of installing some software to track the changes.
Just want to go to the website and see the changes.
But http://gitorious.org/fluxbb/fluxbb/commits/master is good enough so I will try to get used to it..

Offline

#20 2010-05-05 22:54:01

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,653

Re: Using Git

Incidentally, there is a little problem with msysgit.  Basically it doesn't uninstall properly and leaves behind a dll which keepts triggering message boxes which leaves your pc almost unusable.  Before installing make sure you have a system restore checkpoint and do a roll back rather than uninstall. Otherwise you will be manually deleting files in console mode.

If you detect a note of irritation its because I'm speaking from experience. They know about the bug so its worth seeing if its fixed in the latest release.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#21 2010-05-05 23:01:22

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,744
Website

Re: Using Git

Ah, interesting and good to know.

You're not talking about this issue, are you? If not, please post the correct one. I couldn't seem to find it.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#22 2010-05-05 23:09:53

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,653

Re: Using Git

Yes thats it.  Obviously when I reinstalled I elected not to install cheetah but there is nothing obvious in the install to say whether you should install it or not and a lot of people who are new to particular software tend to install with all the options.

Thanks for reminding me.  A second bit of advice is therefore make sure the option to install cheetah is unchecked.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#23 2010-05-06 05:12:28

Jérémie
Member
From: France
Registered: 2008-04-30
Posts: 629
Website

Re: Using Git

Reines wrote:

From the view of someone trying to follow development the only real difference I can see is the lack of revision numbers, which makes it harder to track.

I can quote one big difference:

Paul wrote:

Incidentally, there is a little problem with msysgit.  Basically it doesn't uninstall properly and leaves behind a dll which keepts triggering message boxes which leaves your pc almost unusable.  Before installing make sure you have a system restore checkpoint and do a roll back rather than uninstall. Otherwise you will be manually deleting files in console mode.

Never had any issue with TortoiseSVN myself. You can mistreat it all you want, it's still there, doing what's its told and not bothering me about it.

I wasn't even able to install a proper Git and its already bothering me to no end. I probably won't try again until someone pull his head out of his rear and port a native Win32 Git that's production ready.

Just 2 cents to think about next time you feel you don't have enough testers & external commits; because I certainly ain't the only one.

Offline

#24 2010-05-06 06:20:59

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,139
Website

Re: Using Git

TortoiseGit appears to be working just fine for me wink

Offline

#25 2010-05-06 10:33:49

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,653

Re: Using Git

I'm using TortoiseGit as well and it seems stable.  Only thing is I can't find the option to tell it to ignore files.  I know thats been done at the repo level but its reassuring to be able to set a file as ignored locally as well.

On thing I can't understand is why the commit list on Gitorious didn't simply number the commits in the list.  Not the same as revisions I know but it would have simplified referring to a particular commit.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

Board footer

Powered by FluxBB