diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-11-07 01:27:24 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-12-22 04:34:35 +1100 |
commit | 5005ef9c959d9e980ef7a9bd028b57839e05e0fa (patch) | |
tree | c676c50afd79941dcd47ac269731f9ae304243d2 /templates | |
parent | Merge pull request #23 from lucianposton/comment-unmasks (diff) | |
download | tatt-5005ef9c959d9e980ef7a9bd028b57839e05e0fa.tar.gz tatt-5005ef9c959d9e980ef7a9bd028b57839e05e0fa.tar.bz2 tatt-5005ef9c959d9e980ef7a9bd028b57839e05e0fa.zip |
Update commit template for git with thin manifests.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/commit-header | 5 | ||||
-rw-r--r-- | templates/commit-snippet | 12 | ||||
-rw-r--r-- | templates/commit-snippet-2 | 9 |
3 files changed, 8 insertions, 18 deletions
diff --git a/templates/commit-header b/templates/commit-header index 2fd5aef..538a6c9 100644 --- a/templates/commit-header +++ b/templates/commit-header @@ -1,5 +1,2 @@ #!/bin/bash -# CVS Stabeling for @@JOB@@ - -# This is the place to move to the right location: -cd @@REPODIR@@ +pushd @@REPODIR@@ > /dev/null diff --git a/templates/commit-snippet b/templates/commit-snippet index 496e420..d6c2be4 100644 --- a/templates/commit-snippet +++ b/templates/commit-snippet @@ -1,13 +1,5 @@ -# Code for keywording @@EBUILD@@ -cd @@CP@@ +pushd @@CP@@ > /dev/null -cvs up ekeyword @@NEWKEYWORD@@ @@EBUILD@@ -echangelog "marked @@NEWKEYWORD@@ per bug @@BUG@@" || { - echo " *** echangelog failed" - exit 1 -} -repoman manifest -cd ../.. -## @@CP@@ done +popd > /dev/null diff --git a/templates/commit-snippet-2 b/templates/commit-snippet-2 index e6b245b..c6f33c9 100644 --- a/templates/commit-snippet-2 +++ b/templates/commit-snippet-2 @@ -1,8 +1,9 @@ # Code for checking consistency of @@EBUILD@@ -cd @@CP@@ +pushd @@CP@@ > /dev/null repoman -d full || exit 1 -repoman -m "marked @@NEWKEYWORD@@ per bug @@BUG@@" commit || exit 1 +repoman -m "@@CP@@: @@NEWKEYWORD@@ stable -cd ../.. -## @@CP@@ done +Gentoo-bug: @@BUG@@" commit || exit 1 + +popd > /dev/null |