Git Repository

If you have a question or need help, this is the place to be.

Git Repository

Postby cfull1 » Fri Mar 22, 2013 7:14 am

Not to rehash an old topic, but what were the reasons for sticking with the svn repository?
Was it mostly just because sourceforge hosts the forum?

Git has some nice features, such as pull requests, downloads, tickets, etc.
I find myself wanting to develop some of EG's core, but understandably don't have write access to the repository.
Not sure how to go about doing this.

Any thoughts?
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby cfull1 » Tue May 14, 2013 3:49 pm

I would really like to hear other's opinions about this.

As I start to make changes in the code, I feel so limited!
I can't make any changes with out committing to the server.
I can't make any personal branches, and Heaven forbid I try to merge those branches later.

SVN is so outdated and open source projects can benefit the most from DCVS.
I know EG was built on SVN, and the builder has functions for SVN only.
But these can be easily updated to work with Git.

The only other change I notice would have to be made is the use of $LastChangedRevision$ (which Git doesn't have since it isn't based on revisions).
Typically I see that this is replaced with a last modified date.

The repo currently is very unorganized.
As Pako's been making most of the changes lately (much appreciated), his branch has all the updated code.
Trunk however hasn't been updated for two years and there is one tag of a very old version.
Here's a good diagram of how a Git workflow/repo could look. However, ours doesn't have to be that elaborate.

Maybe this seems daunting to some.
I'm willing to make the conversion to Git and update the code to handle it.
I guess I was just hoping to get others on board as well.

Here is some good info about Git.
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby blackwind » Wed May 15, 2013 9:53 pm

I'm in favor of a move to GitHub, and I've suggested such to Pako. If someone's offering to put in the work to make it happen, I see no reason to delay any further. As is, this project is bordering on dead; if those who want to change that are able to contribute in a more meaningful way, that has to be a good thing.
Last edited by blackwind on Sun Mar 15, 2015 4:25 am, edited 1 time in total.
/bw
User avatar
blackwind
Experienced User
 
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada

Re: Git Repository

Postby krambriw » Thu May 16, 2013 6:56 pm

Fine for me as well
My latest plugins
http://plugins.krambriw.net/index.html

Two men in front of a huge excavator...
- that beast steels work from 100 men with shovels
- well, a 1000 men could do the same using teaspoons
krambriw
Plugin Developer
 
Posts: 2544
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden

Re: Git Repository

Postby cfull1 » Thu May 16, 2013 7:44 pm

Glad to have you guys' support!

I'll get started on it this weekend.
I'll merge all branches into a development branch and commit released versions to a master branch and tag those releases.

As far as versioning goes should we just move to numbers (0.4.1.6) or dates (0.4.1.20130516)?
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby cfull1 » Thu May 16, 2013 10:26 pm

I'm going to create an organization to hold the repo (something like "EventGhostDev").

For those who don't know:
The repo gets tied to the organization rather than a user.
The organization has groups (default being owners with full access).
Users can be added to groups.

Does anyone have a problem with the approach of creating an organization rather than a regular account to hold the repo in?
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby blackwind » Fri May 17, 2013 12:20 am

cfull1 wrote:As far as versioning goes should we just move to numbers (0.4.1.6) or dates (0.4.1.20130516)?

If we're going to switch, I say we move to the standard GNU versioning system and drop the fourth number entirely -- next release is 0.4.2, the one after that is 0.4.3, the next major release is 0.5.0, and so forth. There's no need for anything more complex than that, nor was there ever.

cfull1 wrote:Does anyone have a problem with the approach of creating an organization rather than a regular account to hold the repo in?

Seems like this is the method used by most of the major projects on GitHub, so I'm game.
/bw
User avatar
blackwind
Experienced User
 
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada

Re: Git Repository

Postby cfull1 » Fri May 17, 2013 1:28 am

blackwind wrote:If we're going to switch, I say we move to the standard GNU versioning system and drop the fourth number entirely -- next release is 0.4.2, the one after that is 0.4.3, the next major release is 0.5.0, and so forth. There's no need for anything more complex than that, nor was there ever.

That works for me. Would any of those parts jump to a two digit number? 0.9.11?
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby blackwind » Fri May 17, 2013 1:54 am

Yep, 0.4.10 follows 0.4.9, just as 0.10.0 follows 0.9.x.
/bw
User avatar
blackwind
Experienced User
 
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada

Re: Git Repository

Postby krambriw » Fri May 17, 2013 3:44 am

I would like to see Pako's comment here as well,

Pako is it OK for you as well?
My latest plugins
http://plugins.krambriw.net/index.html

Two men in front of a huge excavator...
- that beast steels work from 100 men with shovels
- well, a 1000 men could do the same using teaspoons
krambriw
Plugin Developer
 
Posts: 2544
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden

Re: Git Repository

Postby topix » Fri May 17, 2013 6:33 am

I haven't used git till now but seeing it used very often today. I think it's good to move to git. With the versioning i would go the way blackwind suggested. More info (date) could be put in the About dialg in the program itself (maybe?). And creating a organization based repo sounds logical to me.
Now i have one more point on my todo list: learn using git :)
topix
Experienced User
 
Posts: 280
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: Git Repository

Postby blackwind » Thu May 23, 2013 6:54 am

Where'd you go, Pako?
/bw
User avatar
blackwind
Experienced User
 
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada

Re: Git Repository

Postby Pako » Thu May 23, 2013 8:31 am

I'm sorry.
I am now (and for about one month I will be) very busy.
I can not respond to your posts and PM.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 2224
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Git Repository

Postby cfull1 » Thu May 23, 2013 1:33 pm

Pako,

We understand. I think it would be nice just to have your approval of moving to git, not that you have to put any effort into it.
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: Git Repository

Postby cfull1 » Thu May 23, 2013 4:13 pm

Currently going through and organizing the repo: Merging branches, updating empty commit messages, and squashing unnecessary commits.

I'm noticing Bitmonster used svn variables frequently
Code: Select all
# $LastChangedDate$
# $LastChangedRevision$
# $LastChangedBy$
Do you guys think it's necessary to somehow continue this in git (making note of last edited and by whom)?
I can't see it mattering for those who checkout the repo but those who use the installer. Thoughts?
cfull1
Experienced User
 
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Next

Return to General Support

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

cron