Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/overlint:master commit in: overlint/
Date: Fri, 06 Apr 2012 22:35:43
Message-Id: 1333751675.32b6de9090156d5d8369e030d143f9d468f63e83.sping@gentoo
1 commit: 32b6de9090156d5d8369e030d143f9d468f63e83
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Fri Apr 6 22:34:11 2012 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 22:34:35 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/overlint.git;a=commit;h=32b6de90
7
8 Fix report of 6.0-r9 as a version bump with 6.0-r3 in the Gentoo main tree already
9
10 ---
11 overlint/cli.py | 5 +++--
12 1 files changed, 3 insertions(+), 2 deletions(-)
13
14 diff --git a/overlint/cli.py b/overlint/cli.py
15 index a0720b2..d941f25 100644
16 --- a/overlint/cli.py
17 +++ b/overlint/cli.py
18 @@ -3,7 +3,7 @@
19
20 from __future__ import print_function
21
22 -VERSION_STR = '0.3'
23 +VERSION_STR = '0.4'
24
25 import sys
26 import os
27 @@ -54,6 +54,7 @@ def highest_revision_only(versions):
28 def find_missed_bumps(gentoo_versions, overlay_versions):
29 missed_version_bumps = list()
30 missed_revision_bumps = list()
31 + gentoo_zero_revisions = set(_revision_matcher.sub('', gv) for gv in gentoo_versions)
32 for ov in overlay_versions:
33 if '999' in ov:
34 continue
35 @@ -66,7 +67,7 @@ def find_missed_bumps(gentoo_versions, overlay_versions):
36 break
37 if newer_than_gentoo:
38 ov_without_revision = _revision_matcher.sub('', ov)
39 - if ov_without_revision in gentoo_versions:
40 + if ov_without_revision in gentoo_zero_revisions:
41 missed_revision_bumps.append(ov)
42 else:
43 missed_version_bumps.append(ov)