mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- checkout of entire project is skipping packages which links to project local packages by default.
This commit is contained in:
parent
1630792e21
commit
0ba9383e17
1
NEWS
1
NEWS
@ -1,5 +1,6 @@
|
||||
0.133
|
||||
- add --meta option also to "list", "cat" and "less" commands
|
||||
- project checkout is skipping packages linking to project local packages by default
|
||||
|
||||
0.132
|
||||
- rdelete and undelete command requesting now a comment
|
||||
|
@ -3474,6 +3474,18 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
# all packages
|
||||
for package in meta_get_packagelist(apiurl, project):
|
||||
# don't check out local links by default
|
||||
try:
|
||||
m = show_files_meta(apiurl, project, package)
|
||||
li = Linkinfo()
|
||||
li.read(ET.fromstring(''.join(m)).find('linkinfo'))
|
||||
if not li.haserror():
|
||||
if li.project == project:
|
||||
print statfrmt('S', package + " link to package " + li.package)
|
||||
continue
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
checkout_package(apiurl, project, package, expand_link = expand_link, \
|
||||
prj_dir = prj_dir, service_files = opts.source_service_files, server_service_files = opts.server_side_source_service_files, progress_obj=self.download_progress, size_limit=opts.limit_size, meta=opts.meta)
|
||||
|
Loading…
Reference in New Issue
Block a user