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

Support auto-upgrades for Linux and MacOS without dotnet #14

Open
jezzsantos opened this issue Sep 27, 2022 · 0 comments
Open

Support auto-upgrades for Linux and MacOS without dotnet #14

jezzsantos opened this issue Sep 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jezzsantos
Copy link
Owner

This plugin (currently) requires that the CLI is installed using dotnet tool install automate --global on the machine where Rider is installed. Furthermore, in these early days of developing the plugin, the automate.exe CLI is evolving to support the plugin, and rapidly changing its external interfaces (specifically how it outputs its responses using --output-structured.

The plugin has been tested on both Windows and MacOS, as is able to work fine, when JB Rider is installed, and thus the dotnet CLI is installed in its default location. (see jezzsantos.automate.plugin.infrastructure.services.cli.OSPlatform).
In this configuration, the plugin can self-install the required automate.exe CLI, and keep it up to date with subsequent versions.

However, if the automate.exe is installed using any other method other than using the dotnet CLI, then its location on the local machine is not predictable to keep up to date. Even though the plugin allows the user to define the installation location.

Solution

For users (on Windows, Linux or macOS) who use a custom installation location, we need another strategy for updating the automate.exe CLI on their machine.

It may involve these things:

  • elevated privileges
  • another repository of the executables
  • installation of the relevant dotnet runtime

At present these things are considered too hard to manage effectively.
We also don't know how many users have these outlier requirements on their machines.

The sole reason that the plugin is targetted at JB Rider only (at present), is that we can make a solid assumption that the dotnet CLI will be present on the machine. Whereas, with other JB IDEs (i.e. IntelliJ IDEA), that may not be a safe assumption.

@jezzsantos jezzsantos added the enhancement New feature or request label Sep 27, 2022
@jezzsantos jezzsantos changed the title Linux and MacOS without dotnet Support auto-upgrades for Linux and MacOS without dotnet Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant