1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-11 01:40:11 +01:00

Merge branch 'checkupdates_ignore_appname' into 'master'

Support UpdateCheckName in dirs_with_manifest

Closes #1155

See merge request fdroid/fdroidserver!1501
This commit is contained in:
Jochen Sprickerhof 2024-07-30 11:32:59 +00:00
commit 1ebf32321f

View File

@ -406,7 +406,7 @@ def possible_subdirs(app: metadata.App):
for d in dirs_with_manifest(build_dir): for d in dirs_with_manifest(build_dir):
m_paths = common.manifest_paths(d, last_build.gradle) m_paths = common.manifest_paths(d, last_build.gradle)
package = common.parse_androidmanifests(m_paths, app)[2] package = common.parse_androidmanifests(m_paths, app)[2]
if package is not None: if package is not None or app.UpdateCheckName == "Ignore":
subdir = d.relative_to(build_dir) subdir = d.relative_to(build_dir)
logging.debug("Adding possible subdir %s" % subdir) logging.debug("Adding possible subdir %s" % subdir)
yield subdir yield subdir