summaryrefslogtreecommitdiff
path: root/git/remote.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Added 'insert_kwargs_after' flag for consumption by _call_process.Sebastian Thiel2015-02-211-2/+6
| | | | | | While at it, all other invocations of .git in remote.py were reviewed Fixes #262
* Remote.update() didn't pass kwargs along to git command.Sebastian Thiel2015-01-301-1/+1
| | | | Fixes #250
* Merge branch 'master' into teeberg-masterSebastian Thiel2015-01-221-5/+13
|\ | | | | | | | | | | Need latest master to proceed with test Conflicts: doc/source/tutorial.rst
| * Fetch now deals with custom refspecs much better.Sebastian Thiel2015-01-221-4/+12
| | | | | | | | | | | | | | | | | | Even though the test-csae only verifies this spec: +refs/pull/*:refs/heads/pull/* I could locally verify that it indeed handles other ones just as well: +refs/pull/*:refs/pull/* Fixes #243
| * Overhauled all tutorials, and placed them in a unit-test.Sebastian Thiel2015-01-221-1/+1
| | | | | | | | | | | | That way they are protected from regression. Fixes #239
* | Fix some typosJonas Trappenberg2015-01-211-1/+1
|/
* Added advance usage examples to tutorial and made minor fixes.Sebastian Thiel2015-01-211-11/+18
| | | | | | GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239
* removed debug codeissue-232-reproductionSebastian Thiel2015-01-211-9/+1
|
* Remote.fetch|pull() will not use poll/threads anymore as only stderr is read.Sebastian Thiel2015-01-201-4/+9
| | | | | | | This simplification should improve performance and remove issues like those in #232. NOTE: Debug code is still contained here
* Added debug code to keep lines fed into progress handler and the contents of ↵Sebastian Thiel2015-01-161-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | FETCH_HEAD. This data will be written into the git-repository itself, prefixed with the number of the operation. Thus, a test-run with exactly one fetch operation would look like this afterwards: ls -l .git total 96 -----> -rw-r--r-- 1 byron staff 141B Jan 16 11:54 000_debug_git-python_FETCH_HEAD <----- -----> -rw-r--r-- 1 byron staff 180B Jan 16 11:54 000_debug_git-python_stderr <----- -rw-r--r-- 1 byron staff 487B Jan 16 11:54 FETCH_HEAD -rw-r--r-- 1 byron staff 22B Jan 16 11:54 HEAD -rw-r--r-- 1 byron staff 41B Jan 16 11:54 ORIG_HEAD drwxr-xr-x 2 byron staff 68B Jan 16 11:54 branches/ -rw-r--r-- 1 byron staff 560B Jan 16 11:54 config -rw-r--r-- 1 byron staff 73B Jan 16 11:54 description drwxr-xr-x 11 byron staff 374B Jan 16 11:54 hooks/ -rw-r--r-- 1 byron staff 13K Jan 16 11:54 index drwxr-xr-x 3 byron staff 102B Jan 16 11:54 info/ drwxr-xr-x 4 byron staff 136B Jan 16 11:54 logs/ drwxr-xr-x 12 byron staff 408B Jan 16 11:54 objects/ -rw-r--r-- 1 byron staff 1.2K Jan 16 11:54 packed-refs drwxr-xr-x 5 byron staff 170B Jan 16 11:54 refs/ [ci skip]
* Fixed some doc strings to build correctly with sphinxSebastian Thiel2015-01-141-7/+5
| | | | | | Fixes #7 [ci skip]
* Fixed PY3 support.Sebastian Thiel2015-01-081-2/+4
| | | | | | | | Apparently, thanks to an incorrect version check, PY3 ended up using a git command object database by default. This is now fixed. Additionally, the update_cache code was adjusted to check for method-existence, as it's valid to use object databases which simply don't have a caching mechanism (like the git command object database)
* Auto-update odb caches after fetch or pull.Sebastian Thiel2015-01-081-2/+6
| | | | Fixes #34
* Added assertion to better detect diff issues.Sebastian Thiel2015-01-081-1/+1
| | | | | | | Helps fixing #35 Also, the production status was changed to 'stable', which should have been done much earlier.
* Added Remote.exists() method, and test. Fixes #229Sebastian Thiel2015-01-081-0/+13
|
* Improve error handling of fetch/pull line parsingSebastian Thiel2015-01-081-1/+1
| | | | Fixes #48
* Fix flake8Sebastian Thiel2015-01-071-2/+4
|
* Implemented non-blocking operations using poll()Sebastian Thiel2015-01-071-42/+24
| | | | Next up is using threads
* test_remote worksSebastian Thiel2015-01-061-4/+6
| | | | | | | And I have to wonder why git-daemon serves under py2.7, but really wants receive-pack to be allowed under 3.4. Maybe it's a repository override which for some reason doesn't work in py3.4 ? Maybe because the change is not flushed ?
* Intermediate commit: test_config and test_actor worksSebastian Thiel2015-01-051-5/+6
| | | | | Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on
* initial set of adjustments to make (most) imports work.Sebastian Thiel2015-01-041-14/+15
| | | | More to come, especially when it's about strings
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-2/+2
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2015-01-041-12/+12
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Reduced hackyness of remote reference parsing.Sebastian Thiel2015-01-031-30/+22
| | | | | | This could however, introduce a chance of an assertion hitting once again as it has been commented out for quite a long time. Now it's back in a changed form though, and once again tries to make sure we get proper results
* Various fixes and improvementsSebastian Thiel2015-01-031-30/+52
| | | | | | | | | * GIT_PYTHON_TRACE now behaves correctly for fetch, and pull (i.e. if as_process is used) * Improved parsing of fetch head information However, there is still a messy bit that tries to bring together fetch progress information with fetch head information. Even though it works now, an alternative implementation should be attempted.
* [IMP] branch names may contain '#' charactersThomas Rehn2015-01-021-1/+1
|
* Applied autopep8Sebastian Thiel2014-11-191-25/+25
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-53/+53
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-19/+19
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-3/+5
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-161-89/+89
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel2014-11-151-13/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
| * [#5330] Ensure wait() is called on git processesCory Johns2013-10-091-13/+4
| |
* | Support multiple refspecs in fetch.Robert Collins2014-07-031-1/+9
| | | | | | | | | | | | Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
* | HACK: Removed assertion just to be a bit less annoyed by constant failSebastian Thiel2014-06-041-1/+4
| |
* | Fix for #142. Simply ignores lines that begin with ' ='Derek D. Fedel2014-05-161-3/+4
| |
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-614/+614
| | | | | | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* | Fixed typo which for some reason came in unnoticedSebastian Thiel2012-07-241-1/+1
| |
* | Ignore progress lines from the git http backend that start w/ POST ...Greg Soltis2012-01-101-1/+1
|/
* Fetch info can now deal much better with non-default ref specs, fixes #24, #25Sebastian Thiel2011-07-041-1/+25
|
* Fixes #23Sebastian Thiel2011-07-041-1/+3
|
* Made remote line parsing more stable. On windows it can be that we encounter ↵Sebastian Thiel2011-06-131-2/+2
| | | | partial or intermixed lines from the pipe. This really shouldn't be, but its windows so it happens
* Added conditional usage of the --progress flag to all relevant methods, that ↵Sebastian Thiel2011-06-071-9/+60
| | | | is push, fetch, pull and clone. This allows progress information to be sent in newer git versions without breaking older ones (ideally)
* Add progress tracking for git-clone.jez2011-06-071-41/+9
|
* Submodule tests are functional once again.Sebastian Thiel2010-12-011-2/+10
| | | | remote: Fixed bug that was caused by the unchecked deletion of an uncached attribute which did not necessarily exist
* remote: fixed incorrect call signature when instantiating GitCommandErrorSebastian Thiel2010-11-301-1/+1
|
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+603
adjusted