Commit Graph

75 Commits

Author SHA1 Message Date
João Moreno
59814267dd Use new Key Vault account (#166049)
use separate keyvault
2022-11-11 09:38:36 +01:00
Johannes
696c1cf199 build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
Connor Peet
63fbcea804 cli: pin rust (and clippy) version for builds 2022-11-07 17:56:35 -08:00
Connor Peet
fff294400b Merge remote-tracking branch 'origin/main' into connor4312/use-packaged-openssl 2022-10-21 10:55:13 -07:00
Connor Peet
ddd4431d14 build: fix git auth with cli 2022-10-20 18:25:19 -07:00
Connor Peet
883bac79c4 build: fix
Local debug stuff got onto main
2022-10-20 17:59:16 -07:00
Connor Peet
bf36a10c47 cli: use packaged openssl instead of artisanal builds 2022-10-20 17:14:14 -07:00
Connor Peet
8ba5882fb8 Merge pull request #163971 from microsoft/connor4312/cli-vcpkg
cli: use vcpkg for everything
2022-10-20 16:45:18 -07:00
Connor Peet
c536595a7f cli: fallback to system installs in the standalone CLI
The standalone CLI should detect and fall back to using and
system-installed VS Code instance, rather than trying to download zips
and manage its own VS Code instances.

There are three approaches used for discovery:

- On Windows, we can easily and quickly read the register to find
  installed versions based on their app ID.
- On macOS, we initially look in `/Applications` and fall back to the
  slow `system_profiler` command to list app .app's if that fails.
- On Linux, we just look in the PATH. I believe all Linux installers
  (snap, dep, rpm) automatically add VS Code to the user's PATH.

Failing this, the user can also manually specify their installation dir,
using the command `code version use stable --install-dir /path/to/vscode`.

Fixes #164159
2022-10-20 10:54:13 -07:00
Connor Peet
ed0a21eda6 Merge remote-tracking branch 'origin/main' into connor4312/msrustup 2022-10-18 14:25:51 -07:00
Connor Peet
24a51e506f try using vcpkg for everything 2022-10-18 10:58:50 -07:00
Connor Peet
7c3740a7e7 update prepare scripts, license, lockfile 2022-10-17 11:50:49 -07:00
Connor Peet
cb1b7ec10b temporarily disable secret-service pending update 2022-10-17 11:13:51 -07:00
Connor Peet
84439a87f6 wip 2022-10-14 15:46:49 -07:00
Connor Peet
84a929b8b7 Merge remote-tracking branch 'origin/main' into connor4312/cli-self-update 2022-10-14 14:23:41 -07:00
Connor Peet
a5e9b83d65 ci: fix wrong file in cli tests 2022-10-12 17:05:41 -07:00
Connor Peet
b42f25b50b address pr comments 2022-10-11 08:30:43 -07:00
Connor Peet
dc69e22984 fix build 2022-10-10 15:59:55 -07:00
Connor Peet
191dc770d1 address pr comments 2022-10-10 10:40:01 -07:00
Connor Peet
b401701d87 address pr comments 2022-10-05 11:46:24 -07:00
Connor Peet
889fbd2f1b add detection for integrated cli, verify 2022-09-26 07:22:58 +02:00
Connor Peet
07453efc00 cli: implement better self-updating
- Start separating a "standalone" CLI. This is a little awkward with clap-
  derive, but I got it working. Detection of whether the CLI _is_
  standalone is still todo.
- Remove the old ad-hoc update code for code-server, and use the update
  service instead.
- Fix some of the "permission denied" errors people got while updating
  before. We need to rename the old running binary, not just overwrite it.
2022-09-23 17:47:39 -07:00
Connor Peet
a9bcb15b75 cli: run ci on pr 2022-09-23 14:31:37 -07:00
Connor Peet
9bcc88eafe cli: get builds in order 2022-09-23 13:28:26 -07:00
Connor Peet
e02895941d build: include the integrated CLI in product builds 2022-09-19 23:16:19 -07:00