mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
Switch from software.opensuse.org to download.opensuse.org as default
download URL
This commit is contained in:
parent
cf3727b70c
commit
9921fcac8e
4
README
4
README
@ -8,7 +8,7 @@ https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/pytho
|
||||
INSTALLATION:
|
||||
|
||||
RPM packages are here (yum repository):
|
||||
http://software.opensuse.org/download/openSUSE:/Tools/
|
||||
http://download.opensuse.org/repositories/openSUSE:/Tools/
|
||||
|
||||
To install from svn, do
|
||||
python setup.py build
|
||||
@ -25,7 +25,7 @@ respective package is called python-elementtree (before 10.2: python-xml).
|
||||
For local building, you will need python-urlgrabber in addition. Those are
|
||||
standard package on SUSE Linux since a while. If your version is too old, you
|
||||
can find python-elementtree and python-urlgrabber here:
|
||||
http://software.opensuse.org/download/devel:/languages:/python/
|
||||
http://download.opensuse.org/repositories/devel:/languages:/python/
|
||||
|
||||
|
||||
|
||||
|
@ -553,7 +553,7 @@ class Osc(cmdln.Cmdln):
|
||||
"""${cmd_name}: shows URLs of .repo files
|
||||
|
||||
Shows URLs on which to access the project .repos files (yum-style
|
||||
metadata) on software.opensuse.org.
|
||||
metadata) on download.opensuse.org.
|
||||
|
||||
ARG, if specified, is a package working copy.
|
||||
|
||||
@ -564,7 +564,7 @@ class Osc(cmdln.Cmdln):
|
||||
args = parseargs(args)
|
||||
pacs = findpacs(args)
|
||||
|
||||
url_tmpl = 'http://software.opensuse.org/download/%s/%s/%s.repo'
|
||||
url_tmpl = 'http://download.opensuse.org/repositories/%s/%s/%s.repo'
|
||||
for p in pacs:
|
||||
platforms = get_platforms_of_project(p.apiurl, p.prjname)
|
||||
for platform in platforms:
|
||||
@ -1315,7 +1315,7 @@ class Osc(cmdln.Cmdln):
|
||||
|
||||
if not os.path.exists('/usr/lib/build/debtransform'):
|
||||
sys.stderr.write('Error: you need build.rpm with version 2006.6.14 or newer.\n')
|
||||
sys.stderr.write('See http://software.opensuse.org/download/openSUSE:/Tools/\n')
|
||||
sys.stderr.write('See http://download.opensuse.org/repositories/openSUSE:/Tools/\n')
|
||||
return 1
|
||||
|
||||
builddist = os.getenv('BUILD_DIST')
|
||||
|
@ -26,7 +26,7 @@ The configuration dictionary could look like this:
|
||||
'build-root': '/abuild/oscbuild-%(repo)s-%(arch)s',
|
||||
'packagecachedir': '/var/cache/osbuild',
|
||||
'su-wrapper': 'sudo',
|
||||
'urllist': ['http://software.opensuse.org/download/%(project)s/%(repository)s/%(arch)s/%(filename)s',
|
||||
'urllist': ['http://download.opensuse.org/repositories/%(project)s/%(repository)s/%(arch)s/%(filename)s',
|
||||
'http://api.opensuse.org/rpm/%(project)s/%(repository)s/_repository/%(buildarch)s/%(name)s'],
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ DEFAULTS = { 'apisrv': 'https://api.opensuse.org/',
|
||||
# default list of download URLs, which will be tried in order
|
||||
'urllist': [
|
||||
# the normal repo server, redirecting to mirrors
|
||||
'http://software.opensuse.org/download/%(project)s/%(repository)s/%(arch)s/%(filename)s',
|
||||
'http://download.opensuse.org/repositories/%(project)s/%(repository)s/%(arch)s/%(filename)s',
|
||||
# direct access to "full" tree
|
||||
'%(scheme)s://%(apisrv)s/build/%(project)s/%(repository)s/%(buildarch)s/_repository/%(name)s',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user