From 758d31b247052e5658e4bb9e1273e230e2a6a9f1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Jun 2009 22:04:43 +0000 Subject: 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 --- bin/repoman | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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") -- cgit v1.2.3-1-g7c22