Ignore commits from cloned repo

Specify range of commits for vmware-nsx project that cloned from Neutron
and must be ignored

Closes bug 1333930

Change-Id: If021ffc99ef8112d730f9ac14962b0614f8290f7
This commit is contained in:
Ilya Shakhat 2015-01-16 18:49:01 +03:00
parent 522ef22dc0
commit 55cc1877b2
2 changed files with 16 additions and 0 deletions

View File

@ -10693,6 +10693,18 @@
}
]
},
{
"module": "vmware-nsx",
"uri": "git://git.openstack.org/stackforge/vmware-nsx.git",
"organization": "stackforge",
"releases": [
{
"release_name": "ignored",
"tag_from": "44e6ae3a44d73be5618daac6cc7785f08242817b",
"tag_to": "067694223916f0098f8dc455a7567bc3e53b8574"
}
]
},
{
"module": "docker",
"organization": "docker",

View File

@ -253,6 +253,10 @@ class Git(Vcs):
else:
commit['release'] = None
if commit['release'] == 'ignored':
# drop commits that are marked by 'ignored' release
continue
if 'blueprint_id' in commit:
commit['blueprint_id'] = [(commit['module'] + ':' + bp_name)
for bp_name