-
Notifications
You must be signed in to change notification settings - Fork 48
#39: pip commandlet #1639
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
#39: pip commandlet #1639
Conversation
added execute permissions to binaries added extra echo for pip to uv binaries replaced cmd content with bash
Removed duplicate entry for issue devonfw#39 in the changelog.
…ommandlet
- Refactored Pip.java to extend LocalToolCommandlet instead of DelegatingToolCommandlet
- Created PipRepository extending ArtifactToolRepository for PyPI version resolution
- Created PipArtifact and PipArtifactMetadata data classes
- Created PypiJsonObject record for parsing PyPI JSON API responses
- Added getPipRepository() to IdeContext interface and AbstractIdeContext
- Created PipRepositoryMock for testing with WireMock
- pip installation now delegates to 'uv pip install pip=={version}'
- pip execution runs through 'uv pip' instead of direct pip binary
- Consolidated test resources and fixed test configuration
Addresses review comments from PR devonfw#1597
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/tool/PackageManagerBasedLocalToolCommandlet.java # cli/src/main/java/com/devonfw/tools/ide/tool/node/Node.java
Pull Request Test Coverage Report for Build 20007288351Details
💛 - Coveralls |
|
Nice @hohwille ! Thanks. Just one question:
Is there any option to stay in control as a settings admin over all installations to not end up in different behaviors on the team's machines as some chose so, some others ? |
First of all the project settings can define this via vs. The general configuration philosophy of IDEasy is that users can override things in their IMHO it is not a good idea to give 100% control to an "IDE admin". |
This PR fixes #39
Implemented changes:
ide pip «args»is doing the same thing aspip «args»as we promised in our documentation. Therefore I am still thinking if the default should actually be the "real pip" - currently I madeuvbe the default.Checklist for this PR
Make sure everything is checked before merging this PR. For further info please also see
our DoD.
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»(e.g.#921: fixed setup.bat). If no issue ID exists, title only.In Progressand assigned to you or there is no issue (might happen for very small PRs)with
internalChecklist for tool commandlets
Have you added a new
«tool»as commandlet? There are the following additional checks:«tool»«TOOL»_VERSIONand«TOOL»_EDITIONare honored by your commandlet