Skip to content

New and improved DAG appliedness series

Karl Hasselström git 1 version In review

Get series with b4
b4 am 20070610094322.12000.56284.stgit@bill

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Verify patch status during the testt/t1200-push-modified.sh+32 -230 replies
2/6Make use of the get_patch() utility functionstgit/stack.py+13 -140 replies
3/6Compute patch appliedness from commit DAGstgit/commands/commit.py stgit/commands/float.py stgit/commands/imprt.py +5 more+227 -1330 replies
4/6Test the new DAG appliedness machineryt/t3000-git-interop.sh+60 -00 replies
5/6Fix bash completion after the DAG appliedness patchcontrib/stgit-completion.bash+4 -110 replies
6/6Speed up the appliedness teststgit/stack.py+223 -550 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/6] New and improved DAG appliedness series

This took a while, but here it is. (Actually, I finished this about a week ago, but had no Internet connection so I couldn't send it.)

The series starts with basically the same DAG appliedness test as before, with the same known performance bug. Later on in the series, the mechanism is changed to one that doesn't have the bug. I kept the intermediate, slow state because the changesets read better that way, and because the new mechanism is more complicated than the old so it might be useful to be able to compare their output in case some bug turns up further down the road.

To test the performance, I used a script (which I've unfortunately misplaced) that (in the kernel repository) reset to one point 10000 commits in the past and one 5000 commits in the past, pushed a few patches at each spot, and then created 100 applied and 100 unapplied patches on top of upstream HEAD. This triggers the performance bug with the first algorithm since we have unapplied commits very far from HEAD.

Both algorithms are documented in the patches that introduce them.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle