mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-27 12:08:58 +00:00
Merge pull request #308 from fidencio/topic/generate-electorate-ignore-some-repos
elections/tools: Update ignored repos
This commit is contained in:
commit
893ed0a99a
@ -80,12 +80,28 @@ end_time = datetime.datetime(2018, 8, 1, 0, 0, 0, tzinfo=pytz.UTC)
|
|||||||
# All commits
|
# All commits
|
||||||
number = -1
|
number = -1
|
||||||
projects = []
|
projects = []
|
||||||
|
ignored_repos = [
|
||||||
|
'qemu',
|
||||||
|
'linux',
|
||||||
|
'project-infra',
|
||||||
|
'govmm',
|
||||||
|
'resolve-pr-refs',
|
||||||
|
'is-organization-member',
|
||||||
|
'osbuilder',
|
||||||
|
'runtime',
|
||||||
|
'shim',
|
||||||
|
'packaging',
|
||||||
|
'ksm-throttler',
|
||||||
|
'documentation',
|
||||||
|
'agent',
|
||||||
|
'slash-command-action',
|
||||||
|
]
|
||||||
|
|
||||||
author_cache = {}
|
author_cache = {}
|
||||||
for repo in org.repositories():
|
for repo in org.repositories():
|
||||||
# Skip these repos as they are not a core part of the project, and are
|
# Skip these repos as they are not a core part of the project, and are
|
||||||
# forked/imported so contain many contributors from outside the project.
|
# forked/imported so contain many contributors from outside the project.
|
||||||
if str(repo) in ['kata-containers/linux', 'kata-containers/qemu']:
|
if str(repo).split("/")[1] in ignored_repos:
|
||||||
print('Skipping repo %s' % (repo))
|
print('Skipping repo %s' % (repo))
|
||||||
continue
|
continue
|
||||||
print('Looking for changes in %s between %s and %s' %
|
print('Looking for changes in %s between %s and %s' %
|
||||||
|
Loading…
Reference in New Issue
Block a user