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

Enable toggling "Share" workspace setting via GitPod CLI #20159

Open
vivdlu opened this issue Aug 30, 2024 · 3 comments
Open

Enable toggling "Share" workspace setting via GitPod CLI #20159

vivdlu opened this issue Aug 30, 2024 · 3 comments

Comments

@vivdlu
Copy link

vivdlu commented Aug 30, 2024

Is your feature request related to a problem? Please describe

I want to generate a shareable workspace URL via GitPod CLI, so many colleagues can visit the same URL and see the workspace. I can already grab the URL via GitPod CLI and toggle the "Share" setting via the UI, but I want to do it entirely via GitPod CLI. I'm requesting a feature where I can toggle the "Share" setting via GitLab CLI command.

Describe the behaviour you'd like

Some sort of command like gp create workspace <insert-path> --ssh --share that toggles the workspace as shareable via CLI.

Describe alternatives you've considered

Using snapshots is the only alternative I found in this doc, but it feels redundant to spin up a whole new workspace and that takes more time.

Additional context

If this is not the intended use of the "Share" setting, let me know. I'm also interested in knowing if it's possible to apply custom URLs or custom firewalls to the workspace URL (to mitigate security concerns around revealing confidential content). I understand this might be a separate ticket though.

@axonasif
Copy link
Member

Are you using VS Code web as your IDE?

@vivdlu
Copy link
Author

vivdlu commented Aug 30, 2024 via email

@axonasif
Copy link
Member

axonasif commented Sep 2, 2024

Hi @vivdlu,

Thanks for confirming. For now your only option is to use the "Share" button on the bottom toolbar of VSCode. I don't see this being implemented in the foreseeable future but I'll share this internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants