Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

corneliusroemer
Copy link
Contributor

resolves #3344

I can't test micromamba as I can't get it to build (see #3920)

It seems to work for mamba

Copy link

codecov bot commented May 4, 2025

Codecov Report

Attention: Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@95050ee). Learn more about missing BASE report.

Files with missing lines Patch % Lines
libmamba/src/api/list.cpp 0.00% 21 Missing ⚠️
micromamba/src/list.cpp 0.00% 6 Missing ⚠️
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.
📢 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.

@@ -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();
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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.

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 outputting of explicitly (vs implicitly) installed packages also in non-TTY output of micromamba list
2 participants