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

Improve error reporting in aliBuild clean #814

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

TimoWilken
Copy link
Contributor

  1. Report the actual error when cleanup fails.
  2. Keep going when one directory can't be deleted. This should stop one failing dir from completely blocking all cleanup in CI.
  3. Use logging to show messages, to match the rest of aliBuild.
  4. Fix decideClean docstring to match its code.
  5. Adjust tests to match.

1. Report the actual error when cleanup fails.
2. Keep going when one directory can't be deleted. This should stop one
   failing dir from completely blocking all cleanup in CI.
3. Use logging to show messages, to match the rest of aliBuild.
4. Fix decideClean docstring to match its code.
5. Adjust tests to match.
@TimoWilken TimoWilken requested a review from ktf November 25, 2023 20:03
@TimoWilken
Copy link
Contributor Author

@ktf I've added tests to cover all the branches in doClean as well.

Could you merge this as well?

@TimoWilken TimoWilken merged commit 669252d into alisw:master Dec 12, 2023
11 checks passed
@TimoWilken TimoWilken deleted the cleanup-better-logging branch December 12, 2023 13:51
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.

1 participant