131 Commits

Author SHA1 Message Date
Pudong Zheng
352393456b gitpod-cli: add analytics
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-02-08 17:43:46 +01:00
Anton Kosyakov
5d516df005 small improvements for gp rebuild
- fix checkout and workspace locations
- don't generate dockerfile if image is specified to avoid transfering traffic to daemon over and over
- only do inline replacements for VS Code Server in debug mode
2023-02-08 10:04:46 +01:00
Kwok He Chu
64fdd5a2b1 Added WorkspaceContextUrl to gitpod-cli under the command gp info 2023-02-07 13:23:45 +01:00
Anton Kosyakov
9b3f8a2cc4 gp rebuild with isolated debug workspace
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-02-06 14:47:44 +01:00
Andrea Falzetti
1c5296e0f5 gitpod-cli: call segement directly for analytics 2023-01-18 18:40:26 +01:00
Sven Efftinge
95996df038 [server, cli] Allow flexible workspace timeouts 2023-01-18 16:14:26 +01:00
Andrea Falzetti
75fec4ac8e gp rebuild improvements
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2023-01-18 10:24:26 +01:00
Siddhant Khare
83a75c732a educate user about gitpod templates
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-17 09:50:25 +01:00
Andrea Falzetti
1e24370e8e gitpod-cli: add gp rebuild cmd
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2023-01-13 14:48:21 +01:00
Siddhant Khare
7cb644114f feat: gp docs in gitpod cli
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-13 11:05:52 +01:00
Siddhant Khare
e7fd85cbf2 chore: descriptive output gp CLI
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-06 18:43:46 +01:00
Siddhant Khare
1d3bf3065f fix: context URLs of JetBrains ex. repo.
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2022-12-27 15:51:36 +01:00
Anton Kosyakov
e8a7835f9b [gitpod-cli] clean up
This PR introduces SupervisorClient to cache grpc connection and clients. It is in a prepartion to support inner container while running gp-run to provide access to all tasks.
2022-12-21 09:18:30 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrea Falzetti
e052cd2af5 fix(gp-cli): display error for unknown subcommands 2022-11-12 12:16:41 +02:00
Manuel Alejandro de Brito Fontes
184fec8010 Refactor gp await to use available protocols 2022-11-09 17:59:39 +02:00
Andrea Falzetti
7c5dc44b4a fix(gitpod-cli): ports list safe access to exposed url 2022-10-21 21:31:36 +02:00
mustard
c2f7cdf7d9 [gp-cli] remove sort in gp ports list cmd 2022-10-20 22:01:36 +02:00
Andrea Falzetti
3c072803c6 feat(gitpod-cli): report errors to ide-metrics-api 2022-10-13 18:21:28 +02:00
Anton Kosyakov
11c412b57d [gp-cli] remove unused code 2022-10-11 10:22:26 +02:00
Wouter Verlaek
3684e89d24 Move workspace class to table 2022-10-05 16:32:21 +02:00
Wouter Verlaek
858c37ad99 chore(gitpod-cli): Update top table output format 2022-10-05 16:32:21 +02:00
Wouter Verlaek
208fbe4806 feat(gitpod-cli): gp info command 2022-10-05 10:07:20 +02:00
mustard
0d416fb738 [gp-cli] add command to change ports visibility 2022-09-29 11:42:30 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Andrea Falzetti
dabea333b8 feat(gitpod-cli): new cmd to stop tasks 2022-08-25 10:15:41 +02:00
Andrea Falzetti
131aa358ad feat(supervisor): add resource status severity 2022-08-17 13:35:33 +02:00
Andrea Falzetti
7d717e07b4 chore(gitpod-cli): align thresholds with jetbrains 2022-08-12 15:27:29 +02:00
Andrea Falzetti
1124ffb8ce feat(gitpod-cli): highlight current task 2022-08-12 11:47:29 +02:00
Manuel Alejandro de Brito Fontes
9500ed33eb Remove duplication of parsing SUPERVISOR_ADDR 2022-08-11 01:40:54 +02:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
Andrew Farries
3225597af9 Add gp timeout show command 2022-06-24 21:37:33 +05:30
mustard
d820847fc6 [gp-cli] update timeout description 2022-06-17 16:59:26 +05:30
Andrea Falzetti
8dad2f139d feat(gp-cli): allow disabling output colorization 2022-06-15 22:54:25 +05:30
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
CuriousCorrelation
311d13c9a0 [gp-cli] Move forward-port subcmd to ports expose
`forward-port` is now deprecated. New cmd is `gp ports expose`.
`forward-port` is now an alias for `ports expose`
for backwards compatibility.
2022-06-14 04:43:23 +05:30
CuriousCorrelation
09959a939c [gp-cli] Add await subcommand to ports
`await-port` is now deprecated. New command is `gp ports await`.
`await-port` is now an alias for backwards compatibility.
2022-06-14 04:43:23 +05:30
Andrea Falzetti
f5eaee97fa feat(gitpod-cli): add top cmd 2022-06-13 22:45:23 +05:30
mustard
a732374b3d [gp-cli] add command to extend workspace timeout 2022-06-13 15:34:22 +05:30
mustard
a8d73acde1 [gp-cli] refactor cmd tasks and ports supervisor related func 2022-06-01 19:33:50 +05:30
mustard
c963c03248 [gp-cli] move cmd files 2022-06-01 19:33:50 +05:30
Victor Nogueira
0723994110 Add command 'gp ports list' to gitpod-cli 2022-06-01 15:29:50 +05:30
Andrea Falzetti
e5ea51151c feat(gitpod-cli): add tasks cmd 2022-03-21 18:31:27 +05:30
Pudong Zheng
836aca6144 supplement git credential-helper smoke test comment 2022-02-25 00:26:04 +05:30
Pudong Zheng
343ae262fd fix 'gp credential-helper' told us to quit 2022-02-23 21:34:03 +05:30
Jean Pierre
6f8f153ddf Use procfs library for reading proc files 2022-02-11 02:23:32 +01:00
Anton Kosyakov
8bdd0ca581 [jb-remote] gp cli support 2022-02-09 12:59:30 +01:00
Jean Pierre
6e8e2a53b6 Fix credential helper regression 2022-02-08 17:11:30 +01:00
Pudong Zheng
f042238d86 Fix git credentials not work when git remote is not origin
Add unit test
2022-02-02 09:52:24 +01:00
Jean Pierre
6cbed98c11 credentialHelper minor refactor 2022-01-24 05:23:16 +01:00