summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #202 from hashar/toxSebastian Thiel2014-11-151-3/+3
|\ \ \ \ | | | | | | | | | | tox commands now have {posargs} as argument
| * | | | tox commands now have {posargs} as argumentAntoine Musso2014-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When invoking an environement, one might want to pass extra argument to the command. That is done in tox by invoking an env and passing the extra arguments after '--' which are then available as '{posargs}'. Examples: # Reports flake8 error statistics tox -eflake8 -- --statistics # Only run test_util.py tests, printing a line per test: tox -epy27 -- --verbose git/test/test_util.py
* | | | | Merge pull request #203 from hashar/lint-setup_pySebastian Thiel2014-11-151-30/+35
|\ \ \ \ \ | |/ / / / |/| | | | Lint setup.py
| * | | | Lint setup.pyAntoine Musso2014-11-141-30/+35
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Pass flake8 on setup.py. I have left behing the 'line too long' errors though since they are usually controversial. The setup() call has been reindented to save a level of indentation.
* | | | Don't use tuples in setup.py requirement specsSebastian Thiel2014-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | [skip ci] See https://github.com/gitpython-developers/GitPython/issues/186 for the motivation of this fix.
* | | | Fixed premature closing of stdout/stderr streams, which caused plenty of errors.Sebastian Thiel2014-11-141-2/+0
| | | | | | | | | | | | | | | | | | | | The lines were added in commit b38020ae , and I might consider a patch release soon or get ready with 0.3.3. Lets hope not too many installations will be affected.
* | | | Simplified get_user_id() and fixed possible python3 compatiblity issue.Sebastian Thiel2014-11-141-31/+15
| | | | | | | | | | | | | | | | Changed motivated by https://github.com/gitpython-developers/GitPython/pull/52
* | | | Merge branch 'syabro-patch-1' into 0.3Sebastian Thiel2014-11-141-2/+0
|\ \ \ \ | | | | | | | | | | | | | | | [skip ci]
| * \ \ \ Merge branch 'patch-1' of https://github.com/syabro/GitPython into ↵Sebastian Thiel2014-11-141-2/+0
| |\ \ \ \ |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syabro-patch-1 Note by Sebastian Thiel: Was already fixed Conflicts: git/refs/reference.py
| * | | | Fixed NameErrorMaxim Syabro2014-02-101-1/+1
| | |_|/ | |/| |
* | | | Merge pull request #189 from mrasskazov/0.3Sebastian Thiel2014-11-143-18/+107
|\ \ \ \ | | | | | | | | | | GPG signature support on commit object.
| * | | | GPG signature support on commit object.Max Rasskazov2014-09-083-18/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originals: Pull request "GPG signature support on commit object" #124 by Tatsuki Sugiura. https://github.com/gitpython-developers/GitPython/pull/124 commit 8065d2abdbb18e09560fc061807301b4c834d5a7 commit 62ecd6c66a84144632b045696326af503ee8cd4e
* | | | | Merge branch 'hashar-tox' into 0.3Sebastian Thiel2014-11-146-4/+48
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make tox available, see https://github.com/gitpython-developers/GitPython/pull/179 [skip ci]
| * \ \ \ \ Merge branch 'tox' of https://github.com/hashar/GitPython into hashar-toxSebastian Thiel2014-11-146-4/+48
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: README.md requirements.txt setup.py
| * | | | | tox env to easily run flake8Antoine Musso2014-07-252-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most people know about pep8 which enforce coding style. pyflakes goes a step beyond by analyzing the code. flake8 is basically a wrapper around both pep8 and pyflakes and comes with some additional checks. I find it very useful since you only need to require one package to have a lot of code issues reported to you. This patch provides a 'flake8' tox environement to easily install and run the utility on the code base. One simply has to: tox -eflake8 The env has been added to the default list of environement to have flake8 run by default. The repository in its current state does not pass checks but I noticed a pull request fixing pep8 issues. We can later easily ensure there is no regression by adjusting Travis configuration to run this env. More informations about flake8: https://pypi.python.org/pypi/flake8
| * | | | | Use tox to easily run tests in venvAntoine Musso2014-07-254-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tox https://pypi.python.org/pypi/tox is a thin wrapper around virtualenv which let you craft a fresh python environement to execute command in. It creates the env with virtualenv, install dependencies, run python setup.py install in it and then execute whatever command you want it to do and report status. To do so I simply: - listed tests dependencies in test-requirements.txt (which are just nose and mock) - provide a tox.ini file which describe how to install the dependencies and execute nosetests - added the module 'coverage' to the list of test dependencies To run tests simply: pip install tox && tox That will execute the test command 'nosetests' using python2.6 and then python 2.7. The additional env 'cover' can be run using: tox -ecover.
| * | | | | List runtime dependencies in requirements.txtAntoine Musso2014-07-254-4/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | More and more packages are listing their dependencies in requirements.txt which make it trivial to maintain and install them.
* | | | | Assure requirements.txt ends up in the distribution as wellSebastian Thiel2014-11-142-1/+2
| | | | |
* | | | | Prepared release 0.3.20.3.2Sebastian Thiel2014-11-147-38/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It represents the latest state on github, which should be better than what's installed by default. [skip ci]
* | | | | Updated README to better represent current stateSebastian Thiel2014-11-142-43/+31
| | | | |
* | | | | Merge pull request #150 from derenio/0.3Sebastian Thiel2014-11-141-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Merged fd leaks fix from the master to the 0.3 version
| * | | | | Ignore signal exception on AutoInterrupt destructor.Tatsuki Sugiura2014-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When command run as subprocess, AutoInterrupt will kill the process on destructor. However, if process already finished, it raise OSError exception. This fix just ignore OSError on os.kill. Conflicts: git/cmd.py
| * | | | | Fix fd leak on git cmd.Tatsuki Sugiura2014-03-311-0/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if command is called with as_proces=True, pipes for the command will not be closed. This change makes sure to close command file descriptors. Conflicts: git/cmd.py
* | | | | Merge pull request #181 from hashar/git-exec-const-outputSebastian Thiel2014-11-141-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Ensure consistent output from git command
| * | | | | Ensure consistent output from git commandAntoine Musso2014-07-251-0/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The git command output can vary by language which would cause assertions errors when parsing the output. On POSIX system the language used by git can be adjusted by LC_MESSAGES. The special language 'C' is guaranteed to be always available and is whatever default the software has been written in (usually english, the case for git). Thus passing LC_MESSAGES to Popen will ensure we receive from git a consistent output regardless of the user preference. Addresses #153
* | | | | Merge pull request #194 from maxyz/fix-issue-41_0.3Sebastian Thiel2014-11-141-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix issue #41: repo.is_dirty() on empty repository with stashed files
| * | | | | Fix issue #41: repo.is_dirty() on empty repository with stashed filesJan Vcelak2014-09-291-2/+2
| |/ / / /
* | | | | Merge pull request #195 from maxyz/github-pull-88Sebastian Thiel2014-11-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix the `git version` parser.
| * | | | | Fix the `git version` parser.Marcus R. Brown2014-10-011-1/+1
| |/ / / /
* | | | | Merge pull request #198 from folti/0.3Sebastian Thiel2014-11-122-4/+11
|\ \ \ \ \ | | | | | | | | | | | | GitRunCommand exception can store stdout output too.
| * | | | | GitRunCommand exception can store stdout output too.Tamas Pal2014-11-052-4/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some git commands, like git merge outputs their problems onto stdout, instead of stderr, which will be thrown away by the current setup. This change allows the GitPython commands to store the stdout's value too, in case of error.
* | | | | Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel2014-11-124-14/+27
|\ \ \ \ \ | |/ / / / |/| | | | 0.3 with unicode fixes
| * | | | Fix the Repo commit and tree methods to work with unicode revs.David Black2014-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Black <dblack@atlassian.com>
| * | | | Switch http://github.com/gitpython-developers/gitdb.git to ↵David Black2014-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/gitpython-developers/gitdb.git . Signed-off-by: David Black <dblack@atlassian.com>
| * | | | Fixing unicode typesCraig Northway2014-11-121-0/+4
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit ca2b901e7229fc5c793762fd4e4c1c38c5a78e80)
| * | | | Basic test for __unpack_args to verify unicode handling worksCraig Northway2014-11-121-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 8fa25b1cd5a82679c7b12d546b96c30cafed0559) Signed-off-by: David Black <dblack@atlassian.com> Conflicts: git/test/test_git.py
* | | | | Merge pull request #174 from hashar/patch-1Sebastian Thiel2014-07-251-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Update README.md to use fixed date
| * | | | | Update README.md to use fixed dateAntoine Musso2014-07-241-1/+1
|/ / / / / | | | | | | | | | | | | | | | Relative dates are not that precise, so instead of 3 years ago set it the last release date to July 2011.
* | | | | Untested fix for #172Sebastian Thiel2014-07-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/gitpython-developers/GitPython/issues/172 for more information
* | | | | Added sublime-text projectSebastian Thiel2014-07-142-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | As relative paths are used througout, it will work for everyone using sublime text out of the box.
* | | | | Merge pull request #170 from rbtcollins/0.3Sebastian Thiel2014-07-032-1/+13
|\ \ \ \ \ | | | | | | | | | | | | Support multiple refspecs in fetch.
| * | | | | Support multiple refspecs in fetch.Robert Collins2014-07-032-1/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
* | | | | Merge pull request #167 from williamgibb/0.3Sebastian Thiel2014-07-021-6/+15
|\ \ \ \ \ | | | | | | | | | | | | Improved retrieval of login names on posix systems.
| * | | | | Add patch from to 0.3 branch.William Gibb2014-06-261-6/+15
|/ / / / / | | | | | | | | | | | | | | | | | | | | https://github.com/gitpython-developers/GitPython/commit/f362d10fa24395c21b1629923ccd705ba73ae996 Related to #43
* | | | | Merge pull request #165 from marios-zindilis/0.3Sebastian Thiel2014-06-172-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Changed link to PyPI; fixed minor typos
| * | | | | Fixed two minor typos.Marios Zindilis2014-06-131-2/+2
| | | | | |
| * | | | | Changed link to PyPIMarios Zindilis2014-06-131-1/+1
|/ / / / /
* | | | | HACK: Removed assertion just to be a bit less annoyed by constant failSebastian Thiel2014-06-041-1/+4
| | | | |
* | | | | Merge branch 'wyrdvans-0.3' into 0.3Sebastian Thiel2014-05-211-1/+0
|\ \ \ \ \
| * \ \ \ \ Merge branch '0.3' of https://github.com/wyrdvans/GitPython into wyrdvans-0.3Sebastian Thiel2014-05-211-1/+0
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | | | | | | | Conflicts: setup.py