Skip to content

Start the refactoring

Karl Hasselström git 1 version New

Get series with b4
b4 am 20071105030847.6108.44653.stgit@yoghurt

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5New StGit core infrastructure: repository operationsstgit/lib/__init__.py stgit/lib/git.py stgit/lib/stack.py +2 more+476 -00 replies
2/5Write metadata files used by the old infrastructurestgit/lib/stack.py+35 -00 replies
3/5Simple test for "stg clean"t/t2500-clean.sh+27 -00 replies
4/5Let "stg clean" use the new infrastructurestgit/commands/clean.py stgit/commands/common.py+44 -340 replies
5/5Add "stg coalesce"stgit/commands/coalesce.py stgit/main.py stgit/utils.py +1 more+131 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [StGit PATCH 0/5] Start the refactoring

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
Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle