fdroidserver/fdroidserver
Hans-Christoph Steiner b00b9c9390 metadata: get_single_build() for new subcommands
The new subcommands operate on a single APPID:VERSIONCODE pair, so this new
function fetches the metadata needed for that operation, and includes any
required checks.

The algorithm came from:
uniqx/fdroidserver@2b779e6599

This reworking of it includes:

* removed `check_disabled`, seems like the scheduler should handle that? If
  it is required, it can be added later.
* standard variable names
* fixed spelling errors and hopefully improved docstrings
* black format
* added tests
* standardized the strings, made them localizable
2025-10-09 17:00:58 +02:00
..
asynchronousfilereader enable black on fdroidserver/asynchronousfilereader/__init__.py 2023-04-27 11:34:18 +02:00
__init__.py convert fdroidserver/__init__.py to black format 2025-08-18 15:38:08 +00:00
__main__.py import GitPython exceptions using public module to placate pylint 2025-09-29 13:25:13 +02:00
_yaml.py _yaml.config_dump() for writing out config 2025-03-10 08:49:18 +01:00
apksigcopier.py Sort import 2025-07-26 15:35:19 +00:00
btlog.py Sort import 2025-07-26 15:35:19 +00:00
build.py Sort import 2025-07-26 15:35:19 +00:00
checkupdates.py checkupdates: fix get_upstream_main_branch() for Debian/forky 2025-09-18 10:52:15 +00:00
common.py metadata: get_single_build() for new subcommands 2025-10-09 17:00:58 +02:00
deploy.py deploy: do not leak username/hostname from machine pushing repo 2025-09-29 13:25:13 +02:00
exception.py update: Handle APKs without a version code in their manifest 2025-08-26 10:10:51 +00:00
github.py Sort import 2025-07-26 15:35:19 +00:00
gpgsign.py Sort import 2025-07-26 15:35:19 +00:00
import_subcommand.py standardize on versionName as spelling 2025-09-17 06:55:46 +00:00
index.py update: cache the SHA-256 of the src tarball 2025-07-28 14:11:07 +00:00
init.py Sort import 2025-07-26 15:35:19 +00:00
install.py Sort import 2025-07-26 15:35:19 +00:00
lint.py Remove libcloud and s3cmd from fdroidserver 2025-09-17 11:36:12 +00:00
looseversion.py flavour -> flavor 2025-05-22 12:16:43 +02:00
metadata.py metadata: get_single_build() for new subcommands 2025-10-09 17:00:58 +02:00
mirror.py Sort import 2025-07-26 15:35:19 +00:00
net.py Sort import 2025-07-26 15:35:19 +00:00
nightly.py nightly: include existing APKs in index 2025-09-29 13:25:13 +02:00
publish.py Sort import 2025-07-26 15:35:19 +00:00
readmeta.py Sort import 2025-07-26 15:35:19 +00:00
rewritemeta.py Sort import 2025-07-26 15:35:19 +00:00
scanner.py scanner: remove asLibraryDependency from catalog accessor 2025-09-18 11:19:32 +00:00
signatures.py Sort import 2025-07-26 15:35:19 +00:00
signindex.py Sort import 2025-07-26 15:35:19 +00:00
tail.py Sort import 2025-07-26 15:35:19 +00:00
update.py update: document "added" dates 2025-09-29 13:25:13 +02:00
verify.py Sort import 2025-07-26 15:35:19 +00:00
vmtools.py Sort import 2025-07-26 15:35:19 +00:00