| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-09-28 | git/repo/base.py: is_dirty(): Fix pathspec handling | Arnaud Patard | |
| It's possible to specify a pathspec (eg :!foo) to git diff/status/... but it currently fails with: git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) cmdline: /usr/bin/git diff --abbrev=40 --full-index --raw :!foo stderr: 'fatal: ambiguous argument ':!foo': unknown revision or path not in the working tree. Add missing '--' to the arguments to fix this ambiguity Signed-off-by: Arnaud Patard <apatard@hupstream.com> | |||
| 2020-09-09 | Fix typo | Eric Dill | |
| 2020-09-03 | Ensure that detached HEAD does not raise when comparing branch name. | Jeremy Retailleau | |
| 2020-09-02 | Add missing rules to match hierarchy path | Jeremy Retailleau | |
| 2020-09-02 | Add unit tests | Jeremy Retailleau | |
| 2020-08-31 | accept datetime instances as dates | Alba Mendez | |
| There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back. This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above. | |||
| 2020-07-12 | test: add installation test | Konrad Weihmann | |
| which installs the current codebase in a venv and runs 'import git' to test if codebase can be installed properly. This adds virtualenv to the test requirements Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> | |||
| 2020-07-12 | tests: move to root dir | Konrad Weihmann | |
| This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> | |||
| 2020-07-12 | Revert moving tests out of 'git' folder, related to #1030 | Sebastian Thiel | |
| 2020-07-12 | tests: move to root dir | Konrad Weihmann | |
| This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> | |||
| 2010-11-25 | Moved everything into the git subdirectory - some tests still need to be ↵ | Sebastian Thiel | |
| adjusted | |||
| 2010-11-25 | Implemented dry_run mode including tests for RootModule.update and Submodule | Sebastian Thiel | |
| 2010-11-24 | submodule.update: previous_commit is now set according to the stored reflog ↵ | Sebastian Thiel | |
| value, and is not using ORIG_HEAD anymore | |||
| 2010-11-24 | Adjusted remaining usages of set_reference and set_commit to set a logmessage | Sebastian Thiel | |
| 2010-11-24 | Fixed doc strings, improved error checking on RefLog.write method | Sebastian Thiel | |
| 2010-11-24 | RefLog: added entry_at method, which is a faster way of reading single ↵ | Sebastian Thiel | |
| entries, including test | |||
| 2010-11-24 | Renamed msg named parameter to logmsg, as it describes the purpose of the ↵ | Sebastian Thiel | |
| message much better Added test for deletion of reflog file when the corresponding ref is deleted | |||
| 2010-11-24 | Added tests for creation and adjustments of reference, verifying the log ↵ | Sebastian Thiel | |
| gets written | |||
| 2010-11-24 | Fixed remaining issues, all tests work as expected | Sebastian Thiel | |
| 2010-11-24 | Unified object and commit handling which should make the reflog handling ↵ | Sebastian Thiel | |
| much easier. There is some bug in it though, it still needs fixing | |||
| 2010-11-24 | Made previously protected methods public to introduce a method with reflog ↵ | Sebastian Thiel | |
| support which cannot be exposed using the respective property. Ref-Creation is now fully implemented in python. For details, see doc/source/changes.rst | |||
| 2010-11-24 | Improved refparse error handling in case of out-of-bound indices | Sebastian Thiel | |
| 2010-11-23 | Implemented revlog.append_entry as classmethod, to assure we will always ↵ | Sebastian Thiel | |
| actually write_append the new entry, instead of rewriting the whole file. Added file-locking and directory handling, so the implementation should be similar (enough) to the git reference implementation. Next up is to implement a way to update the reflog when changing references, which is going to be a little more complicated | |||
| 2010-11-23 | Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only ↵ | Sebastian Thiel | |
| set during merge and rebase, and probably everything that changes the ref more drastically. Probably I have to reread that. What needs to be adjusted though is the reflog | |||
| 2010-11-23 | Actor: Moved it from git.objects.util to git.util, adjusted all imports ↵ | Sebastian Thiel | |
| accordingly. Added methods to Actor to retrieve the global committer and author information Reflog: implemented and tested append_entry method | |||
| 2010-11-23 | repo.rev_parse: Added support for simple log parsing - dates are not yet ↵ | Sebastian Thiel | |
| supported, mainly because I don't need it | |||
| 2010-11-23 | SymbolicReference: log method added, including test | Sebastian Thiel | |
| 2010-11-23 | Implemented reflog reading and writing | Sebastian Thiel | |
| 2010-11-23 | Initial interface including some of the implementation of the RefLog. ↵ | Sebastian Thiel | |
| TestCase scetched out for now tests: Added tests to verify that objects don't have a dict. Previously, due to a missing __slots__ member in Serializable, most objects would indeed have a dict, although the opposite was intended | |||
| 2010-11-21 | Updated MANIFEST and setup to include fixtures. Adjusted includes in all ↵ | Sebastian Thiel | |
| tests to work with the new directory structure | |||
| 2010-11-21 | flattened test folder structure, didn't adjust any file content yet | Sebastian Thiel | |
| 2010-11-20 | fixed performance tests ... again, previously I was just working on an ↵ | Sebastian Thiel | |
| incorrect repository | |||
| 2010-11-20 | testing:added special case for osx to solve a special issue with the temp ↵ | Sebastian Thiel | |
| directory | |||
| 2010-11-20 | Tried to get rid of held references which could keep a filehandle open. In ↵ | Sebastian Thiel | |
| fact, it didn't work, and ... something else keeps them open. Its odd, its weird, its windows, and I give up on it for now | |||
| 2010-11-20 | Submodule: Assured we properly convert paths to using the slash separator | Sebastian Thiel | |
| 2010-11-20 | submodule: Fixed capital error when handling the submodule's branch, which ↵ | Sebastian Thiel | |
| was returned in the submodules super repository, not in the submodule's module | |||
| 2010-11-20 | Fixed performance tests which broke in the meanwhile - they definitely don't ↵ | Sebastian Thiel | |
| run often enough, which is because they intentionally don't have a package initialization file | |||
| 2010-11-19 | test_submodule: fixed failures that arose due to changes of the original ↵ | Sebastian Thiel | |
| submodule names. Also, a major bug was fixed that cased submodules to always being updated recursively when using the RootModule.update method submodule: previously, it would update the repository configuration during add(), but in fact it must be done during update() when the module is cloned, which is how the git-submodule implementation works | |||
| 2010-11-18 | Fixed all imports, refactoring appears to be complete | Sebastian Thiel | |
| 2010-11-18 | Added test for the recursive code path. | Sebastian Thiel | |
| 2010-11-18 | Added test for branch changes - it appears to work well, at least as far as ↵ | Sebastian Thiel | |
| the restricted tests are concerned | |||
| 2010-11-18 | Updated tests and implementation to verify functionality for handling ↵ | Sebastian Thiel | |
| submodule removals, as well as url changes | |||
| 2010-11-18 | first update test succeeds, so it verifies that existing repositories can be ↵ | Sebastian Thiel | |
| moved later if the configuration changed, and actually it also verifies that the url-change is handled correctly (as we changed the url from the default to the local path) | |||
| 2010-11-18 | Added test-setup which can test all aspects of the (smart) update method | Sebastian Thiel | |
| 2010-11-18 | ORIG_HEAD handling is now implemented in the ref-class itself, instead of ↵ | Sebastian Thiel | |
| being a special case of the commit method; includes tests util: Fixed iterable lists, which broke due to an incorrectly implemented __contains__ method | |||
| 2010-11-18 | commit: when creating a new commit and advancing the head, it will now write ↵ | Sebastian Thiel | |
| the ORIG_HEAD reference as well | |||
| 2010-11-17 | RootModule.update: initial implementation of update method, which should be ↵ | Sebastian Thiel | |
| able to handle submodule removals, additions, path changes and branch changes. All this still needs to be tested though | |||
| 2010-11-17 | repo: Added create_submodule method which fits into the tradition of ↵ | Sebastian Thiel | |
| offering a create_* method for most important entities. Moved implementation of smart update method to the RootModule implementation, where it may do special things without requiring an interface for everything | |||
| 2010-11-17 | submodule: removed module_path method as it is implemented in the abspath ↵ | Sebastian Thiel | |
| property alrdeady Improved submodule move tests | |||
| 2010-11-17 | Inital implementation of Submodule.move including a very simple and ↵ | Sebastian Thiel | |
| to-be-improved test | |||
