20 Commits

Author SHA1 Message Date
Filip Troníček
810f5e9a01
[WS CLI] Make env --scope=user compatible with GitLab groups (#20279)
* [WS CLI] Make `env --scope=user` compatible with GitLab groups

* Allow updating `*/*` scoped vars for backwards compat

* Fix test races
2024-10-22 13:39:52 -04:00
Gero Posmyk-Leinemann
192727f082
[gp] Add helpful message in case "gp env --scope=user" fails because of missing create permission (#20227)
* [gp] Add helpful message in case "gp env --scope=user" fails because of missing create permission

* Fix typo

Co-authored-by: Filip Troníček <filip@gitpod.io>

* another typo

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-09-17 07:59:03 -04:00
Gero Posmyk-Leinemann
d3eccd0169
[gp] Allow update of existing user-scoped env vars (#20193)
* [gp, protocol, server] Remove references to long-deprecated "getEnvVars" API method

* [gp, server] Allow users to update user-scopes env vars
2024-09-11 02:57:56 -04:00
Anton Kosyakov
9f975671d0
fix IDE-130: report gp env arg parsing errors as user errors (#17780) 2023-05-31 14:58:05 +08:00
Anton Kosyakov
626d05722f [rebuild] consume workspace env var as is
gp env changes values a bit to satisfy eval, instead of using it rebuild directly applies values returned by a server
2023-02-22 15:01:52 +01:00
Anton Kosyakov
532513a848 fix #12208: gp env to respect workspace env vars 2023-02-20 18:36:50 +01:00
Pudong Zheng
352393456b gitpod-cli: add analytics
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-02-08 17:43:46 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Manuel Alejandro de Brito Fontes
9500ed33eb Remove duplication of parsing SUPERVISOR_ADDR 2022-08-11 01:40:54 +02:00
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Filip Troníček
96199858ad Clean up some theia references
Fix condition

remove `printVarFromTheia`

Unused theia lib
2022-01-14 03:58:06 +01:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Gero Posmyk-Leinemann
63108b7d54 [gp] env: handle multi-word values without quotes 2021-07-15 15:35:28 +02:00
Manuel Alejandro de Brito Fontes
eeb4a39c78 [gitpod-cli] Fix parsing of env variables 2021-06-14 11:28:46 -04:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Anton Kosyakov
5e39b06cb5 [gitpod-cli/protocol] remove dependency to common-go 2021-03-29 16:10:34 +02:00
Anton Kosyakov
4ebbcc1d62 fix #3162: decouple gp env from theia 2021-03-29 16:10:34 +02:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00