Commit Graph

3423 Commits

Author SHA1 Message Date
Joe Previte f7dd9a672d
fixup!: fix plugin typings 2022-09-20 14:31:14 -07:00
Joe Previte 88119c2893
fixup!: always build test plugin 2022-09-20 14:27:34 -07:00
Joe Previte 72d69b6cfd
fixup!: move helm cmd to yaml 2022-09-20 14:26:10 -07:00
Joe Previte 65b74fc59f
fixup!: change to src/**" 2022-09-20 14:19:36 -07:00
Joe Previte e41dc6a55a
fixup!: remove .tsx 2022-09-20 14:18:16 -07:00
Joe Previte 08a7fdf93f
chore: clean up names in security.yaml 2022-09-19 13:11:46 -07:00
Joe Previte 6f7133b149
trigger ci 2022-09-19 13:08:26 -07:00
Joe Previte 4527d46a72
trigger ci 2022-09-19 13:07:32 -07:00
Joe Previte f9b3bda9d5
fixup!: update ids for caching 2022-09-19 13:01:32 -07:00
Joe Previte 614f047e53
fixup!: move helm step 2022-09-19 12:58:50 -07:00
Joe Previte f339d0d47a
fixup! feat: collect codecov integration tests 2022-09-19 12:52:02 -07:00
Joe Previte 1243d19c86
fixup! feat: collect codecov integration tests 2022-09-19 12:51:13 -07:00
Joe Previte 90308733ce
feat: collect codecov integration tests 2022-09-19 12:50:56 -07:00
Joe Previte 6ad5d9a7c3
Revert "refactor: move unit tests to separate job"
This reverts commit 6c87b540b4.
2022-09-19 12:44:08 -07:00
Joe Previte 917d92ef52
Revert "wip: refactor vscode integration tests"
This reverts commit 13286bf4c9.
2022-09-19 12:43:39 -07:00
Joe Previte 42bafc3a09
fix: formatting 2022-09-19 12:40:05 -07:00
Joe Previte 6c87b540b4
refactor: move unit tests to separate job 2022-09-19 12:40:05 -07:00
Joe Previte 13286bf4c9
wip: refactor vscode integration tests 2022-09-19 12:40:05 -07:00
Joe Previte 64d234e084
wip 2022-09-19 12:40:05 -07:00
Joe Previte bc02005dc0
refactor: move test-plugin to integration suite
This seems more appropriate given this tests how a plugin might work
within code-server.
2022-09-19 12:40:04 -07:00
Joe Previte a0944006e7
refactor: delete buggy socket test
This test was really added to in get cover specific lines but it's buggy
and only passes sometimes locally. I think it's okay to remove because:
- it's an implementation detail (not user facing)
- not preventing any specific regressions
2022-09-19 12:40:04 -07:00
Joe Previte 74330a1e05
wip: add notes about unit test refactor 2022-09-19 12:40:04 -07:00
Joe Previte bbfbab40db
refactor: remove prebuild 2022-09-19 12:40:04 -07:00
Joe Previte fe70ebf4d6
refactor: delete lint, add typecheck job 2022-09-19 12:38:28 -07:00
Joe Previte 0b1cfc91d9
fix(test/tsconfig): exclude test-plugin 2022-09-19 12:36:52 -07:00
Joe Previte d8e0dc96ac
refactor: add eslint job and yarn script 2022-09-19 12:36:51 -07:00
Joe Previte 3028e8ebf8
refactor: add helm script and job 2022-09-19 12:36:51 -07:00
Joe Previte f36c1f5b91
refactor: move shellcheck to separate job 2022-09-19 12:36:51 -07:00
Joe Previte 93f6fd2482
refactor: remove stylelint 2022-09-19 12:36:50 -07:00
Joe Previte 4223cf6e2b
refactor(ci): fix fetch-depth and add some caching (#5563)
* refactor: rename ci -> build.yaml

* feat: add build.yaml

* feat: add node caching to platform jobs

* trigger ci
2022-09-19 11:56:34 -05:00
Joe Previte 987c68a32a
feat: add release workflow (#5560)
* feat(ci): add draft release workflow

* refactor: delete old release-github workflows

* fixup! refactor: delete old release-github workflows

* fixup! refactor: delete old release-github workflows

* Update .github/workflows/release.yaml

* fixup!: remove release-notes.txt

* fixup!: change branch to current
2022-09-16 15:14:28 +00:00
Joe Previte 7ecfb95569
chore: update Code to 1.71.1 (#5558)
* chore: update Code to 1.71.1

* chore: refresh patches

* docs: add quilt refresh tip
2022-09-15 16:49:28 -05:00
Joe Previte 309a3b2c6e
chore: move security workflows (#5553)
* refactor: move security jobs to security.yaml

* fixup! refactor: move security jobs to security.yaml
2022-09-14 06:31:13 -07:00
renovate[bot] b440054613
chore(deps): update codercom/code-server docker tag to v4.7.0 (#5551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 11:08:24 -07:00
Joe Previte dbe87c5494
fix(ci): specify ref in aur publish job (#5550) 2022-09-09 22:50:21 +00:00
Joe Previte 04f1080451
release: 4.7.0 (#5546)
* docs: update MAINTAINING

* refactor: use branch name in release-prep

This makes a minor improvement to the `release-prep.sh` script to grab
the version to update to from the branch name.

* chore(release): bump version to 4.7.0

* fixup: bump version

* docs: use latest instead of version

* fixup: bump Chart version

* chore: update CHANGELOG

* chore: add license to test package.json

* chore: bump @coder/logging to 3.0.0

* fix: change level to Warn
2022-09-09 15:15:39 -07:00
Joe Previte 5028169e63
refactor: heartbeat patch (#5545) 2022-09-09 17:47:57 +00:00
Joe Previte 3fb38414dd
docs: update patch testing instructions (#5543)
* docs: explain how to test exec-argv

* docs: explain how to test telemetry patch
2022-09-09 17:05:30 +00:00
Florian Ritterhoff b486354d6e
Update to 1.71 (#5535)
* chore: update upstream code

* update patches for vs 1.71.0

the cli fix seems to be fixed in upstream, the telemtry patch requires (again) some fixing and adjustments.

* add safari fix.

* increase ci timeout

Co-authored-by: Joe Previte <jjprevite@gmail.com>
2022-09-09 16:28:54 +00:00
Devin Jeanpierre a1cf4b9ea5
Fix deb install instructions: ${VERSION}_foo (#5542)
The install instructions weren't copy-pastable: `$VERSION_foo` is the same as `${VERSION_foo}`, not `${VERSION}_foo`.

```sh
$ VERSION=4.6.1
$ curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
$ echo curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
curl -fOL https://github.com/coder/code-server/releases/download/v4.6.1/code-server_.deb
```
2022-09-07 16:23:36 -07:00
Joe Previte 64822d0f64
docs: add comment to npm-postinstall.sh (#5541) 2022-09-06 13:34:34 -07:00
renovate[bot] 74017ecc65
chore(deps): update robinraju/release-downloader action to v1.5 (#5538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 13:34:04 -07:00
Joe Previte da03a648c2
fix(npm): use correct flags and update version for npm (#5533)
* fix: update npm-postinstall.sh script

Add --legacy-peer-deps to deal with weird npm issue with vscode
dependencies.

See: https://stackoverflow.com/a/66620869/3015595

* fix: use npm in release-standalone

* chore: update package.json

* chore: bump plugin engine for tests
2022-09-06 11:03:27 -07:00
Joe Previte 6742e945cc
docs: fix typo in install.md (#5529) 2022-09-06 09:38:55 -07:00
Joe Previte 4e9ed56580
release: 4.6.1 (#5522)
* chore(release): bump version to 4.6.1

* chore: update reviewers in release-prep

* chore: update CHANGELOG

* chore: bump Helm chart
2022-08-31 14:53:14 -07:00
Joe Previte 8a227d9fa1
feat: add displayLang test (#5495)
* feat(e2e): add language extension to setup

This adds a slimmed-down version of the Spanish Language Pack and also
adds a `languagepacks.json` to the e2e `workspaceDir` which allows use
to run a test suite passing the `--locale es` flags to simulate a
different display language.

* feat: add e2e test for display language patch

This tests loading code-server in Spanish using the `--locale` flag.

* fixup!: use JSON.stringify for readability

* fixup!: add comment about langaugepacks temp fix

* fixup!: slim down translations

* fixup!: slim down package.json for lang. ext
2022-08-31 13:28:36 -07:00
Joe Previte f9bfd58cf4
refactor: drop db migration patch (#5519)
* refactor: remove database migration patch & test

Drop migration code since it's been 6 months since 4.0.2 and we no
longer need this.

See: https://github.com/coder/code-server/issues/5482#issuecomment-1222608635

* chore: refresh patches
2022-08-30 23:14:21 +00:00
Edouard Vincent ef3f4e82b2
docs: remove references to installing with yarn in favor of npm (#5518) 2022-08-30 12:00:11 -05:00
Asher 6262c7a0bf
fix: propagate execArgv (#5510)
* Use fork instead of spawn

We no longer do in-place updating so no need for the spawn.  The
advantage of a fork is that it preserves flags like --prof which you can
use to profile code-server.

Also I am not sure the comment about not being able to reload in place
with fork was even true to begin with.

* Refresh heartbeat patch

Seems to have gotten out of date a little.

* Propagate execArgv to extension host

This will let us profile the extension host.
2022-08-30 10:19:19 -05:00
Asher 101d4ee4ad
chore: add flake for development with Nix (#5509) 2022-08-29 09:41:29 -07:00