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

Extract Symlinks from Archives #1718

Merged
merged 4 commits into from May 4, 2021
Merged

Extract Symlinks from Archives #1718

merged 4 commits into from May 4, 2021

Conversation

4e6
Copy link
Contributor

@4e6 4e6 commented May 3, 2021

Pull Request Description

Changelog:

  • feat: re-create symlinks when extracting archives
  • update: supply cause when returning errors in RuntimeVersionManager

Important Notes

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Scala, Java, and Rust style guides.
  • All documentation and configuration conforms to the markdown and YAML style guides.
  • All code has been tested where possible.

@4e6 4e6 added Type: Bug p-high Should be completed in the next sprint labels May 3, 2021
@4e6 4e6 self-assigned this May 3, 2021
@@ -75,5 +75,5 @@ case class UninstallationError(message: String)
/** Indicates that the required executable was not found. */
case class ExecutableNotFoundError(path: Path, name: String)
extends ComponentsException(
s"Executable with the name '$name' does not found on $path."
s"Executable with the name '$name' was not found on $path."
Copy link
Contributor

Choose a reason for hiding this comment

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

We have to be careful with log messages like these. Users may have sensitive data in their path and this may leak it. This is probably something we need to think about more broadly, and perhaps have an additional flag alongside the log level that controls whether we log possible PII.

Of course these logs are only on-user-disk, but by the same token we can't expect them to read through the entire log to check if it's okay to send.

@4e6 4e6 merged commit 83c79a2 into main May 4, 2021
@4e6 4e6 deleted the wip/db/archive-extract-symlink branch May 4, 2021 11:17
iamrecursion pushed a commit that referenced this pull request Jun 24, 2021
re-create symlinks when extracting archives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p-high Should be completed in the next sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants