mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-28 00:58:52 +02:00
- support listing of deleted source files "ls -D $PROJECT $PACKAGE"
This commit is contained in:
@@ -2995,11 +2995,13 @@ def meta_get_packagelist(apiurl, prj, deleted=None):
|
||||
return [ node.get('name') for node in root.findall('entry') ]
|
||||
|
||||
|
||||
def meta_get_filelist(apiurl, prj, package, verbose=False, expand=False, revision=None, meta=False):
|
||||
def meta_get_filelist(apiurl, prj, package, verbose=False, expand=False, revision=None, meta=False, deleted=False):
|
||||
"""return a list of file names,
|
||||
or a list File() instances if verbose=True"""
|
||||
|
||||
query = {}
|
||||
if deleted:
|
||||
query['deleted'] = 1
|
||||
if expand:
|
||||
query['expand'] = 1
|
||||
if meta:
|
||||
|
Reference in New Issue
Block a user