[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.9.2-3-gff0deeb

Modestas Vainius modax at alioth.debian.org
Sat Jul 24 23:20:10 UTC 2010


The following commit has been merged in the master branch:
commit 7a8adfe7cad2deb2f8074089fbface463fd7c163
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Sun Jul 25 02:02:45 2010 +0300

    Use a new tag message style in `pkgkde-vcs tag`.
    
    New style is <version> <distribution>; urgency=<urgency>
    It will be mandatory for pkg-kde Git repositories.
---
 debian/changelog |    2 ++
 pkgkde-vcs       |    1 +
 vcslib/git.sh    |    2 +-
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f036d71..51341bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 pkg-kde-tools (0.9.3) UNRELEASED; urgency=low
 
+  * Use a new tag message style in `pkgkde-vcs tag`:
+    <version> <distribution>; urgency=<urgency>
 
  -- Modestas Vainius <modax at debian.org>  Sun, 25 Jul 2010 01:58:49 +0300
 
diff --git a/pkgkde-vcs b/pkgkde-vcs
index 7bea832..d81d6a8 100755
--- a/pkgkde-vcs
+++ b/pkgkde-vcs
@@ -117,6 +117,7 @@ get_debian_package_info()
         fi
         DEB_SOURCE="$(echo "$_pchangelog" | _get_deb_field 'Source')"
         DEB_DISTRIBUTION="$(echo "$_pchangelog" | _get_deb_field 'Distribution')"
+        DEB_URGENCY="$(echo "$_pchangelog" | _get_deb_field 'Urgency')"
     else
         die "debian/changelog could not be found in $rootdir"
     fi
diff --git a/vcslib/git.sh b/vcslib/git.sh
index 74c6bd6..434183b 100644
--- a/vcslib/git.sh
+++ b/vcslib/git.sh
@@ -24,7 +24,7 @@ git_tag()
     git_is_working_tree_clean || die "working tree is dirty. Commit changes before tagging."
 
     tag_path="debian/`git_compat_debver $DEB_VERSION_WO_EPOCH`"
-    tag_msg="$DEB_VERSION/$DEB_DISTRIBUTION"
+    tag_msg="$DEB_VERSION $DEB_DISTRIBUTION; urgency=$DEB_URGENCY"
 
     runcmd git tag $tag_path -m "$tag_msg" "$@"
 }

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list