Skip to content

core warnings for missing Source.collect_source_info() implementations#2018

Merged
abderrahim merged 3 commits intomasterfrom
tristan/source-info-fatal-warning
Jun 2, 2025
Merged

core warnings for missing Source.collect_source_info() implementations#2018
abderrahim merged 3 commits intomasterfrom
tristan/source-info-fatal-warning

Conversation

@gtristan
Copy link
Contributor

@gtristan gtristan commented Jun 2, 2025

This allows projects to have a policy for only using sources which provide the new source provenance introspection routines.

@gtristan gtristan force-pushed the tristan/source-info-fatal-warning branch from 62bf6b9 to 861c7e9 Compare June 2, 2025 09:24
Copy link
Contributor

@abderrahim abderrahim left a comment

Choose a reason for hiding this comment

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

A couple minor comments.

gtristan added 2 commits June 2, 2025 21:41
… unimplemented

This allows the project to have a policy of only allowing usage of sources
which implement Source.collect_source_info() (or SourceFetcher.get_source_info()).
This elaborates on the unimplemented test case to check behavior
of fatal vs non-fatal warnings.
@gtristan gtristan force-pushed the tristan/source-info-fatal-warning branch from 861c7e9 to cac1ea8 Compare June 2, 2025 12:41
@abderrahim abderrahim merged commit f5b9997 into master Jun 2, 2025
17 checks passed
@abderrahim abderrahim deleted the tristan/source-info-fatal-warning branch June 2, 2025 17:19
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.

2 participants