| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/
| |
| |
| | |
remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* index:
index.add: Finished implemenation including through tests
When parsing trees, we now store the originan type bits as well, previously we dropped it
cmd.wait: AutoKill wrapped process will automatically raise on errors to unify error handling amongst clients using the process directly. It might be needed to add a flag allowing to easily override that
added head kwarg to reset and commit method, allowing to automatically change the head to the given commit, which makes the methods more versatile
refs.SymoblicRef: implemented direcft setting of the symbolic references commit, which possibly dereferences to the respective head
index.commit: implemented initial version, but in fact some more changes are required to have a nice API. Tests are not yet fully done either
actor: added __eq__, __ne__ and __hash__ methods including simple test
index.remove implemented including throrough test
Implemented index.reset method including test
IndexEntry is now based on a 'minimal' version that is suitable to be fed into UpdateIndex. The Inode and device information is only needed to quickly compare the index against the working tree for changes, hence it should not be that dominant in the API either. More changes to come
Added notes about git-update-ref
Refs can now set the reference they are pointing to in a controlled fashion by writing their ref file directly
Added TagRefernce creation and deletion including tests
Implemented head methods: create, delete, rename, including tests
refs: added create, delete and rename methods where appropriate. Tests are marked, implementation is needed for most of them
Added frame for IndexFile add/remove/commit methods and respective test markers
Added repo.index property including simple test, and additional ideas in the TODO list
Renamed Index to IndexFile, adjusted tests, it will only operate on physical files, not on streams, as Indices are not streamed by any git command ( at least not in raw format )
|
| | |
| | |
| | |
| | | |
index.checkout: added simple method allowing to checkout files from the index, including simple test
|
| | |
| | |
| | |
| | | |
we dropped it
|
| | |
| | |
| | |
| | | |
unify error handling amongst clients using the process directly. It might be needed to add a flag allowing to easily override that
|
| | |
| | |
| | |
| | | |
change the head to the given commit, which makes the methods more versatile
|
| | |
| | |
| | |
| | | |
commit, which possibly dereferences to the respective head
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* refs:
Added notes about git-update-ref
Refs can now set the reference they are pointing to in a controlled fashion by writing their ref file directly
Added TagRefernce creation and deletion including tests
Implemented head methods: create, delete, rename, including tests
refs: added create, delete and rename methods where appropriate. Tests are marked, implementation is needed for most of them
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
by writing their ref file directly
|
| | | |
| | | |
| | | |
| | | | |
Added RemoteReference deletion and test
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
marked, implementation is needed for most of them
|
| | | |
| | | |
| | | |
| | | | |
required to have a nice API. Tests are not yet fully done either
|
| | | |
| | | |
| | | |
| | | | |
commit: Fixed long-standing issue during message parsing that would fail to parse properly in case we were created from data. Also it would strip white space from the messages although it shouldn't
|
| | | | |
|
| | | | |
|
| | |/
| | |
| | |
| | | |
into UpdateIndex. The Inode and device information is only needed to quickly compare the index against the working tree for changes, hence it should not be that dominant in the API either. More changes to come
|
| | | |
|
| | |
| | |
| | |
| | | |
TODO list
|
| | |
| | |
| | |
| | | |
files, not on streams, as Indices are not streamed by any git command ( at least not in raw format )
|
| |/ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
* symbolic_ref:
SymbolicReferences can now change they references safely as I think and well controlled, including test.
Adjusted tests to deal with API changes
Added SymbolicReference and HEAD type to better represent these special types of references and allow special handling
|
| | |
| | |
| | |
| | |
| | |
| | | |
controlled, including test.
Added commit method which will return the commit for detached symbolic refs or for normal symbolic refs which is quite convenient
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
types of references and allow special handling
Head.reset now is an instance method of HEAD type
Concatenated all reference specific tests into test_refs
started to fix tests breaking now because of changed interface
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* index:
Index: Is now diffable and appears to properly implement diffing against other items as well as the working tree
default index writing now writes the index of the current repository in a fashion comparable to the native implementation
Added test for ConcurrentWriteOperation
utils: Added LockFile including test
Index now behaves more like the default index if no explicit stream is given. It will lazily read its data on first access
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
other items as well as the working tree
Diff.Diffable: added callback allowing superclasses to preprocess diff arguments
Diff.Diff: added eq, ne and hash methods, string methods would be nice
|
| | |
| | |
| | |
| | | |
fashion comparable to the native implementation
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
GitConfigFile is now derived from LockFile using its capabilities
Implemented ConcurrentWriteOperation, test is yet to be done
|
| |/
| |
| |
| | |
given. It will lazily read its data on first access
|
| |
| |
| |
| | |
nature of the command. Yet I don't really like the way you have to call it as repo has to be ṕassed as first arg
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* testsystem:
Adjusted all remaining test suites to use the new TestBase class where appropriate
Fixed decorator issue that would cause a function to be passed even though there is a default argument. This feels inconsistent as the 'argument passer' wrapper function can be called with a function or a string as first argument depending on whether the client code was explicitly passing an argument or not. That ... sucks. Now test for that case specifically and fail with a proper assertion error. I don't like it, but what can I do ... .
Implemented decorators, tests pass at least
Added frame for new Repo handling and some neat decorators, including tests that test whether the testing framework does what it should
|
| | |
| | |
| | |
| | | |
appropriate
|
| | |
| | |
| | |
| | |
| | |
| | | |
there is a default argument. This feels inconsistent as the 'argument passer' wrapper function can be called with a function or a string as first argument depending on whether the client code was explicitly passing an argument or not. That ... sucks. Now test for that case specifically and fail with a proper assertion error. I don't like it, but what can I do ... .
Remote tests adjusted to use rw repositories instead. More tests to follow, and many api methods are to be implemented now these things can be tested properly.
|
| | | |
|
| |/
| |
| |
| | |
that test whether the testing framework does what it should
|
| | |
|
| |
| |
| |
| | |
wrong thing by _not_ stripping the final newline at the end of all git commands we use. This is the default now which cannot be changed - perhaps its wrong to remove it, but in way you'd always want the final newline stripped unless you get data directly, but there are better ways to do that ( blob.data, blob.data_stream, blob.stream_data )
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* index:
Removed index test marker for custom commits as this boils down to a good way to add files to the index/remove them and make commits which are possibly customized with custom parents
index writing now creates a sha on the content making it possible to write valid indices after manually removing or altering entriesgst
Implemented merge/resolve handling , but realized that index writing is not yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;)
index: Added write_tree method including test
index.iter_blobs method added including tests ( which have been improved generally for more coverage )
tree.traverse: Added prune functionality - previously the predciate did both, pruning and preventing to return items
Improved testing of index against trees, tests succeed with next commit
Initial version of merge including tests for one-way, two-way and tree-way merge
index writing added including simple test, improved docs of IndexEntry
improved IndexEntry type and added test for parsing of the stage
Improved tuple access of EntryIndex class including test, stage and type access still needs to be decoded though
Added initial version of the index reading from file - IndexEntry interface is to be improved though, writing needs to be implemented as well
Added frame for index implementation and testing
|
| | |
| | |
| | |
| | | |
way to add files to the index/remove them and make commits which are possibly customized with custom parents
|
| | |
| | |
| | |
| | | |
valid indices after manually removing or altering entriesgst
|
| | |
| | |
| | |
| | | |
yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;)
|
| | | |
|
| | |
| | |
| | |
| | | |
generally for more coverage )
|
| | |
| | |
| | |
| | | |
both, pruning and preventing to return items
|
| | | |
|
| | | |
|
| | | |
|