mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
setlinkrev is setting now the revision to xsrcmd5 by default to avoid later breakage on indirect links
This commit is contained in:
parent
c85ee2c0cb
commit
10d999c479
1
NEWS
1
NEWS
@ -1,5 +1,6 @@
|
||||
0.130
|
||||
- New "service" command to run source services locally or trigger a re-run on the server.
|
||||
- setlinkrev is setting now the revision to xsrcmd5 by default to avoid later breakage on indirect links
|
||||
#
|
||||
# Feature which requires OBS 2.1
|
||||
#
|
||||
|
@ -4867,7 +4867,7 @@ def set_link_rev(apiurl, project, package, revision = None):
|
||||
if not revision:
|
||||
src_project = root.attrib['project']
|
||||
src_package = root.attrib['package']
|
||||
root.attrib['rev'] = show_upstream_rev(apiurl, src_project, src_package)
|
||||
root.attrib['rev'] = show_upstream_xsrcmd5(apiurl, src_project, src_package)
|
||||
elif revision == -1:
|
||||
del root.attrib['rev']
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user