10000 Development CLI: Check for tools versions & Enable `corepack` & Option to Skip env checks by AmmarAbouZor · Pull Request #2304 · esrlabs/chipmunk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Development CLI: Check for tools versions & Enable corepack & Option to Skip env checks #2304

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AmmarAbouZor
Copy link
Member

This PR closes #2303

It provides:

  • Check for minimum needed versions for external tools used in Chipmunk development. The versions are set in the file miv_versions.toml within the development-cli directory in Chipmunk repo.
  • Enable corepack in environment tools checks, since it's used to set yarn version.
  • Option to skip environment checks via CLI argument or User configurations since it may be not needed for developers working day-to-day on Chipmunk

@DmitryAstafyev Could you please have a look into the minimum versions in the file min_versions.toml

* Check for minimum required versions for tools involved in
  Chipmunk development.
* Method to load and extract semantic version from text using regex.
* Provide a file for tools minimum versions.
* Refactor Version struct with named fields instead of tuple & Extend
  its unit tests.
* Remove RustUp from tools since it's not used.
Running the validation in parallel improved the performance significantly since
each tool will spawn a process command and have a regex validation afterward.
corepack is used to determine the configured yarn version and must be
enabled for the build to correct.
* Provide CLI argument to skip environment checks.
* Provide an option in user configurations to skip environment checks.
* Increase development tool version
* Update README & CHANGELOG.
@AmmarAbouZor AmmarAbouZor added the build-cli Used to run integration tests for the build cli tool when a PR includes changes to the cli tool label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-cli Used to run integration tests for the build cli tool when a PR includes changes to the cli tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Development CLI: Include tools minimum versions in environment checks
1 participant
0