Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: resolve ecosystem based on package type #120

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

jacek-rzrz
Copy link
Contributor

Package ecosystems were previously determined based on file extension. This would not scale as we expand the plugin with further ecosystems, e.g. both pypi and cocoapods use the .tar.gz extension.

This commit switches to packageType field provided by Artifactory's RepositoryConfiguration model in order to determine the ecosystem without relying on file extensions.

Package ecosystems were previously determined based on file extension.
This would not scale as we expand the plugin with further ecosystems,
e.g. both `pypi` and `cocoapods` use the `.tar.gz` extension.

This commit switches to `packageType` field provided by Artifactory's
`RepositoryConfiguration` model in order to determine the ecosystem
without relying on file extensions.
@jacek-rzrz jacek-rzrz requested a review from a team as a code owner November 19, 2024 09:38
@jacek-rzrz jacek-rzrz merged commit 307e75a into main Nov 19, 2024
12 checks passed
@jacek-rzrz jacek-rzrz deleted the chore/resolve-ecosystem-based-on-package-type branch November 19, 2024 10:38
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.

2 participants