From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/_config/, bin/
Date: Tue, 23 Apr 2013 03:20:52 +0000 (UTC) [thread overview]
Message-ID: <1366686089.1243da9e15540733447821ef31ed9a8330a1e22c.zmedico@gentoo> (raw)
commit: 1243da9e15540733447821ef31ed9a8330a1e22c
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 22 23:08:51 2013 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Apr 23 03:01:29 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1243da9e
Add preliminary DCO_SIGNED_OFF_BY support for DCO Signed-off-by footer.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
bin/repoman | 8 +++++++-
.../package/ebuild/_config/special_env_vars.py | 1 +
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/bin/repoman b/bin/repoman
index c419c6f..ca4aa0a 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2659,6 +2659,7 @@ else:
changelog_msg = commitmessage
portage_version = getattr(portage, "VERSION", None)
gpg_key = repoman_settings.get("PORTAGE_GPG_KEY", "")
+ dco_sob = repoman_settings.get("DCO_SIGNED_OFF_BY", "")
if portage_version is None:
sys.stderr.write("Failed to insert portage version in message!\n")
sys.stderr.flush()
@@ -2671,13 +2672,18 @@ else:
commit_footer += "\nRepoMan-Options: --force"
if sign_manifests:
commit_footer += "\nManifest-Sign-Key: %s" % (gpg_key, )
+ if dco_sob:
+ commit_footer += "\nSigned-off-by: %s" % (dco_sob, )
else:
unameout = platform.system() + " "
if platform.system() in ["Darwin", "SunOS"]:
unameout += platform.processor()
else:
unameout += platform.machine()
- commit_footer = "\n\n(Portage version: %s/%s/%s" % \
+ commit_footer = "\n\n"
+ if dco_sob:
+ commit_footer += "Signed-off-by: %s\n" % (dco_sob, )
+ commit_footer += "(Portage version: %s/%s/%s" % \
(portage_version, vcs, unameout)
if options.force:
commit_footer += ", RepoMan options: --force"
diff --git a/pym/portage/package/ebuild/_config/special_env_vars.py b/pym/portage/package/ebuild/_config/special_env_vars.py
index 0b4dc39..481ce69 100644
--- a/pym/portage/package/ebuild/_config/special_env_vars.py
+++ b/pym/portage/package/ebuild/_config/special_env_vars.py
@@ -147,6 +147,7 @@ environ_filter += [
"ACCEPT_CHOSTS", "ACCEPT_KEYWORDS", "ACCEPT_PROPERTIES", "AUTOCLEAN",
"CLEAN_DELAY", "COLLISION_IGNORE",
"CONFIG_PROTECT", "CONFIG_PROTECT_MASK",
+ "DCO_SIGNED_OFF_BY",
"EGENCACHE_DEFAULT_OPTS", "EMERGE_DEFAULT_OPTS",
"EMERGE_LOG_DIR",
"EMERGE_WARNING_DELAY",
next reply other threads:[~2013-04-23 3:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 3:20 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-25 17:47 [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/_config/, bin/ Zac Medico
2012-06-25 17:41 Zac Medico
2012-06-02 2:55 Zac Medico
2011-12-11 7:25 Zac Medico
2011-12-08 17:57 Zac Medico
2011-11-07 8:45 Zac Medico
2011-10-15 21:43 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366686089.1243da9e15540733447821ef31ed9a8330a1e22c.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox