From fd99af2bade2f7e1e69f4f461f52316e785a2cb7 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 28 Aug 2014 14:33:41 +0300 Subject: [PATCH] Better cleaning and publishing using Fabric. --- debian/changelog | 26 ++++++++++++++++++++++++++ debian/files | 1 - fabfile.py | 5 ++++- 3 files changed, 30 insertions(+), 2 deletions(-) delete mode 100644 debian/files diff --git a/debian/changelog b/debian/changelog index fc8e4ea..7c7a4c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,36 @@ dcpman (0.1.2~2.gbp1e5230) UNRELEASED; urgency=medium + [ Nimrod Adar ] ** SNAPSHOT build @1e523033e4cf94509378a806d2ac9cf5dae38b76 ** * Adding better detection of encrypted DCPs by using avprobe to try and read the mxf files (still not 100% correct). * UNRELEASED + [ Adar Nimrod ] + * Create debian changelog from git commits when building. + + [ Nimrod Adar ] + + [ Adar Nimrod ] + * Create debian changelog from git commits when building. + + [ Nimrod Adar ] + + [ Adar Nimrod ] + * Create debian changelog from git commits when building. + + [ Nimrod Adar ] + + [ Adar Nimrod ] + * Create debian changelog from git commits when building. + + [ Nimrod Adar ] + + [ Adar Nimrod ] + * Create debian changelog from git commits when building. + + [ Nimrod Adar ] + -- Nimrod Adar <nimrod@nimrod.private> Wed, 27 Aug 2014 15:37:46 +0300 dcpman (0.1) UNRELEASED; urgency=medium diff --git a/debian/files b/debian/files deleted file mode 100644 index bd1ff25..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -dcpman_0.1.1_all.deb video optional diff --git a/fabfile.py b/fabfile.py index 215eded..e004b13 100644 --- a/fabfile.py +++ b/fabfile.py @@ -6,6 +6,8 @@ def publish (): build () for dist in ['wheezy', 'jessie', 'sid']: local ('''reprepro includedeb ''' + dist + ''' ../dcpman_*.deb''') + local ('''fab -f $REPREPRO_BASE_DIR/fabfile.py publish''') + clean () @task def build (): @@ -17,4 +19,5 @@ def clean (): with settings(warn_only=True): local ('''rm ../dcpman_*''') local ('''rm -r debian/dcpman.substvars debian/dcpman.prerm.debhelper\ - debian/dcpman.postinst.debhelper debian/dcpman.debhelper.log debian/dcpman''') + debian/dcpman.postinst.debhelper debian/dcpman.debhelper.log\ + debian/dcpman debian/files''') -- GitLab