Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • apk-tools apk-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 94
    • Issues 94
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • apk-toolsapk-tools
  • Merge requests
  • !112

add filenames to apk indices

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ariadne Conill requested to merge ariadne/apk-tools:feature/index-filenames into master May 04, 2022
  • Overview 6
  • Commits 7
  • Pipelines 0
  • Changes 6

This MR adds a new index field (file-name, apkv2 n) which contains the filename relative to the parent directory of the repository index.

These fields are mapped to apk_package.remote_filename. If apk_package.remote_filename is set, then it will be used in place of the inferred package filename when generating URIs.

While here, refactor the URI generation logic to make it more clear.

Closes #10816.

Edited May 04, 2022 by Ariadne Conill
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/index-filenames