Skip to content

Combine checks and parsing of versioned packages #1116

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

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

hezhizhen
Copy link
Contributor

@hezhizhen hezhizhen commented Jun 7, 2023

Summary

  1. Move IsVersionedPackage from lock to devpkg
  2. Change IsVersionedPackage to ParseVersionedPackage to combine checking and parsing of packages (return name and version and a boolean value indicating if the package is versioned)
  3. Reuse ParseVersionedPackage in versioned packages checking and parsing cases.

How was it tested?

devbox update python
devbox update [email protected]

@hezhizhen
Copy link
Contributor Author

Wait #1115 to be merged first.

@hezhizhen hezhizhen marked this pull request as ready for review June 7, 2023 10:00
@hezhizhen
Copy link
Contributor Author

@mikeland86 PTAL

@savil savil requested review from savil and mikeland73 and removed request for savil June 12, 2023 15:52
Copy link
Contributor

@mikeland73 mikeland73 left a comment

Choose a reason for hiding this comment

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

Nice!

@savil savil merged commit b70728a into jetify-com:main Jun 14, 2023
@hezhizhen hezhizhen deleted the versionedpkg branch August 9, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants