Jump to content


Photo

Source Code Access


  • Please log in to reply
No replies to this topic

#1 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 16 March 2009 - 08:47 AM

Like what I did with WeiDU, I'm now managing the source code for widescreen via git (the stable code is available via usual HTTP, whereas development code will be available via git), so git is the preferred method of contributing code. The repository is git://github.com/vbigiani/refinements.git (Web Interface).

Using git with a graphical user interface is probably easier: see this article.

Using git with cygwin (instructions can be adapted for OSX and Linux users pretty easily):
This is how Taimon suggests to work:

Just for the record, here is what I did for to get started:

* `cd refinements'
* `git clone git://github.com/vbigiani/refinements.git'
* log into github and fork the main project
* `git remote add mypub git@github.com:<username>/refinements.git'


And these were the steps for the changes:

* `cd refinements'
* `git pull' for syncing the local repos with upstream (runs git fetch + git merge)
* edit the files (they're in c::\cygwin\home\<username>\refinements if you follow these instructions)
* `git commit -a'
* `git push mypub' for pushing the changes to my public repos on github


Not mentioned here: install cygwin; when you get to select packages, choose the 'full' system and install the git and ssh packages. Run cygwin, run these commands:

mkdir refinements
cd refinements
git init
git config add user.name "Your full name"
git config add user.email "a valid email address"
ssh-keygen <and follow the instructions>

register to github; when it asks for the public key, it's in c:\cygwin\home\<username>\.ssh\id_rsa.pub by default.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.