summaryrefslogtreecommitdiffstats
path: root/test/uscan/manual-test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:36:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:36:25 +0000
commit6077d258b500b20e1e705f5cda567400240c7804 (patch)
treea5d41c050bd69f91476994b0d30c0a8f1e7957b5 /test/uscan/manual-test
parentInitial commit. (diff)
downloaddevscripts-upstream.tar.xz
devscripts-upstream.zip
Adding upstream version 2.21.3+deb11u1.upstream/2.21.3+deb11u1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/uscan/manual-test')
-rw-r--r--test/uscan/manual-test/Makefile35
-rw-r--r--test/uscan/manual-test/_dh-make-golang/debian/changelog5
-rwxr-xr-xtest/uscan/manual-test/_dh-make-golang/debian/rules0
-rw-r--r--test/uscan/manual-test/_dh-make-golang/debian/source/format1
-rw-r--r--test/uscan/manual-test/_dh-make-golang/debian/watch5
-rw-r--r--test/uscan/manual-test/_dl-poly-classic/debian/changelog5
-rwxr-xr-xtest/uscan/manual-test/_dl-poly-classic/debian/rules0
-rw-r--r--test/uscan/manual-test/_dl-poly-classic/debian/source/format1
-rw-r--r--test/uscan/manual-test/_dl-poly-classic/debian/watch7
-rw-r--r--test/uscan/manual-test/_osamu-utils/debian/changelog5
-rwxr-xr-xtest/uscan/manual-test/_osamu-utils/debian/rules0
-rw-r--r--test/uscan/manual-test/_osamu-utils/debian/source/format1
-rw-r--r--test/uscan/manual-test/_osamu-utils/debian/watch5
-rw-r--r--test/uscan/manual-test/_tweeper/debian/changelog5
-rwxr-xr-xtest/uscan/manual-test/_tweeper/debian/rules0
-rw-r--r--test/uscan/manual-test/_tweeper/debian/source/format1
-rw-r--r--test/uscan/manual-test/_tweeper/debian/watch5
-rw-r--r--test/uscan/manual-test/_upspin/debian/changelog5
-rwxr-xr-xtest/uscan/manual-test/_upspin/debian/rules0
-rw-r--r--test/uscan/manual-test/_upspin/debian/source/format1
-rw-r--r--test/uscan/manual-test/_upspin/debian/watch5
21 files changed, 92 insertions, 0 deletions
diff --git a/test/uscan/manual-test/Makefile b/test/uscan/manual-test/Makefile
new file mode 100644
index 0000000..382e479
--- /dev/null
+++ b/test/uscan/manual-test/Makefile
@@ -0,0 +1,35 @@
+TOPSRCDIR := $(abspath $(CURDIR)/../../..)
+PATH := $(TOPSRCDIR)/scripts:$(PATH)
+PERL5LIB := $(TOPSRCDIR)/lib
+export PATH
+export PERL5LIB
+COMMAND := uscan --no-conf --debug
+KEEP_THESE := $(wildcard _*)
+TOSS_THESE := $(filter-out $(KEEP_THESE) Makefile, $(wildcard *))
+
+all:
+ $(MAKE) prep # always run first
+ $(MAKE) test
+
+# Single archive run
+test-%:
+ cd $*; $(COMMAND)
+ touch $*/stamp
+
+# Many single archive runs
+test: $(patsubst %,test-%,$(KEEP_THESE))
+
+# Multiple archive run at once
+multi:
+ $(COMMAND)
+
+prep:
+ $(MAKE) -C $(TOPSRCDIR)/scripts uscan mk-origtargz uupdate debchange
+ $(MAKE) -C $(TOPSRCDIR)/scripts uscan.pl_check
+ touch stamp
+
+clean-%:
+ -rm $*/stamp
+
+clean: $(patsubst %,clean-%,$(KEEP_THESE))
+ -rm -rf $(TOSS_THESE)
diff --git a/test/uscan/manual-test/_dh-make-golang/debian/changelog b/test/uscan/manual-test/_dh-make-golang/debian/changelog
new file mode 100644
index 0000000..836ca5e
--- /dev/null
+++ b/test/uscan/manual-test/_dh-make-golang/debian/changelog
@@ -0,0 +1,5 @@
+dh-make-golang (0~0.0-1) unstable; urgency=medium
+
+ * dummy changelog.
+
+ -- Osamu Aoki <osamu@debian.org> Sat, 13 Jan 2018 22:48:47 +0900
diff --git a/test/uscan/manual-test/_dh-make-golang/debian/rules b/test/uscan/manual-test/_dh-make-golang/debian/rules
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/test/uscan/manual-test/_dh-make-golang/debian/rules
diff --git a/test/uscan/manual-test/_dh-make-golang/debian/source/format b/test/uscan/manual-test/_dh-make-golang/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/test/uscan/manual-test/_dh-make-golang/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test/uscan/manual-test/_dh-make-golang/debian/watch b/test/uscan/manual-test/_dh-make-golang/debian/watch
new file mode 100644
index 0000000..08c6c95
--- /dev/null
+++ b/test/uscan/manual-test/_dh-make-golang/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="mode=git, pgpmode=none" \
+https://github.com/Debian/dh-make-golang \
+HEAD debian uupdate
+
diff --git a/test/uscan/manual-test/_dl-poly-classic/debian/changelog b/test/uscan/manual-test/_dl-poly-classic/debian/changelog
new file mode 100644
index 0000000..90e29b1
--- /dev/null
+++ b/test/uscan/manual-test/_dl-poly-classic/debian/changelog
@@ -0,0 +1,5 @@
+dl-poly-classic (0~0.0-1) unstable; urgency=medium
+
+ * dummy changelog.
+
+ -- Osamu Aoki <osamu@debian.org> Sat, 13 Jan 2018 22:48:47 +0900
diff --git a/test/uscan/manual-test/_dl-poly-classic/debian/rules b/test/uscan/manual-test/_dl-poly-classic/debian/rules
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/test/uscan/manual-test/_dl-poly-classic/debian/rules
diff --git a/test/uscan/manual-test/_dl-poly-classic/debian/source/format b/test/uscan/manual-test/_dl-poly-classic/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/test/uscan/manual-test/_dl-poly-classic/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test/uscan/manual-test/_dl-poly-classic/debian/watch b/test/uscan/manual-test/_dl-poly-classic/debian/watch
new file mode 100644
index 0000000..791b6d3
--- /dev/null
+++ b/test/uscan/manual-test/_dl-poly-classic/debian/watch
@@ -0,0 +1,7 @@
+version=4
+opts="hrefdecode=percent-encoding, pgpmode=no, \
+ filenamemangle=s/.*dl_class_([\d.]+)\.tar\.gz/dl-poly-classic-$1\.tar\.gz/" \
+https://ccpforge.cse.rl.ac.uk/gf/project/dl_poly_classic/frs/ \
+ /gf/download/frsrelease/\d+/\d+/dl_class_([\d.]+)\.tar\.gz debian uupdate
+
+
diff --git a/test/uscan/manual-test/_osamu-utils/debian/changelog b/test/uscan/manual-test/_osamu-utils/debian/changelog
new file mode 100644
index 0000000..c521065
--- /dev/null
+++ b/test/uscan/manual-test/_osamu-utils/debian/changelog
@@ -0,0 +1,5 @@
+osamu-utils (0~0.0-1) unstable; urgency=medium
+
+ * dummy changelog.
+
+ -- Osamu Aoki <osamu@debian.org> Sat, 13 Jan 2018 22:48:47 +0900
diff --git a/test/uscan/manual-test/_osamu-utils/debian/rules b/test/uscan/manual-test/_osamu-utils/debian/rules
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/test/uscan/manual-test/_osamu-utils/debian/rules
diff --git a/test/uscan/manual-test/_osamu-utils/debian/source/format b/test/uscan/manual-test/_osamu-utils/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/test/uscan/manual-test/_osamu-utils/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test/uscan/manual-test/_osamu-utils/debian/watch b/test/uscan/manual-test/_osamu-utils/debian/watch
new file mode 100644
index 0000000..30f5597
--- /dev/null
+++ b/test/uscan/manual-test/_osamu-utils/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="mode=git,pretty=describe,pgpmode=no, \
+ uversionmangle=s/^/0.0~/" \
+ https://github.com/osamuaoki/osamu-utils.git \
+ HEAD debian uupdate
diff --git a/test/uscan/manual-test/_tweeper/debian/changelog b/test/uscan/manual-test/_tweeper/debian/changelog
new file mode 100644
index 0000000..285d2e8
--- /dev/null
+++ b/test/uscan/manual-test/_tweeper/debian/changelog
@@ -0,0 +1,5 @@
+tweeper (0~0.0-1) unstable; urgency=medium
+
+ * dummy changelog.
+
+ -- Osamu Aoki <osamu@debian.org> Sat, 13 Jan 2018 22:48:47 +0900
diff --git a/test/uscan/manual-test/_tweeper/debian/rules b/test/uscan/manual-test/_tweeper/debian/rules
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/test/uscan/manual-test/_tweeper/debian/rules
diff --git a/test/uscan/manual-test/_tweeper/debian/source/format b/test/uscan/manual-test/_tweeper/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/test/uscan/manual-test/_tweeper/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test/uscan/manual-test/_tweeper/debian/watch b/test/uscan/manual-test/_tweeper/debian/watch
new file mode 100644
index 0000000..83948f3
--- /dev/null
+++ b/test/uscan/manual-test/_tweeper/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="mode=git, gitmode=full, pgpmode=none" \
+http://git.ao2.it/tweeper.git \
+refs/tags/v([\d\.]+) debian uupdate
+
diff --git a/test/uscan/manual-test/_upspin/debian/changelog b/test/uscan/manual-test/_upspin/debian/changelog
new file mode 100644
index 0000000..c39d194
--- /dev/null
+++ b/test/uscan/manual-test/_upspin/debian/changelog
@@ -0,0 +1,5 @@
+upspin (0~0.0-1) unstable; urgency=medium
+
+ * dummy changelog.
+
+ -- Osamu Aoki <osamu@debian.org> Sat, 13 Jan 2018 22:48:47 +0900
diff --git a/test/uscan/manual-test/_upspin/debian/rules b/test/uscan/manual-test/_upspin/debian/rules
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/test/uscan/manual-test/_upspin/debian/rules
diff --git a/test/uscan/manual-test/_upspin/debian/source/format b/test/uscan/manual-test/_upspin/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/test/uscan/manual-test/_upspin/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test/uscan/manual-test/_upspin/debian/watch b/test/uscan/manual-test/_upspin/debian/watch
new file mode 100644
index 0000000..42c3945
--- /dev/null
+++ b/test/uscan/manual-test/_upspin/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="mode=git, pgpmode=none" \
+https://upspin.googlesource.com/upspin \
+HEAD debian uupdate
+