From: Zac Medico Date: Wed, 17 Jun 2009 22:04:43 +0000 (-0000) Subject: Allow missing ChangeLog when using git. We don't use ChangeLogs in X-Git-Tag: v2.2_rc34~185 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=758d31b247052e5658e4bb9e1273e230e2a6a9f1;p=portage.git Allow missing ChangeLog when using git. 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. Thanks to Tomas Chvatal for this patch. svn path=/main/trunk/; revision=13651 --- diff --git a/bin/repoman b/bin/repoman index 639213235..d0c4c8667 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1113,8 +1113,11 @@ for x in scanlist: relative_path + ': %s' % error_match.group(1)) del mydigests - - if "ChangeLog" not in checkdirlist: + # 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", ) and "ChangeLog" not in checkdirlist: stats["changelog.missing"]+=1 fails["changelog.missing"].append(x+"/ChangeLog")