Skip to content

Use only the package distro when possible#7

Open
stertooy wants to merge 2 commits into
gap-actions:mainfrom
stertooy:avoid-repo
Open

Use only the package distro when possible#7
stertooy wants to merge 2 commits into
gap-actions:mainfrom
stertooy:avoid-repo

Conversation

@stertooy

@stertooy stertooy commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

If one of the package inputs is given as a package name, and either the version is "latest", or whatever given version happens to match the version in the GAP package distribution, then we get the archive URL from the package distribution instead of getting it from the package repository.

If the package input is of the form "user/repo", or if the requested version doesn't match that of the package distribution, then we still check the package repository for the requested version.

This also lets the user choose which "latest" version they want:

  • Latest version released by the package authors/maintainers: use user/repo@latest
  • Latest version that has been merged in the Package Distribution: use packagename@latest

Together with PR #6 this should provide a solution to #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant