Merge pull request #2099 from coolo/fix_cicount

Fix inner-staging links to use cicount=copy
This commit is contained in:
Stephan Kulow 2019-06-02 14:29:57 +02:00 committed by GitHub
commit 850eca9892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1165,7 +1165,7 @@ class StagingAPI(object):
for sub_pkg in self.get_sub_packages(tar_pkg, project): for sub_pkg in self.get_sub_packages(tar_pkg, project):
self.create_package_container(project, sub_pkg) self.create_package_container(project, sub_pkg)
root = ET.Element('link', package=tar_pkg, project=project) root = ET.Element('link', package=tar_pkg, cicount='copy')
url = self.makeurl(['source', project, sub_pkg, '_link']) url = self.makeurl(['source', project, sub_pkg, '_link'])
http_PUT(url, data=ET.tostring(root)) http_PUT(url, data=ET.tostring(root))