fdroidserver.lint module

fdroidserver.lint.check_antiFeatures(app)

Check the Anti-Features keys match those declared in the config.

fdroidserver.lint.check_app_field_types(app)

Check the fields have valid data types.

fdroidserver.lint.check_builds(app)
fdroidserver.lint.check_categories(app)

App uses ‘Categories’ key and parsed config uses ‘categories’ key.

fdroidserver.lint.check_certificate_pinned_binaries(app)
fdroidserver.lint.check_char_limits(app)
fdroidserver.lint.check_checkupdates_ran(app)
fdroidserver.lint.check_current_version_code(app)

Check that the CurrentVersionCode is currently available.

fdroidserver.lint.check_duplicates(app)
fdroidserver.lint.check_empty_fields(app)
fdroidserver.lint.check_extlib_dir(apps)
fdroidserver.lint.check_files_dir(app)
fdroidserver.lint.check_for_unsupported_metadata_files(basedir='')

Check whether any non-metadata files are in metadata/.

fdroidserver.lint.check_format(app)
fdroidserver.lint.check_license_tag(app)

Ensure all license tags contain only valid/approved values.

fdroidserver.lint.check_regexes(app)
fdroidserver.lint.check_ucm_tags(app)
fdroidserver.lint.check_update_check_data_int(app)

UpdateCheckData regex must match integers.

fdroidserver.lint.check_update_check_data_url(app)

UpdateCheckData must have a valid HTTPS URL to protect checkupdates runs.

fdroidserver.lint.check_updates_expected(app)

Check if update checking makes sense.

fdroidserver.lint.check_updates_ucm_http_aum_pattern(app)

AutoUpdateMode with UpdateCheckMode: HTTP must have a pattern.

fdroidserver.lint.check_useless_fields(app)
fdroidserver.lint.check_vercode_operation(app)
fdroidserver.lint.enforce_https(domain)
fdroidserver.lint.forbid_shortener(domain)
fdroidserver.lint.get_lastbuild(builds)
fdroidserver.lint.lint_config(arg)
fdroidserver.lint.lint_metadata(options)
fdroidserver.lint.load_antiFeatures_config()

Lazy loading, since it might read a lot of files.

fdroidserver.lint.load_categories_config()

Lazy loading, since it might read a lot of files.

fdroidserver.lint.main()