Disable dbuild_release and add TODO comments
authorPaul Crowley <paul@lshift.net>
Thu, 08 Sep 2011 10:44:45 +0100
changeset 336 5874d49da474
parent 335 0d15506351db
child 341 2e6bba46221b
Disable dbuild_release and add TODO comments
dev/debian-build/dbuild
dev/debian-build/dbuild_release
--- a/dev/debian-build/dbuild	Thu Sep 08 09:18:32 2011 +0100
+++ b/dev/debian-build/dbuild	Thu Sep 08 10:44:45 2011 +0100
@@ -26,8 +26,6 @@
    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
 
 cd ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
-#dpkg-buildpackage -kFD56DDC0
 dpkg-buildpackage $DPKG_BUILDPACKAGE_OPTIONS
 cd ..
 lintian -i --pedantic -IE ${PACKAGE}_${DEBIAN_VERSION}_*.changes
-#sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc
--- a/dev/debian-build/dbuild_release	Thu Sep 08 09:18:32 2011 +0100
+++ b/dev/debian-build/dbuild_release	Thu Sep 08 10:44:45 2011 +0100
@@ -2,9 +2,16 @@
 
 set -e
 
-DPKG_BUILDPACKAGE_OPTIONS=-kFD56DDC0
+cd $(hg root)
 
-cd $(hg root)
+echo "FIXME: address tagging and diffing issues before using in anger"
+exit 255
+# TODO here:
+# ensure appropriate tags release_X and debian_X-Y exist
+# ensure that we are identical to debian_X-Y ignoring certain files
+# ensure that we are identical to release_X ignoring certain files
+
+DPKG_BUILDPACKAGE_OPTIONS=-kFD56DDC0
 
 . dev/debian-build/dbuild