Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 224207 Details for
Bug 310135
sys-apps/portage-2.1.7.17, git repository without ChangeLog: repoman emits changelog.ebuildadded
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Skip changelog.ebuildadded for all distributed SCMs
changelog.patch (text/plain), 1.56 KB, created by
Zac Medico
on 2010-03-19 00:43:28 UTC
(
hide
)
Description:
Skip changelog.ebuildadded for all distributed SCMs
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2010-03-19 00:43:28 UTC
Size:
1.56 KB
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 15832) >+++ bin/repoman (revision 15833) >@@ -497,6 +497,12 @@ > elif os.path.isdir(os.path.join(portdir_overlay, ".hg")): > vcs = "hg" > >+# Note: We don't use ChangeLogs in distributed SCMs. >+# It will be generated on server side from scm log, >+# before package moves to the rsync server. >+# This is needed because we try to avoid merge collisions. >+check_changelog = vcs in ('CVS', 'SVN') >+ > vcs_local_opts = repoman_settings.get("REPOMAN_VCS_LOCAL_OPTS", "").split() > vcs_global_opts = repoman_settings.get("REPOMAN_VCS_GLOBAL_OPTS") > if vcs_global_opts is None: >@@ -1275,11 +1281,8 @@ > relative_path + ': %s' % error_match.group(1)) > > del mydigests >- # Note: We don't use ChangeLogs in distributed SCMs. >- # It will be generated on server side from scm log, >- # before package moves to the rsync server. >- # This is needed because we try to avoid merge collisions. >- if vcs not in ("git", "hg") and "ChangeLog" not in checkdirlist: >+ >+ if check_changelog and "ChangeLog" not in checkdirlist: > stats["changelog.missing"]+=1 > fails["changelog.missing"].append(x+"/ChangeLog") > >@@ -1337,7 +1340,8 @@ > if repolevel < 2: > ebuild_path = os.path.join(catdir, ebuild_path) > ebuild_path = os.path.join(".", ebuild_path) >- if not changelog_modified and ebuild_path in new_ebuilds: >+ if check_changelog and not changelog_modified \ >+ and ebuild_path in new_ebuilds: > stats['changelog.ebuildadded'] += 1 > fails['changelog.ebuildadded'].append(relative_path) >
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 310135
: 224207