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

Fix filename parser to support digits in artifact name #9794

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

srnagar
Copy link
Member

@srnagar srnagar commented Feb 7, 2025

This PR fixes the filename parser to support digits in the artifact name. The previous parser assumed the first digit in the filename was the start of the version number, which caused issues when the artifact name contained digits. The change uses regex pattern matcher to identify the artifact ID and package version in the filename.

Copy link
Member

@JonathanGiles JonathanGiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The only annoying thing is that I am still waiting for the v2 parser to be merged over here: #9394
There will be a merge conflict one way or the other.

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