Skip to content

git-p4: view spec improvements

Pete Wyckoff git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6git-p4: test client view handlingt/t9809-git-p4-client-view.sh+290 -00 replies
2/6git-p4: fix test for unsupported P4 Client Viewscontrib/fast-import/git-p4 t/t9809-git-p4-client-view.sh+6 -30 replies
3/6git-p4: sort client views by reverse View numbercontrib/fast-import/git-p4 t/t9809-git-p4-client-view.sh+10 -30 replies
4/6git-p4: support single file p4 client view mapscontrib/fast-import/git-p4 t/t9809-git-p4-client-view.sh+21 -100 replies
5/6git-p4: rewrite view handlingcontrib/fast-import/git-p4 t/t9809-git-p4-client-view.sh+258 -1010 replies
6/6git-p4: view spec documentationDocumentation/git-p4.txt+27 -130 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] git-p4: view spec improvements

Gary found and fixed a few bothersome problems with how git-p4 parses the View lines in client specifications. I got the itch to fix other issues, and ended up writing a battery of test cases and redoing the view spec code entirely.

Patch summary:

1. Add 22 test cases for client view spec handling, most of which are expected to fail. Test review welcome.

2-4. Fix issues with unsupported wildcards, incorrect
sorting, and add support for single-file maps.

5. Rewrite view spec code, fixing the rest of the tests. This is new python that could use some review.

6. Update docs. This depends on pw/p4-docs-and-tests that is in next.

Gary Gibbons (3):
git-p4: fix test for unsupported P4 Client Views
git-p4: sort client views by reverse View number
git-p4: support single file p4 client view maps

Pete Wyckoff (3):
git-p4: test client view handling
git-p4: rewrite view handling
git-p4: view spec documentation

 Documentation/git-p4.txt      |   40 ++++--
 contrib/fast-import/git-p4    |  316 ++++++++++++++++++++++++++++++++---------
 t/t9809-git-p4-client-view.sh |  290 +++++++++++++++++++++++++++++++++++++
 3 files changed, 564 insertions(+), 82 deletions(-)
 create mode 100755 t/t9809-git-p4-client-view.sh
Signature · 1 line
1.7.8.1.407.gd70cb