aboutsummaryrefslogtreecommitdiff
path: root/lib/git/remote.py
AgeCommit message (Collapse)Author
2010-11-15submodule: Fleshed out interface, and a partial test which is not yet ↵Sebastian Thiel
usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository
2010-10-15Fixed bug in ↵Sebastian Thiel
http://byronimo.lighthouseapp.com/projects/51787/tickets/44-remoteref-fails-when-there-is-character-in-the-name using supplied patch ( which was manually applied ). Fixed slightly broken test for remote handling
2010-07-19index: Fixed bug which caused incorrect separators in output files of the ↵Sebastian Thiel
return value remote: fixed evil bug that was caused by some inconsistency of python when __getattr__ and __slots__ are invovled - namely it calles getattr before checking for a slot of the same name, in an alternating fashion
2010-07-15Addiitonal win32 fixes related to, guess it, backslashes in pathsSebastian Thiel
2010-07-11Moved test-centric windows specific fix into the class itself to assure this ↵Sebastian Thiel
kind of issue doesn't popup for anyone
2010-07-07Adjusted previous object creators to use the rev_parse method directly. ↵Sebastian Thiel
rev_parse could be adjusted not to return Objects anymore, providing better performance for those who just want a sha only. On the other hand, the method is high-level and should be convenient to use as well, its a starting point for more usually, hence its unlikely to call it in tight loops
2010-06-29Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel
the submodules's naming conventions
2010-06-29Updated and fixed sphinx API docs, which included one quick skim-throughSebastian Thiel
2010-06-29Diff: fixed bug that caused a string to end up as a blob modeSebastian Thiel
2010-06-28All tests adjusted to work with the changed internal sha representationSebastian Thiel
2010-06-25Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel
use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
2010-03-04Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel
2010-01-12Implemented RemoteProgress parsing for git-fetch, which might become ↵Sebastian Thiel
available at some point natively, within the git suite Progress parsing now deals properly with Ascii_Escape characters that are meant for the tty - git might stop sending this at some point, but we can deal with it no matter what
2010-01-12remote.py: improved push-progress parsin to better deal with messages ( i.e. ↵Sebastian Thiel
throughput )
2009-12-16Added imports for standard locking file classes into the git moduleSebastian Thiel
2009-12-09config: fixed incorrect handling of default value in get_valueSebastian Thiel
remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
2009-12-03repo: renamed directories to more descriptive identifiers and made them ↵Sebastian Thiel
safer to use in case of bare repositories
2009-11-24PushInfo: added summary field to help providing user readable informationSebastian Thiel
Index.checkout: fixed bug in exception creator function
2009-11-23remote.fetch: fetchInfo would not provide old_commit information in case of ↵Sebastian Thiel
fast_forwards although. Renamed cumbersome 'commit_before_forced_updated' attribute to 'old_commit' to be en par with PushInfo
2009-11-04improved error when setting up server based test to make clear a server ↵Sebastian Thiel
needs to be started
2009-11-04added all new files to reference.rst and corrected the worst mistakes. There ↵Sebastian Thiel
are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway.
2009-11-03refs: iter_items now imlemented natively for additional performance. We did ↵Sebastian Thiel
not implement the crazy sorting feature found in git-for-each-ref though
2009-11-03remotes are now retrieved directly by parsing the repository configuration ↵Sebastian Thiel
file. This removes a git command invocation
2009-11-03remote.push: Fixed progress parsing, previously it would read whole lines ↵Sebastian Thiel
only which is equivalent to waiting for an operation to finish completely. Now we parse the stream manually, allowing to retrieve progress information as soon as it happens
2009-11-03Finished all push tests I could think of so far. More error cases should be ↵Sebastian Thiel
studied, but they would be hard to 'produce'
2009-11-03Intermediate commit with a few added and improved tests as well as many fixesSebastian Thiel
2009-11-02Implemented PushProgress and PushInfo class including basic test cases. Now ↵Sebastian Thiel
many more test-cases need to be added to be sure we can truly deal with everything git throws at us
2009-10-28Added frame for push testing and push implemenationSebastian Thiel
2009-10-28Fixed bug when listing remotes - it was based on references which is ↵Sebastian Thiel
incorrect as it cannot always work
2009-10-28FetchInfo class is not a subclass of Remote class anymore, as more classes ↵Sebastian Thiel
are to be added it cluttered up the view and made things more complex as well
2009-10-28IterableList: added support for prefix allowing remote.refs.master ↵Sebastian Thiel
constructs, previously it was remote.refs['%s/master'%remote] Added first simple test for push support, which shows that much more work is needed on that side to allow just-in-time progress information
2009-10-28tag handling tests finished, unfortunately there is not yet a rejected case, ↵Sebastian Thiel
but it will assuambly follow with the push tests
2009-10-27Implemented handling of FETCH_HEAD and tags, some test cases still missing ↵Sebastian Thiel
dealing with deletion and movements of remote tags ( which in fact is discouraged, but we should be able to deal with it, shouldnt we ;)
2009-10-27Added special cases to test that shows we cannot yet:Sebastian Thiel
handle the FETCH_HEAD case and handle tags System needs to be adjusted to take the FETCH_HEAD info into account to cover the tags case
2009-10-27Added remote stale_refs property including test, tested new remote branch ↵Sebastian Thiel
handling and deletion of stale remote branches
2009-10-27Added non-fast forward test case, fixed parsing issue caused by initial line ↵Sebastian Thiel
stripping
2009-10-27implemented test for rejection handling and fixed a bug when parsing remote ↵Sebastian Thiel
reference paths
2009-10-27Added testing frame for proper fetch testing to be very sure this works as ↵Sebastian Thiel
expected. Plenty of cases still to be tested
2009-10-27put _make_file helper method into TestBase classSebastian Thiel
remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
2009-10-21remote: Added fetch, pull, push methods to the interface to make these ↵Sebastian Thiel
operations more convenient, like repo.remotes.origin.fetch
2009-10-21remote.refs now returns an IterableList allowing easier access to the ↵Sebastian Thiel
remotes, and conforming it to the way repo returns its references as well
2009-10-20Fixed bare repository handling - bare is now a property to prevent writing itSebastian Thiel
2009-10-19Implemneted IterableLists for refs, commits and remote objects including ↵Sebastian Thiel
simple tests
2009-10-19commit.count: is an instance method nowSebastian Thiel
repo: added head , tag and iter_trees methods for completeness changes: headlines now sorted chronologically
2009-10-19remote: added tests for creation and removal, finishing the remote interfaceSebastian Thiel
2009-10-19Added configuration access including tests to remoteSebastian Thiel
config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first
2009-10-19Added remote module and test cases - about to implement remote option handlingSebastian Thiel