Repository navigation
Studio tools in the user workspace; name this Studio's machine - #995
Merged
Merged
Conversation
The Studio adds its tools to pw code in the person's own ACTIVATE user workspace over pw ssh with their own key, as on their clusters, with the owner check kept. A computer that connected itself still gets a command, now one line that fetches the setup with its own pw sign-in. The machine where the Studio runs pw code is named "(this Studio)" in the machine menus and chip, listed first and chosen by default. A Studio with sign-in and no home cluster says why it cannot start there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Studio adds its tools to pw code in your ACTIVATE user workspace, and names its own machine in the machine menus.
The user workspace. Choosing your user workspace for a pw code chat or on the Code page no longer gives you a command to paste. The Studio adds its tools there over
pw ssh workspacewith your own ACTIVATE sign-in, as it does on your clusters: Add, Check, Remove, and the add when a session starts all work the same way. Only your own workspace is set up, and one that is not running says so. A computer that connected itself to ACTIVATE still gets a command.This Studio's machine. The machine where the Studio runs pw code for you is named
<name> (this Studio)in a new chat's machine menu, on the chip once chosen, and in the Code page's machine menu, for examplemy-cluster (this Studio). It is listed first, is the default until you pick another, and its tooltip says pw code there runs as you. Where a Studio with sign-in has noSTUDIO_HOME_CLUSTER, the Code page lists it first with that reason, and nothing starts there.The command to paste. For a computer that connected itself, the command is now one line. It fetches the setup from the Studio through the session proxy with that computer's own pw sign-in, which goes to curl on its input, never on a command line. The box wraps it, with Copy beside it.
The user guide, README and REFERENCE are updated.
Screenshots (Chromium and WebKit, light and dark, 1440 and 390 px, stand-in platform): https://github.com/parallelworks/activate-studio/tree/pr-shots/pr-995