Merge "hound: ignore deb-* projects"
This commit is contained in:
commit
f8e4f44506
|
@ -33,7 +33,13 @@ def main():
|
||||||
projects = [entry['project'] for entry in registry.configs_list]
|
projects = [entry['project'] for entry in registry.configs_list]
|
||||||
repos = {}
|
repos = {}
|
||||||
for project in projects:
|
for project in projects:
|
||||||
repos[os.path.basename(project)] = {
|
basename = os.path.basename(project)
|
||||||
|
# ignore deb- projects that are forks of other projects intended for
|
||||||
|
# internal debian packaging needs only and are generally not of
|
||||||
|
# interest to upstream developers
|
||||||
|
if basename.startswith('deb-'):
|
||||||
|
continue
|
||||||
|
repos[basename] = {
|
||||||
'url': "%(proto)s%(gitbase)s/%(project)s" % dict(
|
'url': "%(proto)s%(gitbase)s/%(project)s" % dict(
|
||||||
proto=GIT_PROTOCOL, gitbase=GIT_SERVER, project=project),
|
proto=GIT_PROTOCOL, gitbase=GIT_SERVER, project=project),
|
||||||
'url-pattern': {
|
'url-pattern': {
|
||||||
|
|
Loading…
Reference in New Issue