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

macos installers - detect multiple user/top-level installations? #11537

Closed
cscheid opened this issue Nov 26, 2024 · 2 comments
Closed

macos installers - detect multiple user/top-level installations? #11537

cscheid opened this issue Nov 26, 2024 · 2 comments
Labels
enhancement New feature or request installers issues with packages from package managers, installers, etc. needs-discussion Issues that require a team-wide discussion before proceeding further

Comments

@cscheid
Copy link
Collaborator

cscheid commented Nov 26, 2024

See https://bsky.app/profile/bweatherson.bsky.social/post/3lbubjzih422w -

"If you use a Mac, and upgrade Quarto, and don't remember each time whether you're installing for "Just this user" or "All users", you end up with two distinct installations and this can lead to unpleasant confusion."

pkgbuild has preinstall and postinstall scripts. We could, in principle, attempt to detect if an existing version of Quarto looks to be installed in a different path than that requested by the user.

The problem is what, if anything, we should do about it. I don't think we should prevent the installation altogether, because some users might legitimately want a user with a different version than that of the system. At the same time, I don't think preinstall scripts can ask for interactive confirmation or anything like that.

@cscheid cscheid added enhancement New feature or request installers issues with packages from package managers, installers, etc. labels Nov 26, 2024
@mcanouil
Copy link
Collaborator

Just a word of caution as the package is not necessarily used directly by users, i.e., Homebrew is using it.

@cscheid cscheid added the needs-discussion Issues that require a team-wide discussion before proceeding further label Nov 26, 2024
@cscheid
Copy link
Collaborator Author

cscheid commented Dec 4, 2024

After discussing internally, we've decided that this is not something Quarto can appropriately detect and manage, because, as I mentioned above, some users might legitimately want a user-local install with a different version than that of the system.

@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installers issues with packages from package managers, installers, etc. needs-discussion Issues that require a team-wide discussion before proceeding further
Projects
None yet
Development

No branches or pull requests

2 participants