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

DM-39086: Out-of-date docs in butler prune-datasets #837

Merged
merged 3 commits into from May 9, 2023

Conversation

kfindeisen
Copy link
Member

This PR fixes some out-of-date documentation in butler prune-datasets --purge which led to surprising behavior when run without --unstore or without the collections positional argument.

@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (ec07ed1) 87.73% compared to head (140b87e) 87.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
- Coverage   87.73%   87.73%   -0.01%     
==========================================
  Files         268      268              
  Lines       35352    35352              
  Branches     7440     7440              
==========================================
- Hits        31017    31016       -1     
  Misses       3169     3169              
- Partials     1166     1167       +1     
Impacted Files Coverage Δ
python/lsst/daf/butler/cli/cmd/commands.py 89.51% <ø> (ø)
python/lsst/daf/butler/script/_pruneDatasets.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kfindeisen kfindeisen requested a review from TallJimbo May 8, 2023 18:47
The argument is used when no other collections are provided, leading to
surprising behavior for users who expected (or were afraid of) a global
delete.
@kfindeisen kfindeisen merged commit e45d324 into main May 9, 2023
12 of 13 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-39086 branch May 9, 2023 00:42
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.

None yet

3 participants