mirror of
https://github.com/coder/code-server.git
synced 2026-04-16 21:31:43 -05:00
Compare commits
221 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
003dc0feeb | ||
|
|
2510e6ac41 | ||
|
|
e5ed927d51 | ||
|
|
3a49299f84 | ||
|
|
53ba8f8e5f | ||
|
|
49006b15c4 | ||
|
|
9941860232 | ||
|
|
41cf220056 | ||
|
|
c8b77a26c8 | ||
|
|
f09a081c9e | ||
|
|
15d791ae76 | ||
|
|
ad0f12e664 | ||
|
|
dd80eed5b0 | ||
|
|
f241e38907 | ||
|
|
03f730989d | ||
|
|
b1ea47c506 | ||
|
|
32d0fb0a5e | ||
|
|
fd69f2db88 | ||
|
|
c666b47668 | ||
|
|
51010e73cb | ||
|
|
4b703cbd4d | ||
|
|
1782f2a239 | ||
|
|
bd55cb94be | ||
|
|
6b3db06c7a | ||
|
|
3db19843e2 | ||
|
|
b4193b8c68 | ||
|
|
4ff73389ef | ||
|
|
dd0d7d5645 | ||
|
|
02beb9b4cf | ||
|
|
2f99730437 | ||
|
|
5dd5c69b42 | ||
|
|
3e054a8589 | ||
|
|
b6b56797a3 | ||
|
|
3028aa7108 | ||
|
|
6f98e08bda | ||
|
|
06ee159744 | ||
|
|
fbb5e6e6c6 | ||
|
|
261c19d836 | ||
|
|
285084764b | ||
|
|
44f3bb86fc | ||
|
|
2d7b16f14b | ||
|
|
ea0334f008 | ||
|
|
e64608abcb | ||
|
|
3fce14fd56 | ||
|
|
f2a5d4abaa | ||
|
|
5b9f6bbe45 | ||
|
|
5a1ea2cf75 | ||
|
|
c415fd2d65 | ||
|
|
3784c042b9 | ||
|
|
0d584cd5e1 | ||
|
|
247f11cc10 | ||
|
|
b4e1d8db5d | ||
|
|
230b0dfce4 | ||
|
|
101c2a01f1 | ||
|
|
cbcad39a4f | ||
|
|
6207a3109a | ||
|
|
1e2838c163 | ||
|
|
5ab7f2d4d6 | ||
|
|
4218431782 | ||
|
|
8ed5b736bb | ||
|
|
a4c8549df2 | ||
|
|
334df89491 | ||
|
|
fd94b5f5df | ||
|
|
761c93f571 | ||
|
|
682883fd7f | ||
|
|
df6bfbbeaf | ||
|
|
d140c2c8e7 | ||
|
|
9be199e0d8 | ||
|
|
e4db80667e | ||
|
|
18ace7b906 | ||
|
|
6cf904a39b | ||
|
|
958d32dc10 | ||
|
|
024a3110be | ||
|
|
bb5c7d95cc | ||
|
|
be02218197 | ||
|
|
f27c039954 | ||
|
|
f55f79f639 | ||
|
|
9cb5dce582 | ||
|
|
ac9f708c59 | ||
|
|
27ede67e07 | ||
|
|
b7ad293e8d | ||
|
|
b2af7fe5a3 | ||
|
|
319795c213 | ||
|
|
f688e58472 | ||
|
|
004c608236 | ||
|
|
305b820828 | ||
|
|
8332a6abc9 | ||
|
|
299e17e6d9 | ||
|
|
a1dca6da29 | ||
|
|
a8858ea9fc | ||
|
|
fa19f8cac8 | ||
|
|
24a474ce20 | ||
|
|
d3c1906390 | ||
|
|
9a7908e784 | ||
|
|
080d59b269 | ||
|
|
87605316d2 | ||
|
|
bb2a385c6a | ||
|
|
1a91be96eb | ||
|
|
947dd8561b | ||
|
|
9eff1f0702 | ||
|
|
090687d057 | ||
|
|
5cec6208d0 | ||
|
|
9f790fd2f3 | ||
|
|
3ab625f83b | ||
|
|
2c01464800 | ||
|
|
24dc2080f9 | ||
|
|
58b59fde5f | ||
|
|
f95f180401 | ||
|
|
f09ebc06e9 | ||
|
|
b04104cafe | ||
|
|
aae17cb749 | ||
|
|
19c2f31f22 | ||
|
|
32d882a507 | ||
|
|
923ef2f3c4 | ||
|
|
a41b47c1de | ||
|
|
a8e2ede4f5 | ||
|
|
4c6cf8414c | ||
|
|
d8e9225506 | ||
|
|
071c8e15fc | ||
|
|
8ef3f9b6ee | ||
|
|
02134c01f6 | ||
|
|
6892b0be97 | ||
|
|
89d7606de1 | ||
|
|
9cbe27ef83 | ||
|
|
187541c46b | ||
|
|
45a1713767 | ||
|
|
36714da613 | ||
|
|
07495fa468 | ||
|
|
3dfbd8bae0 | ||
|
|
e8bde71772 | ||
|
|
1d5c765a24 | ||
|
|
26b5958c7c | ||
|
|
a8a4f6b792 | ||
|
|
e56ace557c | ||
|
|
b01f4061b7 | ||
|
|
d0b71a139f | ||
|
|
ec7cdcd656 | ||
|
|
a097713829 | ||
|
|
d3df963d39 | ||
|
|
481dd1f1d6 | ||
|
|
445d7d6e03 | ||
|
|
608871eba1 | ||
|
|
3d9d2e592d | ||
|
|
bcdca86539 | ||
|
|
0c2708302d | ||
|
|
ae02023454 | ||
|
|
31dd0a4d6e | ||
|
|
7259a24b3c | ||
|
|
b0c773bcda | ||
|
|
95a0740ca1 | ||
|
|
964ebe8d0a | ||
|
|
556e562f5c | ||
|
|
050a1bb146 | ||
|
|
875dfb66a4 | ||
|
|
8f414b5005 | ||
|
|
25dbb5b1b6 | ||
|
|
34189e4d49 | ||
|
|
dc08bc68c6 | ||
|
|
e5b7438695 | ||
|
|
c42240f182 | ||
|
|
350ddc3c27 | ||
|
|
eaf63deb56 | ||
|
|
cc8e4ee97c | ||
|
|
acb4663873 | ||
|
|
d05389880a | ||
|
|
0ba53b6adf | ||
|
|
3eafcf94b7 | ||
|
|
3f3a619660 | ||
|
|
3ef7cc7d03 | ||
|
|
f33402c503 | ||
|
|
d27126530f | ||
|
|
bc48b54a71 | ||
|
|
14ef340369 | ||
|
|
ca564402f7 | ||
|
|
05068753f5 | ||
|
|
a6b84bb23d | ||
|
|
88af52fe18 | ||
|
|
37a56be3f5 | ||
|
|
c90d1983f6 | ||
|
|
7b1fe3156d | ||
|
|
7e23575978 | ||
|
|
9ee2556dd1 | ||
|
|
aeaf11ced6 | ||
|
|
6fd30d91ea | ||
|
|
529d69e8e8 | ||
|
|
d10da3f7c3 | ||
|
|
cf6fdb90eb | ||
|
|
b468597872 | ||
|
|
3f7104bb4e | ||
|
|
ed839c9a03 | ||
|
|
c270570f77 | ||
|
|
702485139a | ||
|
|
fa71191dbf | ||
|
|
8512be85a5 | ||
|
|
42ff0ec5e7 | ||
|
|
d1ad3fad5e | ||
|
|
325f21f73d | ||
|
|
dc5c271a0c | ||
|
|
dac44ec2e0 | ||
|
|
e79ca99466 | ||
|
|
548b6fb628 | ||
|
|
0cd3e39492 | ||
|
|
e8cd17a97d | ||
|
|
44a4a0bc20 | ||
|
|
6f638f1329 | ||
|
|
b0861029c0 | ||
|
|
3e79a84152 | ||
|
|
612b8314f9 | ||
|
|
f19ae171ea | ||
|
|
5d5e6314a1 | ||
|
|
69a3e7f651 | ||
|
|
781532c22d | ||
|
|
c801a98e33 | ||
|
|
01c3d1f53d | ||
|
|
5a1f62a8fb | ||
|
|
0cb5c2e937 | ||
|
|
81cf111794 | ||
|
|
f70a73bb89 | ||
|
|
745e4fc542 | ||
|
|
31e3bf30da | ||
|
|
2d298a71dd |
@@ -15,8 +15,12 @@ extends:
|
|||||||
- plugin:import/recommended
|
- plugin:import/recommended
|
||||||
- plugin:import/typescript
|
- plugin:import/typescript
|
||||||
- plugin:prettier/recommended
|
- plugin:prettier/recommended
|
||||||
- prettier # Removes eslint rules that conflict with prettier.
|
# Recommended by jest-playwright
|
||||||
- prettier/@typescript-eslint # Remove conflicts again.
|
# https://github.com/playwright-community/jest-playwright#globals
|
||||||
|
- plugin:jest-playwright/recommended
|
||||||
|
# Prettier should always be last
|
||||||
|
# Removes eslint rules that conflict with prettier.
|
||||||
|
- prettier
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
# Sometimes you need to add args to implement a function signature even
|
# Sometimes you need to add args to implement a function signature even
|
||||||
@@ -30,6 +34,7 @@ rules:
|
|||||||
"@typescript-eslint/no-var-requires": off
|
"@typescript-eslint/no-var-requires": off
|
||||||
"@typescript-eslint/explicit-module-boundary-types": off
|
"@typescript-eslint/explicit-module-boundary-types": off
|
||||||
"@typescript-eslint/no-explicit-any": off
|
"@typescript-eslint/no-explicit-any": off
|
||||||
|
"@typescript-eslint/no-extra-semi": off
|
||||||
eqeqeq: error
|
eqeqeq: error
|
||||||
import/order:
|
import/order:
|
||||||
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]
|
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]
|
||||||
|
|||||||
39
.github/ISSUE_TEMPLATE/bug-report.md
vendored
39
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@@ -7,22 +7,43 @@ assignees: ""
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Please see https://github.com/cdr/code-server/blob/master/docs/FAQ.md#how-do-i-debug-issues-with-code-server
|
|
||||||
and include any logging information relevant to the issue.
|
|
||||||
|
|
||||||
Please search for existing issues before filing.
|
Hi there! 👋
|
||||||
|
|
||||||
If you can reproduce the issue on vanilla VS Code,
|
Thanks for reporting a bug. Please see https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-debug-issues-with-code-server and include any logging information relevant to the issue.
|
||||||
please file the issue at the VS Code repository instead.
|
|
||||||
|
|
||||||
Provide screenshots if applicable.
|
Please search for existing issues before filing, as they may contain additional information about the problem and descriptions of workarounds. Provide as much information as you can, so that we can reproduce the issue. Otherwise, we may not be able to help diagnose the problem, and may close the issue as unreproducible or incomplete. For visual defects, please include screenshots to help us understand the issue.
|
||||||
|
|
||||||
Please fill in the issue template and try to be as detailed
|
|
||||||
and clear as possible!
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## OS/Web Information
|
||||||
|
|
||||||
- Web Browser:
|
- Web Browser:
|
||||||
- Local OS:
|
- Local OS:
|
||||||
- Remote OS:
|
- Remote OS:
|
||||||
- Remote Architecture:
|
- Remote Architecture:
|
||||||
- `code-server --version`:
|
- `code-server --version`:
|
||||||
|
|
||||||
|
## Steps to Reproduce
|
||||||
|
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
## Expected
|
||||||
|
|
||||||
|
<!-- What should happen? -->
|
||||||
|
|
||||||
|
## Actual
|
||||||
|
|
||||||
|
<!-- What actually happens? -->
|
||||||
|
|
||||||
|
## Screenshot
|
||||||
|
|
||||||
|
<!-- Ideally provide a screenshot, gif, video or screenrecording -->
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
<!-- If you can reproduce the issue on vanilla VS Code,
|
||||||
|
please file the issue at the VS Code repository instead. -->
|
||||||
|
|
||||||
|
This issue can be reproduced in VS Code: Yes/No
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
This PR is to generate a new release of `code-server` at `0.0.0`
|
<!-- Note: this variable $CODE_SERVER_VERSION_TO_UPDATE will be set when you run the release-prep.sh script with `yarn release:prep` -->
|
||||||
|
|
||||||
|
This PR is to generate a new release of `code-server` at `$CODE_SERVER_VERSION_TO_UPDATE`
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
||||||
@@ -6,10 +8,11 @@ TODO
|
|||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
- [ ] update the AUR package
|
|
||||||
- [ ] upload assets to draft release
|
|
||||||
- [ ] test locally
|
- [ ] test locally
|
||||||
- [ ] double-check github release tag is the commit with artifacts
|
- [ ] upload assets to draft release
|
||||||
|
- [ ] test one of the release packages locally
|
||||||
|
- [ ] double-check github release tag is the commit with artifacts (_note gets messed up after uploading assets_)
|
||||||
- [ ] publish release
|
- [ ] publish release
|
||||||
- [ ] merge PR
|
- [ ] merge PR
|
||||||
- [ ] update the homebrew package
|
- [ ] update the homebrew package
|
||||||
|
- [ ] update the AUR package
|
||||||
|
|||||||
26
.github/dependabot.yml
vendored
Normal file
26
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
time: "11:00"
|
||||||
|
ignore:
|
||||||
|
# GitHub always delivers the latest versions for each major
|
||||||
|
# release tag, so handle updates manually
|
||||||
|
- dependency-name: "actions/*"
|
||||||
|
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
time: "11:00"
|
||||||
|
ignore:
|
||||||
|
- dependency-name: "@types/node"
|
||||||
|
versions: ["14.x", "13.x"]
|
||||||
|
- dependency-name: "xdg-basedir"
|
||||||
|
# 5.0.0 has breaking changes as they switch to named exports
|
||||||
|
# and convert the module to ESM
|
||||||
|
# We can't use it until we switch to ESM across the project
|
||||||
|
# See release notes: https://github.com/sindresorhus/xdg-basedir/releases/tag/v5.0.0
|
||||||
|
versions: ["5.x"]
|
||||||
45
.github/ranger.yml
vendored
Normal file
45
.github/ranger.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# Configuration for the repo ranger bot
|
||||||
|
# See docs: https://www.notion.so/Documentation-8d7627bb1f3c42b7b1820e8d6f157a57#9879d1374fab4d1f9c607c230fd5123d
|
||||||
|
default:
|
||||||
|
close:
|
||||||
|
# Default time to wait before closing the label. Can either be a number in milliseconds
|
||||||
|
# or a string specified by the `ms` package (https://www.npmjs.com/package/ms)
|
||||||
|
delay: "2 days"
|
||||||
|
|
||||||
|
# Default comment to post when an issue is first marked with a closing label
|
||||||
|
comment: "⚠️ This issue has been marked $LABEL and will be closed in $DELAY."
|
||||||
|
|
||||||
|
labels:
|
||||||
|
duplicate: close
|
||||||
|
wontfix: close
|
||||||
|
"squash when passing": merge
|
||||||
|
"rebase when passing": merge
|
||||||
|
"merge when passing": merge
|
||||||
|
stale:
|
||||||
|
action: close
|
||||||
|
delay: 7 days
|
||||||
|
comment: "⚠️ This issue has been marked stale and will automatically be closed in $DELAY."
|
||||||
|
"new contributor":
|
||||||
|
action: comment
|
||||||
|
delay: 5s
|
||||||
|
message: "Thanks for making your first contribution! :slightly_smiling_face:"
|
||||||
|
extension-request:
|
||||||
|
action: close
|
||||||
|
delay: 5s
|
||||||
|
message: >
|
||||||
|
Thanks for opening an extension request!
|
||||||
|
We are currently in the process of switching extension
|
||||||
|
marketplaces and transitioning over to [Open VSX](https://open-vsx.org/).
|
||||||
|
Once https://github.com/eclipse/openvsx/issues/249 is implemented, we
|
||||||
|
can fully make this transition. Therefore, we are no longer accepting
|
||||||
|
new requests for extension requests. We suggest installing the VSIX
|
||||||
|
file and then installing into code-server as a temporary workaround.
|
||||||
|
See [docs](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#installing-vsix-extensions-via-the-command-line) for more info."
|
||||||
|
"upstream:vscode":
|
||||||
|
action: close
|
||||||
|
delay: 5s
|
||||||
|
comment: >
|
||||||
|
This issue has been marked as 'upstream:vscode'.
|
||||||
|
Please file this upstream: [link to open issue](https://github.com/microsoft/vscode/issues/new/choose)"
|
||||||
|
|
||||||
|
This issue will automatically close in $DELAY.
|
||||||
450
.github/workflows/ci.yaml
vendored
450
.github/workflows/ci.yaml
vendored
@@ -1,168 +1,400 @@
|
|||||||
name: ci
|
name: ci
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
# Note: if: success() is used in several jobs -
|
||||||
|
# this ensures that it only executes if all previous jobs succeeded.
|
||||||
|
|
||||||
|
# if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
# will skip running `yarn install` if it successfully fetched from cache
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fmt:
|
prebuild:
|
||||||
|
name: Pre-build checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: Checkout repo
|
||||||
- name: Run ./ci/steps/fmt.sh
|
uses: actions/checkout@v2
|
||||||
uses: ./ci/images/debian10
|
|
||||||
with:
|
|
||||||
args: ./ci/steps/fmt.sh
|
|
||||||
|
|
||||||
lint:
|
- name: Install Node.js v12
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Install helm
|
||||||
|
uses: azure/setup-helm@v1
|
||||||
|
|
||||||
|
- name: Fetch dependencies from cache
|
||||||
|
id: cache-yarn
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: "**/node_modules"
|
||||||
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Audit for vulnerabilities
|
||||||
|
run: yarn _audit
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
- name: Run yarn fmt
|
||||||
|
run: yarn fmt
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
- name: Run yarn lint
|
||||||
|
run: yarn lint
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
- name: Run code-server unit tests
|
||||||
|
run: yarn test:unit
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
needs: prebuild
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Run ./ci/steps/lint.sh
|
|
||||||
uses: ./ci/images/debian10
|
|
||||||
with:
|
with:
|
||||||
args: ./ci/steps/lint.sh
|
fetch-depth: 0
|
||||||
|
|
||||||
test:
|
- name: Install Node.js v12
|
||||||
needs: linux-amd64
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Fetch dependencies from cache
|
||||||
|
id: cache-yarn
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: "**/node_modules"
|
||||||
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build code-server
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
|
# Parse the hash of the latest commit inside lib/vscode
|
||||||
|
# use this to avoid rebuilding it if nothing changed
|
||||||
|
# How it works: the `git log` command fetches the hash of the last commit
|
||||||
|
# that changed a file inside `lib/vscode`. If a commit changes any file in there,
|
||||||
|
# the hash returned will change, and we rebuild vscode. If the hash did not change,
|
||||||
|
# (for example, a change to `src/` or `docs/`), we reuse the same build as last time.
|
||||||
|
# This saves a lot of time in CI, as compiling VSCode can take anywhere from 5-10 minutes.
|
||||||
|
- name: Get latest lib/vscode rev
|
||||||
|
id: vscode-rev
|
||||||
|
run: echo "::set-output name=rev::$(git log -1 --format='%H' ./lib/vscode)"
|
||||||
|
|
||||||
|
- name: Attempt to fetch vscode build from cache
|
||||||
|
id: cache-vscode
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
lib/vscode/.build
|
||||||
|
lib/vscode/out-build
|
||||||
|
lib/vscode/out-vscode
|
||||||
|
lib/vscode/out-vscode-min
|
||||||
|
key: vscode-build-${{ steps.vscode-rev.outputs.rev }}
|
||||||
|
|
||||||
|
- name: Build vscode
|
||||||
|
if: steps.cache-vscode.outputs.cache-hit != 'true'
|
||||||
|
run: yarn build:vscode
|
||||||
|
|
||||||
|
# The release package does not contain any native modules
|
||||||
|
# and is neutral to architecture/os/libc version.
|
||||||
|
- name: Create release package
|
||||||
|
run: yarn release
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
# https://github.com/actions/upload-artifact/issues/38
|
||||||
|
- name: Compress release package
|
||||||
|
run: tar -czf package.tar.gz release
|
||||||
|
|
||||||
|
- name: Upload npm package artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: npm-package
|
||||||
|
path: ./package.tar.gz
|
||||||
|
|
||||||
|
# TODO: cache building yarn --production
|
||||||
|
# possibly 2m30s of savings(?)
|
||||||
|
# this requires refactoring our release scripts
|
||||||
|
package-linux-amd64:
|
||||||
|
name: x86-64 Linux build
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: "centos:7"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Node.js v12
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Install development tools
|
||||||
|
run: |
|
||||||
|
yum install -y epel-release centos-release-scl
|
||||||
|
yum install -y devtoolset-9-{make,gcc,gcc-c++} jq rsync
|
||||||
|
|
||||||
|
- name: Install nfpm and envsubst
|
||||||
|
run: |
|
||||||
|
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
|
||||||
|
curl -L https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst-`uname -s`-`uname -m` -o envsubst
|
||||||
|
chmod +x envsubst
|
||||||
|
mv envsubst ~/.local/bin
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Install yarn
|
||||||
|
run: npm install -g yarn
|
||||||
|
|
||||||
|
- name: Download npm package
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: npm-package
|
||||||
|
|
||||||
|
- name: Decompress npm package
|
||||||
|
run: tar -xzf package.tar.gz
|
||||||
|
|
||||||
|
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
|
||||||
|
# file when running inside a docker container.
|
||||||
|
- name: Build standalone release
|
||||||
|
run: source scl_source enable devtoolset-9 && yarn release:standalone
|
||||||
|
|
||||||
|
- name: Sanity test standalone release
|
||||||
|
run: yarn test:standalone-release
|
||||||
|
|
||||||
|
- name: Build packages with nfpm
|
||||||
|
run: yarn package
|
||||||
|
|
||||||
|
- name: Upload release artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: release-packages
|
||||||
|
path: ./release-packages
|
||||||
|
|
||||||
|
# NOTE@oxy:
|
||||||
|
# We use Ubuntu 16.04 here, so that our build is more compatible
|
||||||
|
# with older libc versions. We used to (Q1'20) use CentOS 7 here,
|
||||||
|
# but it has a full update EOL of Q4'20 and a 'critical security'
|
||||||
|
# update EOL of 2024. We're dropping full support a few years before
|
||||||
|
# the final EOL, but I don't believe CentOS 7 has a large arm64 userbase.
|
||||||
|
# It is not feasible to cross-compile with CentOS.
|
||||||
|
|
||||||
|
# Cross-compile notes: To compile native dependencies for arm64,
|
||||||
|
# we install the aarch64 cross toolchain and then set it as the default
|
||||||
|
# compiler/linker/etc. with the AR/CC/CXX/LINK environment variables.
|
||||||
|
# qemu-user-static on ubuntu-16.04 currently doesn't run Node correctly,
|
||||||
|
# so we just build with "native"/x86_64 node, then download arm64 node
|
||||||
|
# and then put it in our release. We can't smoke test the arm64 build this way,
|
||||||
|
# but this means we don't need to maintain a self-hosted runner!
|
||||||
|
package-linux-arm64:
|
||||||
|
name: Linux ARM64 cross-compile build
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-16.04
|
||||||
|
env:
|
||||||
|
AR: aarch64-linux-gnu-ar
|
||||||
|
CC: aarch64-linux-gnu-gcc
|
||||||
|
CXX: aarch64-linux-gnu-g++
|
||||||
|
LINK: aarch64-linux-gnu-g++
|
||||||
|
NPM_CONFIG_ARCH: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Node.js v12
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Install nfpm
|
||||||
|
run: |
|
||||||
|
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Install cross-compiler
|
||||||
|
run: sudo apt install g++-aarch64-linux-gnu
|
||||||
|
|
||||||
|
- name: Download npm package
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: npm-package
|
||||||
|
|
||||||
|
- name: Decompress npm package
|
||||||
|
run: tar -xzf package.tar.gz
|
||||||
|
|
||||||
|
- name: Build standalone release
|
||||||
|
run: yarn release:standalone
|
||||||
|
|
||||||
|
- name: Replace node with arm64 equivalent
|
||||||
|
run: |
|
||||||
|
wget https://nodejs.org/dist/v12.18.4/node-v12.18.4-linux-arm64.tar.gz
|
||||||
|
tar -xzf node-v12.18.4-linux-arm64.tar.gz node-v12.18.4-linux-arm64/bin/node --strip-components=2
|
||||||
|
mv ./node ./release-standalone/lib/node
|
||||||
|
|
||||||
|
- name: Build packages with nfpm
|
||||||
|
run: yarn package arm64
|
||||||
|
|
||||||
|
- name: Upload release artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: release-packages
|
||||||
|
path: ./release-packages
|
||||||
|
|
||||||
|
package-macos-amd64:
|
||||||
|
name: x86-64 macOS build
|
||||||
|
needs: build
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Node.js v12
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Install nfpm
|
||||||
|
run: |
|
||||||
|
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Download npm package
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: npm-package
|
||||||
|
|
||||||
|
- name: Decompress npm package
|
||||||
|
run: tar -xzf package.tar.gz
|
||||||
|
|
||||||
|
- name: Build standalone release
|
||||||
|
run: yarn release:standalone
|
||||||
|
|
||||||
|
- name: Sanity test standalone release
|
||||||
|
run: yarn test:standalone-release
|
||||||
|
|
||||||
|
- name: Build packages with nfpm
|
||||||
|
run: yarn package
|
||||||
|
|
||||||
|
- name: Upload release artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: release-packages
|
||||||
|
path: ./release-packages
|
||||||
|
|
||||||
|
test-e2e:
|
||||||
|
name: End-to-end tests
|
||||||
|
needs: package-linux-amd64
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
PASSWORD: e45432jklfdsab
|
PASSWORD: e45432jklfdsab
|
||||||
CODE_SERVER_ADDRESS: http://localhost:8080
|
CODE_SERVER_ADDRESS: http://localhost:8080
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Node.js v12
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "12"
|
||||||
|
|
||||||
|
- name: Install playwright
|
||||||
|
uses: microsoft/playwright-github-action@v1
|
||||||
|
|
||||||
|
- name: Fetch dependencies from cache
|
||||||
|
id: cache-yarn
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: "**/node_modules"
|
||||||
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Download release packages
|
- name: Download release packages
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: release-packages
|
name: release-packages
|
||||||
path: ./release-packages
|
path: ./release-packages
|
||||||
|
|
||||||
- name: Untar code-server file
|
- name: Untar code-server file
|
||||||
run: |
|
run: |
|
||||||
cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
|
cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
|
||||||
- uses: microsoft/playwright-github-action@v1
|
|
||||||
- name: Install dependencies and run tests
|
- name: Install dependencies
|
||||||
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
|
# HACK: this shouldn't need to exist, but put it here anyway
|
||||||
|
# in an attempt to solve Playwright cache failures.
|
||||||
|
- name: Reinstall playwright
|
||||||
|
if: steps.cache-yarn.outputs.cache-hit == 'true'
|
||||||
run: |
|
run: |
|
||||||
./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
|
cd test/
|
||||||
yarn --frozen-lockfile
|
rm -r node_modules/playwright
|
||||||
yarn test
|
yarn install --check-files
|
||||||
|
|
||||||
|
- name: Run end-to-end tests
|
||||||
|
run: |
|
||||||
|
./release-packages/code-server*-linux-amd64/bin/code-server --log trace &
|
||||||
|
yarn test:e2e
|
||||||
|
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos
|
||||||
path: ./test/videos
|
path: ./test/e2e/videos
|
||||||
|
|
||||||
- name: Remove release packages and test artifacts
|
- name: Remove release packages and test artifacts
|
||||||
run: rm -rf ./release-packages ./test/videos
|
run: rm -rf ./release-packages ./test/e2e/videos
|
||||||
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Run ./ci/steps/release.sh
|
|
||||||
uses: ./ci/images/debian10
|
|
||||||
with:
|
|
||||||
args: ./ci/steps/release.sh
|
|
||||||
- name: Upload npm package artifact
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: npm-package
|
|
||||||
path: ./release-npm-package
|
|
||||||
|
|
||||||
linux-amd64:
|
|
||||||
needs: release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Download npm package
|
|
||||||
uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: npm-package
|
|
||||||
path: ./release-npm-package
|
|
||||||
- name: Run ./ci/steps/release-packages.sh
|
|
||||||
uses: ./ci/images/centos7
|
|
||||||
with:
|
|
||||||
args: ./ci/steps/release-packages.sh
|
|
||||||
- name: Upload release artifacts
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: release-packages
|
|
||||||
path: ./release-packages
|
|
||||||
|
|
||||||
linux-arm64:
|
|
||||||
needs: release
|
|
||||||
runs-on: ubuntu-arm64-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Download npm package
|
|
||||||
uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: npm-package
|
|
||||||
path: ./release-npm-package
|
|
||||||
- name: Run ./ci/steps/release-packages.sh
|
|
||||||
uses: ./ci/images/centos7
|
|
||||||
with:
|
|
||||||
args: ./ci/steps/release-packages.sh
|
|
||||||
- name: Upload release artifacts
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: release-packages
|
|
||||||
path: ./release-packages
|
|
||||||
- name: Remove docker images
|
|
||||||
run: docker system prune -af
|
|
||||||
|
|
||||||
macos-amd64:
|
|
||||||
needs: release
|
|
||||||
runs-on: macos-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Download npm package
|
|
||||||
uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: npm-package
|
|
||||||
path: ./release-npm-package
|
|
||||||
- run: ./ci/steps/release-packages.sh
|
|
||||||
env:
|
|
||||||
# Otherwise we get rate limited when fetching the ripgrep binary.
|
|
||||||
# For whatever reason only MacOS needs it.
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Upload release artifacts
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: release-packages
|
|
||||||
path: ./release-packages
|
|
||||||
|
|
||||||
docker-amd64:
|
docker-amd64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: linux-amd64
|
needs: package-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Download release package
|
- name: Download release package
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: release-packages
|
name: release-packages
|
||||||
path: ./release-packages
|
path: ./release-packages
|
||||||
|
|
||||||
- name: Run ./ci/steps/build-docker-image.sh
|
- name: Run ./ci/steps/build-docker-image.sh
|
||||||
uses: ./ci/images/debian10
|
run: ./ci/steps/build-docker-image.sh
|
||||||
with:
|
|
||||||
args: ./ci/steps/build-docker-image.sh
|
|
||||||
- name: Upload release image
|
- name: Upload release image
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: release-images
|
name: release-images
|
||||||
path: ./release-images
|
path: ./release-images
|
||||||
|
|
||||||
|
# TODO: this is the last place where we use our self-hosted arm64 runner.
|
||||||
|
# In the future, consider switching to docker buildx + qemu,
|
||||||
|
# thus removing the requirement for us to maintain the runner.
|
||||||
docker-arm64:
|
docker-arm64:
|
||||||
runs-on: ubuntu-arm64-latest
|
runs-on: ubuntu-arm64-latest
|
||||||
needs: linux-arm64
|
needs: package-linux-arm64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Download release package
|
- name: Download release package
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: release-packages
|
name: release-packages
|
||||||
path: ./release-packages
|
path: ./release-packages
|
||||||
|
|
||||||
- name: Run ./ci/steps/build-docker-image.sh
|
- name: Run ./ci/steps/build-docker-image.sh
|
||||||
uses: ./ci/images/centos7
|
run: ./ci/steps/build-docker-image.sh
|
||||||
with:
|
|
||||||
args: ./ci/steps/build-docker-image.sh
|
|
||||||
- name: Upload release image
|
- name: Upload release image
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
20
.github/workflows/publish.yaml
vendored
20
.github/workflows/publish.yaml
vendored
@@ -1,6 +1,10 @@
|
|||||||
name: publish
|
name: publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# Shows the manual trigger in GitHub UI
|
||||||
|
# helpful as a back-up in case the GitHub Actions Workflow fails
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
@@ -29,3 +33,19 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
homebrew:
|
||||||
|
# The newest version of code-server needs to be available on npm when this runs
|
||||||
|
# otherwise, it will 404 and won't open a PR to bump version on homebrew/homebrew-core
|
||||||
|
needs: npm
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Configure git
|
||||||
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
- name: Bump code-server homebrew version
|
||||||
|
env:
|
||||||
|
HOMEBREW_GITHUB_API_TOKEN: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
|
||||||
|
run: ./ci/steps/brew-bump.sh
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -16,5 +16,5 @@ node-*
|
|||||||
.home
|
.home
|
||||||
coverage
|
coverage
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
test/videos
|
test/e2e/videos
|
||||||
test/screenshots
|
test/e2e/screenshots
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -1,7 +1,7 @@
|
|||||||
# code-server · [](https://github.com/cdr/code-server/discussions) [](https://cdr.co/join-community) [](https://twitter.com/coderhq)
|
# code-server · [](https://github.com/cdr/code-server/discussions) [](https://cdr.co/join-community) [](https://twitter.com/coderhq)
|
||||||
|
|
||||||

|

|
||||||
[](https://github.com/cdr/code-server/tree/v3.9.1/docs)
|
[](https://github.com/cdr/code-server/tree/v3.9.3/docs)
|
||||||
|
|
||||||
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser.
|
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser.
|
||||||
|
|
||||||
@@ -24,10 +24,11 @@ You can use whatever linux distribution floats your boat but in our [guide](./do
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
There are two ways to get started:
|
There are three ways you can get started:
|
||||||
|
|
||||||
1. Using the [install script](./install.sh), which automates most of the process. The script uses the system package manager (if possible)
|
1. Using the [install script](./install.sh), which automates most of the process. The script uses the system package manager (if possible)
|
||||||
2. Manually installing code-server; see [Installation](./docs/install.md) for instructions applicable to most use cases
|
2. Manually installing code-server; see [Installation](./docs/install.md) for instructions applicable to most use cases
|
||||||
|
3. Use our one-click buttons and guides to [deploy code-server to a popular cloud provider](https://github.com/cdr/deploy-code-server) ⚡
|
||||||
|
|
||||||
If you choose to use the install script, you can preview what occurs during the install process:
|
If you choose to use the install script, you can preview what occurs during the install process:
|
||||||
|
|
||||||
@@ -45,7 +46,7 @@ When done, the install script prints out instructions for running and starting c
|
|||||||
|
|
||||||
We also have an in-depth [setup and configuration](./docs/guide.md) guide.
|
We also have an in-depth [setup and configuration](./docs/guide.md) guide.
|
||||||
|
|
||||||
### Cloud Program ☁️
|
### code-server --link
|
||||||
|
|
||||||
We're working on a cloud platform that makes deploying and managing code-server easier.
|
We're working on a cloud platform that makes deploying and managing code-server easier.
|
||||||
Consider running code-server with the beta flag `--link` if you don't want to worry about
|
Consider running code-server with the beta flag `--link` if you don't want to worry about
|
||||||
@@ -56,7 +57,7 @@ Consider running code-server with the beta flag `--link` if you don't want to wo
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ code-server --link
|
$ code-server --link
|
||||||
Proxying code-server to Coder Cloud, you can access your IDE at https://valmar-jon.cdr.co
|
Proxying code-server, you can access your IDE at https://valmar-jon.cdr.co
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
@@ -69,13 +70,7 @@ See [CONTRIBUTING](./docs/CONTRIBUTING.md) for details.
|
|||||||
|
|
||||||
## Hiring
|
## Hiring
|
||||||
|
|
||||||
We ([@cdr](https://github.com/cdr)) are looking for engineers to help [maintain
|
Interested in [working at Coder](https://coder.com)? Check out [our open positions](https://jobs.lever.co/coder)!
|
||||||
code-server](https://jobs.lever.co/coder/e40becde-2cbd-4885-9029-e5c7b0a734b8), innovate on open source, and streamline dev workflows.
|
|
||||||
|
|
||||||
Our main office is in Austin, Texas. Remote is ok as long as
|
|
||||||
you're in North America or Europe.
|
|
||||||
|
|
||||||
Please get in [touch](mailto:jobs@coder.com) with your resume/GitHub if interested.
|
|
||||||
|
|
||||||
## For Organizations
|
## For Organizations
|
||||||
|
|
||||||
|
|||||||
31
ci/README.md
31
ci/README.md
@@ -12,18 +12,7 @@ Any file or directory in this subdirectory should be documented here.
|
|||||||
|
|
||||||
## Publishing a release
|
## Publishing a release
|
||||||
|
|
||||||
Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub) installed.
|
1. Run `yarn release:prep` and type in the new version i.e. 3.8.1
|
||||||
|
|
||||||
1. Update the version of code-server and make a PR.
|
|
||||||
1. Update in `package.json`
|
|
||||||
2. Update in [./docs/install.md](../docs/install.md)
|
|
||||||
3. Update in [./ci/helm-chart/README.md](../ci/helm-chart/README.md)
|
|
||||||
- Remember to update the chart version as well on top of appVersion in `Chart.yaml`.
|
|
||||||
- Run `rg -g '!yarn.lock' -g '!*.svg' '3\.7\.5'` to ensure all values have been
|
|
||||||
changed. Replace the numbers as needed.
|
|
||||||
- You can install `rg` or `ripgrep` on macOS [here](https://formulae.brew.sh/formula/ripgrep).
|
|
||||||
4. Update the code coverage badge (see [here](#updating-code-coverage-in-readme) for instructions)
|
|
||||||
5. Update the docs badge in [./README.md](../README.md)
|
|
||||||
2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts.
|
2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts.
|
||||||
1. You do not have to wait for these.
|
1. You do not have to wait for these.
|
||||||
3. Run `yarn release:github-draft` to create a GitHub draft release from the template with
|
3. Run `yarn release:github-draft` to create a GitHub draft release from the template with
|
||||||
@@ -52,7 +41,7 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub)
|
|||||||
|
|
||||||
Currently, we run a command to manually generate the code coverage shield. Follow these steps:
|
Currently, we run a command to manually generate the code coverage shield. Follow these steps:
|
||||||
|
|
||||||
1. Run `yarn test` and make sure all the tests are passing
|
1. Run `yarn test:unit` and make sure all the tests are passing
|
||||||
2. Run `yarn badges`
|
2. Run `yarn badges`
|
||||||
3. Go into the README and change the color from `red` to `green` in this line:
|
3. Go into the README and change the color from `red` to `green` in this line:
|
||||||
|
|
||||||
@@ -72,8 +61,10 @@ This directory contains scripts used for the development of code-server.
|
|||||||
- Runs formatters.
|
- Runs formatters.
|
||||||
- [./ci/dev/lint.sh](./dev/lint.sh) (`yarn lint`)
|
- [./ci/dev/lint.sh](./dev/lint.sh) (`yarn lint`)
|
||||||
- Runs linters.
|
- Runs linters.
|
||||||
- [./ci/dev/test.sh](./dev/test.sh) (`yarn test`)
|
- [./ci/dev/test-unit.sh](./dev/test-unit.sh) (`yarn test:unit`)
|
||||||
- Runs tests.
|
- Runs unit tests.
|
||||||
|
- [./ci/dev/test-e2e.sh](./dev/test-e2e.sh) (`yarn test:e2e`)
|
||||||
|
- Runs end-to-end tests.
|
||||||
- [./ci/dev/ci.sh](./dev/ci.sh) (`yarn ci`)
|
- [./ci/dev/ci.sh](./dev/ci.sh) (`yarn ci`)
|
||||||
- Runs `yarn fmt`, `yarn lint` and `yarn test`.
|
- Runs `yarn fmt`, `yarn lint` and `yarn test`.
|
||||||
- [./ci/dev/watch.ts](./dev/watch.ts) (`yarn watch`)
|
- [./ci/dev/watch.ts](./dev/watch.ts) (`yarn watch`)
|
||||||
@@ -142,11 +133,13 @@ This directory contains the scripts used in CI.
|
|||||||
Helps avoid clobbering the CI configuration.
|
Helps avoid clobbering the CI configuration.
|
||||||
|
|
||||||
- [./steps/fmt.sh](./steps/fmt.sh)
|
- [./steps/fmt.sh](./steps/fmt.sh)
|
||||||
- Runs `yarn fmt` after ensuring VS Code is patched.
|
- Runs `yarn fmt`.
|
||||||
- [./steps/lint.sh](./steps/lint.sh)
|
- [./steps/lint.sh](./steps/lint.sh)
|
||||||
- Runs `yarn lint` after ensuring VS Code is patched.
|
- Runs `yarn lint`.
|
||||||
- [./steps/test.sh](./steps/test.sh)
|
- [./steps/test-unit.sh](./steps/test-unit.sh)
|
||||||
- Runs `yarn test` after ensuring VS Code is patched.
|
- Runs `yarn test:unit`.
|
||||||
|
- [./steps/test-e2e.sh](./steps/test-e2e.sh)
|
||||||
|
- Runs `yarn test:e2e`.
|
||||||
- [./steps/release.sh](./steps/release.sh)
|
- [./steps/release.sh](./steps/release.sh)
|
||||||
- Runs the release process.
|
- Runs the release process.
|
||||||
- Generates the npm package at `./release`.
|
- Generates the npm package at `./release`.
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ main() {
|
|||||||
cd "$(dirname "${0}")/../.."
|
cd "$(dirname "${0}")/../.."
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
|
# Allow us to override architecture
|
||||||
|
# we use this for our Linux ARM64 cross compile builds
|
||||||
|
if [ "$#" -eq 1 ] && [ "$1" ]; then
|
||||||
|
ARCH=$1
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p release-packages
|
mkdir -p release-packages
|
||||||
|
|
||||||
release_archive
|
release_archive
|
||||||
@@ -40,7 +46,7 @@ release_gcp() {
|
|||||||
# Generates deb and rpm packages.
|
# Generates deb and rpm packages.
|
||||||
release_nfpm() {
|
release_nfpm() {
|
||||||
local nfpm_config
|
local nfpm_config
|
||||||
nfpm_config="$(envsubst < ./ci/build/nfpm.yaml)"
|
nfpm_config="$(envsubst <./ci/build/nfpm.yaml)"
|
||||||
|
|
||||||
# The underscores are convention for .deb.
|
# The underscores are convention for .deb.
|
||||||
nfpm pkg -f <(echo "$nfpm_config") --target "release-packages/code-server_${VERSION}_$ARCH.deb"
|
nfpm pkg -f <(echo "$nfpm_config") --target "release-packages/code-server_${VERSION}_$ARCH.deb"
|
||||||
|
|||||||
@@ -25,12 +25,6 @@ main() {
|
|||||||
rsync README.md "$RELEASE_PATH"
|
rsync README.md "$RELEASE_PATH"
|
||||||
rsync LICENSE.txt "$RELEASE_PATH"
|
rsync LICENSE.txt "$RELEASE_PATH"
|
||||||
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
|
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
|
||||||
|
|
||||||
# code-server exports types which can be imported and used by plugins. Those
|
|
||||||
# types import ipc.d.ts but it isn't included in the final vscode build so
|
|
||||||
# we'll copy it ourselves here.
|
|
||||||
mkdir -p "$RELEASE_PATH/lib/vscode/src/vs/server"
|
|
||||||
rsync ./lib/vscode/src/vs/server/ipc.d.ts "$RELEASE_PATH/lib/vscode/src/vs/server"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle_code_server() {
|
bundle_code_server() {
|
||||||
@@ -49,7 +43,7 @@ bundle_code_server() {
|
|||||||
|
|
||||||
# Adds the commit to package.json
|
# Adds the commit to package.json
|
||||||
jq --slurp '.[0] * .[1]' package.json <(
|
jq --slurp '.[0] * .[1]' package.json <(
|
||||||
cat << EOF
|
cat <<EOF
|
||||||
{
|
{
|
||||||
"commit": "$(git rev-parse HEAD)",
|
"commit": "$(git rev-parse HEAD)",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -57,7 +51,7 @@ bundle_code_server() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
) > "$RELEASE_PATH/package.json"
|
) >"$RELEASE_PATH/package.json"
|
||||||
rsync yarn.lock "$RELEASE_PATH"
|
rsync yarn.lock "$RELEASE_PATH"
|
||||||
rsync ci/build/npm-postinstall.sh "$RELEASE_PATH/postinstall.sh"
|
rsync ci/build/npm-postinstall.sh "$RELEASE_PATH/postinstall.sh"
|
||||||
|
|
||||||
@@ -89,18 +83,18 @@ bundle_vscode() {
|
|||||||
|
|
||||||
# Adds the commit and date to product.json
|
# Adds the commit and date to product.json
|
||||||
jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(
|
jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(
|
||||||
cat << EOF
|
cat <<EOF
|
||||||
{
|
{
|
||||||
"commit": "$(git rev-parse HEAD)",
|
"commit": "$(git rev-parse HEAD)",
|
||||||
"date": $(jq -n 'now | todate')
|
"date": $(jq -n 'now | todate')
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
) > "$VSCODE_OUT_PATH/product.json"
|
) >"$VSCODE_OUT_PATH/product.json"
|
||||||
|
|
||||||
# We remove the scripts field so that later on we can run
|
# We remove the scripts field so that later on we can run
|
||||||
# yarn to fetch node_modules if necessary without build scripts running.
|
# yarn to fetch node_modules if necessary without build scripts running.
|
||||||
# We cannot use --no-scripts because we still want dependent package scripts to run.
|
# We cannot use --no-scripts because we still want dependent package scripts to run.
|
||||||
jq 'del(.scripts)' < "$VSCODE_SRC_PATH/package.json" > "$VSCODE_OUT_PATH/package.json"
|
jq 'del(.scripts)' <"$VSCODE_SRC_PATH/package.json" >"$VSCODE_OUT_PATH/package.json"
|
||||||
|
|
||||||
pushd "$VSCODE_OUT_PATH"
|
pushd "$VSCODE_OUT_PATH"
|
||||||
symlink_asar
|
symlink_asar
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ main() {
|
|||||||
# we use the same version it's using so we instead run a script with yarn that
|
# we use the same version it's using so we instead run a script with yarn that
|
||||||
# will print the path to node.
|
# will print the path to node.
|
||||||
local node_path
|
local node_path
|
||||||
node_path="$(yarn -s node <<< 'console.info(process.execPath)')"
|
node_path="$(yarn -s node <<<'console.info(process.execPath)')"
|
||||||
|
|
||||||
mkdir -p "$RELEASE_PATH/bin"
|
mkdir -p "$RELEASE_PATH/bin"
|
||||||
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
|
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ _realpath() {
|
|||||||
cd "$(dirname "$script")"
|
cd "$(dirname "$script")"
|
||||||
|
|
||||||
while [ -L "$(basename "$script")" ]; do
|
while [ -L "$(basename "$script")" ]; do
|
||||||
if [ -L "./node" ] && [ -L "./code-server" ] &&
|
if [ -L "./node" ] && [ -L "./code-server" ] \
|
||||||
[ -f "package.json" ] &&
|
&& [ -f "package.json" ] \
|
||||||
cat package.json | grep -q '^ "name": "code-server",$'; then
|
&& cat package.json | grep -q '^ "name": "code-server",$'; then
|
||||||
echo "***** Please use the script in bin/code-server instead!" >&2
|
echo "***** Please use the script in bin/code-server instead!" >&2
|
||||||
echo "***** This script will soon be removed!" >&2
|
echo "***** This script will soon be removed!" >&2
|
||||||
echo "***** See the release notes at https://github.com/cdr/code-server/releases/tag/v3.4.0" >&2
|
echo "***** See the release notes at https://github.com/cdr/code-server/releases/tag/v3.4.0" >&2
|
||||||
|
|||||||
@@ -10,10 +10,16 @@ description: |
|
|||||||
vendor: "Coder"
|
vendor: "Coder"
|
||||||
homepage: "https://github.com/cdr/code-server"
|
homepage: "https://github.com/cdr/code-server"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
files:
|
|
||||||
./ci/build/code-server-nfpm.sh: /usr/bin/code-server
|
contents:
|
||||||
./ci/build/code-server@.service: /usr/lib/systemd/system/code-server@.service
|
- src: ./ci/build/code-server-nfpm.sh
|
||||||
# Only included for backwards compat with previous releases that shipped
|
dst: /usr/bin/code-server
|
||||||
# the user service. See #1997
|
|
||||||
./ci/build/code-server-user.service: /usr/lib/systemd/user/code-server.service
|
- src: ./ci/build/code-server@.service
|
||||||
./release-standalone/**/*: "/usr/lib/code-server/"
|
dst: /usr/lib/systemd/system/code-server@.service
|
||||||
|
|
||||||
|
- src: ./ci/build/code-server-user.service
|
||||||
|
dst: /usr/lib/systemd/user/code-server.service
|
||||||
|
|
||||||
|
- src: ./release-standalone/*
|
||||||
|
dst: /usr/lib/code-server/
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ main() {
|
|||||||
hub release create \
|
hub release create \
|
||||||
--file - \
|
--file - \
|
||||||
-t "$(git rev-parse HEAD)" \
|
-t "$(git rev-parse HEAD)" \
|
||||||
--draft "v$VERSION" << EOF
|
--draft "v$VERSION" <<EOF
|
||||||
v$VERSION
|
v$VERSION
|
||||||
|
|
||||||
VS Code v$(vscode_version)
|
VS Code v$(vscode_version)
|
||||||
@@ -21,20 +21,27 @@ installations.
|
|||||||
|
|
||||||
## New Features
|
## New Features
|
||||||
|
|
||||||
- ⭐ Summarize new features here with references to issues
|
⭐ Summarize new features here with references to issues
|
||||||
|
|
||||||
## VS Code
|
- item
|
||||||
- ⭐ Summarize VS Code version update here with references to issues
|
|
||||||
|
|
||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
- ⭐ Summarize bug fixes here with references to issues
|
|
||||||
|
⭐ Summarize bug fixes here with references to issues
|
||||||
|
|
||||||
|
- item
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
- ⭐ Summarize doc changes here with references to issues
|
|
||||||
|
⭐ Summarize doc changes here with references to issues
|
||||||
|
|
||||||
|
- item
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
- ⭐ Summarize development/testing changes here with references to issues
|
|
||||||
|
|
||||||
|
⭐ Summarize development/testing changes here with references to issues
|
||||||
|
|
||||||
|
- item
|
||||||
|
|
||||||
Cheers! 🍻
|
Cheers! 🍻
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
115
ci/build/release-prep.sh
Executable file
115
ci/build/release-prep.sh
Executable file
@@ -0,0 +1,115 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Description: This is a script to make the release process easier
|
||||||
|
# Run it with `yarn release:prep` and it will do the following:
|
||||||
|
# 1. Check that you have a $GITHUB_TOKEN set and hub installed
|
||||||
|
# 2. Update the version of code-server (package.json, docs, etc.)
|
||||||
|
# 3. Update the code coverage badge in the README
|
||||||
|
# 4. Open a draft PR using the release_template.md and view in browser
|
||||||
|
# If you want to perform a dry run of this script run DRY_RUN=1 yarn release:prep
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
main() {
|
||||||
|
if [ "${DRY_RUN-}" = 1 ]; then
|
||||||
|
echo "Performing a dry run..."
|
||||||
|
CMD="echo"
|
||||||
|
else
|
||||||
|
CMD=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
|
# Check that $GITHUB_TOKEN is set
|
||||||
|
if [[ -z ${GITHUB_TOKEN-} ]]; then
|
||||||
|
echo "We couldn't find an environment variable under GITHUB_TOKEN."
|
||||||
|
echo "This is needed for our scripts that use hub."
|
||||||
|
echo -e "See docs regarding GITHUB_TOKEN here under 'GitHub OAuth authentication': https://hub.github.com/hub.1.html"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check that hub is installed
|
||||||
|
if ! command -v hub &>/dev/null; then
|
||||||
|
echo "hub could not be found."
|
||||||
|
echo "We use this with the release-github-draft.sh and release-github-assets.sh scripts."
|
||||||
|
echo -e "See docs here: https://github.com/github/hub#installation"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check that they have jq installed
|
||||||
|
if ! command -v jq &>/dev/null; then
|
||||||
|
echo "jq could not be found."
|
||||||
|
echo "We use this to parse the package.json and grab the current version of code-server."
|
||||||
|
echo -e "See docs here: https://stedolan.github.io/jq/download/"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check that they have rg installed
|
||||||
|
if ! command -v rg &>/dev/null; then
|
||||||
|
echo "rg could not be found."
|
||||||
|
echo "We use this when updating files across the codebase."
|
||||||
|
echo -e "See docs here: https://github.com/BurntSushi/ripgrep#installation"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check that they have sd installed
|
||||||
|
if ! command -v sd &>/dev/null; then
|
||||||
|
echo "sd could not be found."
|
||||||
|
echo "We use this when updating files across the codebase."
|
||||||
|
echo -e "See docs here: https://github.com/chmln/sd#installation"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check that they have node installed
|
||||||
|
if ! command -v node &>/dev/null; then
|
||||||
|
echo "node could not be found."
|
||||||
|
echo "That's surprising..."
|
||||||
|
echo "We use it in this script for getting the package.json version"
|
||||||
|
echo -e "See docs here: https://nodejs.org/en/download/"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: we need to set upstream as well or the gh pr create step will fail
|
||||||
|
# See: https://github.com/cli/cli/issues/575
|
||||||
|
CURRENT_BRANCH=$(git branch | grep '\*' | cut -d' ' -f2-)
|
||||||
|
if [[ -z $(git config "branch.${CURRENT_BRANCH}.remote") ]]; then
|
||||||
|
echo "Doesn't look like you've pushed this branch to remote"
|
||||||
|
# Note: we need to set upstream as well or the gh pr create step will fail
|
||||||
|
# See: https://github.com/cli/cli/issues/575
|
||||||
|
echo "Please set the upstream and then run the script"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# credit to jakwuh for this solution
|
||||||
|
# https://gist.github.com/DarrenN/8c6a5b969481725a4413#gistcomment-1971123
|
||||||
|
CODE_SERVER_CURRENT_VERSION=$(node -pe "require('./package.json').version")
|
||||||
|
# Ask which version we should update to
|
||||||
|
# In the future, we'll automate this and determine the latest version automatically
|
||||||
|
echo "Current version: ${CODE_SERVER_CURRENT_VERSION}"
|
||||||
|
# The $'\n' adds a line break. See: https://stackoverflow.com/a/39581815/3015595
|
||||||
|
read -r -p "What version of code-server do you want to update to?"$'\n' CODE_SERVER_VERSION_TO_UPDATE
|
||||||
|
|
||||||
|
echo -e "Great! We'll prep a PR for updating to $CODE_SERVER_VERSION_TO_UPDATE\n"
|
||||||
|
$CMD rg -g '!yarn.lock' -g '!*.svg' --files-with-matches --fixed-strings "${CODE_SERVER_CURRENT_VERSION}" | $CMD xargs sd "$CODE_SERVER_CURRENT_VERSION" "$CODE_SERVER_VERSION_TO_UPDATE"
|
||||||
|
|
||||||
|
# Ensure the tests are passing and code coverage is up-to-date
|
||||||
|
echo -e "Running unit tests and updating code coverage...\n"
|
||||||
|
$CMD yarn test:unit
|
||||||
|
# Updates the Lines badge in the README
|
||||||
|
$CMD yarn badges
|
||||||
|
# Updates the svg to be green for the badge
|
||||||
|
$CMD sd "red.svg" "green.svg" ./README.md
|
||||||
|
|
||||||
|
$CMD git commit -am "chore(release): bump version to $CODE_SERVER_VERSION_TO_UPDATE"
|
||||||
|
|
||||||
|
# This runs from the root so that's why we use this path vs. ../../
|
||||||
|
RELEASE_TEMPLATE_STRING=$(cat ./.github/PULL_REQUEST_TEMPLATE/release_template.md)
|
||||||
|
|
||||||
|
echo -e "\nOpening a draft PR on GitHub"
|
||||||
|
# To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
|
||||||
|
$CMD gh pr create --base main --title "release: $CODE_SERVER_VERSION_TO_UPDATE" --body "$RELEASE_TEMPLATE_STRING" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft
|
||||||
|
|
||||||
|
# Open PR in browser
|
||||||
|
$CMD gh pr view --web
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
||||||
12
ci/dev/audit.sh
Executable file
12
ci/dev/audit.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
main() {
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
|
# Prevents integration with moderate or higher vulnerabilities
|
||||||
|
# Docs: https://github.com/IBM/audit-ci#options
|
||||||
|
yarn audit-ci --moderate
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
||||||
@@ -6,7 +6,8 @@ main() {
|
|||||||
|
|
||||||
yarn fmt
|
yarn fmt
|
||||||
yarn lint
|
yarn lint
|
||||||
yarn test
|
yarn _audit
|
||||||
|
yarn test:unit
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ set -euo pipefail
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
shfmt -i 2 -w -sr $(git ls-files "*.sh" | grep -v "lib/vscode")
|
|
||||||
|
|
||||||
local prettierExts
|
local prettierExts
|
||||||
prettierExts=(
|
prettierExts=(
|
||||||
"*.js"
|
"*.js"
|
||||||
@@ -18,18 +16,19 @@ main() {
|
|||||||
"*.toml"
|
"*.toml"
|
||||||
"*.yaml"
|
"*.yaml"
|
||||||
"*.yml"
|
"*.yml"
|
||||||
|
"*.sh"
|
||||||
)
|
)
|
||||||
prettier --write --loglevel=warn $(
|
prettier --write --loglevel=warn $(
|
||||||
git ls-files "${prettierExts[@]}" | grep -v "lib/vscode" | grep -v 'helm-chart'
|
git ls-files "${prettierExts[@]}" | grep -v "lib/vscode" | grep -v 'helm-chart'
|
||||||
)
|
)
|
||||||
|
|
||||||
doctoc --title '# FAQ' docs/FAQ.md > /dev/null
|
doctoc --title '# FAQ' docs/FAQ.md >/dev/null
|
||||||
doctoc --title '# Setup Guide' docs/guide.md > /dev/null
|
doctoc --title '# Setup Guide' docs/guide.md >/dev/null
|
||||||
doctoc --title '# Install' docs/install.md > /dev/null
|
doctoc --title '# Install' docs/install.md >/dev/null
|
||||||
doctoc --title '# npm Install Requirements' docs/npm.md > /dev/null
|
doctoc --title '# npm Install Requirements' docs/npm.md >/dev/null
|
||||||
doctoc --title '# Contributing' docs/CONTRIBUTING.md > /dev/null
|
doctoc --title '# Contributing' docs/CONTRIBUTING.md >/dev/null
|
||||||
doctoc --title '# Contributor Covenant Code of Conduct' docs/CODE_OF_CONDUCT.md > /dev/null
|
doctoc --title '# Contributor Covenant Code of Conduct' docs/CODE_OF_CONDUCT.md >/dev/null
|
||||||
doctoc --title '# iPad' docs/ipad.md > /dev/null
|
doctoc --title '# iPad' docs/ipad.md >/dev/null
|
||||||
|
|
||||||
if [[ ${CI-} && $(git ls-files --other --modified --exclude-standard) ]]; then
|
if [[ ${CI-} && $(git ls-files --other --modified --exclude-standard) ]]; then
|
||||||
echo "Files need generation or are formatted incorrectly:"
|
echo "Files need generation or are formatted incorrectly:"
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ main() {
|
|||||||
# This escapes all newlines so that sed will accept them.
|
# This escapes all newlines so that sed will accept them.
|
||||||
favicon_dark_style="$(printf "%s\n" "$favicon_dark_style" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g')"
|
favicon_dark_style="$(printf "%s\n" "$favicon_dark_style" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g')"
|
||||||
sed "$(
|
sed "$(
|
||||||
cat -n << EOF
|
cat -n <<EOF
|
||||||
s%<rect id="favicon"%$favicon_dark_style<rect id="favicon"%
|
s%<rect id="favicon"%$favicon_dark_style<rect id="favicon"%
|
||||||
EOF
|
EOF
|
||||||
)" favicon.svg > favicon-dark-support.svg
|
)" favicon.svg >favicon-dark-support.svg
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ main() {
|
|||||||
stylelint $(git ls-files "*.css" | grep -v "lib/vscode")
|
stylelint $(git ls-files "*.css" | grep -v "lib/vscode")
|
||||||
tsc --noEmit --skipLibCheck
|
tsc --noEmit --skipLibCheck
|
||||||
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh" | grep -v "lib/vscode")
|
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh" | grep -v "lib/vscode")
|
||||||
if command -v helm && helm kubeval --help > /dev/null; then
|
if command -v helm && helm kubeval --help >/dev/null; then
|
||||||
helm kubeval ci/helm-chart
|
helm kubeval ci/helm-chart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,9 @@ set -euo pipefail
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
cd test/test-plugin
|
|
||||||
make -s out/index.js
|
|
||||||
# We must keep jest in a sub-directory. See ../../test/package.json for more
|
# We must keep jest in a sub-directory. See ../../test/package.json for more
|
||||||
# information. We must also run it from the root otherwise coverage will not
|
# information. We must also run it from the root otherwise coverage will not
|
||||||
# include our source files.
|
# include our source files.
|
||||||
cd "$OLDPWD"
|
|
||||||
if [[ -z ${PASSWORD-} ]] || [[ -z ${CODE_SERVER_ADDRESS-} ]]; then
|
if [[ -z ${PASSWORD-} ]] || [[ -z ${CODE_SERVER_ADDRESS-} ]]; then
|
||||||
echo "The end-to-end testing suites rely on your local environment"
|
echo "The end-to-end testing suites rely on your local environment"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
@@ -16,12 +13,9 @@ main() {
|
|||||||
echo " \$PASSWORD"
|
echo " \$PASSWORD"
|
||||||
echo " \$CODE_SERVER_ADDRESS"
|
echo " \$CODE_SERVER_ADDRESS"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
echo "Please make sure you have code-server running locally with the flag:"
|
|
||||||
echo " --home \$CODE_SERVER_ADDRESS/healthz "
|
|
||||||
echo -e "\n"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@"
|
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --config ./test/jest.e2e.config.ts --runInBand
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
15
ci/dev/test-unit.sh
Executable file
15
ci/dev/test-unit.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
main() {
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
cd test/unit/test-plugin
|
||||||
|
make -s out/index.js
|
||||||
|
# We must keep jest in a sub-directory. See ../../test/package.json for more
|
||||||
|
# information. We must also run it from the root otherwise coverage will not
|
||||||
|
# include our source files.
|
||||||
|
cd "$OLDPWD"
|
||||||
|
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
||||||
@@ -1,16 +1,42 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# Description: This is a script to make the process of updating vscode versions easier
|
||||||
|
# Run it with `yarn update:vscode` and it will do the following:
|
||||||
|
# 1. Check that you have a remote called `vscode`
|
||||||
|
# 2. Ask you which version you want to upgrade to
|
||||||
|
# 3. Grab the exact version from the package.json i.e. 1.53.2
|
||||||
|
# 4. Fetch the vscode remote branches to run the subtree update
|
||||||
|
# 5. Run the subtree update and pull in the vscode update
|
||||||
|
# 6. Commit the changes (including merge conflicts)
|
||||||
|
# 7. Open a draft PR
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
# This function expects two arguments
|
||||||
|
# 1. the vscode version we're updating to
|
||||||
|
# 2. the list of merge conflict files
|
||||||
|
make_pr_body() {
|
||||||
|
local BODY="This PR updates vscode to $1
|
||||||
|
|
||||||
|
## TODOS
|
||||||
|
|
||||||
|
- [ ] test editor locally
|
||||||
|
- [ ] test terminal locally
|
||||||
|
- [ ] make notes about any significant changes in docs/CONTRIBUTING.md#notes-about-changes
|
||||||
|
|
||||||
|
## Files with conflicts (fix these)
|
||||||
|
$2"
|
||||||
|
echo "$BODY"
|
||||||
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
# Check if the remote exists
|
# Check if the remote exists
|
||||||
# if it doesn't, we add it
|
# if it doesn't, we add it
|
||||||
if ! git config remote.vscode.url > /dev/null; then
|
if ! git config remote.vscode.url >/dev/null; then
|
||||||
echo "Could not find 'vscode' as a remote"
|
echo "Could not find 'vscode' as a remote"
|
||||||
echo "Adding with: git remote add -f vscode https://github.com/microsoft/vscode.git &> /dev/null"
|
echo "Adding with: git remote add vscode https://github.com/microsoft/vscode.git"
|
||||||
echo "Supressing output with '&> /dev/null'"
|
git remote add vscode https://github.com/microsoft/vscode.git
|
||||||
git remote add -f vscode https://github.com/microsoft/vscode.git &> /dev/null
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ask which version we should update to
|
# Ask which version we should update to
|
||||||
@@ -25,10 +51,27 @@ main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "Great! We'll prep a PR for updating to $VSCODE_VERSION_TO_UPDATE\n"
|
# Check that they have jq installed
|
||||||
|
if ! command -v jq &>/dev/null; then
|
||||||
|
echo "jq could not be found."
|
||||||
|
echo "We use this when looking up the exact version to update to in the package.json in VS Code."
|
||||||
|
echo -e "See docs here: https://stedolan.github.io/jq/download/"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Grab the exact version from package.json
|
||||||
|
VSCODE_EXACT_VERSION=$(curl -s "https://raw.githubusercontent.com/microsoft/vscode/release/$VSCODE_VERSION_TO_UPDATE/package.json" | jq -r ".version")
|
||||||
|
|
||||||
|
echo -e "Great! We'll prep a PR for updating to $VSCODE_EXACT_VERSION\n"
|
||||||
|
|
||||||
|
# For some reason the subtree update doesn't work
|
||||||
|
# unless we fetch all the branches
|
||||||
|
echo -e "Fetching vscode branches..."
|
||||||
|
echo -e "Note: this might take a while"
|
||||||
|
git fetch vscode
|
||||||
|
|
||||||
# Check if GitHub CLI is installed
|
# Check if GitHub CLI is installed
|
||||||
if ! command -v gh &> /dev/null; then
|
if ! command -v gh &>/dev/null; then
|
||||||
echo "GitHub CLI could not be found."
|
echo "GitHub CLI could not be found."
|
||||||
echo "If you install it before you run this script next time, we'll open a draft PR for you!"
|
echo "If you install it before you run this script next time, we'll open a draft PR for you!"
|
||||||
echo -e "See docs here: https://github.com/cli/cli#installation\n"
|
echo -e "See docs here: https://github.com/cli/cli#installation\n"
|
||||||
@@ -38,21 +81,41 @@ main() {
|
|||||||
# Push branch to remote if not already pushed
|
# Push branch to remote if not already pushed
|
||||||
# If we don't do this, the opening a draft PR step won't work
|
# If we don't do this, the opening a draft PR step won't work
|
||||||
# because it will stop and ask where you want to push the branch
|
# because it will stop and ask where you want to push the branch
|
||||||
CURRENT_BRANCH=$(git branch --show-current)
|
CURRENT_BRANCH=$(git branch | grep '\*' | cut -d' ' -f2-)
|
||||||
if [[ -z $(git ls-remote --heads origin "$CURRENT_BRANCH") ]]; then
|
if [[ -z $(git config "branch.${CURRENT_BRANCH}.remote") ]]; then
|
||||||
echo "Doesn't look like you've pushed this branch to remote"
|
echo "Doesn't look like you've pushed this branch to remote"
|
||||||
echo -e "Pushing now using: git push origin $CURRENT_BRANCH\n"
|
echo -e "Pushing now using: git push origin $CURRENT_BRANCH\n"
|
||||||
git push origin "$CURRENT_BRANCH"
|
# Note: we need to set upstream as well or the gh pr create step will fail
|
||||||
|
# See: https://github.com/cli/cli/issues/575
|
||||||
|
echo "Please set the upstream and re-run the script"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Opening a draft PR on GitHub"
|
|
||||||
# To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
|
|
||||||
gh pr create --base master --title "feat(vscode): update to version $VSCODE_VERSION_TO_UPDATE" --body "This PR updates vscode to version: $VSCODE_VERSION_TO_UPDATE" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft
|
|
||||||
|
|
||||||
echo "Going to try to update vscode for you..."
|
echo "Going to try to update vscode for you..."
|
||||||
echo -e "Running: git subtree pull --prefix lib/vscode vscode release/${VSCODE_VERSION_TO_UPDATE} --squash\n"
|
echo -e "Running: git subtree pull --prefix lib/vscode vscode release/${VSCODE_VERSION_TO_UPDATE} --squash\n"
|
||||||
# Try to run subtree update command
|
# Try to run subtree update command
|
||||||
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash --message "chore(vscode): update to $VSCODE_VERSION_TO_UPDATE"
|
# Note: we add `|| true` because we want the script to keep running even if the squash fails
|
||||||
|
# We know the squash fails everytime because there will always be merge conflicts
|
||||||
|
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash || true
|
||||||
|
|
||||||
|
# Get the files with conflicts before we commit them
|
||||||
|
# so we can list them in the PR body as todo items
|
||||||
|
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- [ ] $line"; done)
|
||||||
|
PR_BODY=$(make_pr_body "$VSCODE_EXACT_VERSION" "$CONFLICTS")
|
||||||
|
|
||||||
|
echo -e "\nForcing a commit with conflicts"
|
||||||
|
echo "Note: this is intentional"
|
||||||
|
echo "If we don't do this, code review is impossible."
|
||||||
|
echo -e "For more info, see docs: docs/CONTRIBUTING.md#updating-vs-code\n"
|
||||||
|
# We need --no-verify to skip the husky pre-commit hook
|
||||||
|
# which fails because of the merge conflicts
|
||||||
|
git add . && git commit -am "chore(vscode): update to $VSCODE_EXACT_VERSION" --no-verify
|
||||||
|
|
||||||
|
# Note: we can't open a draft PR unless their are changes.
|
||||||
|
# Hence why we do this after the subtree update.
|
||||||
|
echo "Opening a draft PR on GitHub"
|
||||||
|
# To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
|
||||||
|
gh pr create --base main --title "feat(vscode): update to version $VSCODE_EXACT_VERSION" --body "$PR_BODY" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ version: 1.0.3
|
|||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
appVersion: 3.9.1
|
appVersion: 3.9.3
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# code-server
|
# code-server
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
[code-server](https://github.com/cdr/code-server) code-server is VS Code running
|
[code-server](https://github.com/cdr/code-server) code-server is VS Code running
|
||||||
on a remote server, accessible through the browser.
|
on a remote server, accessible through the browser.
|
||||||
@@ -72,7 +72,7 @@ and their default values.
|
|||||||
| hostnameOverride | string | `""` | |
|
| hostnameOverride | string | `""` | |
|
||||||
| image.pullPolicy | string | `"Always"` | |
|
| image.pullPolicy | string | `"Always"` | |
|
||||||
| image.repository | string | `"codercom/code-server"` | |
|
| image.repository | string | `"codercom/code-server"` | |
|
||||||
| image.tag | string | `"3.9.1"` | |
|
| image.tag | string | `"3.9.3"` | |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| ingress.enabled | bool | `false` | |
|
| ingress.enabled | bool | `false` | |
|
||||||
| nameOverride | string | `""` | |
|
| nameOverride | string | `""` | |
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: codercom/code-server
|
repository: codercom/code-server
|
||||||
tag: '3.9.1'
|
tag: '3.9.3'
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ ENV PATH=/usr/local/node-$NODE_VERSION/bin:$PATH
|
|||||||
RUN npm install -g yarn
|
RUN npm install -g yarn
|
||||||
|
|
||||||
RUN yum groupinstall -y 'Development Tools'
|
RUN yum groupinstall -y 'Development Tools'
|
||||||
RUN yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
|
RUN yum install -y python2
|
||||||
|
|
||||||
RUN npm config set python python2
|
RUN npm config set python python2
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
|
|||||||
|
|
||||||
# Install Go dependencies
|
# Install Go dependencies
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
RUN go get mvdan.cc/sh/v3/cmd/shfmt
|
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v2.3.1
|
||||||
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v1.9.0
|
|
||||||
|
|
||||||
RUN curl -fsSL https://get.docker.com | sh
|
RUN curl -fsSL https://get.docker.com | sh
|
||||||
|
|||||||
@@ -15,10 +15,7 @@ RUN curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
|||||||
apt-get update && apt-get install -y yarn
|
apt-get update && apt-get install -y yarn
|
||||||
|
|
||||||
# Installs VS Code build deps.
|
# Installs VS Code build deps.
|
||||||
RUN apt-get install -y build-essential \
|
RUN apt-get install -y build-essential
|
||||||
libsecret-1-dev \
|
|
||||||
libx11-dev \
|
|
||||||
libxkbfile-dev
|
|
||||||
|
|
||||||
# Installs envsubst.
|
# Installs envsubst.
|
||||||
RUN apt-get install -y gettext-base
|
RUN apt-get install -y gettext-base
|
||||||
@@ -42,8 +39,7 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
|
|||||||
|
|
||||||
# Install Go dependencies
|
# Install Go dependencies
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
RUN go get mvdan.cc/sh/v3/cmd/shfmt
|
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v2.3.1
|
||||||
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v1.9.0
|
|
||||||
|
|
||||||
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \
|
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \
|
||||||
curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl" > /usr/local/bin/kubectl \
|
curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl" > /usr/local/bin/kubectl \
|
||||||
|
|||||||
21
ci/lib.sh
21
ci/lib.sh
@@ -2,11 +2,11 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
pushd() {
|
pushd() {
|
||||||
builtin pushd "$@" > /dev/null
|
builtin pushd "$@" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
popd() {
|
popd() {
|
||||||
builtin popd > /dev/null
|
builtin popd >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_json_version() {
|
pkg_json_version() {
|
||||||
@@ -57,7 +57,20 @@ curl() {
|
|||||||
# This will contain the artifacts we want.
|
# This will contain the artifacts we want.
|
||||||
# https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
|
# https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
|
||||||
get_artifacts_url() {
|
get_artifacts_url() {
|
||||||
curl -fsSL 'https://api.github.com/repos/cdr/code-server/actions/workflows/ci.yaml/runs?status=success&event=push' | jq -r ".workflow_runs[] | select(.head_sha == \"$(git rev-parse HEAD)\") | .artifacts_url" | head -n 1
|
local artifacts_url
|
||||||
|
local workflow_runs_url="https://api.github.com/repos/cdr/code-server/actions/workflows/ci.yaml/runs?status=success&event=pull_request"
|
||||||
|
# For releases, we look for run based on the branch name v$code_server_version
|
||||||
|
# example: v3.9.3
|
||||||
|
local version_branch="v$VERSION"
|
||||||
|
artifacts_url=$(curl -fsSL "$workflow_runs_url" | jq -r ".workflow_runs[] | select(.head_branch == \"$version_branch\") | .artifacts_url" | head -n 1)
|
||||||
|
if [[ -z "$artifacts_url" ]]; then
|
||||||
|
echo >&2 "ERROR: artifacts_url came back empty"
|
||||||
|
echo >&2 "We looked for a successful run triggered by a pull_request with for code-server version: $code_server_version and a branch named $version_branch"
|
||||||
|
echo >&2 "URL used for curl call: $workflow_runs_url"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$artifacts_url"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grabs the artifact's download url.
|
# Grabs the artifact's download url.
|
||||||
@@ -75,7 +88,7 @@ download_artifact() {
|
|||||||
local tmp_file
|
local tmp_file
|
||||||
tmp_file="$(mktemp)"
|
tmp_file="$(mktemp)"
|
||||||
|
|
||||||
curl -fsSL "$(get_artifact_url "$artifact_name")" > "$tmp_file"
|
curl -fsSL "$(get_artifact_url "$artifact_name")" >"$tmp_file"
|
||||||
unzip -q -o "$tmp_file" -d "$dst"
|
unzip -q -o "$tmp_file" -d "$dst"
|
||||||
rm "$tmp_file"
|
rm "$tmp_file"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ RUN apt-get update \
|
|||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
dumb-init \
|
dumb-init \
|
||||||
|
zsh \
|
||||||
htop \
|
htop \
|
||||||
locales \
|
locales \
|
||||||
man \
|
man \
|
||||||
@@ -25,7 +26,7 @@ RUN adduser --gecos '' --disabled-password coder && \
|
|||||||
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
||||||
|
|
||||||
RUN ARCH="$(dpkg --print-architecture)" && \
|
RUN ARCH="$(dpkg --print-architecture)" && \
|
||||||
curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.4.1/fixuid-0.4.1-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - && \
|
curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.5/fixuid-0.5-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - && \
|
||||||
chown root:root /usr/local/bin/fixuid && \
|
chown root:root /usr/local/bin/fixuid && \
|
||||||
chmod 4755 /usr/local/bin/fixuid && \
|
chmod 4755 /usr/local/bin/fixuid && \
|
||||||
mkdir -p /etc/fixuid && \
|
mkdir -p /etc/fixuid && \
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -eu
|
|||||||
eval "$(fixuid -q)"
|
eval "$(fixuid -q)"
|
||||||
|
|
||||||
if [ "${DOCKER_USER-}" ] && [ "$DOCKER_USER" != "$USER" ]; then
|
if [ "${DOCKER_USER-}" ] && [ "$DOCKER_USER" != "$USER" ]; then
|
||||||
echo "$DOCKER_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
echo "$DOCKER_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd >/dev/null
|
||||||
# Unfortunately we cannot change $HOME as we cannot move any bind mounts
|
# Unfortunately we cannot change $HOME as we cannot move any bind mounts
|
||||||
# nor can we bind mount $HOME into a new home as that requires a privileged container.
|
# nor can we bind mount $HOME into a new home as that requires a privileged container.
|
||||||
sudo usermod --login "$DOCKER_USER" coder
|
sudo usermod --login "$DOCKER_USER" coder
|
||||||
|
|||||||
13
ci/steps/brew-bump.sh
Executable file
13
ci/steps/brew-bump.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
main() {
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
# Only sourcing this so we get access to $VERSION
|
||||||
|
source ./ci/lib.sh
|
||||||
|
# Find the docs for bump-formula-pr here
|
||||||
|
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
||||||
|
brew bump-formula-pr --force --version="${VERSION}" code-server --no-browse --no-audit
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
||||||
@@ -8,7 +8,7 @@ main() {
|
|||||||
./ci/release-image/build.sh
|
./ci/release-image/build.sh
|
||||||
|
|
||||||
mkdir -p release-images
|
mkdir -p release-images
|
||||||
docker save "codercom/code-server-$ARCH:$VERSION" > "release-images/code-server-$ARCH-$VERSION.tar"
|
docker save "codercom/code-server-$ARCH:$VERSION" >"release-images/code-server-$ARCH-$VERSION.tar"
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
main() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
|
|
||||||
yarn fmt
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
main() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
|
|
||||||
yarn lint
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
@@ -6,7 +6,7 @@ main() {
|
|||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
if [[ ${CI-} ]]; then
|
if [[ ${CI-} ]]; then
|
||||||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >~/.npmrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
download_artifact npm-package ./release-npm-package
|
download_artifact npm-package ./release-npm-package
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
main() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
NODE_VERSION=v12.18.4
|
|
||||||
NODE_OS="$(uname | tr '[:upper:]' '[:lower:]')"
|
|
||||||
NODE_ARCH="$(uname -m | sed 's/86_64/64/; s/aarch64/arm64/')"
|
|
||||||
if [ "$NODE_OS" = "freebsd" ]; then
|
|
||||||
mkdir -p "$PWD/node-$NODE_VERSION-$NODE_OS-$NODE_ARCH/bin"
|
|
||||||
cp "$(which node)" "$PWD/node-$NODE_VERSION-$NODE_OS-$NODE_ARCH/bin"
|
|
||||||
else
|
|
||||||
curl -L "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$NODE_OS-$NODE_ARCH.tar.gz" | tar -xz
|
|
||||||
fi
|
|
||||||
PATH="$PWD/node-$NODE_VERSION-$NODE_OS-$NODE_ARCH/bin:$PATH"
|
|
||||||
|
|
||||||
# https://github.com/actions/upload-artifact/issues/38
|
|
||||||
tar -xzf release-npm-package/package.tar.gz
|
|
||||||
|
|
||||||
yarn release:standalone
|
|
||||||
yarn test:standalone-release
|
|
||||||
yarn package
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
main() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
yarn build
|
|
||||||
yarn build:vscode
|
|
||||||
yarn release
|
|
||||||
|
|
||||||
# https://github.com/actions/upload-artifact/issues/38
|
|
||||||
mkdir -p release-npm-package
|
|
||||||
tar -czf release-npm-package/package.tar.gz release
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
main() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
|
|
||||||
yarn test
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
@@ -36,7 +36,6 @@ There are several differences, however. You must:
|
|||||||
- Use Node.js version 12.x (or greater)
|
- Use Node.js version 12.x (or greater)
|
||||||
- Have [yarn](https://classic.yarnpkg.com/en/) installed (which is used to install JS packages and run development scripts)
|
- Have [yarn](https://classic.yarnpkg.com/en/) installed (which is used to install JS packages and run development scripts)
|
||||||
- Have [nfpm](https://github.com/goreleaser/nfpm) (which is used to build `.deb` and `.rpm` packages and [jq](https://stedolan.github.io/jq/) (used to build code-server releases) installed
|
- Have [nfpm](https://github.com/goreleaser/nfpm) (which is used to build `.deb` and `.rpm` packages and [jq](https://stedolan.github.io/jq/) (used to build code-server releases) installed
|
||||||
- Have [shfmt](https://pkg.go.dev/mvdan.cc/sh/v3) installed to run `yarn fmt` (requires Go is installed on your system)
|
|
||||||
|
|
||||||
The [CI container](../ci/images/debian10/Dockerfile) is a useful reference for all
|
The [CI container](../ci/images/debian10/Dockerfile) is a useful reference for all
|
||||||
of the dependencies code-server uses.
|
of the dependencies code-server uses.
|
||||||
|
|||||||
51
docs/FAQ.md
51
docs/FAQ.md
@@ -7,7 +7,9 @@
|
|||||||
- [Community Projects (awesome-code-server)](#community-projects-awesome-code-server)
|
- [Community Projects (awesome-code-server)](#community-projects-awesome-code-server)
|
||||||
- [How can I reuse my VS Code configuration?](#how-can-i-reuse-my-vs-code-configuration)
|
- [How can I reuse my VS Code configuration?](#how-can-i-reuse-my-vs-code-configuration)
|
||||||
- [Differences compared to VS Code?](#differences-compared-to-vs-code)
|
- [Differences compared to VS Code?](#differences-compared-to-vs-code)
|
||||||
|
- [Installing an extension](#installing-an-extension)
|
||||||
- [How can I request a missing extension?](#how-can-i-request-a-missing-extension)
|
- [How can I request a missing extension?](#how-can-i-request-a-missing-extension)
|
||||||
|
- [Installing an extension manually](#installing-an-extension-manually)
|
||||||
- [How do I configure the marketplace URL?](#how-do-i-configure-the-marketplace-url)
|
- [How do I configure the marketplace URL?](#how-do-i-configure-the-marketplace-url)
|
||||||
- [Where are extensions stored?](#where-are-extensions-stored)
|
- [Where are extensions stored?](#where-are-extensions-stored)
|
||||||
- [How is this different from VS Code Codespaces?](#how-is-this-different-from-vs-code-codespaces)
|
- [How is this different from VS Code Codespaces?](#how-is-this-different-from-vs-code-codespaces)
|
||||||
@@ -26,7 +28,6 @@
|
|||||||
- [Heartbeat File](#heartbeat-file)
|
- [Heartbeat File](#heartbeat-file)
|
||||||
- [Healthz endpoint](#healthz-endpoint)
|
- [Healthz endpoint](#healthz-endpoint)
|
||||||
- [How does the config file work?](#how-does-the-config-file-work)
|
- [How does the config file work?](#how-does-the-config-file-work)
|
||||||
- [How do I customize the "Go Home" button?](#how-do-i-customize-the-go-home-button)
|
|
||||||
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
|
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
|
||||||
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
|
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
|
||||||
- [Differences compared to Theia?](#differences-compared-to-theia)
|
- [Differences compared to Theia?](#differences-compared-to-theia)
|
||||||
@@ -83,15 +84,43 @@ These are the closed source extensions presently unavailable:
|
|||||||
|
|
||||||
For more about the closed source parts of VS Code, see [vscodium/vscodium](https://github.com/VSCodium/vscodium#why-does-this-exist).
|
For more about the closed source parts of VS Code, see [vscodium/vscodium](https://github.com/VSCodium/vscodium#why-does-this-exist).
|
||||||
|
|
||||||
|
### Installing an extension
|
||||||
|
|
||||||
|
Extensions can be installed from the marketplace using the extensions sidebar in
|
||||||
|
code-server or from the command line:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
code-server --install-extension <extension id>
|
||||||
|
# example: code-server --install-extension wesbos.theme-cobalt2
|
||||||
|
```
|
||||||
|
|
||||||
## How can I request a missing extension?
|
## How can I request a missing extension?
|
||||||
|
|
||||||
Please open a new issue and select the `Extension request` template.
|
We are currently in the process of transitioning to [Open VSX](https://open-vsx.org/).
|
||||||
|
Once https://github.com/eclipse/openvsx/issues/249
|
||||||
|
is implemented, we can fully make this transition. Therefore, we are no longer
|
||||||
|
accepting new requests for extension requests.
|
||||||
|
|
||||||
If an extension is not available or does not work, you can grab its VSIX from its Github releases or
|
Instead, we suggest one of the following:
|
||||||
build it yourself. Then run the `Extensions: Install from VSIX` command in the Command Palette and
|
|
||||||
point to the .vsix file.
|
|
||||||
|
|
||||||
See below for installing an extension from the cli.
|
- [Switch to Open VSX](#how-do-i-configure-the-marketplace-url) now
|
||||||
|
- Download and [install the extension manually](#installing-an-extension-manually)
|
||||||
|
|
||||||
|
## Installing an extension manually
|
||||||
|
|
||||||
|
If an extension is not available from the marketplace or does not work, you can
|
||||||
|
grab its VSIX from its GitHub releases or build it yourself.
|
||||||
|
|
||||||
|
Once you have downloaded the VSIX to the remote machine you can either:
|
||||||
|
|
||||||
|
- Run the `Extensions: Install from VSIX` command in the Command Palette.
|
||||||
|
- Use `code-server --install-extension <path to vsix>`
|
||||||
|
|
||||||
|
You can also download extensions from the command line. For instance, downloading off OpenVSX can be done like this:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
SERVICE_URL=https://open-vsx.org/vscode/gallery ITEM_URL=https://open-vsx.org/vscode/item code-server --install-extension <extension id>
|
||||||
|
```
|
||||||
|
|
||||||
## How do I configure the marketplace URL?
|
## How do I configure the marketplace URL?
|
||||||
|
|
||||||
@@ -354,16 +383,6 @@ The `--config` flag or `$CODE_SERVER_CONFIG` can be used to change the config fi
|
|||||||
|
|
||||||
The default location also respects `$XDG_CONFIG_HOME`.
|
The default location also respects `$XDG_CONFIG_HOME`.
|
||||||
|
|
||||||
## How do I customize the "Go Home" button?
|
|
||||||
|
|
||||||
You can pass a URL to the `--home` flag like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
code-server --home=https://my-website.com
|
|
||||||
```
|
|
||||||
|
|
||||||
Or you can define it in the config file with `home`.
|
|
||||||
|
|
||||||
## Isn't an install script piped into sh insecure?
|
## Isn't an install script piped into sh insecure?
|
||||||
|
|
||||||
Please give
|
Please give
|
||||||
|
|||||||
@@ -9,12 +9,14 @@
|
|||||||
- [Debian, Ubuntu](#debian-ubuntu)
|
- [Debian, Ubuntu](#debian-ubuntu)
|
||||||
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
|
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
|
||||||
- [Arch Linux](#arch-linux)
|
- [Arch Linux](#arch-linux)
|
||||||
|
- [Termux](#termux)
|
||||||
|
- [Known Search Issue](#known-search-issue)
|
||||||
- [yarn, npm](#yarn-npm)
|
- [yarn, npm](#yarn-npm)
|
||||||
- [macOS](#macos)
|
- [macOS](#macos)
|
||||||
- [Standalone Releases](#standalone-releases)
|
- [Standalone Releases](#standalone-releases)
|
||||||
- [Docker](#docker)
|
- [Docker](#docker)
|
||||||
- [helm](#helm)
|
- [helm](#helm)
|
||||||
- [App Engines (Azure, Heroku)](#app-engines-azure-heroku)
|
- [Cloud Providers](#cloud-providers)
|
||||||
|
|
||||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
|
||||||
@@ -87,18 +89,24 @@ commands presented in the rest of this document.
|
|||||||
|
|
||||||
## Debian, Ubuntu
|
## Debian, Ubuntu
|
||||||
|
|
||||||
|
NOTE: The standalone arm64 .deb does not support Ubuntu <16.04.
|
||||||
|
Please upgrade or [build with yarn](#yarn-npm).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.1/code-server_3.9.1_amd64.deb
|
curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.3/code-server_3.9.3_amd64.deb
|
||||||
sudo dpkg -i code-server_3.9.1_amd64.deb
|
sudo dpkg -i code-server_3.9.3_amd64.deb
|
||||||
sudo systemctl enable --now code-server@$USER
|
sudo systemctl enable --now code-server@$USER
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Fedora, CentOS, RHEL, SUSE
|
## Fedora, CentOS, RHEL, SUSE
|
||||||
|
|
||||||
|
NOTE: The standalone arm64 .rpm does not support CentOS 7.
|
||||||
|
Please upgrade or [build with yarn](#yarn-npm).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.1/code-server-3.9.1-amd64.rpm
|
curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-amd64.rpm
|
||||||
sudo rpm -i code-server-3.9.1-amd64.rpm
|
sudo rpm -i code-server-3.9.3-amd64.rpm
|
||||||
sudo systemctl enable --now code-server@$USER
|
sudo systemctl enable --now code-server@$USER
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
```
|
```
|
||||||
@@ -121,13 +129,42 @@ sudo systemctl enable --now code-server@$USER
|
|||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Termux
|
||||||
|
|
||||||
|
Termux is an Android terminal application and Linux environment, which can also run code-server from your phone.
|
||||||
|
|
||||||
|
1. Install Termux from the [Google Play Store](https://play.google.com/store/apps/details?id=com.termux&hl=en_US&gl=US)
|
||||||
|
2. Make sure it's up-to-date by running `apt update && apt upgrade`
|
||||||
|
3. Install required packages: `apt install build-essential python git nodejs yarn`
|
||||||
|
4. Install code-server: `yarn global add code-server`
|
||||||
|
5. Run code-server: `code-server` and navigate to localhost:8080 in your browser
|
||||||
|
|
||||||
|
To upgrade run: `yarn global upgrade code-server --latest`
|
||||||
|
|
||||||
|
### Known Search Issue
|
||||||
|
|
||||||
|
There is a known issue with search not working on Android because it's missing `bin/rg`. To fix:
|
||||||
|
|
||||||
|
1. Install `ripgrep` with `pkg`
|
||||||
|
```sh
|
||||||
|
pkg install ripgrep
|
||||||
|
```
|
||||||
|
2. Make a soft link using `ln -s`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# run this command inside the code-server directory
|
||||||
|
ln -s $PREFIX/bin/rg ./lib/vscode/node_modules/vscode-ripgrep/bin/rg
|
||||||
|
```
|
||||||
|
|
||||||
|
For more context, see [comment](https://github.com/cdr/code-server/issues/1730#issuecomment-721515979).
|
||||||
|
|
||||||
## yarn, npm
|
## yarn, npm
|
||||||
|
|
||||||
We recommend installing with `yarn` or `npm` when:
|
We recommend installing with `yarn` or `npm` when:
|
||||||
|
|
||||||
1. You aren't on `amd64` or `arm64`.
|
1. You aren't on `amd64` or `arm64`.
|
||||||
2. If you're on Linux with glibc < v2.17 or glibcxx < v3.4.18
|
2. If you're on Linux with glibc < v2.17 or glibcxx < v3.4.18 on amd64, or glibc < v2.23 or glibcxx < v3.4.21 on arm64.
|
||||||
3. You're running Alpine Linux. See [#1430](https://github.com/cdr/code-server/issues/1430#issuecomment-629883198)
|
3. You're running Alpine Linux, or are using a non-glibc libc. See [#1430](https://github.com/cdr/code-server/issues/1430#issuecomment-629883198)
|
||||||
|
|
||||||
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
|
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
|
||||||
See [./npm.md](./npm.md) for installing these dependencies.
|
See [./npm.md](./npm.md) for installing these dependencies.
|
||||||
@@ -168,10 +205,10 @@ Here is an example script for installing and using a standalone `code-server` re
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p ~/.local/lib ~/.local/bin
|
mkdir -p ~/.local/lib ~/.local/bin
|
||||||
curl -fL https://github.com/cdr/code-server/releases/download/v3.9.1/code-server-3.9.1-linux-amd64.tar.gz \
|
curl -fL https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-linux-amd64.tar.gz \
|
||||||
| tar -C ~/.local/lib -xz
|
| tar -C ~/.local/lib -xz
|
||||||
mv ~/.local/lib/code-server-3.9.1-linux-amd64 ~/.local/lib/code-server-3.9.1
|
mv ~/.local/lib/code-server-3.9.3-linux-amd64 ~/.local/lib/code-server-3.9.3
|
||||||
ln -s ~/.local/lib/code-server-3.9.1/bin/code-server ~/.local/bin/code-server
|
ln -s ~/.local/lib/code-server-3.9.3/bin/code-server ~/.local/bin/code-server
|
||||||
PATH="~/.local/bin:$PATH"
|
PATH="~/.local/bin:$PATH"
|
||||||
code-server
|
code-server
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
@@ -207,9 +244,8 @@ https://hub.docker.com/r/linuxserver/code-server
|
|||||||
|
|
||||||
See [the chart](../ci/helm-chart).
|
See [the chart](../ci/helm-chart).
|
||||||
|
|
||||||
## App Engines (Azure, Heroku)
|
## Cloud Providers
|
||||||
|
|
||||||
These community images are optimized for use with popular app engines. They use the latest official [Docker](#docker) image, so they will always be up to date.
|
We maintain one-click apps and install scripts for different cloud providers such as DigitalOcean, Railway, Heroku, Azure, etc. Check out the repository:
|
||||||
|
|
||||||
- [code-server-heroku](https://github.com/bpmct/code-server-heroku)
|
https://github.com/cdr/deploy-code-server
|
||||||
- [code-server-azure](https://github.com/bpmct/code-server-azure)
|
|
||||||
|
|||||||
20
docs/npm.md
20
docs/npm.md
@@ -10,10 +10,15 @@
|
|||||||
|
|
||||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
|
|
||||||
If you're installing the npm module you'll need certain dependencies to build
|
If you're installing the npm module you'll need certain dependencies to build the native modules used by VS Code.
|
||||||
the native modules used by VS Code.
|
|
||||||
|
|
||||||
You also need at least node v12 installed. See [#1633](https://github.com/cdr/code-server/issues/1633).
|
- Node.js: version `>= 12`, `<= 14`
|
||||||
|
|
||||||
|
_Note: the Node.js version requirements are based on the VS Code Node.js requirements. See [here](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites)._
|
||||||
|
|
||||||
|
Related:
|
||||||
|
|
||||||
|
- [#1633](https://github.com/cdr/code-server/issues/1633)
|
||||||
|
|
||||||
## Ubuntu, Debian
|
## Ubuntu, Debian
|
||||||
|
|
||||||
@@ -21,9 +26,6 @@ You also need at least node v12 installed. See [#1633](https://github.com/cdr/co
|
|||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
libx11-dev \
|
|
||||||
libxkbfile-dev \
|
|
||||||
libsecret-1-dev \
|
|
||||||
python3
|
python3
|
||||||
npm config set python python3
|
npm config set python python3
|
||||||
```
|
```
|
||||||
@@ -33,14 +35,14 @@ npm config set python python3
|
|||||||
```bash
|
```bash
|
||||||
sudo yum groupinstall -y 'Development Tools'
|
sudo yum groupinstall -y 'Development Tools'
|
||||||
sudo yum config-manager --set-enabled PowerTools # unnecessary on CentOS 7
|
sudo yum config-manager --set-enabled PowerTools # unnecessary on CentOS 7
|
||||||
sudo yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
|
sudo yum install -y python2
|
||||||
npm config set python python2
|
npm config set python python2
|
||||||
```
|
```
|
||||||
|
|
||||||
## Alpine
|
## Alpine
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apk add alpine-sdk bash libstdc++ libc6-compat libx11-dev libxkbfile-dev libsecret-dev
|
apk add alpine-sdk bash libstdc++ libc6-compat
|
||||||
npm config set python python3
|
npm config set python python3
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -54,5 +56,5 @@ xcode-select --install
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
pkg install -y git python npm-node12 yarn-node12 pkgconf
|
pkg install -y git python npm-node12 yarn-node12 pkgconf
|
||||||
pkg install -y libsecret libxkbfile libx11 libinotify
|
pkg install -y libinotify
|
||||||
```
|
```
|
||||||
|
|||||||
22
install.sh
22
install.sh
@@ -2,7 +2,7 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# code-server's automatic install script.
|
# code-server's automatic install script.
|
||||||
# See https://github.com/cdr/code-server/blob/v3.9.1/docs/install.md
|
# See https://github.com/cdr/code-server/blob/main/docs/install.md
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
arg0="$0"
|
arg0="$0"
|
||||||
@@ -13,7 +13,7 @@ usage() {
|
|||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cath << EOF
|
cath <<EOF
|
||||||
Installs code-server for Linux, macOS and FreeBSD.
|
Installs code-server for Linux, macOS and FreeBSD.
|
||||||
It tries to use the system package manager if possible.
|
It tries to use the system package manager if possible.
|
||||||
After successful installation it explains how to start using code-server.
|
After successful installation it explains how to start using code-server.
|
||||||
@@ -67,7 +67,7 @@ Usage:
|
|||||||
|
|
||||||
It will cache all downloaded assets into ~/.cache/code-server
|
It will cache all downloaded assets into ~/.cache/code-server
|
||||||
|
|
||||||
More installation docs are at https://github.com/cdr/code-server/blob/v3.9.1/docs/install.md
|
More installation docs are at https://github.com/cdr/code-server/blob/main/docs/install.md
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,7 +81,7 @@ echo_latest_version() {
|
|||||||
|
|
||||||
echo_npm_postinstall() {
|
echo_npm_postinstall() {
|
||||||
echoh
|
echoh
|
||||||
cath << EOF
|
cath <<EOF
|
||||||
The npm package has been installed successfully!
|
The npm package has been installed successfully!
|
||||||
Please extend your path to use code-server:
|
Please extend your path to use code-server:
|
||||||
PATH="$NPM_BIN_DIR:\$PATH"
|
PATH="$NPM_BIN_DIR:\$PATH"
|
||||||
@@ -92,7 +92,7 @@ EOF
|
|||||||
|
|
||||||
echo_standalone_postinstall() {
|
echo_standalone_postinstall() {
|
||||||
echoh
|
echoh
|
||||||
cath << EOF
|
cath <<EOF
|
||||||
Standalone release has been installed into $STANDALONE_INSTALL_PREFIX/lib/code-server-$VERSION
|
Standalone release has been installed into $STANDALONE_INSTALL_PREFIX/lib/code-server-$VERSION
|
||||||
Please extend your path to use code-server:
|
Please extend your path to use code-server:
|
||||||
PATH="$STANDALONE_INSTALL_PREFIX/bin:\$PATH"
|
PATH="$STANDALONE_INSTALL_PREFIX/bin:\$PATH"
|
||||||
@@ -103,7 +103,7 @@ EOF
|
|||||||
|
|
||||||
echo_systemd_postinstall() {
|
echo_systemd_postinstall() {
|
||||||
echoh
|
echoh
|
||||||
cath << EOF
|
cath <<EOF
|
||||||
To have systemd start code-server now and restart on boot:
|
To have systemd start code-server now and restart on boot:
|
||||||
sudo systemctl enable --now code-server@\$USER
|
sudo systemctl enable --now code-server@\$USER
|
||||||
Or, if you don't want/need a background service you can run:
|
Or, if you don't want/need a background service you can run:
|
||||||
@@ -419,7 +419,7 @@ install_npm() {
|
|||||||
echoh
|
echoh
|
||||||
echoerr "Please install npm or yarn to install code-server!"
|
echoerr "Please install npm or yarn to install code-server!"
|
||||||
echoerr "You will need at least node v12 and a few C dependencies."
|
echoerr "You will need at least node v12 and a few C dependencies."
|
||||||
echoerr "See the docs https://github.com/cdr/code-server/blob/v3.9.1/docs/install.md#yarn-npm"
|
echoerr "See the docs https://github.com/cdr/code-server/blob/v3.9.3/docs/install.md#yarn-npm"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -509,7 +509,7 @@ arch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
command_exists() {
|
command_exists() {
|
||||||
command -v "$@" > /dev/null
|
command -v "$@" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
sh_c() {
|
sh_c() {
|
||||||
@@ -557,8 +557,8 @@ echoerr() {
|
|||||||
echoh "$@" >&2
|
echoh "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# humanpath replaces all occurances of " $HOME" with " ~"
|
# humanpath replaces all occurrences of " $HOME" with " ~"
|
||||||
# and all occurances of '"$HOME' with the literal '"$HOME'.
|
# and all occurrences of '"$HOME' with the literal '"$HOME'.
|
||||||
humanpath() {
|
humanpath() {
|
||||||
sed "s# $HOME# ~#g; s#\"$HOME#\"\$HOME#g"
|
sed "s# $HOME# ~#g; s#\"$HOME#\"\$HOME#g"
|
||||||
}
|
}
|
||||||
@@ -571,7 +571,7 @@ prefix() {
|
|||||||
fifo="$(mktemp -d)/fifo"
|
fifo="$(mktemp -d)/fifo"
|
||||||
mkfifo "$fifo"
|
mkfifo "$fifo"
|
||||||
sed -e "s#^#$PREFIX: #" "$fifo" &
|
sed -e "s#^#$PREFIX: #" "$fifo" &
|
||||||
"$@" > "$fifo" 2>&1
|
"$@" >"$fifo" 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ set -e
|
|||||||
|
|
||||||
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
|
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
|
||||||
CONTAINER_IMAGE_REPOSITORY="$1"
|
CONTAINER_IMAGE_REPOSITORY="$1"
|
||||||
BRANCH="${2:-"master"}"
|
BRANCH="${2:-"main"}"
|
||||||
|
|
||||||
if [ "${CONTAINER_IMAGE_REPOSITORY}" = "" ]; then
|
if [ "${CONTAINER_IMAGE_REPOSITORY}" = "" ]; then
|
||||||
echo "Container repository not specified!"
|
echo "Container repository not specified!"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "Code - OSS",
|
"name": "Code - OSS",
|
||||||
|
|
||||||
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
|
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
|
||||||
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-master",
|
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
|
||||||
|
|
||||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/node/workspace/vscode,type=bind,consistency=cached",
|
"workspaceMount": "source=${localWorkspaceFolder},target=/home/node/workspace/vscode,type=bind,consistency=cached",
|
||||||
"workspaceFolder": "/home/node/workspace/vscode",
|
"workspaceFolder": "/home/node/workspace/vscode",
|
||||||
|
|||||||
@@ -13,7 +13,9 @@
|
|||||||
**/extensions/**/out/**
|
**/extensions/**/out/**
|
||||||
**/extensions/**/build/**
|
**/extensions/**/build/**
|
||||||
**/extensions/markdown-language-features/media/**
|
**/extensions/markdown-language-features/media/**
|
||||||
|
**/extensions/markdown-language-features/notebook-out/**
|
||||||
**/extensions/typescript-basics/test/colorize-fixtures/**
|
**/extensions/typescript-basics/test/colorize-fixtures/**
|
||||||
**/extensions/**/dist/**
|
**/extensions/**/dist/**
|
||||||
# This is a code-server code symlink.
|
# These are code-server code symlinks.
|
||||||
src/vs/base/node/proxy_agent.ts
|
src/vs/base/node/proxy_agent.ts
|
||||||
|
src/vs/ipc.d.ts
|
||||||
|
|||||||
@@ -268,7 +268,6 @@
|
|||||||
"**/vs/base/{common,node,electron-main}/**",
|
"**/vs/base/{common,node,electron-main}/**",
|
||||||
"**/vs/base/parts/*/{common,node,electron-main}/**",
|
"**/vs/base/parts/*/{common,node,electron-main}/**",
|
||||||
"**/vs/platform/*/{common,node,electron-main}/**",
|
"**/vs/platform/*/{common,node,electron-main}/**",
|
||||||
"**/vs/code/**",
|
|
||||||
"*" // node modules
|
"*" // node modules
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -279,6 +278,7 @@
|
|||||||
"sinon",
|
"sinon",
|
||||||
"vs/nls",
|
"vs/nls",
|
||||||
"**/vs/base/{common,browser}/**",
|
"**/vs/base/{common,browser}/**",
|
||||||
|
"**/vs/base/parts/*/{common,browser}/**",
|
||||||
"**/vs/platform/*/{common,browser}/**",
|
"**/vs/platform/*/{common,browser}/**",
|
||||||
"**/vs/platform/*/test/{common,browser}/**"
|
"**/vs/platform/*/test/{common,browser}/**"
|
||||||
]
|
]
|
||||||
@@ -807,7 +807,6 @@
|
|||||||
"**/vs/platform/**/{common,node}/**",
|
"**/vs/platform/**/{common,node}/**",
|
||||||
"**/vs/workbench/**/{common,node}/**",
|
"**/vs/workbench/**/{common,node}/**",
|
||||||
"**/vs/server/**",
|
"**/vs/server/**",
|
||||||
"**/vs/code/**/{common,node}/**",
|
|
||||||
"*" // node modules
|
"*" // node modules
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -985,7 +984,8 @@
|
|||||||
"TreeDataProvider",
|
"TreeDataProvider",
|
||||||
"CustomEditorProvider",
|
"CustomEditorProvider",
|
||||||
"CustomReadonlyEditorProvider",
|
"CustomReadonlyEditorProvider",
|
||||||
"TerminalLinkProvider"
|
"TerminalLinkProvider",
|
||||||
|
"AuthenticationProvider"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1009,6 +1009,7 @@
|
|||||||
"end",
|
"end",
|
||||||
"expand",
|
"expand",
|
||||||
"hide",
|
"hide",
|
||||||
|
"invalidate",
|
||||||
"open",
|
"open",
|
||||||
"override",
|
"override",
|
||||||
"receive",
|
"receive",
|
||||||
|
|||||||
15
lib/vscode/.github/ISSUE_TEMPLATE/bug_report.md
vendored
15
lib/vscode/.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -4,11 +4,11 @@ about: Create a report to help us improve
|
|||||||
---
|
---
|
||||||
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
|
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
|
||||||
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
|
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
|
||||||
<!-- Please search existing issues to avoid creating duplicates. -->
|
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
|
||||||
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->
|
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
|
||||||
|
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
|
||||||
<!-- Use Help > Report Issue to prefill these. -->
|
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
|
||||||
- VSCode Version:
|
- VS Code Version:
|
||||||
- OS Version:
|
- OS Version:
|
||||||
|
|
||||||
Steps to Reproduce:
|
Steps to Reproduce:
|
||||||
@@ -16,5 +16,8 @@ Steps to Reproduce:
|
|||||||
1.
|
1.
|
||||||
2.
|
2.
|
||||||
|
|
||||||
<!-- Launch with `code --disable-extensions` to check. -->
|
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
|
||||||
Does this issue occur when all extensions are disabled?: Yes/No
|
Does this issue occur when all extensions are disabled?: Yes/No
|
||||||
|
|
||||||
|
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
|
||||||
|
<!-- 📣 Issues caused by an extension need to be reported direct to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
dist
|
|
||||||
node_modules
|
|
||||||
10
lib/vscode/.github/actions/build-chat/action.yml
vendored
10
lib/vscode/.github/actions/build-chat/action.yml
vendored
@@ -1,10 +0,0 @@
|
|||||||
name: 'Build Chat'
|
|
||||||
description: 'Notify in chat about build results.'
|
|
||||||
author: 'Christof Marti'
|
|
||||||
inputs:
|
|
||||||
workflow_run_url:
|
|
||||||
description: 'Workflow run URL of the completed build.'
|
|
||||||
required: true
|
|
||||||
runs:
|
|
||||||
using: 'node12'
|
|
||||||
main: 'dist/main.js'
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "build-chat",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"author": "Microsoft Corporation",
|
|
||||||
"license": "MIT",
|
|
||||||
"description": "A GitHub action to create a Windows Package Manager manifest file.",
|
|
||||||
"main": "dist/main.js",
|
|
||||||
"scripts": {
|
|
||||||
"build": "tsc"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@actions/core": "^1.2.6",
|
|
||||||
"@octokit/rest": "^18.0.12",
|
|
||||||
"@slack/web-api": "^6.0.0",
|
|
||||||
"azure-storage": "^2.10.3",
|
|
||||||
"stream-buffers": "^3.0.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^14.14.22",
|
|
||||||
"@types/stream-buffers": "^3.0.3",
|
|
||||||
"typescript": "^4.1.3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
217
lib/vscode/.github/actions/build-chat/src/main.ts
vendored
217
lib/vscode/.github/actions/build-chat/src/main.ts
vendored
@@ -1,217 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as core from '@actions/core';
|
|
||||||
import { Octokit, RestEndpointMethodTypes } from '@octokit/rest';
|
|
||||||
import { WebClient } from '@slack/web-api';
|
|
||||||
import * as storage from 'azure-storage';
|
|
||||||
import { WritableStreamBuffer } from 'stream-buffers';
|
|
||||||
|
|
||||||
(async () => {
|
|
||||||
const actionUrl = core.getInput('workflow_run_url');
|
|
||||||
const url = actionUrl || 'https://api.github.com/repos/microsoft/vscode/actions/runs/503514090';
|
|
||||||
console.log(url);
|
|
||||||
const parts = url.split('/');
|
|
||||||
const owner = parts[parts.length - 5];
|
|
||||||
const repo = parts[parts.length - 4];
|
|
||||||
const runId = parseInt(parts[parts.length - 1], 10);
|
|
||||||
if (actionUrl) {
|
|
||||||
await handleNotification(owner, repo, runId);
|
|
||||||
} else {
|
|
||||||
const results = await buildComplete(owner, repo, runId);
|
|
||||||
for (const message of [...results.logMessages, ...results.messages]) {
|
|
||||||
console.log(message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})()
|
|
||||||
.then(null, console.error);
|
|
||||||
|
|
||||||
const testChannels = ['bot-log', 'bot-test-log'];
|
|
||||||
|
|
||||||
async function handleNotification(owner: string, repo: string, runId: number) {
|
|
||||||
|
|
||||||
const results = await buildComplete(owner, repo, runId);
|
|
||||||
if (results.logMessages.length || results.messages.length) {
|
|
||||||
|
|
||||||
const web = new WebClient(process.env.SLACK_TOKEN);
|
|
||||||
const memberships = await listAllMemberships(web);
|
|
||||||
const memberTestChannels = memberships.filter(m => testChannels.indexOf(m.name) !== -1);
|
|
||||||
|
|
||||||
for (const message of results.logMessages) {
|
|
||||||
for (const testChannel of memberTestChannels) {
|
|
||||||
await web.chat.postMessage({
|
|
||||||
text: message,
|
|
||||||
link_names: true,
|
|
||||||
channel: testChannel.id,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (const message of results.messages) {
|
|
||||||
for (const channel of memberships) {
|
|
||||||
await web.chat.postMessage({
|
|
||||||
text: message,
|
|
||||||
link_names: true,
|
|
||||||
channel: channel.id,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function buildComplete(owner: string, repo: string, runId: number) {
|
|
||||||
console.log(`buildComplete: https://github.com/${owner}/${repo}/actions/runs/${runId}`);
|
|
||||||
const auth = `token ${process.env.GITHUB_TOKEN}`;
|
|
||||||
const octokit = new Octokit({ auth });
|
|
||||||
const buildResult = (await octokit.actions.getWorkflowRun({
|
|
||||||
owner,
|
|
||||||
repo,
|
|
||||||
run_id: runId,
|
|
||||||
})).data;
|
|
||||||
if (buildResult.head_branch !== 'master' && !buildResult.head_branch?.startsWith('release/')) {
|
|
||||||
console.error('Private branch. Terminating.')
|
|
||||||
return { logMessages: [], messages: [] };
|
|
||||||
}
|
|
||||||
|
|
||||||
// const buildQuery = `${buildsApiUrl}?$top=10&maxTime=${buildResult.finishTime}&definitions=${buildResult.definition.id}&branchName=${buildResult.sourceBranch}&resultFilter=${results.join(',')}&api-version=5.0-preview.4`;
|
|
||||||
|
|
||||||
const buildResults = (await octokit.actions.listWorkflowRuns({
|
|
||||||
owner,
|
|
||||||
repo,
|
|
||||||
workflow_id: buildResult.workflow_id,
|
|
||||||
branch: buildResult.head_branch || undefined,
|
|
||||||
per_page: 5, // More returns 502s.
|
|
||||||
})).data.workflow_runs
|
|
||||||
.filter(run => run.status === 'completed');
|
|
||||||
|
|
||||||
const currentBuildIndex = buildResults.findIndex(build => build.id === buildResult.id);
|
|
||||||
if (currentBuildIndex === -1) {
|
|
||||||
console.error('Build not on first page. Terminating.')
|
|
||||||
console.error(buildResults.map(({ id, status, conclusion }) => ({ id, status, conclusion })));
|
|
||||||
return { logMessages: [], messages: [] };
|
|
||||||
}
|
|
||||||
const slicedResults = buildResults.slice(currentBuildIndex, currentBuildIndex + 2);
|
|
||||||
const builds = slicedResults
|
|
||||||
.map<Build>((build, i, array) => ({
|
|
||||||
data: build,
|
|
||||||
previousSourceVersion: i < array.length - 1 ? array[i + 1].head_sha : undefined,
|
|
||||||
authors: [],
|
|
||||||
buildHtmlUrl: build.html_url,
|
|
||||||
changesHtmlUrl: '',
|
|
||||||
}));
|
|
||||||
const logMessages = builds.slice(0, 1)
|
|
||||||
.map(build => `Id: ${build.data.id} | Branch: ${build.data.head_branch} | Conclusion: ${build.data.conclusion} | Created: ${build.data.created_at} | Updated: ${build.data.updated_at}`);
|
|
||||||
const transitionedBuilds = builds.filter((build, i, array) => i < array.length - 1 && transitioned(build, array[i + 1]));
|
|
||||||
await Promise.all(transitionedBuilds
|
|
||||||
.map(async build => {
|
|
||||||
if (build.previousSourceVersion) {
|
|
||||||
const cmp = await compareCommits(octokit, owner, repo, build.previousSourceVersion, build.data.head_sha);
|
|
||||||
const commits = cmp.data.commits;
|
|
||||||
const authors = new Set<string>([
|
|
||||||
...commits.map((c: any) => c.author.login),
|
|
||||||
...commits.map((c: any) => c.committer.login),
|
|
||||||
]);
|
|
||||||
authors.delete('web-flow'); // GitHub Web UI committer
|
|
||||||
build.authors = [...authors];
|
|
||||||
build.changesHtmlUrl = `https://github.com/${owner}/${repo}/compare/${build.previousSourceVersion.substr(0, 7)}...${build.data.head_sha.substr(0, 7)}`; // Shorter than: cmp.data.html_url
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
const vscode = repo === 'vscode';
|
|
||||||
const name = vscode ? `VS Code ${buildResult.name} Build` : buildResult.name;
|
|
||||||
// TBD: `Requester: ${vstsToSlackUser(build.requester, build.degraded)}${pingBenForSmokeTests && releaseBuild && build.result === 'partiallySucceeded' ? ' | Ping: @bpasero' : ''}`
|
|
||||||
const accounts = await readAccounts();
|
|
||||||
const githubAccountMap = githubToAccounts(accounts);
|
|
||||||
const messages = transitionedBuilds.map(build => `${name}
|
|
||||||
Result: ${build.data.conclusion} | Branch: ${build.data.head_branch} | Authors: ${githubToSlackUsers(githubAccountMap, build.authors, build.degraded).sort().join(', ') || `None (rebuild)`}
|
|
||||||
Build: ${build.buildHtmlUrl}
|
|
||||||
Changes: ${build.changesHtmlUrl}`);
|
|
||||||
return { logMessages, messages };
|
|
||||||
}
|
|
||||||
|
|
||||||
const conclusions = ['success', 'failure']
|
|
||||||
|
|
||||||
function transitioned(newer: Build, older: Build) {
|
|
||||||
const newerResult = newer.data.conclusion || 'success';
|
|
||||||
const olderResult = older.data.conclusion || 'success';
|
|
||||||
if (newerResult === olderResult) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (conclusions.indexOf(newerResult) > conclusions.indexOf(olderResult)) {
|
|
||||||
newer.degraded = true;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function compareCommits(octokit: Octokit, owner: string, repo: string, base: string, head: string) {
|
|
||||||
return octokit.repos.compareCommits({ owner, repo, base, head });
|
|
||||||
}
|
|
||||||
|
|
||||||
function githubToSlackUsers(githubToAccounts: Record<string, Accounts>, githubUsers: string[], at?: boolean) {
|
|
||||||
return githubUsers.map(g => githubToAccounts[g] ? `${at ? '@' : ''}${githubToAccounts[g].slack}` : g);
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Accounts {
|
|
||||||
github: string;
|
|
||||||
slack: string;
|
|
||||||
vsts: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
function githubToAccounts(accounts: Accounts[]) {
|
|
||||||
return accounts.reduce((m, e) => {
|
|
||||||
m[e.github] = e;
|
|
||||||
return m;
|
|
||||||
}, <Record<string, Accounts>>{});
|
|
||||||
}
|
|
||||||
|
|
||||||
async function readAccounts() {
|
|
||||||
const connectionString = process.env.BUILD_CHAT_STORAGE_CONNECTION_STRING;
|
|
||||||
if (!connectionString) {
|
|
||||||
console.error('Connection string missing.');
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
const buf = await readFile(connectionString, 'config', '/', 'accounts.json');
|
|
||||||
return JSON.parse(buf.toString()) as Accounts[];
|
|
||||||
}
|
|
||||||
|
|
||||||
async function readFile(connectionString: string, share: string, directory: string, filename: string) {
|
|
||||||
return new Promise<Buffer>((resolve, reject) => {
|
|
||||||
const stream = new WritableStreamBuffer()
|
|
||||||
const fileService = storage.createFileService(connectionString);
|
|
||||||
fileService.getFileToStream(share, directory, filename, stream, err => {
|
|
||||||
if (err) {
|
|
||||||
reject(err);
|
|
||||||
} else {
|
|
||||||
const contents = stream.getContents();
|
|
||||||
if (contents) {
|
|
||||||
resolve(contents);
|
|
||||||
} else {
|
|
||||||
reject(new Error('No content'));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AllChannels {
|
|
||||||
channels: {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
is_member: boolean;
|
|
||||||
}[];
|
|
||||||
}
|
|
||||||
|
|
||||||
async function listAllMemberships(web: WebClient) {
|
|
||||||
const groups = await web.conversations.list({ types: 'public_channel,private_channel' }) as unknown as AllChannels;
|
|
||||||
return groups.channels
|
|
||||||
.filter(c => c.is_member);
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Build {
|
|
||||||
data: RestEndpointMethodTypes['actions']['getWorkflowRun']['response']['data'];
|
|
||||||
previousSourceVersion: string | undefined;
|
|
||||||
authors: string[];
|
|
||||||
buildHtmlUrl: string;
|
|
||||||
changesHtmlUrl: string;
|
|
||||||
degraded?: boolean;
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "commonjs",
|
|
||||||
"target": "es2017",
|
|
||||||
"strict": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"lib": [
|
|
||||||
"es2017"
|
|
||||||
],
|
|
||||||
"sourceMap": true,
|
|
||||||
"outDir": "./dist",
|
|
||||||
"rootDir": "./src",
|
|
||||||
},
|
|
||||||
"exclude": [
|
|
||||||
"node_modules"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
728
lib/vscode/.github/actions/build-chat/yarn.lock
vendored
728
lib/vscode/.github/actions/build-chat/yarn.lock
vendored
@@ -1,728 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@actions/core@^1.2.6":
|
|
||||||
version "1.2.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.6.tgz#a78d49f41a4def18e88ce47c2cac615d5694bf09"
|
|
||||||
integrity sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==
|
|
||||||
|
|
||||||
"@octokit/auth-token@^2.4.4":
|
|
||||||
version "2.4.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.4.tgz#ee31c69b01d0378c12fd3ffe406030f3d94d3b56"
|
|
||||||
integrity sha512-LNfGu3Ro9uFAYh10MUZVaT7X2CnNm2C8IDQmabx+3DygYIQjs9FwzFAHN/0t6mu5HEPhxcb1XOuxdpY82vCg2Q==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/core@^3.2.3":
|
|
||||||
version "3.2.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.2.4.tgz#5791256057a962eca972e31818f02454897fd106"
|
|
||||||
integrity sha512-d9dTsqdePBqOn7aGkyRFe7pQpCXdibSJ5SFnrTr0axevObZrpz3qkWm7t/NjYv5a66z6vhfteriaq4FRz3e0Qg==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/auth-token" "^2.4.4"
|
|
||||||
"@octokit/graphql" "^4.5.8"
|
|
||||||
"@octokit/request" "^5.4.12"
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
before-after-hook "^2.1.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/endpoint@^6.0.1":
|
|
||||||
version "6.0.10"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.10.tgz#741ce1fa2f4fb77ce8ebe0c6eaf5ce63f565f8e8"
|
|
||||||
integrity sha512-9+Xef8nT7OKZglfkOMm7IL6VwxXUQyR7DUSU0LH/F7VNqs8vyd7es5pTfz9E7DwUIx7R3pGscxu1EBhYljyu7Q==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.0"
|
|
||||||
is-plain-object "^5.0.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/graphql@^4.5.8":
|
|
||||||
version "4.5.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.5.8.tgz#d42373633c3015d0eafce64a8ce196be167fdd9b"
|
|
||||||
integrity sha512-WnCtNXWOrupfPJgXe+vSmprZJUr0VIu14G58PMlkWGj3cH+KLZEfKMmbUQ6C3Wwx6fdhzVW1CD5RTnBdUHxhhA==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/request" "^5.3.0"
|
|
||||||
"@octokit/types" "^6.0.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/openapi-types@^3.0.0":
|
|
||||||
version "3.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-3.0.0.tgz#f73d48af2d21bf4f97fbf38fae43b54699e0dbba"
|
|
||||||
integrity sha512-jOp1CVRw+OBJaZtG9QzZggvJXvyzgDXuW948SWsDiwmyDuCjeYCiF3TDD/qvhpF580RfP7iBIos4AVU6yhgMlA==
|
|
||||||
|
|
||||||
"@octokit/plugin-paginate-rest@^2.6.2":
|
|
||||||
version "2.8.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.8.0.tgz#2b41e12b494e895bf5fb5b12565d2c80a0ecc6ae"
|
|
||||||
integrity sha512-HtuEQ2AYE4YFEBQN0iHmMsIvVucd5RsnwJmRKIsfAg1/ZeoMaU+jXMnTAZqIUEmcVJA27LjHUm3f1hxf8Fpdxw==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.4.0"
|
|
||||||
|
|
||||||
"@octokit/plugin-request-log@^1.0.2":
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.2.tgz#394d59ec734cd2f122431fbaf05099861ece3c44"
|
|
||||||
integrity sha512-oTJSNAmBqyDR41uSMunLQKMX0jmEXbwD1fpz8FG27lScV3RhtGfBa1/BBLym+PxcC16IBlF7KH9vP1BUYxA+Eg==
|
|
||||||
|
|
||||||
"@octokit/plugin-rest-endpoint-methods@4.4.1":
|
|
||||||
version "4.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.4.1.tgz#105cf93255432155de078c9efc33bd4e14d1cd63"
|
|
||||||
integrity sha512-+v5PcvrUcDeFXf8hv1gnNvNLdm4C0+2EiuWt9EatjjUmfriM1pTMM+r4j1lLHxeBQ9bVDmbywb11e3KjuavieA==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.1.0"
|
|
||||||
deprecation "^2.3.1"
|
|
||||||
|
|
||||||
"@octokit/request-error@^2.0.0":
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.4.tgz#07dd5c0521d2ee975201274c472a127917741262"
|
|
||||||
integrity sha512-LjkSiTbsxIErBiRh5wSZvpZqT4t0/c9+4dOe0PII+6jXR+oj/h66s7E4a/MghV7iT8W9ffoQ5Skoxzs96+gBPA==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.0"
|
|
||||||
deprecation "^2.0.0"
|
|
||||||
once "^1.4.0"
|
|
||||||
|
|
||||||
"@octokit/request@^5.3.0", "@octokit/request@^5.4.12":
|
|
||||||
version "5.4.12"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.12.tgz#b04826fa934670c56b135a81447be2c1723a2ffc"
|
|
||||||
integrity sha512-MvWYdxengUWTGFpfpefBBpVmmEYfkwMoxonIB3sUGp5rhdgwjXL1ejo6JbgzG/QD9B/NYt/9cJX1pxXeSIUCkg==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/endpoint" "^6.0.1"
|
|
||||||
"@octokit/request-error" "^2.0.0"
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
deprecation "^2.0.0"
|
|
||||||
is-plain-object "^5.0.0"
|
|
||||||
node-fetch "^2.6.1"
|
|
||||||
once "^1.4.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/rest@^18.0.12":
|
|
||||||
version "18.0.12"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.0.12.tgz#278bd41358c56d87c201e787e8adc0cac132503a"
|
|
||||||
integrity sha512-hNRCZfKPpeaIjOVuNJzkEL6zacfZlBPV8vw8ReNeyUkVvbuCvvrrx8K8Gw2eyHHsmd4dPlAxIXIZ9oHhJfkJpw==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/core" "^3.2.3"
|
|
||||||
"@octokit/plugin-paginate-rest" "^2.6.2"
|
|
||||||
"@octokit/plugin-request-log" "^1.0.2"
|
|
||||||
"@octokit/plugin-rest-endpoint-methods" "4.4.1"
|
|
||||||
|
|
||||||
"@octokit/types@^6.0.0", "@octokit/types@^6.0.3", "@octokit/types@^6.1.0", "@octokit/types@^6.4.0":
|
|
||||||
version "6.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.4.0.tgz#f3f47be70bcdb3c26f2c2619f3dd0ced466a265c"
|
|
||||||
integrity sha512-1FEmuVppZE2zG0rBdQlviRz5cp0udyI63zyhBVPrm0FRNAsQkAXU7IYWQg1XvhChFut8YbFYN1usQpk54D6/4w==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/openapi-types" "^3.0.0"
|
|
||||||
"@types/node" ">= 8"
|
|
||||||
|
|
||||||
"@slack/logger@>=1.0.0 <3.0.0":
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@slack/logger/-/logger-2.0.0.tgz#6a4e1c755849bc0f66dac08a8be54ce790ec0e6b"
|
|
||||||
integrity sha512-OkIJpiU2fz6HOJujhlhfIGrc8hB4ibqtf7nnbJQDerG0BqwZCfmgtK5sWzZ0TkXVRBKD5MpLrTmCYyMxoMCgPw==
|
|
||||||
dependencies:
|
|
||||||
"@types/node" ">=8.9.0"
|
|
||||||
|
|
||||||
"@slack/types@^1.7.0":
|
|
||||||
version "1.10.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@slack/types/-/types-1.10.0.tgz#cbf7d83e1027f4cbfd13d6b429f120c7fb09127a"
|
|
||||||
integrity sha512-tA7GG7Tj479vojfV3AoxbckalA48aK6giGjNtgH6ihpLwTyHE3fIgRrvt8TWfLwW8X8dyu7vgmAsGLRG7hWWOg==
|
|
||||||
|
|
||||||
"@slack/web-api@^6.0.0":
|
|
||||||
version "6.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@slack/web-api/-/web-api-6.0.0.tgz#14c65ed73c66a187e5f20e12c3898dfd8d5cbf7c"
|
|
||||||
integrity sha512-YD1wqWuzrYPf4RQyD7OnYS5lImUmNWn+G5V6Qt0N97fPYxqhT72YJtRdSnsTc3VkH5R5imKOhYxb+wqI9hiHnA==
|
|
||||||
dependencies:
|
|
||||||
"@slack/logger" ">=1.0.0 <3.0.0"
|
|
||||||
"@slack/types" "^1.7.0"
|
|
||||||
"@types/is-stream" "^1.1.0"
|
|
||||||
"@types/node" ">=12.0.0"
|
|
||||||
axios "^0.21.1"
|
|
||||||
eventemitter3 "^3.1.0"
|
|
||||||
form-data "^2.5.0"
|
|
||||||
is-stream "^1.1.0"
|
|
||||||
p-queue "^6.6.1"
|
|
||||||
p-retry "^4.0.0"
|
|
||||||
|
|
||||||
"@types/is-stream@^1.1.0":
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/is-stream/-/is-stream-1.1.0.tgz#b84d7bb207a210f2af9bed431dc0fbe9c4143be1"
|
|
||||||
integrity sha512-jkZatu4QVbR60mpIzjINmtS1ZF4a/FqdTUTBeQDVOQ2PYyidtwFKr0B5G6ERukKwliq+7mIXvxyppwzG5EgRYg==
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "*"
|
|
||||||
|
|
||||||
"@types/node@*", "@types/node@>= 8", "@types/node@>=12.0.0", "@types/node@>=8.9.0", "@types/node@^14.14.22":
|
|
||||||
version "14.14.22"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.22.tgz#0d29f382472c4ccf3bd96ff0ce47daf5b7b84b18"
|
|
||||||
integrity sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw==
|
|
||||||
|
|
||||||
"@types/retry@^0.12.0":
|
|
||||||
version "0.12.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d"
|
|
||||||
integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==
|
|
||||||
|
|
||||||
"@types/stream-buffers@^3.0.3":
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/stream-buffers/-/stream-buffers-3.0.3.tgz#34e565bf64e3e4bdeee23fd4aa58d4636014a02b"
|
|
||||||
integrity sha512-NeFeX7YfFZDYsCfbuaOmFQ0OjSmHreKBpp7MQ4alWQBHeh2USLsj7qyMyn9t82kjqIX516CR/5SRHnARduRtbQ==
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "*"
|
|
||||||
|
|
||||||
ajv@^6.12.3:
|
|
||||||
version "6.12.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
|
|
||||||
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
|
|
||||||
dependencies:
|
|
||||||
fast-deep-equal "^3.1.1"
|
|
||||||
fast-json-stable-stringify "^2.0.0"
|
|
||||||
json-schema-traverse "^0.4.1"
|
|
||||||
uri-js "^4.2.2"
|
|
||||||
|
|
||||||
asn1@~0.2.3:
|
|
||||||
version "0.2.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136"
|
|
||||||
integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==
|
|
||||||
dependencies:
|
|
||||||
safer-buffer "~2.1.0"
|
|
||||||
|
|
||||||
assert-plus@1.0.0, assert-plus@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
|
|
||||||
integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=
|
|
||||||
|
|
||||||
asynckit@^0.4.0:
|
|
||||||
version "0.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
|
||||||
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
|
|
||||||
|
|
||||||
aws-sign2@~0.7.0:
|
|
||||||
version "0.7.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
|
|
||||||
integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=
|
|
||||||
|
|
||||||
aws4@^1.8.0:
|
|
||||||
version "1.11.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
|
|
||||||
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
|
|
||||||
|
|
||||||
axios@^0.21.1:
|
|
||||||
version "0.21.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8"
|
|
||||||
integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
|
|
||||||
dependencies:
|
|
||||||
follow-redirects "^1.10.0"
|
|
||||||
|
|
||||||
azure-storage@^2.10.3:
|
|
||||||
version "2.10.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/azure-storage/-/azure-storage-2.10.3.tgz#c5966bf929d87587d78f6847040ea9a4b1d4a50a"
|
|
||||||
integrity sha512-IGLs5Xj6kO8Ii90KerQrrwuJKexLgSwYC4oLWmc11mzKe7Jt2E5IVg+ZQ8K53YWZACtVTMBNO3iGuA+4ipjJxQ==
|
|
||||||
dependencies:
|
|
||||||
browserify-mime "~1.2.9"
|
|
||||||
extend "^3.0.2"
|
|
||||||
json-edm-parser "0.1.2"
|
|
||||||
md5.js "1.3.4"
|
|
||||||
readable-stream "~2.0.0"
|
|
||||||
request "^2.86.0"
|
|
||||||
underscore "~1.8.3"
|
|
||||||
uuid "^3.0.0"
|
|
||||||
validator "~9.4.1"
|
|
||||||
xml2js "0.2.8"
|
|
||||||
xmlbuilder "^9.0.7"
|
|
||||||
|
|
||||||
bcrypt-pbkdf@^1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e"
|
|
||||||
integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=
|
|
||||||
dependencies:
|
|
||||||
tweetnacl "^0.14.3"
|
|
||||||
|
|
||||||
before-after-hook@^2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
|
|
||||||
integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==
|
|
||||||
|
|
||||||
browserify-mime@~1.2.9:
|
|
||||||
version "1.2.9"
|
|
||||||
resolved "https://registry.yarnpkg.com/browserify-mime/-/browserify-mime-1.2.9.tgz#aeb1af28de6c0d7a6a2ce40adb68ff18422af31f"
|
|
||||||
integrity sha1-rrGvKN5sDXpqLOQK22j/GEIq8x8=
|
|
||||||
|
|
||||||
caseless@~0.12.0:
|
|
||||||
version "0.12.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
|
|
||||||
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
|
|
||||||
|
|
||||||
combined-stream@^1.0.6, combined-stream@~1.0.6:
|
|
||||||
version "1.0.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
|
|
||||||
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
|
|
||||||
dependencies:
|
|
||||||
delayed-stream "~1.0.0"
|
|
||||||
|
|
||||||
core-util-is@1.0.2, core-util-is@~1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
|
||||||
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
|
|
||||||
|
|
||||||
dashdash@^1.12.0:
|
|
||||||
version "1.14.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
|
|
||||||
integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=
|
|
||||||
dependencies:
|
|
||||||
assert-plus "^1.0.0"
|
|
||||||
|
|
||||||
delayed-stream@~1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
|
|
||||||
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
|
|
||||||
|
|
||||||
deprecation@^2.0.0, deprecation@^2.3.1:
|
|
||||||
version "2.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
|
|
||||||
integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==
|
|
||||||
|
|
||||||
ecc-jsbn@~0.1.1:
|
|
||||||
version "0.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"
|
|
||||||
integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=
|
|
||||||
dependencies:
|
|
||||||
jsbn "~0.1.0"
|
|
||||||
safer-buffer "^2.1.0"
|
|
||||||
|
|
||||||
eventemitter3@^3.1.0:
|
|
||||||
version "3.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
|
|
||||||
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
|
|
||||||
|
|
||||||
eventemitter3@^4.0.4:
|
|
||||||
version "4.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
|
|
||||||
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
|
|
||||||
|
|
||||||
extend@^3.0.2, extend@~3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
|
|
||||||
integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
|
|
||||||
|
|
||||||
extsprintf@1.3.0:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
|
|
||||||
integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=
|
|
||||||
|
|
||||||
extsprintf@^1.2.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
|
|
||||||
integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
|
|
||||||
|
|
||||||
fast-deep-equal@^3.1.1:
|
|
||||||
version "3.1.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
|
||||||
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
|
||||||
|
|
||||||
fast-json-stable-stringify@^2.0.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
|
|
||||||
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
|
|
||||||
|
|
||||||
follow-redirects@^1.10.0:
|
|
||||||
version "1.13.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7"
|
|
||||||
integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==
|
|
||||||
|
|
||||||
forever-agent@~0.6.1:
|
|
||||||
version "0.6.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
|
|
||||||
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
|
|
||||||
|
|
||||||
form-data@^2.5.0:
|
|
||||||
version "2.5.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.1.tgz#f2cbec57b5e59e23716e128fe44d4e5dd23895f4"
|
|
||||||
integrity sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==
|
|
||||||
dependencies:
|
|
||||||
asynckit "^0.4.0"
|
|
||||||
combined-stream "^1.0.6"
|
|
||||||
mime-types "^2.1.12"
|
|
||||||
|
|
||||||
form-data@~2.3.2:
|
|
||||||
version "2.3.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
|
|
||||||
integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==
|
|
||||||
dependencies:
|
|
||||||
asynckit "^0.4.0"
|
|
||||||
combined-stream "^1.0.6"
|
|
||||||
mime-types "^2.1.12"
|
|
||||||
|
|
||||||
getpass@^0.1.1:
|
|
||||||
version "0.1.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
|
|
||||||
integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=
|
|
||||||
dependencies:
|
|
||||||
assert-plus "^1.0.0"
|
|
||||||
|
|
||||||
har-schema@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
|
|
||||||
integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=
|
|
||||||
|
|
||||||
har-validator@~5.1.3:
|
|
||||||
version "5.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd"
|
|
||||||
integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==
|
|
||||||
dependencies:
|
|
||||||
ajv "^6.12.3"
|
|
||||||
har-schema "^2.0.0"
|
|
||||||
|
|
||||||
hash-base@^3.0.0:
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33"
|
|
||||||
integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==
|
|
||||||
dependencies:
|
|
||||||
inherits "^2.0.4"
|
|
||||||
readable-stream "^3.6.0"
|
|
||||||
safe-buffer "^5.2.0"
|
|
||||||
|
|
||||||
http-signature@~1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
|
|
||||||
integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=
|
|
||||||
dependencies:
|
|
||||||
assert-plus "^1.0.0"
|
|
||||||
jsprim "^1.2.2"
|
|
||||||
sshpk "^1.7.0"
|
|
||||||
|
|
||||||
inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1:
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
|
||||||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
|
||||||
|
|
||||||
is-plain-object@^5.0.0:
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344"
|
|
||||||
integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==
|
|
||||||
|
|
||||||
is-stream@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
|
|
||||||
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
|
|
||||||
|
|
||||||
is-typedarray@~1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
|
||||||
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
|
|
||||||
|
|
||||||
isarray@~1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
|
||||||
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
|
|
||||||
|
|
||||||
isstream@~0.1.2:
|
|
||||||
version "0.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
|
|
||||||
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
|
|
||||||
|
|
||||||
jsbn@~0.1.0:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
|
||||||
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
|
|
||||||
|
|
||||||
json-edm-parser@0.1.2:
|
|
||||||
version "0.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/json-edm-parser/-/json-edm-parser-0.1.2.tgz#1e60b0fef1bc0af67bc0d146dfdde5486cd615b4"
|
|
||||||
integrity sha1-HmCw/vG8CvZ7wNFG393lSGzWFbQ=
|
|
||||||
dependencies:
|
|
||||||
jsonparse "~1.2.0"
|
|
||||||
|
|
||||||
json-schema-traverse@^0.4.1:
|
|
||||||
version "0.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
|
|
||||||
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
|
|
||||||
|
|
||||||
json-schema@0.2.3:
|
|
||||||
version "0.2.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
|
|
||||||
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=
|
|
||||||
|
|
||||||
json-stringify-safe@~5.0.1:
|
|
||||||
version "5.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
|
|
||||||
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
|
|
||||||
|
|
||||||
jsonparse@~1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.2.0.tgz#5c0c5685107160e72fe7489bddea0b44c2bc67bd"
|
|
||||||
integrity sha1-XAxWhRBxYOcv50ib3eoLRMK8Z70=
|
|
||||||
|
|
||||||
jsprim@^1.2.2:
|
|
||||||
version "1.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
|
|
||||||
integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=
|
|
||||||
dependencies:
|
|
||||||
assert-plus "1.0.0"
|
|
||||||
extsprintf "1.3.0"
|
|
||||||
json-schema "0.2.3"
|
|
||||||
verror "1.10.0"
|
|
||||||
|
|
||||||
md5.js@1.3.4:
|
|
||||||
version "1.3.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.4.tgz#e9bdbde94a20a5ac18b04340fc5764d5b09d901d"
|
|
||||||
integrity sha1-6b296UogpawYsENA/Fdk1bCdkB0=
|
|
||||||
dependencies:
|
|
||||||
hash-base "^3.0.0"
|
|
||||||
inherits "^2.0.1"
|
|
||||||
|
|
||||||
mime-db@1.45.0:
|
|
||||||
version "1.45.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea"
|
|
||||||
integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==
|
|
||||||
|
|
||||||
mime-types@^2.1.12, mime-types@~2.1.19:
|
|
||||||
version "2.1.28"
|
|
||||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd"
|
|
||||||
integrity sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==
|
|
||||||
dependencies:
|
|
||||||
mime-db "1.45.0"
|
|
||||||
|
|
||||||
node-fetch@^2.6.1:
|
|
||||||
version "2.6.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
|
|
||||||
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
|
|
||||||
|
|
||||||
oauth-sign@~0.9.0:
|
|
||||||
version "0.9.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
|
|
||||||
integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==
|
|
||||||
|
|
||||||
once@^1.4.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
|
||||||
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
|
||||||
dependencies:
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
p-finally@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
|
|
||||||
integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=
|
|
||||||
|
|
||||||
p-queue@^6.6.1:
|
|
||||||
version "6.6.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426"
|
|
||||||
integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==
|
|
||||||
dependencies:
|
|
||||||
eventemitter3 "^4.0.4"
|
|
||||||
p-timeout "^3.2.0"
|
|
||||||
|
|
||||||
p-retry@^4.0.0:
|
|
||||||
version "4.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.2.0.tgz#ea9066c6b44f23cab4cd42f6147cdbbc6604da5d"
|
|
||||||
integrity sha512-jPH38/MRh263KKcq0wBNOGFJbm+U6784RilTmHjB/HM9kH9V8WlCpVUcdOmip9cjXOh6MxZ5yk1z2SjDUJfWmA==
|
|
||||||
dependencies:
|
|
||||||
"@types/retry" "^0.12.0"
|
|
||||||
retry "^0.12.0"
|
|
||||||
|
|
||||||
p-timeout@^3.2.0:
|
|
||||||
version "3.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe"
|
|
||||||
integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==
|
|
||||||
dependencies:
|
|
||||||
p-finally "^1.0.0"
|
|
||||||
|
|
||||||
performance-now@^2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
|
|
||||||
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
|
|
||||||
|
|
||||||
process-nextick-args@~1.0.6:
|
|
||||||
version "1.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
|
||||||
integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=
|
|
||||||
|
|
||||||
psl@^1.1.28:
|
|
||||||
version "1.8.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
|
|
||||||
integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
|
|
||||||
|
|
||||||
punycode@^2.1.0, punycode@^2.1.1:
|
|
||||||
version "2.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
|
|
||||||
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
|
|
||||||
|
|
||||||
qs@~6.5.2:
|
|
||||||
version "6.5.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
|
|
||||||
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
|
|
||||||
|
|
||||||
readable-stream@^3.6.0:
|
|
||||||
version "3.6.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
|
|
||||||
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
|
|
||||||
dependencies:
|
|
||||||
inherits "^2.0.3"
|
|
||||||
string_decoder "^1.1.1"
|
|
||||||
util-deprecate "^1.0.1"
|
|
||||||
|
|
||||||
readable-stream@~2.0.0:
|
|
||||||
version "2.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
|
|
||||||
integrity sha1-j5A0HmilPMySh4jaz80Rs265t44=
|
|
||||||
dependencies:
|
|
||||||
core-util-is "~1.0.0"
|
|
||||||
inherits "~2.0.1"
|
|
||||||
isarray "~1.0.0"
|
|
||||||
process-nextick-args "~1.0.6"
|
|
||||||
string_decoder "~0.10.x"
|
|
||||||
util-deprecate "~1.0.1"
|
|
||||||
|
|
||||||
request@^2.86.0:
|
|
||||||
version "2.88.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
|
|
||||||
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
|
|
||||||
dependencies:
|
|
||||||
aws-sign2 "~0.7.0"
|
|
||||||
aws4 "^1.8.0"
|
|
||||||
caseless "~0.12.0"
|
|
||||||
combined-stream "~1.0.6"
|
|
||||||
extend "~3.0.2"
|
|
||||||
forever-agent "~0.6.1"
|
|
||||||
form-data "~2.3.2"
|
|
||||||
har-validator "~5.1.3"
|
|
||||||
http-signature "~1.2.0"
|
|
||||||
is-typedarray "~1.0.0"
|
|
||||||
isstream "~0.1.2"
|
|
||||||
json-stringify-safe "~5.0.1"
|
|
||||||
mime-types "~2.1.19"
|
|
||||||
oauth-sign "~0.9.0"
|
|
||||||
performance-now "^2.1.0"
|
|
||||||
qs "~6.5.2"
|
|
||||||
safe-buffer "^5.1.2"
|
|
||||||
tough-cookie "~2.5.0"
|
|
||||||
tunnel-agent "^0.6.0"
|
|
||||||
uuid "^3.3.2"
|
|
||||||
|
|
||||||
retry@^0.12.0:
|
|
||||||
version "0.12.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b"
|
|
||||||
integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=
|
|
||||||
|
|
||||||
safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
|
|
||||||
version "5.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
|
|
||||||
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
|
|
||||||
|
|
||||||
safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0:
|
|
||||||
version "2.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
|
||||||
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
|
||||||
|
|
||||||
sax@0.5.x:
|
|
||||||
version "0.5.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
|
|
||||||
integrity sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=
|
|
||||||
|
|
||||||
sshpk@^1.7.0:
|
|
||||||
version "1.16.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
|
|
||||||
integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==
|
|
||||||
dependencies:
|
|
||||||
asn1 "~0.2.3"
|
|
||||||
assert-plus "^1.0.0"
|
|
||||||
bcrypt-pbkdf "^1.0.0"
|
|
||||||
dashdash "^1.12.0"
|
|
||||||
ecc-jsbn "~0.1.1"
|
|
||||||
getpass "^0.1.1"
|
|
||||||
jsbn "~0.1.0"
|
|
||||||
safer-buffer "^2.0.2"
|
|
||||||
tweetnacl "~0.14.0"
|
|
||||||
|
|
||||||
stream-buffers@^3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-3.0.2.tgz#5249005a8d5c2d00b3a32e6e0a6ea209dc4f3521"
|
|
||||||
integrity sha512-DQi1h8VEBA/lURbSwFtEHnSTb9s2/pwLEaFuNhXwy1Dx3Sa0lOuYT2yNUr4/j2fs8oCAMANtrZ5OrPZtyVs3MQ==
|
|
||||||
|
|
||||||
string_decoder@^1.1.1:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
|
|
||||||
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
|
|
||||||
dependencies:
|
|
||||||
safe-buffer "~5.2.0"
|
|
||||||
|
|
||||||
string_decoder@~0.10.x:
|
|
||||||
version "0.10.31"
|
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
|
|
||||||
integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
|
|
||||||
|
|
||||||
tough-cookie@~2.5.0:
|
|
||||||
version "2.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
|
|
||||||
integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
|
|
||||||
dependencies:
|
|
||||||
psl "^1.1.28"
|
|
||||||
punycode "^2.1.1"
|
|
||||||
|
|
||||||
tunnel-agent@^0.6.0:
|
|
||||||
version "0.6.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
|
|
||||||
integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=
|
|
||||||
dependencies:
|
|
||||||
safe-buffer "^5.0.1"
|
|
||||||
|
|
||||||
tweetnacl@^0.14.3, tweetnacl@~0.14.0:
|
|
||||||
version "0.14.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
|
|
||||||
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
|
|
||||||
|
|
||||||
typescript@^4.1.3:
|
|
||||||
version "4.1.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
|
|
||||||
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==
|
|
||||||
|
|
||||||
underscore@~1.8.3:
|
|
||||||
version "1.8.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"
|
|
||||||
integrity sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=
|
|
||||||
|
|
||||||
universal-user-agent@^6.0.0:
|
|
||||||
version "6.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee"
|
|
||||||
integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==
|
|
||||||
|
|
||||||
uri-js@^4.2.2:
|
|
||||||
version "4.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
|
|
||||||
integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==
|
|
||||||
dependencies:
|
|
||||||
punycode "^2.1.0"
|
|
||||||
|
|
||||||
util-deprecate@^1.0.1, util-deprecate@~1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
|
||||||
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
|
|
||||||
|
|
||||||
uuid@^3.0.0, uuid@^3.3.2:
|
|
||||||
version "3.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
|
|
||||||
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
|
|
||||||
|
|
||||||
validator@~9.4.1:
|
|
||||||
version "9.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/validator/-/validator-9.4.1.tgz#abf466d398b561cd243050112c6ff1de6cc12663"
|
|
||||||
integrity sha512-YV5KjzvRmSyJ1ee/Dm5UED0G+1L4GZnLN3w6/T+zZm8scVua4sOhYKWTUrKa0H/tMiJyO9QLHMPN+9mB/aMunA==
|
|
||||||
|
|
||||||
verror@1.10.0:
|
|
||||||
version "1.10.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
|
|
||||||
integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=
|
|
||||||
dependencies:
|
|
||||||
assert-plus "^1.0.0"
|
|
||||||
core-util-is "1.0.2"
|
|
||||||
extsprintf "^1.2.0"
|
|
||||||
|
|
||||||
wrappy@1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
|
||||||
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
|
||||||
|
|
||||||
xml2js@0.2.8:
|
|
||||||
version "0.2.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.2.8.tgz#9b81690931631ff09d1957549faf54f4f980b3c2"
|
|
||||||
integrity sha1-m4FpCTFjH/CdGVdUn69U9PmAs8I=
|
|
||||||
dependencies:
|
|
||||||
sax "0.5.x"
|
|
||||||
|
|
||||||
xmlbuilder@^9.0.7:
|
|
||||||
version "9.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
|
|
||||||
integrity sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=
|
|
||||||
2
lib/vscode/.github/commands.json
vendored
2
lib/vscode/.github/commands.json
vendored
@@ -93,7 +93,7 @@
|
|||||||
"addLabel": "z-author-verified",
|
"addLabel": "z-author-verified",
|
||||||
"removeLabel": "author-verification-requested",
|
"removeLabel": "author-verification-requested",
|
||||||
"requireLabel": "author-verification-requested",
|
"requireLabel": "author-verification-requested",
|
||||||
"disallowLabel": "awaiting-insiders-release"
|
"disallowLabel": "unreleased"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "comment",
|
"type": "comment",
|
||||||
|
|||||||
2
lib/vscode/.github/pull_request_template.md
vendored
2
lib/vscode/.github/pull_request_template.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
* Read our Pull Request guidelines:
|
* Read our Pull Request guidelines:
|
||||||
https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests
|
https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests
|
||||||
* Associate an issue with the Pull Request.
|
* Associate an issue with the Pull Request.
|
||||||
* Ensure that the code is up-to-date with the `master` branch.
|
* Ensure that the code is up-to-date with the `main` branch.
|
||||||
* Include a description of the proposed changes and how to test them.
|
* Include a description of the proposed changes and how to test them.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|||||||
22
lib/vscode/.github/workflows/author-verified.yml
vendored
22
lib/vscode/.github/workflows/author-verified.yml
vendored
@@ -1,9 +1,5 @@
|
|||||||
name: Author Verified
|
name: Author Verified
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-author-verified]
|
|
||||||
schedule:
|
|
||||||
- cron: 20 14 * * * # 4:20pm Zurich
|
|
||||||
issues:
|
issues:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
|
|
||||||
@@ -13,28 +9,22 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Actions
|
- name: Checkout Actions
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
- name: Checkout Repo
|
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./repo
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Run Author Verified
|
- name: Run Author Verified
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
||||||
uses: ./actions/author-verified
|
uses: ./actions/author-verified
|
||||||
with:
|
with:
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||||
requestVerificationComment: "This bug has been fixed in to the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by commenting `/verified` if things are now working as expected.\n\nIf things still don't seem right, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
requestVerificationComment: "This bug has been fixed in the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by commenting `/verified` if things are now working as expected.\n\nIf things still don't seem right, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
||||||
pendingReleaseLabel: awaiting-insiders-release
|
releasedLabel: insiders-released
|
||||||
verifiedLabel: verified
|
verifiedLabel: verified
|
||||||
authorVerificationRequestedLabel: author-verification-requested
|
authorVerificationRequestedLabel: author-verification-requested
|
||||||
|
|||||||
41
lib/vscode/.github/workflows/build-chat.yml
vendored
41
lib/vscode/.github/workflows/build-chat.yml
vendored
@@ -7,30 +7,29 @@ on:
|
|||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release/*
|
- release/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout Actions
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
- name: Setup Node.js 12.x
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
uses: actions/setup-node@v1.4.4
|
path: ./actions
|
||||||
with:
|
- name: Install Actions
|
||||||
node-version: "12.x"
|
run: npm install --production --prefix ./actions
|
||||||
|
- name: Install Additional Dependencies
|
||||||
- name: Build
|
# Pulls in a bunch of other packages that arent needed for the rest of the actions
|
||||||
run: yarn install && yarn run build
|
run: npm install @azure/storage-blob@12.1.1
|
||||||
working-directory: .github/actions/build-chat
|
- name: Build Chat
|
||||||
|
uses: ./actions/build-chat
|
||||||
- name: Build Chat
|
with:
|
||||||
uses: ./.github/actions/build-chat
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
slack_token: ${{ secrets.SLACK_TOKEN }}
|
||||||
workflow_run_url: ${{ github.event.workflow_run.url }}
|
storage_connection_string: ${{ secrets.BUILD_CHAT_STORAGE_CONNECTION_STRING }}
|
||||||
env:
|
workflow_run_url: ${{ github.event.workflow_run.url }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
notification_channel: build
|
||||||
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
|
log_channel: bot-log
|
||||||
BUILD_CHAT_STORAGE_CONNECTION_STRING: ${{ secrets.BUILD_CHAT_STORAGE_CONNECTION_STRING }}
|
|
||||||
|
|||||||
7
lib/vscode/.github/workflows/ci.yml
vendored
7
lib/vscode/.github/workflows/ci.yml
vendored
@@ -3,11 +3,11 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release/*
|
- release/*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release/*
|
- release/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -247,6 +247,9 @@ jobs:
|
|||||||
- name: Run Monaco Editor Checks
|
- name: Run Monaco Editor Checks
|
||||||
run: yarn monaco-compile-check
|
run: yarn monaco-compile-check
|
||||||
|
|
||||||
|
- name: Run Trusted Types Checks
|
||||||
|
run: yarn tsec-compile-check
|
||||||
|
|
||||||
- name: Editor Distro & ESM Bundle
|
- name: Editor Distro & ESM Bundle
|
||||||
run: yarn gulp editor-esm-bundle
|
run: yarn gulp editor-esm-bundle
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade numpy scipy scikit-learn joblib nltk simpletransformers torch torchvision
|
pip install --upgrade numpy==1.20.0 scipy==1.6.0 scikit-learn==0.24.1 joblib==1.0.0 nltk==3.5 simpletransformers==0.51.16 torch==1.7.1 torchvision==0.8.2
|
||||||
- name: "Run Classifier: Generator"
|
- name: "Run Classifier: Generator"
|
||||||
run: python ./actions/classifier-deep/apply/generate-labels/main.py
|
run: python ./actions/classifier-deep/apply/generate-labels/main.py
|
||||||
- name: "Run Classifier: Labeler"
|
- name: "Run Classifier: Labeler"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ name: VS Code Repo Dev Container Cache Image Generation
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# Currently doing this for master, but could be done for PRs as well
|
# Currently doing this for main, but could be done for PRs as well
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "main"
|
||||||
|
|
||||||
# Only updates to these files result in changes to installed packages, so skip otherwise
|
# Only updates to these files result in changes to installed packages, so skip otherwise
|
||||||
paths:
|
paths:
|
||||||
@@ -35,6 +35,6 @@ jobs:
|
|||||||
az acr login --name $ACR_REGISTRY_NAME
|
az acr login --name $ACR_REGISTRY_NAME
|
||||||
|
|
||||||
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
|
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
|
||||||
if [ "$GIT_BRANCH" == "" ]; then GIT_BRANCH=master; fi
|
if [ "$GIT_BRANCH" == "" ]; then GIT_BRANCH=main; fi
|
||||||
|
|
||||||
.devcontainer/cache/build-cache-image.sh "${{ secrets.CONTAINER_IMAGE_REGISTRY }}/public/vscode/devcontainers/repos/microsoft/vscode" "${GIT_BRANCH}"
|
.devcontainer/cache/build-cache-image.sh "${{ secrets.CONTAINER_IMAGE_REGISTRY }}/public/vscode/devcontainers/repos/microsoft/vscode" "${GIT_BRANCH}"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
if: contains(github.event.issue.labels.*.name, '*english-please')
|
if: contains(github.event.issue.labels.*.name, '*english-please')
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
|
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
- name: Install Storage Module
|
- name: Install Storage Module
|
||||||
|
|||||||
2
lib/vscode/.github/workflows/locker.yml
vendored
2
lib/vscode/.github/workflows/locker.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
- name: Run Locker
|
- name: Run Locker
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
- name: Run Needs More Info Closer
|
- name: Run Needs More Info Closer
|
||||||
|
|||||||
14
lib/vscode/.github/workflows/no-yarn-lock-changes.yml
vendored
Normal file
14
lib/vscode/.github/workflows/no-yarn-lock-changes.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: Prevent yarn.lock changes in PRs
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
name: Prevent yarn.lock changes in PRs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- id: file_changes
|
||||||
|
uses: trilom/file-changes-action@v1.2.4
|
||||||
|
- name: Check for yarn.lock changes
|
||||||
|
run: |
|
||||||
|
cat $HOME/files.json | jq -e '.[] | test("yarn\\.lock$") | not' \
|
||||||
|
|| (echo "Changes to yarn.lock files aren't allowed in PRs." && exit 1)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Commands
|
name: On Comment
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
- name: Run Commands
|
- name: Run Commands
|
||||||
@@ -22,3 +22,10 @@ jobs:
|
|||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||||
config-path: commands
|
config-path: commands
|
||||||
|
- name: "Run Release Pipeline Labeler"
|
||||||
|
uses: ./actions/release-pipeline
|
||||||
|
with:
|
||||||
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||||
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||||
|
notYetReleasedLabel: unreleased
|
||||||
|
insidersReleasedLabel: insiders-released
|
||||||
18
lib/vscode/.github/workflows/on-label.yml
vendored
18
lib/vscode/.github/workflows/on-label.yml
vendored
@@ -11,29 +11,25 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|
||||||
# source of truth in ./author-verified.yml
|
# source of truth in ./author-verified.yml
|
||||||
- name: Checkout Repo
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./repo
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Run Author Verified
|
- name: Run Author Verified
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
||||||
uses: ./actions/author-verified
|
uses: ./actions/author-verified
|
||||||
with:
|
with:
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||||
requestVerificationComment: "This bug has been fixed in to the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by confirming things are working as expected in the latest Insiders release. If things look good, please leave a comment with the text `/verified` to let us know. If not, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||||
pendingReleaseLabel: awaiting-insiders-release
|
requestVerificationComment: "This bug has been fixed in the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by commenting `/verified` if things are now working as expected.\n\nIf things still don't seem right, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
||||||
|
releasedLabel: insiders-released
|
||||||
verifiedLabel: verified
|
verifiedLabel: verified
|
||||||
authorVerificationRequestedLabel: author-verification-requested
|
authorVerificationRequestedLabel: author-verification-requested
|
||||||
|
|
||||||
# source of truth in ./commands.yml
|
|
||||||
|
# also make changes in ./on-comment.yml
|
||||||
- name: Run Commands
|
- name: Run Commands
|
||||||
uses: ./actions/commands
|
uses: ./actions/commands
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
lib/vscode/.github/workflows/on-open.yml
vendored
2
lib/vscode/.github/workflows/on-open.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
ref: v42
|
ref: stable
|
||||||
path: ./actions
|
path: ./actions
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
if: github.event_name != 'issues'
|
if: github.event_name != 'issues'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
richnav:
|
richnav:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
repository: "microsoft/vscode-github-triage-actions"
|
||||||
path: ./actions
|
path: ./actions
|
||||||
ref: v42
|
ref: stable
|
||||||
- name: Install Actions
|
- name: Install Actions
|
||||||
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
||||||
run: npm install --production --prefix ./actions
|
run: npm install --production --prefix ./actions
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
Eric Amodio <eamodio@microsoft.com> Eric Amodio <eamodio@gmail.com>
|
Eric Amodio <eamodio@microsoft.com> Eric Amodio <eamodio@gmail.com>
|
||||||
|
Eric Amodio <eamodio@microsoft.com> Eric Amodio <eamodio@ioninteractive.com>
|
||||||
Daniel Imms <daimms@microsoft.com> Daniel Imms <tyriar@tyriar.com>
|
Daniel Imms <daimms@microsoft.com> Daniel Imms <tyriar@tyriar.com>
|
||||||
|
Tanha Kabir <tanha.kabir@microsoft.com> Tanha Kabir <tanhakabir.ca@gmail.com>
|
||||||
|
Raymond Zhao <raymondzhao@microsoft.com>
|
||||||
|
Tyler Leonhardt <tyleonha@microsoft.com> Tyler Leonhardt <me@tylerleonhardt.com>
|
||||||
|
|||||||
3
lib/vscode/.vscode/launch.json
vendored
3
lib/vscode/.vscode/launch.json
vendored
@@ -110,7 +110,8 @@
|
|||||||
// "${workspaceFolder}", // Uncomment for running out of sources.
|
// "${workspaceFolder}", // Uncomment for running out of sources.
|
||||||
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
|
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests"
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
|
||||||
|
"--disable-extensions"
|
||||||
],
|
],
|
||||||
"outFiles": [
|
"outFiles": [
|
||||||
"${workspaceFolder}/out/**/*.js"
|
"${workspaceFolder}/out/**/*.js"
|
||||||
|
|||||||
1307
lib/vscode/.vscode/notebooks/api.github-issues
vendored
1307
lib/vscode/.vscode/notebooks/api.github-issues
vendored
File diff suppressed because one or more lines are too long
@@ -3,108 +3,147 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Macros",
|
"value": "#### Macros",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-js-debug repo:microsoft/vscode-remote-release repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-emmet-helper\n\n$MILESTONE=milestone:\"January 2021\"",
|
"value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-js-debug repo:microsoft/vscode-remote-release repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-emmet-helper\n\n$MILESTONE=milestone:\"February 2021\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Preparation",
|
"value": "# Preparation",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Pull Requests on the Milestone",
|
"value": "## Open Pull Requests on the Milestone",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:pr is:open",
|
"value": "$REPOS $MILESTONE is:pr is:open",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Issues on the Milestone",
|
"value": "## Open Issues on the Milestone",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item",
|
"value": "$REPOS $MILESTONE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Feature Requests Missing Labels",
|
"value": "## Feature Requests Missing Labels",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate",
|
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Testing",
|
"value": "# Testing",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Test Plan Items",
|
"value": "## Test Plan Items",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open label:testplan-item",
|
"value": "$REPOS $MILESTONE is:issue is:open label:testplan-item",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Verification Needed",
|
"value": "## Verification Needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request label:verification-needed -label:verified",
|
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request label:verification-needed -label:verified",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Verification",
|
"value": "# Verification",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": 1,
|
||||||
|
"language": "markdown",
|
||||||
|
"value": "## Verifiable Fixes",
|
||||||
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:closed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -label:z-author-verified -label:unreleased",
|
"value": "$REPOS $MILESTONE is:issue is:closed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -label:z-author-verified -label:unreleased",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": 1,
|
||||||
|
"language": "markdown",
|
||||||
|
"value": "## Unreleased Fixes",
|
||||||
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": 2,
|
||||||
|
"language": "github-issues",
|
||||||
|
"value": "$REPOS $MILESTONE is:issue is:closed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -label:z-author-verified label:unreleased",
|
||||||
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Candidates",
|
"value": "# Candidates",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:open label:candidate",
|
"value": "$REPOS $MILESTONE is:open label:candidate",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -176,17 +176,20 @@
|
|||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# vscode-pull-request-github"
|
"value": "# vscode-pull-request-github",
|
||||||
|
"editable": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode-pull-request-github is:issue closed:>$since"
|
"value": "repo:microsoft/vscode-pull-request-github is:issue closed:>$since",
|
||||||
|
"editable": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode-test is:issue created:>$since"
|
"value": "repo:microsoft/vscode-test is:issue created:>$since",
|
||||||
|
"editable": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
|
|||||||
@@ -3,24 +3,28 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Categorizing Issues\n\nEach issue must have a type label. Most type labels are grey, some are yellow. Bugs are grey with a touch of red.",
|
"value": "### Categorizing Issues\n\nEach issue must have a type label. Most type labels are grey, some are yellow. Bugs are grey with a touch of red.",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode is:open is:issue assignee:@me -label:\"needs more info\" -label:bug -label:feature-request -label:under-discussion -label:debt -label:*question -label:upstream -label:electron -label:engineering -label:plan-item ",
|
"value": "repo:microsoft/vscode is:open is:issue assignee:@me -label:\"needs more info\" -label:bug -label:feature-request -label:under-discussion -label:debt -label:*question -label:upstream -label:electron -label:engineering -label:plan-item ",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Feature Areas\n\nEach issue should be assigned to a feature area",
|
"value": "### Feature Areas\n\nEach issue should be assigned to a feature area",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode is:open is:issue assignee:@me -label:L10N -label:VIM -label:api -label:api-finalization -label:api-proposal -label:authentication -label:breadcrumbs -label:callhierarchy -label:code-lens -label:color-palette -label:comments -label:config -label:context-keys -label:css-less-scss -label:custom-editors -label:debug -label:debug-console -label:dialogs -label:diff-editor -label:dropdown -label:editor -label:editor-RTL -label:editor-autoclosing -label:editor-autoindent -label:editor-bracket-matching -label:editor-clipboard -label:editor-code-actions -label:editor-color-picker -label:editor-columnselect -label:editor-commands -label:editor-comments -label:editor-contrib -label:editor-core -label:editor-drag-and-drop -label:editor-error-widget -label:editor-find -label:editor-folding -label:editor-highlight -label:editor-hover -label:editor-indent-detection -label:editor-indent-guides -label:editor-input -label:editor-input-IME -label:editor-insets -label:editor-minimap -label:editor-multicursor -label:editor-parameter-hints -label:editor-render-whitespace -label:editor-rendering -label:editor-scrollbar -label:editor-symbols -label:editor-synced-region -label:editor-textbuffer -label:editor-theming -label:editor-wordnav -label:editor-wrapping -label:emmet -label:error-list -label:explorer-custom -label:extension-host -label:extension-recommendations -label:extensions -label:extensions-development -label:file-decorations -label:file-encoding -label:file-explorer -label:file-glob -label:file-guess-encoding -label:file-io -label:file-watcher -label:font-rendering -label:formatting -label:git -label:github -label:gpu -label:grammar -label:grid-view -label:html -label:i18n -label:icon-brand -label:icons-product -label:install-update -label:integrated-terminal -label:integrated-terminal-conpty -label:integrated-terminal-links -label:integrated-terminal-rendering -label:integrated-terminal-winpty -label:intellisense-config -label:ipc -label:issue-bot -label:issue-reporter -label:javascript -label:json -label:keybindings -label:keybindings-editor -label:keyboard-layout -label:label-provider -label:languages-basic -label:languages-diagnostics -label:languages-guessing -label:layout -label:lcd-text-rendering -label:list -label:log -label:markdown -label:marketplace -label:menus -label:merge-conflict -label:notebook -label:outline -label:output -label:perf -label:perf-bloat -label:perf-startup -label:php -label:portable-mode -label:proxy -label:quick-pick -label:references-viewlet -label:release-notes -label:remote -label:remote-explorer -label:rename -label:sandbox -label:scm -label:screencast-mode -label:search -label:search-api -label:search-editor -label:search-replace -label:semantic-tokens -label:settings-editor -label:settings-sync -label:settings-sync-server -label:shared-process -label:simple-file-dialog -label:smart-select -label:snap -label:snippets -label:splitview -label:suggest -label:sync-error-handling -label:tasks -label:telemetry -label:themes -label:timeline -label:timeline-git -label:titlebar -label:tokenization -label:touch/pointer -label:trackpad/scroll -label:tree -label:typescript -label:undo-redo -label:uri -label:ux -label:variable-resolving -label:vscode-build -label:vscode-website -label:web -label:webview -label:workbench-actions -label:workbench-cli -label:workbench-diagnostics -label:workbench-dnd -label:workbench-editor-grid -label:workbench-editors -label:workbench-electron -label:workbench-feedback -label:workbench-history -label:workbench-hot-exit -label:workbench-hover -label:workbench-launch -label:workbench-link -label:workbench-multiroot -label:workbench-notifications -label:workbench-os-integration -label:workbench-rapid-render -label:workbench-run-as-admin -label:workbench-state -label:workbench-status -label:workbench-tabs -label:workbench-touchbar -label:workbench-views -label:workbench-welcome -label:workbench-window -label:workbench-zen -label:workspace-edit -label:workspace-symbols -label:zoom",
|
"value": "repo:microsoft/vscode is:open is:issue assignee:@me -label:L10N -label:VIM -label:api -label:api-finalization -label:api-proposal -label:authentication -label:breadcrumbs -label:callhierarchy -label:code-lens -label:color-palette -label:comments -label:config -label:context-keys -label:css-less-scss -label:custom-editors -label:debug -label:debug-console -label:dialogs -label:diff-editor -label:dropdown -label:editor -label:editor-RTL -label:editor-autoclosing -label:editor-autoindent -label:editor-bracket-matching -label:editor-clipboard -label:editor-code-actions -label:editor-color-picker -label:editor-columnselect -label:editor-commands -label:editor-comments -label:editor-contrib -label:editor-core -label:editor-drag-and-drop -label:editor-error-widget -label:editor-find -label:editor-folding -label:editor-highlight -label:editor-hover -label:editor-indent-detection -label:editor-indent-guides -label:editor-input -label:editor-input-IME -label:editor-insets -label:editor-minimap -label:editor-multicursor -label:editor-parameter-hints -label:editor-render-whitespace -label:editor-rendering -label:editor-scrollbar -label:editor-symbols -label:editor-synced-region -label:editor-textbuffer -label:editor-theming -label:editor-wordnav -label:editor-wrapping -label:emmet -label:error-list -label:explorer-custom -label:extension-host -label:extension-recommendations -label:extensions -label:extensions-development -label:file-decorations -label:file-encoding -label:file-explorer -label:file-glob -label:file-guess-encoding -label:file-io -label:file-watcher -label:font-rendering -label:formatting -label:git -label:github -label:gpu -label:grammar -label:grid-view -label:html -label:i18n -label:icon-brand -label:icons-product -label:install-update -label:integrated-terminal -label:integrated-terminal-conpty -label:integrated-terminal-links -label:integrated-terminal-rendering -label:integrated-terminal-winpty -label:intellisense-config -label:ipc -label:issue-bot -label:issue-reporter -label:javascript -label:json -label:keybindings -label:keybindings-editor -label:keyboard-layout -label:label-provider -label:languages-basic -label:languages-diagnostics -label:languages-guessing -label:layout -label:lcd-text-rendering -label:list -label:log -label:markdown -label:marketplace -label:menus -label:merge-conflict -label:notebook -label:outline -label:output -label:perf -label:perf-bloat -label:perf-startup -label:php -label:portable-mode -label:proxy -label:quick-pick -label:references-viewlet -label:release-notes -label:remote -label:remote-explorer -label:rename -label:sandbox -label:scm -label:screencast-mode -label:search -label:search-api -label:search-editor -label:search-replace -label:semantic-tokens -label:settings-editor -label:settings-sync -label:settings-sync-server -label:shared-process -label:simple-file-dialog -label:smart-select -label:snap -label:snippets -label:splitview -label:suggest -label:sync-error-handling -label:tasks -label:telemetry -label:themes -label:timeline -label:timeline-git -label:titlebar -label:tokenization -label:touch/pointer -label:trackpad/scroll -label:tree -label:typescript -label:undo-redo -label:uri -label:ux -label:variable-resolving -label:vscode-build -label:vscode-website -label:web -label:webview -label:workbench-actions -label:workbench-cli -label:workbench-diagnostics -label:workbench-dnd -label:workbench-editor-grid -label:workbench-editors -label:workbench-electron -label:workbench-feedback -label:workbench-history -label:workbench-hot-exit -label:workbench-hover -label:workbench-launch -label:workbench-link -label:workbench-multiroot -label:workbench-notifications -label:workbench-os-integration -label:workbench-rapid-render -label:workbench-run-as-admin -label:workbench-state -label:workbench-status -label:workbench-tabs -label:workbench-touchbar -label:workbench-views -label:workbench-welcome -label:workbench-window -label:workbench-zen -label:workspace-edit -label:workspace-symbols -label:zoom",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
26
lib/vscode/.vscode/notebooks/inbox.github-issues
vendored
26
lib/vscode/.vscode/notebooks/inbox.github-issues
vendored
@@ -3,48 +3,56 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## tl;dr: Triage Inbox\n\nAll inbox issues but not those that need more information. These issues need to be triaged, e.g assigned to a user or ask for more information",
|
"value": "## tl;dr: Triage Inbox\n\nAll inbox issues but not those that need more information. These issues need to be triaged, e.g assigned to a user or ask for more information",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$inbox -label:\"needs more info\"",
|
"value": "$inbox -label:\"needs more info\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "##### `Config`: defines the inbox query",
|
"value": "##### `Config`: defines the inbox query",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$inbox=repo:microsoft/vscode is:open no:assignee -label:feature-request -label:testplan-item -label:plan-item ",
|
"value": "$inbox=repo:microsoft/vscode is:open no:assignee -label:feature-request -label:testplan-item -label:plan-item ",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Inbox tracking and Issue triage",
|
"value": "## Inbox tracking and Issue triage",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "New issues or pull requests submitted by the community are initially triaged by an [automatic classification bot](https://github.com/microsoft/vscode-github-triage-actions/tree/master/classifier-deep). Issues that the bot does not correctly triage are then triaged by a team member. The team rotates the inbox tracker on a weekly basis.\n\nA [mirror](https://github.com/JacksonKearl/testissues/issues) of the VS Code issue stream is available with details about how the bot classifies issues, including feature-area classifications and confidence ratings. Per-category confidence thresholds and feature-area ownership data is maintained in [.github/classifier.json](https://github.com/microsoft/vscode/blob/master/.github/classifier.json). \n\n💡 The bot is being run through a GitHub action that runs every 30 minutes. Give the bot the opportunity to classify an issue before doing it manually.\n\n### Inbox Tracking\n\nThe inbox tracker is responsible for the [global inbox](https://github.com/microsoft/vscode/issues?utf8=%E2%9C%93&q=is%3Aopen+no%3Aassignee+-label%3Afeature-request+-label%3Atestplan-item+-label%3Aplan-item) containing all **open issues and pull requests** that\n- are neither **feature requests** nor **test plan items** nor **plan items** and\n- have **no owner assignment**.\n\nThe **inbox tracker** may perform any step described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) but its main responsibility is to route issues to the actual feature area owner.\n\nFeature area owners track the **feature area inbox** containing all **open issues and pull requests** that\n- are personally assigned to them and are not assigned to any milestone\n- are labeled with their feature area label and are not assigned to any milestone.\nThis secondary triage may involve any of the steps described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) and results in a fully triaged or closed issue.\n\nThe [github triage extension](https://github.com/microsoft/vscode-github-triage-extension) can be used to assist with triaging — it provides a \"Command Palette\"-style list of triaging actions like assignment, labeling, and triggers for various bot actions.",
|
"value": "New issues or pull requests submitted by the community are initially triaged by an [automatic classification bot](https://github.com/microsoft/vscode-github-triage-actions/tree/master/classifier-deep). Issues that the bot does not correctly triage are then triaged by a team member. The team rotates the inbox tracker on a weekly basis.\n\nA [mirror](https://github.com/JacksonKearl/testissues/issues) of the VS Code issue stream is available with details about how the bot classifies issues, including feature-area classifications and confidence ratings. Per-category confidence thresholds and feature-area ownership data is maintained in [.github/classifier.json](https://github.com/microsoft/vscode/blob/main/.github/classifier.json). \n\n💡 The bot is being run through a GitHub action that runs every 30 minutes. Give the bot the opportunity to classify an issue before doing it manually.\n\n### Inbox Tracking\n\nThe inbox tracker is responsible for the [global inbox](https://github.com/microsoft/vscode/issues?utf8=%E2%9C%93&q=is%3Aopen+no%3Aassignee+-label%3Afeature-request+-label%3Atestplan-item+-label%3Aplan-item) containing all **open issues and pull requests** that\n- are neither **feature requests** nor **test plan items** nor **plan items** and\n- have **no owner assignment**.\n\nThe **inbox tracker** may perform any step described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) but its main responsibility is to route issues to the actual feature area owner.\n\nFeature area owners track the **feature area inbox** containing all **open issues and pull requests** that\n- are personally assigned to them and are not assigned to any milestone\n- are labeled with their feature area label and are not assigned to any milestone.\nThis secondary triage may involve any of the steps described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) and results in a fully triaged or closed issue.\n\nThe [github triage extension](https://github.com/microsoft/vscode-github-triage-extension) can be used to assist with triaging — it provides a \"Command Palette\"-style list of triaging actions like assignment, labeling, and triggers for various bot actions.",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## All Inbox Items\n\nAll issues that have no assignee and that have neither **feature requests** nor **test plan items** nor **plan items**.",
|
"value": "## All Inbox Items\n\nAll issues that have no assignee and that have neither **feature requests** nor **test plan items** nor **plan items**.",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$inbox",
|
"value": "$inbox",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,216 +3,252 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Macros",
|
"value": "#### Macros",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-js-debug repo:microsoft/vscode-remote-release repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-settings-sync-server\n\n$MILESTONE=milestone:\"January 2021\"\n\n$MINE=assignee:@me",
|
"value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-js-debug repo:microsoft/vscode-remote-release repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-settings-sync-server\n\n$MILESTONE=milestone:\"February 2021\"\n\n$MINE=assignee:@me",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Preparation",
|
"value": "# Preparation",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Pull Requests on the Milestone",
|
"value": "## Open Pull Requests on the Milestone",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:pr is:open",
|
"value": "$REPOS $MILESTONE $MINE is:pr is:open",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Issues on the Milestone",
|
"value": "## Open Issues on the Milestone",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Feature Requests Missing Labels",
|
"value": "## Feature Requests Missing Labels",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Test Plan Items",
|
"value": "## Test Plan Items",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open author:@me label:testplan-item",
|
"value": "$REPOS $MILESTONE is:issue is:open author:@me label:testplan-item",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Verification Needed",
|
"value": "## Verification Needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request label:verification-needed",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request label:verification-needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Testing",
|
"value": "# Testing",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Test Plan Items",
|
"value": "## Test Plan Items",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:testplan-item",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:testplan-item",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Verification Needed",
|
"value": "## Verification Needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed -assignee:@me -label:verified label:feature-request label:verification-needed",
|
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed -assignee:@me -label:verified -label:z-author-verified label:feature-request label:verification-needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Fixing",
|
"value": "# Fixing",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Issues",
|
"value": "## Open Issues",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:endgame-plan",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:endgame-plan -label:testplan-item -label:iteration-plan",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Open Bugs",
|
"value": "## Open Bugs",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug",
|
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Verification",
|
"value": "# Verification",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## My Issues (verification-steps-needed)",
|
"value": "## My Issues (verification-steps-needed)",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug label:verification-steps-needed",
|
"value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-steps-needed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## My Issues (verification-found)",
|
"value": "## My Issues (verification-found)",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug label:verification-found",
|
"value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-found",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Issues filed by me",
|
"value": "## Issues filed by me",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed author:@me sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found",
|
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed author:@me sort:updated-asc label:bug -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Issues filed from outside team",
|
"value": "## Issues filed from outside team",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -author:aeschli -author:alexdima -author:alexr00 -author:AmandaSilver -author:bamurtaugh -author:bpasero -author:btholt -author:chrisdias -author:chrmarti -author:Chuxel -author:connor4312 -author:dbaeumer -author:deepak1556 -author:devinvalenciano -author:digitarald -author:eamodio -author:egamma -author:fiveisprime -author:gregvanl -author:isidorn -author:ItalyPaleAle -author:JacksonKearl -author:joaomoreno -author:jrieken -author:kieferrm -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:ornellaalt -author:orta -author:rebornix -author:RMacfarlane -author:roblourens -author:rzhao271 -author:sana-ajani -author:sandy081 -author:sbatten -author:stevencl -author:Tyriar -author:weinand -author:TylerLeonhardt -author:lramos15",
|
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed sort:updated-asc label:bug -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -author:aeschli -author:alexdima -author:alexr00 -author:AmandaSilver -author:bamurtaugh -author:bpasero -author:btholt -author:chrisdias -author:chrmarti -author:Chuxel -author:connor4312 -author:dbaeumer -author:deepak1556 -author:devinvalenciano -author:digitarald -author:eamodio -author:egamma -author:fiveisprime -author:gregvanl -author:isidorn -author:ItalyPaleAle -author:JacksonKearl -author:joaomoreno -author:jrieken -author:kieferrm -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:ornellaalt -author:orta -author:rebornix -author:RMacfarlane -author:roblourens -author:rzhao271 -author:sana-ajani -author:sandy081 -author:sbatten -author:stevencl -author:Tyriar -author:weinand -author:TylerLeonhardt -author:lramos15",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Issues filed by others",
|
"value": "## Issues filed by others",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed -author:@me sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found",
|
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed -author:@me sort:updated-asc label:bug -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "# Release Notes",
|
"value": "# Release Notes",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode $MILESTONE is:issue is:closed label:feature-request -label:on-release-notes",
|
"value": "repo:microsoft/vscode $MILESTONE $MINE is:issue is:closed label:feature-request -label:on-release-notes",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,114 +3,133 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "##### `Config`: This should be changed every month/milestone",
|
"value": "##### `Config`: This should be changed every month/milestone",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog\n\n// current milestone name\n$milestone=milestone:\"January 2021\"",
|
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog\n\n// current milestone name\n$milestone=milestone:\"February 2021\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "## Milestone Work",
|
"value": "## Milestone Work",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos $milestone assignee:@me is:open",
|
"value": "$repos $milestone assignee:@me is:open",
|
||||||
"editable": false
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "## Bugs, Debt, Features...",
|
"value": "## Bugs, Debt, Features...",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### My Bugs",
|
"value": "#### My Bugs",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open label:bug",
|
"value": "$repos assignee:@me is:open label:bug",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Debt & Engineering",
|
"value": "#### Debt & Engineering",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open label:debt OR $repos assignee:@me is:open label:engineering",
|
"value": "$repos assignee:@me is:open label:debt OR $repos assignee:@me is:open label:engineering",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Performance 🐌 🔜 🏎",
|
"value": "#### Performance 🐌 🔜 🏎",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open label:perf OR $repos assignee:@me is:open label:perf-startup OR $repos assignee:@me is:open label:perf-bloat OR $repos assignee:@me is:open label:freeze-slow-crash-leak",
|
"value": "$repos assignee:@me is:open label:perf OR $repos assignee:@me is:open label:perf-startup OR $repos assignee:@me is:open label:perf-bloat OR $repos assignee:@me is:open label:freeze-slow-crash-leak",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Feature Requests",
|
"value": "#### Feature Requests",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open label:feature-request milestone:Backlog sort:reactions-+1-desc",
|
"value": "$repos assignee:@me is:open label:feature-request milestone:Backlog sort:reactions-+1-desc",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open milestone:\"Backlog Candidates\"",
|
"value": "$repos assignee:@me is:open milestone:\"Backlog Candidates\"",
|
||||||
"editable": false
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Personal Inbox\n",
|
"value": "### Personal Inbox\n",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "\n#### Missing Type label",
|
"value": "\n#### Missing Type label",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open type:issue -label:bug -label:\"needs more info\" -label:feature-request -label:under-discussion -label:debt -label:plan-item -label:upstream",
|
"value": "$repos assignee:@me is:open type:issue -label:bug -label:\"needs more info\" -label:feature-request -label:under-discussion -label:debt -label:plan-item -label:upstream",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Not Actionable",
|
"value": "#### Not Actionable",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos assignee:@me is:open label:\"needs more info\"",
|
"value": "$repos assignee:@me is:open label:\"needs more info\"",
|
||||||
"editable": false
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -2,43 +2,50 @@
|
|||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Papercuts\n\nThis notebook serves as an ongoing collection of paper cut issues that we encounter while dogfooding. With that in mind only promote issues that really turn you off, e.g issues that make you wanna stop use VS Code or its extensions. To mark an issue (bug, feature-request, etc) as paper cut add the labels: `papercut :drop_of_blood:`",
|
"value": "## Papercuts\n\nThis notebook serves as an ongoing collection of papercut issues that we encounter while dogfooding. With that in mind only promote issues that really turn you off, e.g. issues that make you want to stop using VS Code or its extensions. To mark an issue (bug, feature-request, etc.) as papercut add the labels: `papercut :drop_of_blood:`",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## All Papercuts\n\nThese are all papercut issues that we encounter while dogfoodingf vscode or extensions that we author. ",
|
"value": "## All Papercuts\n\nThese are all papercut issues that we encounter while dogfooding vscode or extensions that we author.",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode is:open -label:notebook label:\"papercut :drop_of_blood:\"",
|
"value": "repo:microsoft/vscode is:open -label:notebook label:\"papercut :drop_of_blood:\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "## Native Notebook",
|
"value": "## Native Notebook",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode is:open label:notebook label:\"papercut :drop_of_blood:\"",
|
"value": "repo:microsoft/vscode is:open label:notebook label:\"papercut :drop_of_blood:\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### My Papercuts",
|
"value": "### My Papercuts",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "repo:microsoft/vscode is:open assignee:@me label:\"papercut :drop_of_blood:\"",
|
"value": "repo:microsoft/vscode is:open assignee:@me label:\"papercut :drop_of_blood:\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,54 +3,63 @@
|
|||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Bug Verification Queries\n\nBefore shipping we want to verify _all_ bugs. That means when a bug is fixed we check that the fix actually works. It's always best to start with bugs that you have filed and the proceed with bugs that have been filed from users outside the development team. ",
|
"value": "### Bug Verification Queries\n\nBefore shipping we want to verify _all_ bugs. That means when a bug is fixed we check that the fix actually works. It's always best to start with bugs that you have filed and the proceed with bugs that have been filed from users outside the development team. ",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "#### Config: update list of `repos` and the `milestone`",
|
"value": "#### Config: update list of `repos` and the `milestone`",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks \n$milestone=milestone:\"January 2021\"",
|
"value": "$repos=repo:microsoft/vscode repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks \n$milestone=milestone:\"February 2021\"",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Bugs You Filed",
|
"value": "### Bugs You Filed",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate author:@me",
|
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate author:@me",
|
||||||
"editable": false
|
"editable": false,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### Bugs From Outside",
|
"value": "### Bugs From Outside",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate -author:@me -assignee:@me label:bug -label:verified -author:@me -author:aeschli -author:alexdima -author:alexr00 -author:bpasero -author:chrisdias -author:chrmarti -author:connor4312 -author:dbaeumer -author:deepak1556 -author:eamodio -author:egamma -author:gregvanl -author:isidorn -author:JacksonKearl -author:joaomoreno -author:jrieken -author:lramos15 -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:rebornix -author:RMacfarlane -author:roblourens -author:sana-ajani -author:sandy081 -author:sbatten -author:Tyriar -author:weinand",
|
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate -author:@me -assignee:@me label:bug -label:verified -author:@me -author:aeschli -author:alexdima -author:alexr00 -author:bpasero -author:chrisdias -author:chrmarti -author:connor4312 -author:dbaeumer -author:deepak1556 -author:eamodio -author:egamma -author:gregvanl -author:isidorn -author:JacksonKearl -author:joaomoreno -author:jrieken -author:lramos15 -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:rebornix -author:RMacfarlane -author:roblourens -author:sana-ajani -author:sandy081 -author:sbatten -author:Tyriar -author:weinand",
|
||||||
"editable": false
|
"editable": false,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 1,
|
"kind": 1,
|
||||||
"language": "markdown",
|
"language": "markdown",
|
||||||
"value": "### All",
|
"value": "### All",
|
||||||
"editable": true
|
"editable": true,
|
||||||
|
"outputs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": 2,
|
"kind": 2,
|
||||||
"language": "github-issues",
|
"language": "github-issues",
|
||||||
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate",
|
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate",
|
||||||
"editable": false
|
"editable": false,
|
||||||
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
15
lib/vscode/.vscode/settings.json
vendored
15
lib/vscode/.vscode/settings.json
vendored
@@ -43,7 +43,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"eslint.options": {
|
"eslint.options": {
|
||||||
"rulePaths": ["./build/lib/eslint"]
|
"rulePaths": [
|
||||||
|
"./build/lib/eslint"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"npm.exclude": "**/extensions/**",
|
"npm.exclude": "**/extensions/**",
|
||||||
@@ -53,11 +55,15 @@
|
|||||||
"typescript.preferences.quoteStyle": "single",
|
"typescript.preferences.quoteStyle": "single",
|
||||||
"json.schemas": [
|
"json.schemas": [
|
||||||
{
|
{
|
||||||
"fileMatch": ["cgmanifest.json"],
|
"fileMatch": [
|
||||||
|
"cgmanifest.json"
|
||||||
|
],
|
||||||
"url": "./.vscode/cgmanifest.schema.json"
|
"url": "./.vscode/cgmanifest.schema.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fileMatch": ["cglicenses.json"],
|
"fileMatch": [
|
||||||
|
"cglicenses.json"
|
||||||
|
],
|
||||||
"url": "./.vscode/cglicenses.schema.json"
|
"url": "./.vscode/cglicenses.schema.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -78,5 +84,6 @@
|
|||||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
},
|
},
|
||||||
"typescript.tsc.autoDetect": "off"
|
"typescript.tsc.autoDetect": "off",
|
||||||
|
"notebook.experimental.useMarkdownRenderer": true,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
disturl "https://electronjs.org/headers"
|
disturl "https://electronjs.org/headers"
|
||||||
target "11.2.1"
|
target "11.3.0"
|
||||||
runtime "electron"
|
runtime "electron"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
## The Repository
|
## The Repository
|
||||||
|
|
||||||
This repository ("`Code - OSS`") is where we (Microsoft) develop the [Visual Studio Code](https://code.visualstudio.com) product. Not only do we work on code and issues here, we also publish our [roadmap](https://github.com/microsoft/vscode/wiki/Roadmap), [monthly iteration plans](https://github.com/microsoft/vscode/wiki/Iteration-Plans), and our [endgame plans](https://github.com/microsoft/vscode/wiki/Running-the-Endgame). This source code is available to everyone under the standard [MIT license](https://github.com/microsoft/vscode/blob/master/LICENSE.txt).
|
This repository ("`Code - OSS`") is where we (Microsoft) develop the [Visual Studio Code](https://code.visualstudio.com) product. Not only do we work on code and issues here, we also publish our [roadmap](https://github.com/microsoft/vscode/wiki/Roadmap), [monthly iteration plans](https://github.com/microsoft/vscode/wiki/Iteration-Plans), and our [endgame plans](https://github.com/microsoft/vscode/wiki/Running-the-Endgame). This source code is available to everyone under the standard [MIT license](https://github.com/microsoft/vscode/blob/main/LICENSE.txt).
|
||||||
|
|
||||||
## Visual Studio Code
|
## Visual Studio Code
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ There are many ways in which you can participate in the project, for example:
|
|||||||
If you are interested in fixing issues and contributing directly to the code base,
|
If you are interested in fixing issues and contributing directly to the code base,
|
||||||
please see the document [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute), which covers the following:
|
please see the document [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute), which covers the following:
|
||||||
|
|
||||||
* [How to build and run from source](https://github.com/microsoft/vscode/wiki/How-to-Contribute#build-and-run)
|
* [How to build and run from source](https://github.com/microsoft/vscode/wiki/How-to-Contribute)
|
||||||
* [The development workflow, including debugging and running tests](https://github.com/microsoft/vscode/wiki/How-to-Contribute#debugging)
|
* [The development workflow, including debugging and running tests](https://github.com/microsoft/vscode/wiki/How-to-Contribute#debugging)
|
||||||
* [Coding guidelines](https://github.com/microsoft/vscode/wiki/Coding-Guidelines)
|
* [Coding guidelines](https://github.com/microsoft/vscode/wiki/Coding-Guidelines)
|
||||||
* [Submitting pull requests](https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests)
|
* [Submitting pull requests](https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests)
|
||||||
|
|||||||
@@ -5,70 +5,98 @@ Do Not Translate or Localize
|
|||||||
|
|
||||||
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
|
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
|
||||||
|
|
||||||
1. atom/language-clojure version 0.22.7 (https://github.com/atom/language-clojure)
|
1. JuliaEditorSupport/atom-language-julia version 0.21.0 (https://github.com/JuliaEditorSupport/atom-language-julia)
|
||||||
2. atom/language-coffee-script version 0.49.3 (https://github.com/atom/language-coffee-script)
|
2. atom/language-clojure version 0.22.7 (https://github.com/atom/language-clojure)
|
||||||
3. atom/language-java version 0.32.0 (https://github.com/atom/language-java)
|
3. atom/language-coffee-script version 0.49.3 (https://github.com/atom/language-coffee-script)
|
||||||
4. atom/language-sass version 0.62.1 (https://github.com/atom/language-sass)
|
4. atom/language-java version 0.32.1 (https://github.com/atom/language-java)
|
||||||
5. atom/language-shellscript version 0.26.0 (https://github.com/atom/language-shellscript)
|
5. atom/language-sass version 0.62.1 (https://github.com/atom/language-sass)
|
||||||
6. atom/language-xml version 0.35.2 (https://github.com/atom/language-xml)
|
6. atom/language-shellscript version 0.26.0 (https://github.com/atom/language-shellscript)
|
||||||
7. better-go-syntax version 1.0.0 (https://github.com/jeff-hykin/better-go-syntax/ )
|
7. atom/language-xml version 0.35.2 (https://github.com/atom/language-xml)
|
||||||
8. Colorsublime-Themes version 0.1.0 (https://github.com/Colorsublime/Colorsublime-Themes)
|
8. better-go-syntax version 1.0.0 (https://github.com/jeff-hykin/better-go-syntax/ )
|
||||||
9. daaain/Handlebars version 1.8.0 (https://github.com/daaain/Handlebars)
|
9. Colorsublime-Themes version 0.1.0 (https://github.com/Colorsublime/Colorsublime-Themes)
|
||||||
10. davidrios/pug-tmbundle (https://github.com/davidrios/pug-tmbundle)
|
10. daaain/Handlebars version 1.8.0 (https://github.com/daaain/Handlebars)
|
||||||
11. definitelytyped (https://github.com/DefinitelyTyped/DefinitelyTyped)
|
11. davidrios/pug-tmbundle (https://github.com/davidrios/pug-tmbundle)
|
||||||
12. demyte/language-cshtml version 0.3.0 (https://github.com/demyte/language-cshtml)
|
12. definitelytyped (https://github.com/DefinitelyTyped/DefinitelyTyped)
|
||||||
13. Document Object Model version 4.0.0 (https://www.w3.org/DOM/)
|
13. demyte/language-cshtml version 0.3.0 (https://github.com/demyte/language-cshtml)
|
||||||
14. dotnet/csharp-tmLanguage version 0.1.0 (https://github.com/dotnet/csharp-tmLanguage)
|
14. Document Object Model version 4.0.0 (https://www.w3.org/DOM/)
|
||||||
15. expand-abbreviation version 0.5.8 (https://github.com/emmetio/expand-abbreviation)
|
15. dotnet/csharp-tmLanguage version 0.1.0 (https://github.com/dotnet/csharp-tmLanguage)
|
||||||
16. fadeevab/make.tmbundle (https://github.com/fadeevab/make.tmbundle)
|
16. expand-abbreviation version 0.5.8 (https://github.com/emmetio/expand-abbreviation)
|
||||||
17. freebroccolo/atom-language-swift (https://github.com/freebroccolo/atom-language-swift)
|
17. fadeevab/make.tmbundle (https://github.com/fadeevab/make.tmbundle)
|
||||||
18. HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
|
18. freebroccolo/atom-language-swift (https://github.com/freebroccolo/atom-language-swift)
|
||||||
19. Ikuyadeu/vscode-R version 1.3.0 (https://github.com/Ikuyadeu/vscode-R)
|
19. HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
|
||||||
20. insane version 2.6.2 (https://github.com/bevacqua/insane)
|
20. Ikuyadeu/vscode-R version 1.3.0 (https://github.com/Ikuyadeu/vscode-R)
|
||||||
21. Ionic documentation version 1.2.4 (https://github.com/ionic-team/ionic-site)
|
21. insane version 2.6.2 (https://github.com/bevacqua/insane)
|
||||||
22. ionide/ionide-fsgrammar (https://github.com/ionide/ionide-fsgrammar)
|
22. Ionic documentation version 1.2.4 (https://github.com/ionic-team/ionic-site)
|
||||||
23. jeff-hykin/cpp-textmate-grammar version 1.12.11 (https://github.com/jeff-hykin/cpp-textmate-grammar)
|
23. ionide/ionide-fsgrammar (https://github.com/ionide/ionide-fsgrammar)
|
||||||
24. jeff-hykin/cpp-textmate-grammar version 1.15.5 (https://github.com/jeff-hykin/cpp-textmate-grammar)
|
24. jeff-hykin/cpp-textmate-grammar version 1.12.11 (https://github.com/jeff-hykin/cpp-textmate-grammar)
|
||||||
25. js-beautify version 1.6.8 (https://github.com/beautify-web/js-beautify)
|
25. jeff-hykin/cpp-textmate-grammar version 1.15.5 (https://github.com/jeff-hykin/cpp-textmate-grammar)
|
||||||
26. Jxck/assert version 1.0.0 (https://github.com/Jxck/assert)
|
26. js-beautify version 1.6.8 (https://github.com/beautify-web/js-beautify)
|
||||||
27. language-docker (https://github.com/moby/moby)
|
27. Jxck/assert version 1.0.0 (https://github.com/Jxck/assert)
|
||||||
28. language-less version 0.34.2 (https://github.com/atom/language-less)
|
28. language-docker (https://github.com/moby/moby)
|
||||||
29. language-php version 0.46.0 (https://github.com/atom/language-php)
|
29. language-less version 0.34.2 (https://github.com/atom/language-less)
|
||||||
30. MagicStack/MagicPython version 1.1.1 (https://github.com/MagicStack/MagicPython)
|
30. language-php version 0.46.0 (https://github.com/atom/language-php)
|
||||||
31. marked version 1.1.0 (https://github.com/markedjs/marked)
|
31. MagicStack/MagicPython version 1.1.1 (https://github.com/MagicStack/MagicPython)
|
||||||
32. mdn-data version 1.1.12 (https://github.com/mdn/data)
|
32. marked version 1.1.0 (https://github.com/markedjs/marked)
|
||||||
33. microsoft/TypeScript-TmLanguage version 0.0.1 (https://github.com/microsoft/TypeScript-TmLanguage)
|
33. mdn-data version 1.1.12 (https://github.com/mdn/data)
|
||||||
34. microsoft/vscode-JSON.tmLanguage (https://github.com/microsoft/vscode-JSON.tmLanguage)
|
34. microsoft/TypeScript-TmLanguage version 0.0.1 (https://github.com/microsoft/TypeScript-TmLanguage)
|
||||||
35. microsoft/vscode-markdown-tm-grammar version 1.0.0 (https://github.com/microsoft/vscode-markdown-tm-grammar)
|
35. microsoft/vscode-JSON.tmLanguage (https://github.com/microsoft/vscode-JSON.tmLanguage)
|
||||||
36. microsoft/vscode-mssql version 1.9.0 (https://github.com/microsoft/vscode-mssql)
|
36. microsoft/vscode-markdown-tm-grammar version 1.0.0 (https://github.com/microsoft/vscode-markdown-tm-grammar)
|
||||||
37. mmims/language-batchfile version 0.7.5 (https://github.com/mmims/language-batchfile)
|
37. microsoft/vscode-mssql version 1.9.0 (https://github.com/microsoft/vscode-mssql)
|
||||||
38. octref/language-css version 0.42.11 (https://github.com/octref/language-css)
|
38. mmims/language-batchfile version 0.7.5 (https://github.com/mmims/language-batchfile)
|
||||||
39. PowerShell/EditorSyntax version 1.0.0 (https://github.com/PowerShell/EditorSyntax)
|
39. octref/language-css version 0.42.11 (https://github.com/octref/language-css)
|
||||||
40. rust-syntax version 0.4.3 (https://github.com/dustypomerleau/rust-syntax)
|
40. PowerShell/EditorSyntax version 1.0.0 (https://github.com/PowerShell/EditorSyntax)
|
||||||
41. seti-ui version 0.1.0 (https://github.com/jesseweed/seti-ui)
|
41. rust-syntax version 0.4.3 (https://github.com/dustypomerleau/rust-syntax)
|
||||||
42. shaders-tmLanguage version 0.1.0 (https://github.com/tgjones/shaders-tmLanguage)
|
42. seti-ui version 0.1.0 (https://github.com/jesseweed/seti-ui)
|
||||||
43. textmate/asp.vb.net.tmbundle (https://github.com/textmate/asp.vb.net.tmbundle)
|
43. shaders-tmLanguage version 0.1.0 (https://github.com/tgjones/shaders-tmLanguage)
|
||||||
44. textmate/c.tmbundle (https://github.com/textmate/c.tmbundle)
|
44. textmate/asp.vb.net.tmbundle (https://github.com/textmate/asp.vb.net.tmbundle)
|
||||||
45. textmate/diff.tmbundle (https://github.com/textmate/diff.tmbundle)
|
45. textmate/c.tmbundle (https://github.com/textmate/c.tmbundle)
|
||||||
46. textmate/git.tmbundle (https://github.com/textmate/git.tmbundle)
|
46. textmate/diff.tmbundle (https://github.com/textmate/diff.tmbundle)
|
||||||
47. textmate/groovy.tmbundle (https://github.com/textmate/groovy.tmbundle)
|
47. textmate/git.tmbundle (https://github.com/textmate/git.tmbundle)
|
||||||
48. textmate/html.tmbundle (https://github.com/textmate/html.tmbundle)
|
48. textmate/groovy.tmbundle (https://github.com/textmate/groovy.tmbundle)
|
||||||
49. textmate/ini.tmbundle (https://github.com/textmate/ini.tmbundle)
|
49. textmate/html.tmbundle (https://github.com/textmate/html.tmbundle)
|
||||||
50. textmate/javascript.tmbundle (https://github.com/textmate/javascript.tmbundle)
|
50. textmate/ini.tmbundle (https://github.com/textmate/ini.tmbundle)
|
||||||
51. textmate/lua.tmbundle (https://github.com/textmate/lua.tmbundle)
|
51. textmate/javascript.tmbundle (https://github.com/textmate/javascript.tmbundle)
|
||||||
52. textmate/markdown.tmbundle (https://github.com/textmate/markdown.tmbundle)
|
52. textmate/lua.tmbundle (https://github.com/textmate/lua.tmbundle)
|
||||||
53. textmate/perl.tmbundle (https://github.com/textmate/perl.tmbundle)
|
53. textmate/markdown.tmbundle (https://github.com/textmate/markdown.tmbundle)
|
||||||
54. textmate/ruby.tmbundle (https://github.com/textmate/ruby.tmbundle)
|
54. textmate/perl.tmbundle (https://github.com/textmate/perl.tmbundle)
|
||||||
55. textmate/yaml.tmbundle (https://github.com/textmate/yaml.tmbundle)
|
55. textmate/ruby.tmbundle (https://github.com/textmate/ruby.tmbundle)
|
||||||
56. TypeScript-TmLanguage version 0.1.8 (https://github.com/microsoft/TypeScript-TmLanguage)
|
56. textmate/yaml.tmbundle (https://github.com/textmate/yaml.tmbundle)
|
||||||
57. TypeScript-TmLanguage version 1.0.0 (https://github.com/microsoft/TypeScript-TmLanguage)
|
57. TypeScript-TmLanguage version 0.1.8 (https://github.com/microsoft/TypeScript-TmLanguage)
|
||||||
58. Unicode version 12.0.0 (https://home.unicode.org/)
|
58. TypeScript-TmLanguage version 1.0.0 (https://github.com/microsoft/TypeScript-TmLanguage)
|
||||||
59. vscode-codicons version 0.0.1 (https://github.com/microsoft/vscode-codicons)
|
59. Unicode version 12.0.0 (https://home.unicode.org/)
|
||||||
60. vscode-logfile-highlighter version 2.9.0 (https://github.com/emilast/vscode-logfile-highlighter)
|
60. vscode-codicons version 0.0.14 (https://github.com/microsoft/vscode-codicons)
|
||||||
61. vscode-swift version 0.0.1 (https://github.com/owensd/vscode-swift)
|
61. vscode-logfile-highlighter version 2.11.0 (https://github.com/emilast/vscode-logfile-highlighter)
|
||||||
62. Web Background Synchronization (https://github.com/WICG/background-sync)
|
62. vscode-swift version 0.0.1 (https://github.com/owensd/vscode-swift)
|
||||||
|
63. Web Background Synchronization (https://github.com/WICG/background-sync)
|
||||||
|
|
||||||
|
|
||||||
|
%% JuliaEditorSupport/atom-language-julia NOTICES AND INFORMATION BEGIN HERE
|
||||||
|
=========================================
|
||||||
|
The atom-language-julia package is licensed under the MIT "Expat" License:
|
||||||
|
|
||||||
|
> Copyright (c) 2015
|
||||||
|
>
|
||||||
|
> Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
> a copy of this software and associated documentation files (the
|
||||||
|
> "Software"), to deal in the Software without restriction, including
|
||||||
|
> without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
> distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
> permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
> the following conditions:
|
||||||
|
>
|
||||||
|
> The above copyright notice and this permission notice shall be
|
||||||
|
> included in all copies or substantial portions of the Software.
|
||||||
|
>
|
||||||
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
=========================================
|
||||||
|
END OF JuliaEditorSupport/atom-language-julia NOTICES AND INFORMATION
|
||||||
|
|
||||||
%% atom/language-clojure NOTICES AND INFORMATION BEGIN HERE
|
%% atom/language-clojure NOTICES AND INFORMATION BEGIN HERE
|
||||||
=========================================
|
=========================================
|
||||||
Copyright (c) 2014 GitHub Inc.
|
Copyright (c) 2014 GitHub Inc.
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ steps:
|
|||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
set -e
|
||||||
npx https://aka.ms/enablesecurefeed standAlone
|
npx https://aka.ms/enablesecurefeed standAlone
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
||||||
@@ -180,14 +181,14 @@ steps:
|
|||||||
set -e
|
set -e
|
||||||
./scripts/test.sh --build --tfs "Unit Tests"
|
./scripts/test.sh --build --tfs "Unit Tests"
|
||||||
displayName: Run unit tests (Electron)
|
displayName: Run unit tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
yarn test-browser --build --browser chromium --browser webkit --browser firefox --tfs "Browser Unit Tests"
|
yarn test-browser --build --browser chromium --browser webkit --browser firefox --tfs "Browser Unit Tests"
|
||||||
displayName: Run unit tests (Browser)
|
displayName: Run unit tests (Browser)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -207,7 +208,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin" \
|
||||||
./scripts/test-integration.sh --build --tfs "Integration Tests"
|
./scripts/test-integration.sh --build --tfs "Integration Tests"
|
||||||
displayName: Run integration tests (Electron)
|
displayName: Run integration tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 10
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -215,7 +216,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin" \
|
||||||
./resources/server/test/test-web-integration.sh --browser webkit
|
./resources/server/test/test-web-integration.sh --browser webkit
|
||||||
displayName: Run integration tests (Browser)
|
displayName: Run integration tests (Browser)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -226,7 +227,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin" \
|
||||||
./resources/server/test/test-remote-integration.sh
|
./resources/server/test/test-remote-integration.sh
|
||||||
displayName: Run remote integration tests (Electron)
|
displayName: Run remote integration tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -244,6 +245,16 @@ steps:
|
|||||||
displayName: Run smoke tests (Electron)
|
displayName: Run smoke tests (Electron)
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
set -e
|
||||||
|
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
||||||
|
APP_NAME="`ls $APP_ROOT | head -n 1`"
|
||||||
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin" \
|
||||||
|
yarn smoketest-no-compile --build "$APP_ROOT/$APP_NAME" --remote
|
||||||
|
timeoutInMinutes: 5
|
||||||
|
displayName: Run smoke tests (Remote)
|
||||||
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin" \
|
||||||
@@ -377,7 +388,3 @@ steps:
|
|||||||
displayName: Upload configuration (for Bing settings search)
|
displayName: Upload configuration (for Bing settings search)
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), ne(variables['VSCODE_PUBLISH'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), ne(variables['VSCODE_PUBLISH'], 'false'))
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
||||||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
||||||
displayName: "Component Detection"
|
|
||||||
continueOnError: true
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
include: ["master", "release/*"]
|
include: ["main", "release/*"]
|
||||||
pr:
|
pr:
|
||||||
branches:
|
branches:
|
||||||
include: ["master", "release/*"]
|
include: ["main", "release/*"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
@@ -31,8 +31,8 @@ steps:
|
|||||||
git remote add distro "https://github.com/$VSCODE_MIXIN_REPO.git"
|
git remote add distro "https://github.com/$VSCODE_MIXIN_REPO.git"
|
||||||
git fetch distro
|
git fetch distro
|
||||||
|
|
||||||
# Push master branch into oss/master
|
# Push main branch into oss/main
|
||||||
git push distro origin/master:refs/heads/oss/master
|
git push distro origin/main:refs/heads/oss/main
|
||||||
|
|
||||||
# Push every release branch into oss/release
|
# Push every release branch into oss/release
|
||||||
git for-each-ref --format="%(refname:short)" refs/remotes/origin/release/* | sed 's/^origin\/\(.*\)$/\0:refs\/heads\/oss\/\1/' | xargs git push distro
|
git for-each-ref --format="%(refname:short)" refs/remotes/origin/release/* | sed 's/^origin\/\(.*\)$/\0:refs\/heads\/oss\/\1/' | xargs git push distro
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ steps:
|
|||||||
git config user.name "VSCode"
|
git config user.name "VSCode"
|
||||||
|
|
||||||
git checkout origin/electron-11.x.y
|
git checkout origin/electron-11.x.y
|
||||||
git merge origin/master
|
git merge origin/main
|
||||||
|
|
||||||
# Push master branch into exploration branch
|
# Push main branch into exploration branch
|
||||||
git push origin HEAD:electron-11.x.y
|
git push origin HEAD:electron-11.x.y
|
||||||
|
|
||||||
displayName: Sync & Merge Exploration
|
displayName: Sync & Merge Exploration
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ steps:
|
|||||||
displayName: Extract node_modules cache
|
displayName: Extract node_modules cache
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
set -e
|
||||||
npx https://aka.ms/enablesecurefeed standAlone
|
npx https://aka.ms/enablesecurefeed standAlone
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
||||||
@@ -132,7 +133,3 @@ steps:
|
|||||||
artifact: vscode-server-linux-alpine-web
|
artifact: vscode-server-linux-alpine-web
|
||||||
displayName: Publish web server archive
|
displayName: Publish web server archive
|
||||||
condition: and(succeeded(), ne(variables['VSCODE_PUBLISH'], 'false'))
|
condition: and(succeeded(), ne(variables['VSCODE_PUBLISH'], 'false'))
|
||||||
|
|
||||||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
||||||
displayName: "Component Detection"
|
|
||||||
continueOnError: true
|
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ steps:
|
|||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['VSCODE_ARCH'], 'x64'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['VSCODE_ARCH'], 'x64'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
set -e
|
||||||
npx https://aka.ms/enablesecurefeed standAlone
|
npx https://aka.ms/enablesecurefeed standAlone
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
||||||
@@ -144,14 +145,14 @@ steps:
|
|||||||
set -e
|
set -e
|
||||||
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests"
|
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests"
|
||||||
displayName: Run unit tests (Electron)
|
displayName: Run unit tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
DISPLAY=:10 yarn test-browser --build --browser chromium --tfs "Browser Unit Tests"
|
DISPLAY=:10 yarn test-browser --build --browser chromium --tfs "Browser Unit Tests"
|
||||||
displayName: Run unit tests (Browser)
|
displayName: Run unit tests (Browser)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -172,7 +173,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
||||||
DISPLAY=:10 ./scripts/test-integration.sh --build --tfs "Integration Tests"
|
DISPLAY=:10 ./scripts/test-integration.sh --build --tfs "Integration Tests"
|
||||||
displayName: Run integration tests (Electron)
|
displayName: Run integration tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 10
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -180,7 +181,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
||||||
DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium
|
DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium
|
||||||
displayName: Run integration tests (Browser)
|
displayName: Run integration tests (Browser)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@@ -192,7 +193,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
||||||
DISPLAY=:10 ./resources/server/test/test-remote-integration.sh
|
DISPLAY=:10 ./resources/server/test/test-remote-integration.sh
|
||||||
displayName: Run remote integration tests (Electron)
|
displayName: Run remote integration tests (Electron)
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 7
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
- task: PublishPipelineArtifact@0
|
- task: PublishPipelineArtifact@0
|
||||||
@@ -286,7 +287,3 @@ steps:
|
|||||||
artifactName: "snap-$(VSCODE_ARCH)"
|
artifactName: "snap-$(VSCODE_ARCH)"
|
||||||
targetPath: .build/linux/snap-tarball
|
targetPath: .build/linux/snap-tarball
|
||||||
condition: and(succeeded(), ne(variables['VSCODE_PUBLISH'], 'false'))
|
condition: and(succeeded(), ne(variables['VSCODE_PUBLISH'], 'false'))
|
||||||
|
|
||||||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
||||||
displayName: "Component Detection"
|
|
||||||
continueOnError: true
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ schedules:
|
|||||||
displayName: Mon-Fri at 7:00
|
displayName: Mon-Fri at 7:00
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
- name: VSCODE_QUALITY
|
- name: VSCODE_QUALITY
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ steps:
|
|||||||
displayName: Extract node_modules cache
|
displayName: Extract node_modules cache
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
set -e
|
||||||
npx https://aka.ms/enablesecurefeed standAlone
|
npx https://aka.ms/enablesecurefeed standAlone
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
|
||||||
@@ -136,3 +137,15 @@ steps:
|
|||||||
targetPath: $(Build.ArtifactStagingDirectory)/compilation.tar.gz
|
targetPath: $(Build.ArtifactStagingDirectory)/compilation.tar.gz
|
||||||
artifactName: Compilation
|
artifactName: Compilation
|
||||||
displayName: Publish compilation artifact
|
displayName: Publish compilation artifact
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
set -e
|
||||||
|
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
|
||||||
|
yarn download-builtin-extensions-cg
|
||||||
|
displayName: Built-in extensions component details
|
||||||
|
|
||||||
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
||||||
|
displayName: "Component Detection"
|
||||||
|
inputs:
|
||||||
|
sourceScanPath: $(Build.SourcesDirectory)
|
||||||
|
continueOnError: true
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user