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

DOC: Demote logging about non-matching glob to warning #5472

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

carterbox
Copy link
Contributor

@carterbox carterbox commented Aug 30, 2024

The expand_globs function from conda_build.utils logs an ERROR when a glob expression returns no matches, this is overly alarming because the user may now use negative glob expressions which they don't care if it returns empty or the user may want to use the same set of glob expressions for multiple platforms some of which may return empty on some platforms.

#5216
#5455

Description

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?

- [ ] Add / update necessary tests? No relevant tests
- [ ] Add / update outdated documentation? No relevant documentation

The expand_globs function from conda_build.utils logs an ERROR
when a glob expression returns no matches, this is overly alarming
because the user may now use negative glob expressions which they
don't care if it returns empty or the user may want to use the
same set of glob expressions for multiple platforms some of which
may return empty on some platforms.

conda#5216
conda#5455
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Aug 30, 2024
Copy link

codspeed-hq bot commented Aug 30, 2024

CodSpeed Performance Report

Merging #5472 will not alter performance

Comparing carterbox:empty-glob-logging-level (9516b24) with main (8d0ca34)

Summary

✅ 5 untouched benchmarks

@carterbox carterbox marked this pull request as ready for review November 25, 2024 23:20
@carterbox carterbox requested a review from a team as a code owner November 25, 2024 23:20
@beckermr beckermr enabled auto-merge (squash) November 26, 2024 11:28
@beckermr beckermr merged commit dbfc615 into conda:main Nov 26, 2024
28 checks passed
@carterbox carterbox deleted the empty-glob-logging-level branch November 27, 2024 14:25
@carterbox
Copy link
Contributor Author

Thanks @beeankha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants