-
Notifications
You must be signed in to change notification settings - Fork 388
feat: allow listing only direct dependencies via --direct-deps-only #3921
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
base: main
Are you sure you want to change the base?
Conversation
resolves mamba-org#3344 I can't test micromamba as I can't get it to build (see mamba-org#3920) It seems to work for mamba
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3921 +/- ##
=======================================
Coverage ? 63.37%
=======================================
Files ? 300
Lines ? 37169
Branches ? 2782
=======================================
Hits ? 23557
Misses ? 13559
Partials ? 53 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -152,6 +153,7 @@ namespace mamba | |||
{ return (regex.empty() || std::regex_search(pkg_info.name, spec_pat)); }; | |||
|
|||
auto all_records = prefix_data.all_pkg_mgr_records(); | |||
auto requested_specs = prefix_data.history().get_requested_specs_map(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
auto requested_specs = prefix_data.history().get_requested_specs_map(); | |
const auto requested_specs = prefix_data.history().get_requested_specs_map(); |
I cant find a modification for this so I suspect const
works here.
resolves #3344
I can't test micromamba as I can't get it to build (see #3920)
It seems to work for mamba