Module binary
source code
Debian binary package related queries.
Copyright:
-
2017 Michael Stapelberg <stapelberg@debian.org>
-
2017 Joerg Jaspert <joerg@debian.org>
License:
GNU General Public License version 2 or later
dictionary
|
|
dictionary
|
binary_by_metadata(key=None)
Finds all Debian binary packages which have the specified metadata
set in their correspondig source package. |
source code
|
|
Imports:
bottle,
json,
DBConn,
DBBinary,
DBSource,
SourceMetadata,
MetadataKey,
QueryRegister
List all possible metadata keys
- Returns: dictionary
- A list of metadata keys
- Decorators:
@bottle.route('/binary/metadata_keys/')
|
Finds all Debian binary packages which have the specified metadata set
in their correspondig source package.
E.g., to find out the Go import paths of all Debian Go packages, query
/binary/by_metadata/Go-Import-Path.
- Parameters:
key (string) - Metadata key of the source package to search for.
- Returns: dictionary
- A list of dictionaries of
-
binary
-
source
-
metadata value
- Decorators:
@bottle.route('/binary/by_metadata/')
|