Skip to content

Customize IPM load flags used by pull event handlers#975

Open
isc-pbarton wants to merge 1 commit into
mainfrom
configure-ipm-flags
Open

Customize IPM load flags used by pull event handlers#975
isc-pbarton wants to merge 1 commit into
mainfrom
configure-ipm-flags

Conversation

@isc-pbarton

Copy link
Copy Markdown
Collaborator

Description

Resolves #974
You can now configure custom load flags to be used by the IPM event handlers. This is enough of a niche that for now I'm not adding this setting to the Configure() API or the Settings page.

Testing

Unit test class is an integration test of the PackageManagerReload event handler, covering the existing and new behavior.

Checklist

  • This branch has the latest changes from the main branch rebased or merged.
  • [N/A] Web UI has been built (any changes in git-webui/src have matching changes in git-webui/release)
  • CHANGELOG.md entry added if appropriate.
  • [N/A] Documentation has been/will be updated

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.31%. Comparing base (89d17e3) to head (409896f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #975      +/-   ##
==========================================
+ Coverage   49.00%   49.31%   +0.31%     
==========================================
  Files          23       22       -1     
  Lines        3304     3305       +1     
==========================================
+ Hits         1619     1630      +11     
+ Misses       1685     1675      -10     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@isc-pbarton

Copy link
Copy Markdown
Collaborator Author

build output shows that unit tests pass. CI is still failing with unrelated xunit-viewer issue.

)
}

/// Configures additional flags to be used with zpm "load" by Package Manager pull event handlers

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How does this handle flags that look different, e.g. load -dev -DNoMapping=1 -extra-pip-flags "--timeout 30"?
Should also probably test that these get handled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuration of IPM flags for event handlers

3 participants