support disabled
This commit is contained in:
parent
460b511a77
commit
f38a21eb46
@ -294,7 +294,7 @@ if ($report) {
|
|||||||
my $prefix = <<END;
|
my $prefix = <<END;
|
||||||
Dear openSUSE contributor,
|
Dear openSUSE contributor,
|
||||||
|
|
||||||
The following status report is a reminder I sent to you in the hope that it
|
The following status report is a reminder I send to you in the hope that it
|
||||||
proves useful to you. I do not intend to spam you - if you don't want these
|
proves useful to you. I do not intend to spam you - if you don't want these
|
||||||
reports, please tell me why and I'll either fix the issue or disable the
|
reports, please tell me why and I'll either fix the issue or disable the
|
||||||
mail to you.
|
mail to you.
|
||||||
|
@ -216,7 +216,7 @@ def _checker_one_request(self, rq, cmd, opts):
|
|||||||
prj, pkg,
|
prj, pkg,
|
||||||
tprj, tpkg)
|
tprj, tpkg)
|
||||||
dpkg = self._checker_check_devel_package(opts, tprj, tpkg)
|
dpkg = self._checker_check_devel_package(opts, tprj, tpkg)
|
||||||
self._devel_projects['GNOME:Cinnamon/'] = 'cinnamon'
|
self._devel_projects['network:messaging:amqp/'] = 'rabbitmq'
|
||||||
if dpkg:
|
if dpkg:
|
||||||
[dprj, dpkg] = dpkg.split('/')
|
[dprj, dpkg] = dpkg.split('/')
|
||||||
else:
|
else:
|
||||||
|
@ -40,7 +40,7 @@ if (-f "$dir/_service") {
|
|||||||
my $service = XMLin("$dir/_service", ForceArray => [ 'service' ]);
|
my $service = XMLin("$dir/_service", ForceArray => [ 'service' ]);
|
||||||
while( my ($name, $s) = each %{$service->{service}} ) {
|
while( my ($name, $s) = each %{$service->{service}} ) {
|
||||||
my $mode = $s->{mode} || '';
|
my $mode = $s->{mode} || '';
|
||||||
next if ($mode eq "localonly");
|
next if ($mode eq "localonly" || $mode eq "disabled");
|
||||||
print "Services are only allowed if they are mode='localonly'. Please change the mode of $name and use osc service localrun\n";
|
print "Services are only allowed if they are mode='localonly'. Please change the mode of $name and use osc service localrun\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user