Developers
Please add developer info here (or get someone else to) if you think anything is missing. Useful info would be required and useful software including which version you are using and whether it works ok or not.
Developer Notes on new Import and Analysis interface
Sections in this page:
- Git tips
- Linux
- Windows
- Mac
- Useful Links
Git Tips:
Developer git repositories.
Developer | Git page | Repository |
---|---|---|
Main (Steffen) | http://www.assembla.com/spaces/fpdb/trac_git_tool | git clone git:git.assembla.com/fpdb.git |
Eratosthenes/Poker_Ray | http://www.assembla.com/spaces/free_poker_tools/trac_git_tool | git clone git:git.assembla.com/free_poker_tools.git |
Ekdikeo | http://www.assembla.com/spaces/fpdb-eric/trac_git_tool | git clone git:git.assembla.com/fpdb-eric.git |
Sorrow/Carl G | http://www.assembla.com/spaces/fpdboz/trac_git_tool | git clone git:git.assembla.com/fpdboz.git |
SQLCoder | http://www.assembla.com/spaces/fpdb-sql/trac_git_tool | git clone git://git.assembla.com/fpdb-sql.git// |
MCT | http://www.assembla.com/spaces/mctfpdb/trac_git_tool | git clone git:git.assembla.com/mctfpdb.git |
My .gitconfig:
[user]
name = Username
email = username@mail.com
[alias]
ci = commit -a
co = checkout
st = status -a
praise = blame
[apply]
whitespace = strip
[diff]
color = auto
rename = copy
[pager]
color = true
[status]
color = auto
Commands to show current status:
git branch -a list all branches
git remote -v list all remotes
git status show files changed since last commit
git log show project history
diff commands:
git diff <file> show local changes to file (not added)
git diff --cached <file> show local changes to file (added to commit list)
git diff <commit_hash> diff between current commit and <commit_hash>
git diff <hash1> <hash2> diff between 2 commit hashes
git diff --name-only . diff current dir vs. last commit
Shorthand remotes:
git remote add steffen git:git.assembla.com/fpdb.git
git remote add nuto git:git.assembla.com/free_poker_tools.git
git remote add mct git:git.assembla.com/mctfpdb.git]
git remote add eric git:git.assembla.com/fpdb-eric.git
git remote add carl git:git.assembla.com/fpdboz.git
git remote add sqlcoder git:git.assembla.com/fpdb-sql.git
Allows you to:
git fetch carl master
or
git pull carl master
Pulling a branch from one repository to a branch in your own:
git co -b localbranchname remote/branchname
eg.
git co -b sitebeutral carl/siteneutral
Linux
Required Software:
- a database
- python
- fpdb
- git
Useful Tools:
Windows
Required Software:
- a database, generally either MySQL (which most people are using) or Postgres
- python (generally version 2.5)
To get the graphs working you will need the matplotlib and numpy packages:
http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.3.win32-py2.5.exe?modtime=1217774583&big_mirror=0
http://downloads.sourceforge.net/numpy/numpy-1.2.1-win32-superpack-python2.5.exe?modtime=1225265079&big_mirror=0
- fpdb
- git
Useful Tools:
- Eclipse
- Notepad++ Editor
- PSPad Editor
- MySQL GUI Tools
- Micros$$t XML Notepad 2007
Mac
Required Software:
- a database
- python
- fpdb
Useful Tools:
Useful Links:
postgres | www.postgresql.org |
python | www.python.org |
git | http://www.kernel.org/pub/software/scm/git/docs/everyday.html (are there better guides?) |
http://git.or.cz/ | |
http://www-cs-students.stanford.edu/~blynn/gitmagic/ | |
http://www.assembla.com/spaces/free_poker_tools/trac_git_tool | |
http://www.assembla.com/spaces/fpdb/trac_git_tool |