mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
[osc] add cb(pre)ignore capabilities to osc.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
This commit is contained in:
parent
f7dc7abebc
commit
68c7b57f66
@ -122,6 +122,8 @@ class Buildinfo:
|
|||||||
self.vminstall_list = [ dep.name for dep in self.deps if dep.vminstall ]
|
self.vminstall_list = [ dep.name for dep in self.deps if dep.vminstall ]
|
||||||
self.cbinstall_list = [ dep.name for dep in self.deps if dep.cbinstall ]
|
self.cbinstall_list = [ dep.name for dep in self.deps if dep.cbinstall ]
|
||||||
self.cbpreinstall_list = [ dep.name for dep in self.deps if dep.cbpreinstall ]
|
self.cbpreinstall_list = [ dep.name for dep in self.deps if dep.cbpreinstall ]
|
||||||
|
self.cbpreignore_list = [ dep.name for dep in self.deps if dep.cbpreignore ]
|
||||||
|
self.cbignore_list = [ deb.name for dep in self.deps if dep.cbignore ]
|
||||||
self.preinstall_list = [ dep.name for dep in self.deps if dep.preinstall ]
|
self.preinstall_list = [ dep.name for dep in self.deps if dep.preinstall ]
|
||||||
self.runscripts_list = [ dep.name for dep in self.deps if dep.runscripts ]
|
self.runscripts_list = [ dep.name for dep in self.deps if dep.runscripts ]
|
||||||
|
|
||||||
@ -153,7 +155,7 @@ class Pac:
|
|||||||
'version', 'release',
|
'version', 'release',
|
||||||
'project', 'repository',
|
'project', 'repository',
|
||||||
'preinstall', 'vminstall', 'noinstall', 'runscripts',
|
'preinstall', 'vminstall', 'noinstall', 'runscripts',
|
||||||
'cbinstall', 'cbpreinstall',
|
'cbinstall', 'cbpreinstall', 'cbpreignore', 'cbignore',
|
||||||
]:
|
]:
|
||||||
self.mp[i] = node.get(i)
|
self.mp[i] = node.get(i)
|
||||||
|
|
||||||
@ -775,6 +777,8 @@ def main(apiurl, opts, argv):
|
|||||||
rpmlist.append('vminstall: ' + ' '.join(bi.vminstall_list) + '\n')
|
rpmlist.append('vminstall: ' + ' '.join(bi.vminstall_list) + '\n')
|
||||||
rpmlist.append('cbinstall: ' + ' '.join(bi.cbinstall_list) + '\n')
|
rpmlist.append('cbinstall: ' + ' '.join(bi.cbinstall_list) + '\n')
|
||||||
rpmlist.append('cbpreinstall: ' + ' '.join(bi.cbpreinstall_list) + '\n')
|
rpmlist.append('cbpreinstall: ' + ' '.join(bi.cbpreinstall_list) + '\n')
|
||||||
|
rpmlist.append('cbpreignore: ' + ' '.join(bi.cbpreinstall_list) + '\n')
|
||||||
|
rpmlist.append('cbignore: ' + ' '.join(bi.cbpreinstall_list) + '\n')
|
||||||
rpmlist.append('runscripts: ' + ' '.join(bi.runscripts_list) + '\n')
|
rpmlist.append('runscripts: ' + ' '.join(bi.runscripts_list) + '\n')
|
||||||
|
|
||||||
rpmlist_file = NamedTemporaryFile(prefix='rpmlist.')
|
rpmlist_file = NamedTemporaryFile(prefix='rpmlist.')
|
||||||
|
Loading…
Reference in New Issue
Block a user