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

Reorders package managers for python ecosystem metric collection #11040

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

sachin-sandhu
Copy link
Contributor

@sachin-sandhu sachin-sandhu commented Dec 2, 2024

What are you trying to accomplish?

We are not able to see pipenv package manager in metric collection, experimenting if reordering package manager as per update checker resolves this issue.

Adds more telemetry data to verify python version that is coming up in metric.

Anything you want to highlight for special attention from reviewers?

How will you know you've accomplished your goal?

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@sachin-sandhu sachin-sandhu self-assigned this Dec 2, 2024
@sachin-sandhu sachin-sandhu requested a review from a team as a code owner December 2, 2024 18:30
@@ -93,12 +93,12 @@ def package_manager
def detected_package_manager
setup_python_environment if Dependabot::Experiments.enabled?(:enable_file_parser_python_local)

return PipenvPackageManager.new(T.must(detect_pipenv_version)) if detect_pipenv_version

return PoetryPackageManager.new(T.must(detect_poetry_version)) if detect_poetry_version
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for python , we are evaluating package managers based on the lock file names generated, i.e. poetry.lock , requirements.txt etc,

Copy link
Contributor

@kbukum1 kbukum1 left a comment

Choose a reason for hiding this comment

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

LGTM

@sachin-sandhu sachin-sandhu force-pushed the ssandhu/logging-info-python-ecosystem branch from dea8139 to a717d9b Compare December 2, 2024 20:19
@sachin-sandhu sachin-sandhu merged commit 2cac563 into main Dec 3, 2024
60 checks passed
@sachin-sandhu sachin-sandhu deleted the ssandhu/logging-info-python-ecosystem branch December 3, 2024 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants