Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290979 Details for
Bug 388587
sys-apps/portage-2.1.10.31: repoman full warns about changelog.ebuildadded even if repoman commit should add changelog entry
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add opts and repo config debug output
repoman_debug.patch (text/plain), 1.96 KB, created by
Zac Medico
on 2011-10-27 06:04:45 UTC
(
hide
)
Description:
add opts and repo config debug output
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-10-27 06:04:45 UTC
Size:
1.96 KB
patch
obsolete
>From 5c216774ac90ef5d1cba6fc000baa546e7834945 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Wed, 26 Oct 2011 22:52:04 -0700 >Subject: [PATCH] repoman: add opts and repo config debug output > >--- > bin/repoman | 3 +++ > pym/portage/repository/config.py | 14 ++++++++++++++ > 2 files changed, 17 insertions(+), 0 deletions(-) > >diff --git a/bin/repoman b/bin/repoman >index bf91b85..8adccc7 100755 >--- a/bin/repoman >+++ b/bin/repoman >@@ -654,6 +654,9 @@ if vcs is None: > # TODO: shouldn't this just be switched on the repo, iso the VCS? > check_changelog = options.echangelog not in ('y', 'force') and vcs in ('cvs', 'svn') > >+logging.debug("repo config: %s" % (repo_config,)) >+logging.debug("options: %s" % (options,)) >+ > # Generate an appropriate PORTDIR_OVERLAY value for passing into the > # profile-specific config constructor calls. > env = os.environ.copy() >diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py >index 5659b14..ab679f6 100644 >--- a/pym/portage/repository/config.py >+++ b/pym/portage/repository/config.py >@@ -21,6 +21,7 @@ from portage.const import (MANIFEST2_HASH_FUNCTIONS, MANIFEST2_REQUIRED_HASH, > from portage.env.loaders import KeyValuePairFileLoader > from portage.util import normalize_path, writemsg, writemsg_level, shlex_split > from portage.localization import _ >+from portage import _unicode_decode > from portage import _unicode_encode > from portage import _encodings > from portage import manifest >@@ -234,6 +235,19 @@ class RepoConfig(object): > repo_msg.append("") > return "\n".join(repo_msg) > >+ def __str__(self): >+ d = {} >+ for k in self.__slots__: >+ d[k] = getattr(self, k, None) >+ return _unicode_decode(str(d)) >+ >+ if sys.hexversion < 0x3000000: >+ >+ __unicode__ = __str__ >+ >+ def __str__(self): >+ return _unicode_encode(self.__unicode__()) >+ > class RepoConfigLoader(object): > """Loads and store config of several repositories, loaded from PORTDIR_OVERLAY or repos.conf""" > >-- >1.7.7 >
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 388587
: 290979