feat(ui): direct-download links for downloadable local repo files #106

Merged
benvin merged 1 commits from benvin/ui-download-links into master 2026-07-25 14:15:26 +10:00

1 Commits

Author SHA1 Message Date
Ben Vin 0c760bafcd feat(ui): direct-download links for downloadable local repo files
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
Make filenames in the local repo object browser direct-download links
for repo types that expose a downloadable file route (rpm now).

- add downloadableTypes capability map keyed by package_type
- render file names as <a href download> when the type is downloadable
- fetch the repo package_type on the Objects page as the modularity hook
- enable rpm via the yum files route /api/v2/remotes/<repo>/files/<path>
2026-07-25 12:59:23 +10:00