Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 597134 Details for
Bug 667432
DCO_SIGNED_OFF_BY is a misleading name
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rename DCO_SIGNED_OFF_BY config variable to SIGNED_OFF_BY.
0001-Rename-DCO_SIGNED_OFF_BY-config-variable-to-SIGNED_O.patch (text/plain), 4.76 KB, created by
Ulrich Müller
on 2019-11-22 10:31:15 UTC
(
hide
)
Description:
Rename DCO_SIGNED_OFF_BY config variable to SIGNED_OFF_BY.
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2019-11-22 10:31:15 UTC
Size:
4.76 KB
patch
obsolete
>From bebf8753fe9b906183f9d95ee016b4a0ee59040d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Fri, 22 Nov 2019 11:19:15 +0100 >Subject: [PATCH] Rename DCO_SIGNED_OFF_BY config variable to SIGNED_OFF_BY. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Provide compatibility support for old name. >Update make.conf.5 man page. > >Bug: https://bugs.gentoo.org/667432 >Signed-off-by: Ulrich Müller <ulm@gentoo.org> >--- > .../package/ebuild/_config/special_env_vars.py | 2 +- > lib/portage/package/ebuild/config.py | 3 ++- > man/make.conf.5 | 12 +++++++++--- > repoman/lib/repoman/actions.py | 8 +++++--- > 4 files changed, 17 insertions(+), 8 deletions(-) > >diff --git a/lib/portage/package/ebuild/_config/special_env_vars.py b/lib/portage/package/ebuild/_config/special_env_vars.py >index e72049e33..50e7a9604 100644 >--- a/lib/portage/package/ebuild/_config/special_env_vars.py >+++ b/lib/portage/package/ebuild/_config/special_env_vars.py >@@ -152,7 +152,6 @@ environ_filter += [ > "BINPKG_COMPRESS", "BINPKG_COMPRESS_FLAGS", > "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", >@@ -182,6 +181,7 @@ environ_filter += [ > "RESUMECOMMAND", "RESUMECOMMAND_FTP", > "RESUMECOMMAND_HTTP", "RESUMECOMMAND_HTTPS", > "RESUMECOMMAND_RSYNC", "RESUMECOMMAND_SFTP", >+ "SIGNED_OFF_BY", > "UNINSTALL_IGNORE", "USE_EXPAND_HIDDEN", "USE_ORDER", > "__PORTAGE_HELPER" > ] >diff --git a/lib/portage/package/ebuild/config.py b/lib/portage/package/ebuild/config.py >index e0dda54d4..6efb5ae86 100644 >--- a/lib/portage/package/ebuild/config.py >+++ b/lib/portage/package/ebuild/config.py >@@ -157,7 +157,8 @@ class config(object): > 'PORTAGE_PYM_PATH', 'PORTAGE_PYTHONPATH']) > > _deprecated_keys = {'PORTAGE_LOGDIR': 'PORT_LOGDIR', >- 'PORTAGE_LOGDIR_CLEAN': 'PORT_LOGDIR_CLEAN'} >+ 'PORTAGE_LOGDIR_CLEAN': 'PORT_LOGDIR_CLEAN', >+ 'SIGNED_OFF_BY': 'DCO_SIGNED_OFF_BY'} > > _setcpv_aux_keys = ('BDEPEND', 'DEFINED_PHASES', 'DEPEND', 'EAPI', 'HDEPEND', > 'INHERITED', 'IUSE', 'REQUIRED_USE', 'KEYWORDS', 'LICENSE', 'PDEPEND', >diff --git a/man/make.conf.5 b/man/make.conf.5 >index 44d518dbb..5e4a9fd04 100644 >--- a/man/make.conf.5 >+++ b/man/make.conf.5 >@@ -1,4 +1,4 @@ >-.TH "MAKE.CONF" "5" "Jul 2019" "Portage VERSION" "Portage" >+.TH "MAKE.CONF" "5" "Nov 2019" "Portage VERSION" "Portage" > .SH "NAME" > make.conf \- custom settings for Portage > .SH "SYNOPSIS" >@@ -205,8 +205,7 @@ This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR > as \fI\-\-target=${CTARGET}\fR only if it is defined. > .TP > .B DCO_SIGNED_OFF_BY >-This variable may contain a name and email address which will be used by >-\fBrepoman\fR(1) to add a Signed\-off\-by line to each commit message. >+See \fISIGNED_OFF_BY\fR below. Deprecated. > .TP > \fBDISTDIR\fR = \fI[path]\fR > Defines the location of your local source file repository. After packages >@@ -1141,6 +1140,13 @@ Defines the location where created RPM packages will be stored. > .br > Defaults to /var/cache/rpm. > .TP >+.B SIGNED_OFF_BY >+This variable may contain a name and email address which will be used by >+\fBrepoman\fR(1) to add a Signed\-off\-by line to each commit message. >+The meaning of a signoff depends on the project. Typically, it certifies >+that the committer has the rights to submit the work under a free license >+and agrees to a Certificate of Origin. >+.TP > \fBSYNC\fR = \fI[RSYNC]\fR > Insert your preferred rsync mirror here. This rsync server > is used to sync the local ebuild repository when `emerge \-\-sync` is run. >diff --git a/repoman/lib/repoman/actions.py b/repoman/lib/repoman/actions.py >index 92d4d4e94..56a5255bf 100644 >--- a/repoman/lib/repoman/actions.py >+++ b/repoman/lib/repoman/actions.py >@@ -1,4 +1,6 @@ > # -*- coding:utf-8 -*- >+# Copyright 1999-2019 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 > > from __future__ import print_function, unicode_literals > >@@ -402,7 +404,7 @@ the whole commit message to abort. > def get_commit_footer(self): > portage_version = getattr(portage, "VERSION", None) > gpg_key = self.repoman_settings.get("PORTAGE_GPG_KEY", "") >- dco_sob = self.repoman_settings.get("DCO_SIGNED_OFF_BY", "") >+ signoff = self.repoman_settings.get("SIGNED_OFF_BY", "") > report_options = [] > if self.options.force: > report_options.append("--force") >@@ -470,8 +472,8 @@ the whole commit message to abort. > commit_footer += ", unsigned Manifest commit" > commit_footer += ")" > >- if dco_sob: >- commit_footer += "\nSigned-off-by: %s" % (dco_sob, ) >+ if signoff: >+ commit_footer += "\nSigned-off-by: %s" % (signoff, ) > > return commit_footer > >-- >2.24.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 667432
:
597096
|
597134
|
597140