Skip to content

Fix user network config being ignored in package manger operations #2889

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 2 commits into
base: master
Choose a base branch
from

Conversation

alessio-perugini
Copy link
Contributor

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

We correctly pass the downloader config during the Build() of the package manager

What is the current behavior?

Currently, the downloader config is not passed when building the final package manager. This led to ignoring user network configs.

What is the new behavior?

We correctly pass the downloader configs.

Does this PR introduce a breaking change, and is titled accordingly?

Other information

During the `Build()` we forgot to pass the pmb downloaderConfig property
@alessio-perugini alessio-perugini linked an issue Apr 14, 2025 that may be closed by this pull request
3 tasks
@alessio-perugini alessio-perugini self-assigned this Apr 14, 2025
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

I verified this fixes #2888. Thanks Alessio!

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: package-management Related to the packaging and managing of the platform/libraries labels Apr 14, 2025
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.83%. Comparing base (23ed1b1) to head (07bfeef).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2889   +/-   ##
=======================================
  Coverage   67.83%   67.83%           
=======================================
  Files         238      238           
  Lines       22418    22419    +1     
=======================================
+ Hits        15208    15209    +1     
  Misses       6010     6010           
  Partials     1200     1200           
Flag Coverage Δ
unit 67.83% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alessio-perugini alessio-perugini requested a review from a team April 14, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: package-management Related to the packaging and managing of the platform/libraries type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core install command ignores network.proxy configuration
3 participants