mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-24 07:08:53 +02:00
all *.py: TABS to spaces; osc build: counting packages during cache filling
This commit is contained in:
9
TODO
9
TODO
@@ -1,7 +1,3 @@
|
||||
JW:
|
||||
- german umlaut characters <20><><EFBFBD> do not work in the message for osc submitpac.
|
||||
404 not found, and no request sent.
|
||||
|
||||
CRITICAL:
|
||||
- webpage can create a _link in a fully populated package.
|
||||
Need to prevent his somehow.
|
||||
@@ -69,4 +65,9 @@ osc addrepo - obsolete zypper ar
|
||||
osc install - obsolete zypper in
|
||||
-
|
||||
|
||||
- german umlaut characters <20><><EFBFBD> do not work in the message for osc submitpac.
|
||||
404 not found, and no request sent.
|
||||
- implement fedora style 'osc mock' - this requires anonymous read-only access to the build server.
|
||||
this could use http://tmp.vuntz.net/opensuse-packages/browse.py?project=openSUSE:Factory
|
||||
as a hacky solution, while we are waiting on fate#306192
|
||||
|
||||
|
@@ -1664,6 +1664,16 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
args = slash_split(args)
|
||||
args = expand_proj_pack(args)
|
||||
|
||||
## FIXME:
|
||||
## if there is only one argument, and it ends in .ymp
|
||||
## then fetch it, Parse XML to get the first
|
||||
## metapackage.group.repositories.repository.url
|
||||
## and construct zypper cmd's for all
|
||||
## metapackage.group.software.item.name
|
||||
##
|
||||
## 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])
|
||||
print self.do_install.__doc__
|
||||
print "Example: \n" + cmd
|
||||
|
@@ -1783,6 +1783,9 @@ def makeurl(baseurl, l, query=[]):
|
||||
function. In case of a list not -- this is to be backwards compatible.
|
||||
"""
|
||||
|
||||
if conf.config['verbose'] > 1:
|
||||
print 'makeurl:', baseurl, l, query
|
||||
|
||||
if type(query) == type(list()):
|
||||
query = '&'.join(query)
|
||||
elif type(query) == type(dict()):
|
||||
|
@@ -157,7 +157,11 @@ class Fetcher:
|
||||
# if there isn't a progress bar, there is no output at all
|
||||
if not self.progress_obj:
|
||||
print '%d/%d (%s) %s' % (done, needed, i.project, i.filename)
|
||||
self.fetch(i, "%d/%d " % (done,needed))
|
||||
self.fetch(i)
|
||||
if self.progress_obj:
|
||||
print " %d/%d\r" % (done,needed),
|
||||
sys.stdout.flush()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print 'Cancelled by user (ctrl-c)'
|
||||
print 'Exiting.'
|
||||
|
Reference in New Issue
Block a user