Skip to content

Commit

Permalink
Update fdroid test results #512 #515
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Aug 13, 2024
1 parent 75dd5e6 commit 73454da
Show file tree
Hide file tree
Showing 4 changed files with 585 additions and 419 deletions.
1 change: 1 addition & 0 deletions minecode/miners/fdroid.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def build_packages(purl, data):
# these must exists or there is no F-Droid package
file = version_data["file"]
filename = file["name"]
filename = filename.lstrip("/")
sha256 = file["sha256"]
size = file["size"]
download_url = f"https://f-droid.org/repo/{filename}"
Expand Down
5 changes: 2 additions & 3 deletions minecode/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
from minecode import map_router

# UnusedImport here!
# But importing the mappers and visitors module triggers routes registration
from minecode import mappers # NOQA
# But importing the miners module triggers routes registration
from minecode import miners # NOQA
from minecode import visit_router
from minecode import visitors # NOQA
from packagedb.models import Package

logger = logging.getLogger(__name__)
Expand Down
Loading

0 comments on commit 73454da

Please sign in to comment.