Commit 9c1214d6 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Add "dchall" command to fabfile

Update fabfile, add "dchall" command to produce Debian
changelog entries for all Debian packages.
parent a4eafd55
......@@ -204,6 +204,9 @@ def dch(p):
if True:
# Run git-dch in snapshot mode.
# TODO: Support a --release mode in fabfile
if not env.debrelease:
notice(("Producing snapshot changelog entry, "
"use 'debrelease' to produce release entries."))
local(("git-dch --debian-branch=%s --auto %s" %
(env.debian_branch,
"--release" if env.debrelease else "--snapshot")))
......@@ -215,6 +218,12 @@ def dch(p):
local("rmdir .git")
def dchall():
for p in env.deb_packages:
info("updating debian changelog for package: %s" % p)
dch(p)
def debrelease():
env.debrelease = True
......@@ -254,7 +263,6 @@ def builddeball(b="debian-0.8"):
builddeb(p=p, branch=b)
@roles('pypi')
def uploadtars():
put("packages/*.tar.gz", 'www/pypi/')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment