summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge remote-tracking branch 'origin/master' into exp_git_dirKostis Anagnostopoulos2016-10-2225-82/+80
| |\ | |/ |/|
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵Sebastian Thiel2016-10-2244-685/+960
|\ \ | | | | | | | | | ankostis-cygwin
* \ \ Merge pull request #539 from bryant1410/typosKostis Anagnostopoulos2016-10-2125-80/+79
|\ \ \ | | | | | | | | Fix some typos
| * | | Fix some typosSantiago Castro2016-10-2025-80/+79
|/ / /
| | * Merge with latest branch 'exp_git_dir'Kostis Anagnostopoulos2016-10-195-46/+74
| | |\ | |/ / | | | | | | | | | | | | | | | Conflicts: git/repo/base.py git/repo/fun.py git/test/test_submodule.py
| | * repo: minor code and doc correcions.Kostis Anagnostopoulos2016-10-193-18/+19
| | | | | | | | | | | | | | | | | | | | | + Expansion of paths also `osp.normalize()` them. + Make Repo-fields --> class-fields to avoid initializations on construct. + Explain and rename `git.repo.fun.find_git_dir()` is for submodules (`find_submodule_git_dir()`).
| | * FIX #535: expand also GIT_DIR var on Repo-constructKostis Anagnostopoulos2016-10-191-3/+7
| |/ |/| | | | | + Ignore "empty" GIT_DIR vars. + Improve documentation on the constructor `path` parameter.
* | Merge pull request #536 from bpoldrack/nf-persistent-git-optionsKostis Anagnostopoulos2016-10-192-2/+34
|\ \ | | | | | | Allow for setting git generic options, persisted across subcommand calls.
| * | Fix flake8 errorBenjamin Poldrack2016-10-191-1/+1
| | |
| * | Add a test for persistent git optionsBenjamin Poldrack2016-10-182-1/+15
| | |
| * | Allow for setting git options, that are persistent across subcommand callsBenjamin Poldrack2016-10-181-2/+20
|/ /
| * tc-helper: fix minor contexlib abuseKostis Anagnostopoulos2016-10-171-4/+3
| |
| * helper: minor fix prefix of temp-dirsKostis Anagnostopoulos2016-10-171-2/+2
| |
| * cygwin, appveyor, #533: Enable actual failures, hide certain 2+2 casesKostis Anagnostopoulos2016-10-165-9/+42
| |
| * Merge with #532, fix unicode filenames with escapesurogatesKostis Anagnostopoulos2016-10-167-17/+208
| |\ | |/ |/|
* | fix(surrogateescape): enable on py2, fix testsSebastian Thiel2016-10-163-4/+13
| |
* | fix(unicode): use surrogateescape in bytes.decodeSebastian Thiel2016-10-163-7/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That way, we will try to decode as default encoding (usually utf-8), but allow ourselves to simply keep bytes that don't match within the resulting unicode string. That way, we allow for lossless decode/encode cycles while still assuring that decoding never fails. NOTE: I was too lazy to create a test that would verify it, but manually executed https://github.com/petertodd/gitpython-unicode-error. fixes #532
* | chore(version): 2.0.10dev02.0.9Sebastian Thiel2016-10-161-1/+1
| | | | | | | | [skip ci]
* | chore(release): v2.0.9Sebastian Thiel2016-10-163-3/+3
| | | | | | | | | | | | Also depend on gitdb2 to regain control and allow improvements. [skip ci]
* | chore(version): dev1Sebastian Thiel2016-10-161-1/+1
| | | | | | | | | | | | | | Just to allow uploading a more recent one, that ideally works now. [skip ci]
| * cygwin, #533: FIX submodules detection (~10TCs fixed)Kostis Anagnostopoulos2016-10-163-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | + Decygpath sm's `.git` file contents. + Polish another path in `git add`; actually no main-code changes, just a replace \-->/ on a relative(!) path to make cygwin-git to work. - REGRESSION `test_git_submodules_and_add_sm_with_new_commit` asks for user/email settings. - Cygwin TCs failing: - PY2: err: 2, fail: 1 - PY3: err: 2, fail: 1
| * ci, deps: no PY26, ddt>=1.1.1, CIs `pip install test-requirements`Kostis Anagnostopoulos2016-10-168-18/+9
| | | | | | | | + Use environment-markers in requirement files (see http://stackoverflow.com/a/33451105/548792).
| * src: reduce needless deps to `gitdb.util`Kostis Anagnostopoulos2016-10-1621-151/+124
| |
| * src: import os.path as ospKostis Anagnostopoulos2016-10-1624-332/+361
| |
| * cygwin, #533: polish abs-paths in `git add` commandsKostis Anagnostopoulos2016-10-163-2/+4
| | | | | | | | | | | | | | | | | | | | | | + Modify TCs - no main-code changes. + FIXed: + `TestSubmodule.test_git_submodules_and_add_sm_with_new_commit()` + TestDiff.test_diff_with_staged_file() - Cygwin TCs failing: - PY2: err: 12, fail: 2 - PY3: err: 11, fail: 2
| * cygwin, #533: Allow '/cygdrive/c/' paths on repo initKostis Anagnostopoulos2016-10-144-29/+75
| | | | | | | | | | | | - Cygwin TCs failing: - PY2: err: 13, fail: 2 - PY3: err: 12, fail: 2
| * cygwin, #533: Polish also --git-separate-dirKostis Anagnostopoulos2016-10-141-5/+8
| | | | | | | | | | | | - Cygwin TCs failing: - PY2: err: 13, fail: 3 - PY3: err: 12, fail: 3
| * cygwin, #533: FIX daemon launchingKostis Anagnostopoulos2016-10-142-112/+122
| | | | | | | | | | | | | | | | + Rework git-daemon launching with `with` resource-management. + cmd: add `is_cygwin` optional override kwd on `Git.polish_url()`. - Cygwin TCs failing: - PY2: err: 13, fail: 3 - PY3: err: 12, fail: 3
| * cygwin, #533: Try to make it work with Cygwin's Git.Kostis Anagnostopoulos2016-10-145-67/+250
| | | | | | | | | | | | | | | | | | + Make `Git.polish_url()` convert paths into Cygwin-friendly paths. + Add utility and soe TCs for funcs for detecting cygwin and converting abs-paths to `/cygdrive/c/...`. - Cygwin TCs failing: - PY2: err: 14, fail: 3 - PY3: err: 13, fail: 3
| * appveyor, #533: enable CYGWIN TCs without failingKostis Anagnostopoulos2016-10-141-16/+23
|/ | | | | | - Cygwin TCs failing (start, no Cygwin specific code): - PY2: err: 44, fail: 0 - PY3: err: 13, fail: 0
* Merge pull request #530 fixing some #525 Windows errorsKostis Anagnostopoulos2016-10-1412-361/+328
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + git-daemon: + Use git-daemon PORT above 10k; on Windows all below need Admin rights. + Used relative daemon-paths with `--base-pth`. + Simplify git-daemon start/stop/ex-hanlding. +FIXED git-daemon @with_rw_and_rw_remote_repo(): + "Polish" most remote & config urls, converting \-->/. + test_base.test_with_rw_remote_and_rw_repo() PASS. + Remote: + test_remote: apply polish-urls on `_do_test_fetch()` checking function. + test_remote.test_base() now freezes on Windows! (so still hidden win_err). pump fetch-infos instead of GIL-reading stderr. + Push-cmd also keep (and optionally raise) any error messages. + `cmd.handle_process_output()` accepts null-finalizer, to pump completely stderr before raising any errors. + test: Enable `TestGit.test_environment()` on Windows (to checks stderr consumption). + util: delete unused `absolute_project_path()`. + Control separately *freezing* TCs on Windows with `git.util.HIDE_WINDOWS_FREEZE_ERRORS` flag.
| * cmd, #525: Always include stdout+stderr in exceptionsKostis Anagnostopoulos2016-10-141-4/+1
| | | | | | | | | | + Ignore `with_extended_output` arg when reaising the exception, keep its behavior when `status==0`.
| * remote, #525: FIX BUG push-cmd misses error messagesKostis Anagnostopoulos2016-10-145-83/+91
| | | | | | | | | | | | + Bug discovered after enabling TC in prev commit and rework of fetch. + remote_tc: unitestize assertions. + util: DEL unused `_mktemp()`.
| * remote, #525: pump fetch-infos instead of GIL-read stderrKostis Anagnostopoulos2016-10-134-40/+38
| | | | | | | | | | | | + `handle_process_output()` accepts null-finalizer, to pump completely stderr before raising any errors. + test: Enable `TestGit.test_environment()` on Windows (to checks stderr consumption).
| * test, #525: allow disabling freeze errors separatelyKostis Anagnostopoulos2016-10-134-54/+64
| | | | | | | | | | + cmd: use DEVNULL for non PIPEs; no open-file. + TCs: some unitestize-assertions on base & remote TCs.
| * config, #525: polish more config-urlsKostis Anagnostopoulos2016-10-123-39/+46
| |
| * daemon, #525: simplify exception handlingKostis Anagnostopoulos2016-10-121-33/+5
| |
| * daemon, #525: FIX remote urls in config-filesKostis Anagnostopoulos2016-10-129-69/+81
| | | | | | | | | | | | | | | | | | | | | | | | + Parse most remote & config-urls \-->/. + Used relative daemon-paths. + Use git-daemon PORT above 10k; on Windows all below need Admin rights. +FIXED git-daemon @with_rw_and_rw_remote_repo(): + test_base.test_with_rw_remote_and_rw_repo() PASS. + test_remote.test_base() now freezes! (so still hidden win_err) + repo_test: minor finally delete test-repos created inside this repo. + util: delete unused `absolute_project_path()`.
| * repo, cmd: DROP UNEEDED Win path for chcwd & check for '~' homedirKostis Anagnostopoulos2016-10-122-52/+15
|/ | | | + Do not abspath twice when contructing cloned repo. + Add `git.repo.base` logger.
* pumps: FIX don't pump when proc has no streamsKostis Anagnostopoulos2016-10-121-4/+9
|
* build: run codecov on AppveyorKostis Anagnostopoulos2016-10-121-4/+4
| | | [travisci skip]
* Add Guyzmo into AUTHORSGuyzmo2016-10-121-0/+1
|
* remote, #528: Fix regression shadowing exceptionsGuyzmo2016-10-121-0/+2
|
* remote, #528: fix prev cmt, Git<2.7 miss `get-url`Kostis Anagnostopoulos2016-10-111-5/+17
|
* remote, #528: Improved way of listing URLsGuyzmo2016-10-111-3/+2
| | | | | | | | | | + Instead of using `git remote show` that may triggers connection to remote repo, use `git remote get-url --all` that works by only reading the `.git/config`. + Change should have no functional impact, so no test needed. + Works only with git -2.7+. Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
* hidden win_errors: mark also git-daemon errors failingKostis Anagnostopoulos2016-10-112-0/+17
|
* ci: print python/git versions before starting buildKostis Anagnostopoulos2016-10-112-0/+2
|
* remote: unfix fetch-infos paring of 8a2f7dce4(pydev fixes)Kostis Anagnostopoulos2016-10-112-3/+6
| | | + Mark another TC failing when not in master.
* fix(travis): increase ulimitSebastian Thiel2016-10-111-1/+1
| | | | | | | | | Now that performance tests are run, it appears we run into one particular failure on travis, possibly indicating a bug in python 3.3. Just bluntly increason the amount of handles might silence it... . Related to #524
* imp(performance): execute performance tests on travisSebastian Thiel2016-10-111-3/+0
| | | | Fixes #524