osclib/conf: exclude sub-projects from matching project patterns.
Otherwise, :Update projects match the primary product settings which gives the wrong impression to tools as things like :Update:Staging do not exist. Since :Update and other sub-projects are in a different phase of development they should really have separate settings. :Ports however does have stagings and in theory should act like parent product. If it becomes desirable to split that can be done in the future. Some policy settings related to ReviewBots likely are desirable to carry over, but that can be resolved in follow-up as they are not currently used.
This commit is contained in:
parent
fb3d58024a
commit
77e27fae9e
@ -34,7 +34,7 @@ from osc import conf
|
||||
# the project.
|
||||
|
||||
DEFAULT = {
|
||||
r'openSUSE:(?P<project>Factory)': {
|
||||
r'openSUSE:(?P<project>Factory(?::Ports)?)$': {
|
||||
'staging': 'openSUSE:%(project)s:Staging',
|
||||
'staging-group': 'factory-staging',
|
||||
'staging-archs': 'i586 x86_64',
|
||||
@ -62,7 +62,7 @@ DEFAULT = {
|
||||
'mail-noreply': 'noreply@opensuse.org',
|
||||
'mail-release-list': 'opensuse-releaseteam@opensuse.org',
|
||||
},
|
||||
r'openSUSE:(?P<project>Leap:(?P<version>[\d.]+))': {
|
||||
r'openSUSE:(?P<project>Leap:(?P<version>[\d.]+)(?::Ports)?)$': {
|
||||
'staging': 'openSUSE:%(project)s:Staging',
|
||||
'staging-group': 'factory-staging',
|
||||
'staging-archs': 'i586 x86_64',
|
||||
@ -108,7 +108,7 @@ DEFAULT = {
|
||||
'mail-noreply': 'noreply@opensuse.org',
|
||||
'mail-release-list': 'opensuse-releaseteam@opensuse.org',
|
||||
},
|
||||
r'openSUSE:(?P<project>Backports:(?P<version>[^:]+))': {
|
||||
r'openSUSE:(?P<project>Backports:(?P<version>[^:]+))$': {
|
||||
'staging': 'openSUSE:%(project)s:Staging',
|
||||
'staging-group': 'factory-staging',
|
||||
'staging-archs': 'x86_64',
|
||||
|
Loading…
x
Reference in New Issue
Block a user