[StGit PATCH 0/5] Start the refactoring
From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:47
This series introduces parts of the proposed new infrastructure, and
uses it to implement "stg clean" and the new "stg coalesce".
There are undoubtedly more bugs to be found, but I'm pushing it to
git://repo.or.cz/stgit/kha.git experimental
to make it easy for people to try it out. It does pass the test suite
after all.
---
Karl Hasselström (5):
Add "stg coalesce"
Let "stg clean" use the new infrastructure
Simple test for "stg clean"
Write metadata files used by the old infrastructure
New StGit core infrastructure: repository operations
stgit/commands/clean.py | 68 ++++++------
stgit/commands/coalesce.py | 87 ++++++++++++++++
stgit/commands/common.py | 10 ++
stgit/lib/__init__.py | 18 +++
stgit/lib/git.py | 245 ++++++++++++++++++++++++++++++++++++++++++++
stgit/lib/stack.py | 156 ++++++++++++++++++++++++++++
stgit/lib/transaction.py | 79 ++++++++++++++
stgit/main.py | 2
stgit/utils.py | 24 ++++
t/t2500-clean.sh | 27 +++++
t/t2600-coalesce.sh | 31 ++++++
11 files changed, 713 insertions(+), 34 deletions(-)
create mode 100644 stgit/commands/coalesce.py
create mode 100644 stgit/lib/__init__.py
create mode 100644 stgit/lib/git.py
create mode 100644 stgit/lib/stack.py
create mode 100644 stgit/lib/transaction.py
create mode 100755 t/t2500-clean.sh
create mode 100755 t/t2600-coalesce.sh
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle