Public repository e.g. SVN, Mercurial, Git, etc

Public repository e.g. SVN, Mercurial, Git, etc

Postby charlie » 22 Feb 2011, 02:33

Any reason why development goes on behind closed doors?

Haha :D at the very least, it is a way to alleviate exasperation, frustration, tantrums, and other troll-like behaviour in the periods between releases?

Possible popular hosts:
- http://sourceforge.net (SVN/Git) - much better after the latest updates
- http://code.google.com/ (SVN/Mercurial) - simple with a nice issue tracking system
- http://bitbucket.org/ (Mercurial)
- http://github.com/ (Git)
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 22 Feb 2011, 10:04

You named some reasons but just a few, and don't forget tension. ;)

Think distributed: The release is the non-live decentralised repository. No, for real, there is a local GIT repository for a short while (about end of last year) and it may get released or get put live online sometime. But putting source code online isn't a call for core staff. And having a public repository online doesn't mean you necessarily can see all the local changes I make, too.


Intentions smallprint:
I don't want to manage staff and stuff in a hobby project, I want to develop, not discuss changes and decissions or micromanage this and whatnot, don't want to make promisses about future features and how it will be cool - that keeps decissions unbiased. There are a lot of projects (not few dead by now) that suffer from Ubermanaging and Uberpromises. What I imagine fits to decentralised development and GIT (SVN out of the question). You may get the source, you may fiddle with your source, you may patch my source in your source - all in your own local repository - and then you may say "hey, I've got this great change".
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby michalg » 23 Feb 2011, 05:31

hc {l Wrote}:You named some reasons but just a few, and don't forget tension. ;)
You may get the source, you may fiddle with your source, you may patch my source in your source - all in your own local repository - and then you may say "hey, I've got this great change".


In that case maybe github would be best?

https://github.com/
michalg
 
Posts: 53
Joined: 29 Mar 2010, 19:17

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 23 Feb 2011, 13:29

Yes, github, developer.berlios.de and a bunch of others would come to mind...
What you may expect for the near future, is a linwarrior.git.tar.gz on hackcraft.de (beside lacking online browsing/analysis, this is basically the same as a usual hosted read-only git-repository just compressed).
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 23 Feb 2011, 13:57

Have to consider this: http://forum.freegamedev.net/viewtopic.php?f=38&p=10193#p10177 too:
Until this point I tried to keep game data small and put it into the same (git) repository.

So far I have just separated the "data"-folder further into a "base" directory and "packages".

"base" contains critical small footprint data, without which the game would not "boot" and "testrun" at all - this should be considered part of the code.

"packages" are in the form of "opengameart.org"-, "freesound.org"-, and "blendswap.com"-directories and contain contributed data/art with large memory footprint without which the game could still run (but without all funkiness).

So separating package-data from source-code + base-data is a point I should consider for version-control.

This takes me to another possible topic and requirement:
The game shall be able to replace crude base-data with refined package-data when available.
Maybe just overwrite base-data at package-installation or decide at runtime.
Eg. Foliage textures in the base-directory are 64x64 pixels large, and there may be a hi-res replacement file in a package.
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Release of public GIT archive (Re: Public repository ...)

Postby hc » 17 Apr 2011, 16:16

The latest release (today's) is available as linwarrior.git.tar.gz (8.7 MB).
Instructions for usage of this ftp-/http-archived public GIT-repository are online:
http://hackcraft.de/games/linwarrior_3d/downloads.htm

The name of this release #19 is Radiant Nature.

Basically this is my local repository zipped and uploaded. It contains all data files necessary to run the game. And it will stay that way but larger (optional) 3rd-party datafile packages will be factored out eventually.
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby charlie » 17 Apr 2011, 23:18

Looking forward to a changelog :D
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 18 Apr 2011, 17:53

You're ruining the surprise...it was supposed to be a sneak preview. :(
Have a look:http://forum.freegamedev.net/viewtopic.php?f=50&t=1313&p=12975#p12975

;)
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby qubodup » 04 Aug 2011, 15:13

could somebody provide me with a step-by-step instruction on what to do with the git repository 'dump' ( http://hackcraft.de/games/linwarrior_3d ... git.tar.gz ) to be able to test LW?

It contains a .git dir and I don't know where to go from there.
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby Knitter » 04 Aug 2011, 15:34

Download the file;
Unpack it anywhere you like;
Using a terminal, navigate to new extracted the folder;
Issue the command: git reset --hard HEAD

This will provide you with the usable files to compile and run the game. You need to have git installed. After running the git command to reset your repository (the folder .git) all the files will be available and it's a matter or running the usual "make clean all" command.
Knitter
 
Posts: 237
Joined: 03 Jul 2011, 22:52
Location: Portugal

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby qubodup » 04 Aug 2011, 20:27

Thanks a lot, Knitter!

hc: quick note: source/de/hackcraft/proc/noise.h needs to be uppercased
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 05 Aug 2011, 21:08

Another interesting thing may be to hit "gitk" at the console.
If you have done any source editing then you'll see a red spot "local changes not commited" above a yellow "master" spot.
What "reset --hard HEAD" does is "revert" your red local changes to the master head version of the repository -
ie. overwrite your changes with the most recently commited version - undoing all your changes since the last commit.

I usually commit changes in the following style (all at the linwarrior root directory):
Add new (or moved/renamed) files: git add .
Commit: git commit -a -m "Verb'ed this and that."
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby hc » 23 May 2012, 22:13

There's a public repository on github now, which may allow to follow changes more easily.
Unlike SVN, with GIT commits are still local until pushed online (=uploaded) push are easily as well.

git://github.com/hackcraft-de/linwarrior.git
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby qubodup » 24 May 2012, 10:14

Yay!

Please update http://hackcraft.de/games/linwarrior_3d/downloads.htm with the command

{l Code}: {l Select All Code}
git clone git://github.com/hackcraft-de/linwarrior.git

and a link to https://github.com/hackcraft-de/linwarrior , since having an online browser and the social(?) features of github should be interesting to users
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Public repository e.g. SVN, Mercurial, Git, etc

Postby Knitter » 24 May 2012, 22:57

I'm already following the repo (and cloned it :D ), should really help keeping track of what is going on. All we need now are some frequent pushes ;)
Knitter
 
Posts: 237
Joined: 03 Jul 2011, 22:52
Location: Portugal

Who is online

Users browsing this forum: No registered users and 1 guest