Skip to content

install: Add --wipe_destdir option#894

Merged
aiuto merged 3 commits intobazelbuild:mainfrom
jacky8hyf:wipe_dest
Sep 28, 2024
Merged

install: Add --wipe_destdir option#894
aiuto merged 3 commits intobazelbuild:mainfrom
jacky8hyf:wipe_dest

Conversation

@jacky8hyf
Copy link
Copy Markdown
Contributor

If specified, wipe destination directory before installing.

Fixes #893.

Cleans up a lot of code!
If specified, wipe destination directory before installing.

Fixes bazelbuild#893.
Copy link
Copy Markdown
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

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

Your call on the doc wording.

Clarify that this will delete the whole directory.
@jacky8hyf
Copy link
Copy Markdown
Contributor Author

The test error seemed unrelated to my patch. How do I re-run the test?

@aiuto
Copy link
Copy Markdown
Collaborator

aiuto commented Sep 28, 2024

The test error seemed unrelated to my patch. How do I re-run the test?

They are unrelated errors. Something change in Bazel at head that is breaking a few of these. It's not that Bazel is really broken either, it's that we have tests for compatibility against WORKSPACE too, and Bazel is rapidly deprecating support for that.

I will force merge.

@aiuto aiuto merged commit 5c6aec6 into bazelbuild:main Sep 28, 2024
@jacky8hyf jacky8hyf deleted the wipe_dest branch October 1, 2024 19:30
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.

Add pkg_install(wipe_destdir: bool)

2 participants