chiark / gitweb /
Test suite: inarchivecopy: Is finished
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Aug 2016 17:04:10 +0000 (18:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 6 Sep 2016 12:20:55 +0000 (13:20 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
TODO.BRANCH
debian/tests/control
tests/tests/inarchivecopy

index 69efcae653abc316bd8f08c956ac0ad4bc2479f4..c32550d06060e47bc08f3214bf4f8e86ee8d5201 100644 (file)
@@ -29,41 +29,6 @@ Test that, where appropriate, maint view tags are pushed to dgit git repo
 
  * Test all three new --quilt=unapplied|gbp|dpm
 
-
- * IN ARCHIVE COPY Consider and implement fast-forward fixup
-
-    - On fetch, check if specified git hash is ff from
-      existing dgit branch, the same way we do for constructed
-      dscs.  The .dsc tells us the git tree but not necessarily
-      the git hash.
-
-    ...ERR MAYBE...
-      
-         complicated there are many branches
-              dgit-repos: refs/dgit/suite
-               archive dsc
-              local; remotes/dgit/dgit/suite
-                         must be ff
-                         may contain dscs
-               local: dgit/suite (not relevant to fetch)
-
-         archive dsc must always be regarded
-              as ff from (or same as) dgit-repos
-               err depending on version number ?
-
-       this code is what needs changing
-               } else {
-           fail "git head (".lrref()."=$lastpush_hash) is not a ".
-               "descendant of archive's .dsc hash ($dsc_hash)";
-       }
-       it just needs to generate the fake merge and set $hash
-       the archive skew stuff is all fine with this
-
-        xxx actually, no, we need to stop from squashing our
-       lrref with + updates
-
  * Mention in-archive copy fix in debian/changelog
 
- * Add in-archive-move test case
-
  * Remove lrfetchrefs at end of fetch_from_archive, for tidyness
index 6e8287c4dab4c52e9d7c995ebd3dc1e11ae33cc9..899bbb171471fc6c51c54a35c80ccc519c17d4a9 100644 (file)
@@ -12,16 +12,11 @@ Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts
 Restrictions: x-dgit-intree-only x-dgit-git-only
 
-Tests: inarchivecopy
-Tests-Directory: tests/tests
-Depends: dgit, dgit-infrastructure, devscripts
-Restrictions: x-dgit-unfinished
-
 Tests: mirror mirror-debnewgit mirror-private
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, rsync
 
-Tests: build-modes build-modes-asplit build-modes-gbp-asplit clone-gitnosuite clone-nogit debpolicy-dbretry debpolicy-newreject distropatches-reject drs-clone-nogit drs-push-masterupdate drs-push-rejects dsd-clone-nogit dsd-divert fetch-localgitonly fetch-somegit-notlast newtag-clone-nogit oldtag-clone-nogit push-buildproductsdir push-newpackage push-nextdgit quilt quilt-gbp quilt-singlepatch rpush tag-updates test-list-uptodate trustingpolicy-replay
+Tests: build-modes build-modes-asplit build-modes-gbp-asplit clone-gitnosuite clone-nogit debpolicy-dbretry debpolicy-newreject distropatches-reject drs-clone-nogit drs-push-masterupdate drs-push-rejects dsd-clone-nogit dsd-divert fetch-localgitonly fetch-somegit-notlast inarchivecopy newtag-clone-nogit oldtag-clone-nogit push-buildproductsdir push-newpackage push-nextdgit quilt quilt-gbp quilt-singlepatch rpush tag-updates test-list-uptodate trustingpolicy-replay
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts
 
index fbd197dca7549f4d7bb00011f4f6b77396394035..41c0321e3c0205820e72050be5125fa04f969735 100755 (executable)
@@ -2,8 +2,6 @@
 set -e
 . tests/lib
 
-t-restrict x-dgit-unfinished
-
 t-setup-import examplegit
 
 cd $p
@@ -59,4 +57,4 @@ copy-check 2.0
 
 copy-check 2.1
 
-xxx rest of test
+echo ok.