| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | | |
access still needs to be decoded though
|
| | |
| | |
| | |
| | | |
is to be improved though, writing needs to be implemented as well
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
low memory footprint.
Still, the git-cat-file command keeps all data in an interal buffer instead of streaming it directly.
This is a git design issue though, and will be hard to address without some proper git-hacking.
Conflicts:
lib/git/cmd.py
|
| | |
| | |
| | |
| | |
| | | |
repo.archive: made it work with new way of custom output streams
added test for repo.archive which was missing for some reason
|
| | |
| | |
| | |
| | | |
directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly
|
| | |
| | |
| | |
| | | |
operations more convenient, like repo.remotes.origin.fetch
|
| | |
| | |
| | |
| | | |
remotes, and conforming it to the way repo returns its references as well
|
| | | |
|
| | |
| | |
| | |
| | | |
would compare HEAD against the working tree, not the index which was intended
|
| |/
| |
| |
| | |
and be like an actual touch
|
| |
| |
| |
| | |
tests bare the risk that things do not work properly outside of the sandbox.
|
| |
| |
| |
| |
| |
| | |
and to be more efficient of course ;)
TODO: Added info about possible config improvement
|
| | |
|
| |
| |
| |
| |
| |
| | |
the respective modules that use them
fixed repo.daemon_export which did not work anymore due to incorrect touch implementation and wrong property names
|
| | |
|
| |
| |
| |
| | |
simple tests
|
| |
| |
| |
| | |
here and there ;)
|
| |
| |
| |
| |
| | |
repo: added head , tag and iter_trees methods for completeness
changes: headlines now sorted chronologically
|
| |
| |
| |
| | |
CHANGES updated to carry information about remotes and config
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* remotes:
remote: added tests for creation and removal, finishing the remote interface
remote: base tests succeed now
config: fixed serious issues that would cause it to see initial tabs as continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way
Added configuration access including tests to remote
Added remote module and test cases - about to implement remote option handling
added initial frame for remote handling- remotes are somewhat related to either parsing the command output or to reading the repo configuration which would be faster
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way
|
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| |/
| |
| |
| | |
either parsing the command output or to reading the repo configuration which would be faster
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
* config:
added additional testing for the configuration, concurrent access and config reading, all tests work
implemented config class as far as necessary, one check is still failing
Added frame for configuration reader involving a meta class, decorators and tests - most of which still has to be filled out
|
| | |
| | |
| | |
| | | |
reading, all tests work
|
| | |
| | |
| | |
| | | |
Added odict module to get an OrderedDict to be used in the config parser, assuring the order of sections and options does not change
|
| |/
| |
| |
| | |
tests - most of which still has to be filled out
|
| | |
|
| |
| |
| |
| | |
repository is bare and if there is no index or second tree specified
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* diffing:
DiffIndex implemented including test
diff: implemented raw diff parsing which appears to be able to handle possible input types, DiffIndex still requires implementation though
resolved cyclic inclusion issue by moving the Diffable interface into the diff module, which probably is the right thing to do anyway
repo: fixed untracked files function which used git-commit before, it can open vim to get a message though which makes the program appear to freeze - using git-status now
implemented diff tests, but will have to move the diff module as it needs to create objects, whose import would create a dependency cycle
Removed a few diff-related test cases that fail now as the respective method is missing - these tests have to be redone in test-diff module accordingly
added Diffable interface to objects.base, its used by Commit and Tree objects.
Fixed object bug that would cause object ids not to be resolved to sha's as this was assumed - now there is a test for it as well
|
| | | |
|
| | |
| | |
| | |
| | | |
possible input types, DiffIndex still requires implementation though
|
| | |
| | |
| | |
| | | |
diff module, which probably is the right thing to do anyway
|
| | |
| | |
| | |
| | | |
open vim to get a message though which makes the program appear to freeze - using git-status now
|
| | |
| | |
| | |
| | | |
create objects, whose import would create a dependency cycle
|
| | |
| | |
| | |
| | | |
is missing - these tests have to be redone in test-diff module accordingly
|
| | |
| | |
| | |
| | | |
Diff class has been prepared to process raw input, but its not yet more than a frame
|
| |/
| |
| |
| |
| |
| | |
this was assumed - now there is a test for it as well
repo: removed diff and commit_diff methods, added 'head' property returning the current head as Reference object
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
changes are to be done on the way diffing is handled
Merge branch 'improvements'
* improvements:
Improved archive function by allowing it to directly write to an output stream - previously it would cache everything to memory and try to provide zipping functionality itself
repo: made init and clone methods less specific, previously they wanted to do it 'barely' only. New method names closely follow the default git command names
repo.commit_delta_base: removed
Object can now create objects of the proper type in case one attempts to create an object directly - this feature is used in several places now, allowing for additional type-checking
repo: removed commits_between but added a note about how this can be achieved using the iter_commits method; reorganized methods within the type as a start for more interface changes
Added Commit.iter_parents to iterate all parents
repo: removed a few methods because of redundancy or because it will be obsolete once the interface overhaul is finished. This commit is just intermediate
All times are not stored as time_struct, but as simple int to consume less memory
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* repo_interface:
Improved archive function by allowing it to directly write to an output stream - previously it would cache everything to memory and try to provide zipping functionality itself
repo: made init and clone methods less specific, previously they wanted to do it 'barely' only. New method names closely follow the default git command names
repo.commit_delta_base: removed
Object can now create objects of the proper type in case one attempts to create an object directly - this feature is used in several places now, allowing for additional type-checking
repo: removed commits_between but added a note about how this can be achieved using the iter_commits method; reorganized methods within the type as a start for more interface changes
Added Commit.iter_parents to iterate all parents
repo: removed a few methods because of redundancy or because it will be obsolete once the interface overhaul is finished. This commit is just intermediate
|
| | |
| | |
| | |
| | |
| | |
| | | |
stream - previously it would cache everything to memory and try to provide zipping functionality itself
gitcmd: allows the output stream to be set explicitly which is mainly useful for archiving operations
|
| | |
| | |
| | |
| | | |
do it 'barely' only. New method names closely follow the default git command names
|
| | | |
|
| | |
| | |
| | |
| | | |
create an object directly - this feature is used in several places now, allowing for additional type-checking
|