Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old September 19, 2010, 16:33   #1
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,928
Donated: $40
takkaria is on a distinguished road
Moving to Git

Hello all,

Angband is moving to Git. It's been a goal to move to a distributed VCS for some time, but the consensus of active developers is on Git, so that's what we're moving to.

Elly has started some good refactoring/rewriting + unit testing work on the init file parser, so now is the time to move (so that doesn't have to be committed back into SVN as a single patch and we lose valuable history). I've not got the time/energy to set up Trac+git yet, but I will soon. In the meantime, though, the git home of Angband is github:

http://github.com/takkaria/angband

I'll be keeping svn and github in sync for a while, but soon svn will be phased out-- maybe in a month or so (when I get trac+git sorted out).
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old September 19, 2010, 16:56   #2
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
Awesome!

So just to be clear: as of this moment, anyone who wants to work on Angband can check out the Git repo and ignore SVN?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old September 19, 2010, 17:25   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,703
Donated: $60
Nick is on a distinguished road
Nice. With luck we'll be able to do something smart with keeping V and AngbandBase synchronised; all we need is (a) at least one person with a clue and (b) something to actually happen with AngbandBase.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old September 20, 2010, 19:41   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Nick View Post
Nice. With luck we'll be able to do something smart with keeping V and AngbandBase synchronised; all we need is (a) at least one person with a clue and (b) something to actually happen with AngbandBase.
As I mentioned on the AngbandBase thread, www.github.com/elly/angband is the key branch for this. (It's not technically a branch as it was begun before the official move, but to all intents and purposes it is, as it will eventually be merged back into the main repo.) It's coming on in leaps and bounds thanks to an insane burst of energy on elly's part, but I'm not sure how near merging back it is. I'm 100% confident that elly would appreciate feedback from anyone interested in AngbandBase that the refactoring is going in the right direction.
Magnate is offline   Reply With Quote
Old September 28, 2010, 08:30   #5
ewert
Knight
 
Join Date: Jul 2009
Posts: 525
ewert is on a distinguished road
Okay I'm intriqued by the "branching" stuff. If, for example, I'd code a version that has an option for unlimited home, option for no-buying except staples, and an option for no-selling (with concomitant cash drop increases), etc... does this git thing mean something for me? Could I have somehow get it "posted" as a development branch on the git-site side-by-side with the vanilla? Have a choice for people to download a compiled version of it so they can test it?
ewert is offline   Reply With Quote
Old September 28, 2010, 09:07   #6
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
Most version control system help you in so far that they support automatic merging of changes to the main development line into your branch.
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem
Hajo is offline   Reply With Quote
Old September 28, 2010, 15:28   #7
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by ewert View Post
Okay I'm intriqued by the "branching" stuff. If, for example, I'd code a version that has an option for unlimited home, option for no-buying except staples, and an option for no-selling (with concomitant cash drop increases), etc... does this git thing mean something for me? Could I have somehow get it "posted" as a development branch on the git-site side-by-side with the vanilla? Have a choice for people to download a compiled version of it so they can test it?
The way this works is that you would clone the main Angband repo to create your own repo (ewert-repo). Then you could make changes, commit them with log messages and push them to your own repo. Other people could check out ewert-repo and try out your changes. Eventually either you could request that certain patches (collections of commits) be pulled back into the main repo (or we could just decide to do that after trying out your repo).

Your branch wouldn't be "official" in any real sense (it wouldn't get a nightly build unless someone set that up manually); the big difference is that instead of saying "I think you should build feature XYZ" or even "here's a giant patch with XYZ" you can just make that change in your own repo.

The problem with just having patches is that as Angband changes it becomes harder and harder to keep these patches in sync (and it can be confusing, especially when there are multiple versions with bugfixes and such). Git solves this problem by making every checkout it's own repository that can be added to, modified, etc.

Anyway, we'll see how it works in practice.

P.S. Setting up a site which tracks a bunch of people's git repo's, tries to autobuild a nightly, and reports whether the build works or not, could be pretty useful.
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old September 28, 2010, 16:08   #8
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,928
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by ewert View Post
Okay I'm intriqued by the "branching" stuff. If, for example, I'd code a version that has an option for unlimited home, option for no-buying except staples, and an option for no-selling (with concomitant cash drop increases), etc... does this git thing mean something for me? Could I have somehow get it "posted" as a development branch on the git-site side-by-side with the vanilla? Have a choice for people to download a compiled version of it so they can test it?
Well, you can sign up to GitHub and go to http://github.com/takkaria/angband and click 'Fork', and then you'll have your very own branch of vanilla. You can then check it out locally, work on it and push the changes back to github.com/ewert/angband (or whatever your username is). You can also pull changes in from the official branch and keep up-to-date with changes in V.

GitHub doesn't provide for compiled versions, unless you upload them yourself, nor will it link to your repository from the Angband one, except if someone goes and looks at its forks page.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old September 29, 2010, 07:45   #9
ewert
Knight
 
Join Date: Jul 2009
Posts: 525
ewert is on a distinguished road
Sounds good enough. Now too bad am bit worn out by work, but sounds definitely something I'll do ...
ewert is offline   Reply With Quote
Old September 30, 2010, 11:25   #10
ewert
Knight
 
Join Date: Jul 2009
Posts: 525
ewert is on a distinguished road
Is the current master branch in tak/angband github broken?

Forked it to myself, used gitgui to get it, compiled it and commands do no get parsed through at startup. I did change some files, but for the life of me can not see how it could break anything at starting char creation ... Will try a brank spanking clear git version compile ...
ewert is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sangband SVN/Git/? camlost Development 7 September 9, 2010 18:31
[Z+]Crash when moving arrows into a container Asgoth Variants 1 December 6, 2008 04:15


All times are GMT +1. The time now is 17:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.