diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-10-20 18:58:04 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-10-20 18:58:04 +0200 |
commit | 7f9e716d4198f90032d91e8e8adfbc6d7673883c (patch) | |
tree | 908beb1a86c28416cea8f66470064294bd304b9a /bin | |
parent | 273075cdf5fcd0b4756ca47860849f174f7ede57 (diff) | |
download | portage-7f9e716d4198f90032d91e8e8adfbc6d7673883c.tar.gz portage-7f9e716d4198f90032d91e8e8adfbc6d7673883c.tar.bz2 portage-7f9e716d4198f90032d91e8e8adfbc6d7673883c.zip |
repoman: get default to update changelog from layout.conf
Updating the ChangeLog file may be desirable in more repos than just the
one named 'gentoo', like e.g. the Prefix one. Hence, make this default
configurable though metadata/layout.conf.
This commit must go accompanied by a commit to
gentoo-x86/metadata/layout.conf that adds the following bit:
# Bug #337853 - gentoo's council says to enable
# --echangelog by default for the "gentoo" repo
update-changelog = true
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman index 4966d22c8..bec3b1e01 100755 --- a/bin/repoman +++ b/bin/repoman @@ -637,10 +637,7 @@ if "commit" == options.mode and \ print(prefix + line) sys.exit(1) -if options.echangelog is None and \ - repo_config.name == "gentoo": - # Bug #337853 - gentoo's council says to enable - # --echangelog by default for the "gentoo" repo +if options.echangelog is None and repo_config.update_changelog: options.echangelog = 'y' if vcs is None: |