1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

do_install now points to home:jnweiger osc-plugin-install

This commit is contained in:
Juergen Weigert 2011-03-24 13:56:37 +01:00
parent 94c006ba5f
commit 8e9cf75d7b

View File

@ -2962,9 +2962,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
def do_install(self, subcmd, opts, *args): def do_install(self, subcmd, opts, *args):
"""${cmd_name}: install a package after build via zypper in -r """${cmd_name}: install a package after build via zypper in -r
Not implemented yet. Use osc repourls, Not implemented here.
select the url you best like (standard), Please try http://software.opensuse.org/search?q=osc-plugin-install
chop off after the last /, this should work with zypper.
${cmd_usage} ${cmd_usage}
@ -2983,7 +2982,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
## ##
## if args[0] is already an url, the use it as is. ## if args[0] is already an url, the use it as is.
cmd = "sudo zypper -p http://download.opensuse.org/repositories/%s/%s --no-refresh -v in %s" % (re.sub(':',':/',args[0]), 'openSUSE_11.1', args[1]) cmd = "sudo zypper -p http://download.opensuse.org/repositories/%s/%s --no-refresh -v in %s" % (re.sub(':',':/',args[0]), 'openSUSE_11.4', args[1])
print self.do_install.__doc__ print self.do_install.__doc__
print "Example: \n" + cmd print "Example: \n" + cmd