Compare commits
2 Commits
main
...
remove-sub
Author | SHA1 | Date |
---|---|---|
Teffen Ellis | 500f722e2a | |
Teffen Ellis | 2e106cc9b0 |
|
@ -1,4 +1 @@
|
||||||
name: "code-server CodeQL config"
|
name: "code-server CodeQL config"
|
||||||
|
|
||||||
paths-ignore:
|
|
||||||
- lib/vscode
|
|
||||||
|
|
|
@ -124,26 +124,26 @@ jobs:
|
||||||
- name: Build code-server
|
- name: Build code-server
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
# Parse the hash of the latest commit inside lib/vscode
|
# Parse the hash of the latest commit inside vendor/modules/code-oss-dev
|
||||||
# use this to avoid rebuilding it if nothing changed
|
# use this to avoid rebuilding it if nothing changed
|
||||||
# How it works: the `git log` command fetches the hash of the last commit
|
# 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,
|
# that changed a file inside `vendor/modules/code-oss-dev`. If a commit changes any file in there,
|
||||||
# the hash returned will change, and we rebuild vscode. If the hash did not change,
|
# 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.
|
# (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.
|
# This saves a lot of time in CI, as compiling VSCode can take anywhere from 5-10 minutes.
|
||||||
- name: Get latest lib/vscode rev
|
- name: Get latest vendor/modules/code-oss-dev rev
|
||||||
id: vscode-rev
|
id: vscode-rev
|
||||||
run: echo "::set-output name=rev::$(git log -1 --format='%H' ./lib/vscode)"
|
run: echo "::set-output name=rev::$(cat vendor/modules/code-oss-dev/package.json | jq -r .version)"
|
||||||
|
|
||||||
- name: Attempt to fetch vscode build from cache
|
- name: Attempt to fetch vscode build from cache
|
||||||
id: cache-vscode
|
id: cache-vscode
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
lib/vscode/.build
|
vendor/modules/code-oss-dev/.build
|
||||||
lib/vscode/out-build
|
vendor/modules/code-oss-dev/out-build
|
||||||
lib/vscode/out-vscode
|
vendor/modules/code-oss-dev/out-vscode
|
||||||
lib/vscode/out-vscode-min
|
vendor/modules/code-oss-dev/out-vscode-min
|
||||||
key: vscode-build-${{ steps.vscode-rev.outputs.rev }}
|
key: vscode-build-${{ steps.vscode-rev.outputs.rev }}
|
||||||
|
|
||||||
- name: Build vscode
|
- name: Build vscode
|
||||||
|
|
|
@ -8,7 +8,8 @@ release-packages/
|
||||||
release-gcp/
|
release-gcp/
|
||||||
release-images/
|
release-images/
|
||||||
node_modules
|
node_modules
|
||||||
/lib/vscode/node_modules.asar
|
vendor/modules
|
||||||
|
/node_modules.asar
|
||||||
node-*
|
node-*
|
||||||
/plugins
|
/plugins
|
||||||
/lib/coder-cloud-agent
|
/lib/coder-cloud-agent
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
"description": "Static images and the manifest live here in `src/browser/media` (see the explorer)."
|
"description": "Static images and the manifest live here in `src/browser/media` (see the explorer)."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "lib/vscode",
|
"directory": "vendor/modules/code-oss-dev",
|
||||||
"line": 1,
|
"line": 1,
|
||||||
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the modifications implement the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code](https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code) for a list.\n\nWe make an effort to keep the modifications as few as possible."
|
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the modifications implement the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code](https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code) for a list.\n\nWe make an effort to keep the modifications as few as possible."
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,10 +12,11 @@ KEEP_MODULES="${KEEP_MODULES-0}"
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "${0}")/../.."
|
cd "$(dirname "${0}")/../.."
|
||||||
|
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
VSCODE_SRC_PATH="lib/vscode"
|
VSCODE_SRC_PATH="vendor/modules/code-oss-dev"
|
||||||
VSCODE_OUT_PATH="$RELEASE_PATH/lib/vscode"
|
VSCODE_OUT_PATH="$RELEASE_PATH/vendor/modules/code-oss-dev"
|
||||||
|
|
||||||
mkdir -p "$RELEASE_PATH"
|
mkdir -p "$RELEASE_PATH"
|
||||||
|
|
||||||
|
@ -24,7 +25,7 @@ main() {
|
||||||
|
|
||||||
rsync ./docs/README.md "$RELEASE_PATH"
|
rsync ./docs/README.md "$RELEASE_PATH"
|
||||||
rsync LICENSE.txt "$RELEASE_PATH"
|
rsync LICENSE.txt "$RELEASE_PATH"
|
||||||
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
|
rsync ./vendor/modules/code-oss-dev/ThirdPartyNotices.txt "$RELEASE_PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle_code_server() {
|
bundle_code_server() {
|
||||||
|
@ -98,10 +99,6 @@ EOF
|
||||||
# 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"
|
|
||||||
symlink_asar
|
|
||||||
popd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
|
@ -7,6 +7,7 @@ export npm_config_build_from_source=true
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "${0}")/../.."
|
cd "$(dirname "${0}")/../.."
|
||||||
|
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
rsync "$RELEASE_PATH/" "$RELEASE_PATH-standalone"
|
rsync "$RELEASE_PATH/" "$RELEASE_PATH-standalone"
|
||||||
|
@ -32,7 +33,7 @@ main() {
|
||||||
# leaves a few stray symlinks. Clean them up so nfpm does not fail.
|
# leaves a few stray symlinks. Clean them up so nfpm does not fail.
|
||||||
# Remove this line when its no longer needed.
|
# Remove this line when its no longer needed.
|
||||||
|
|
||||||
rm -fr "$RELEASE_PATH/lib/vscode/extensions/node_modules/.bin"
|
rm -fr "$RELEASE_PATH/vendor/modules/code-oss-dev/extensions/node_modules/.bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Builds vscode into lib/vscode/out-vscode.
|
# Builds vscode into vendor/modules/code-oss-dev/out-vscode.
|
||||||
|
|
||||||
# MINIFY controls whether a minified version of vscode is built.
|
# MINIFY controls whether a minified version of vscode is built.
|
||||||
MINIFY=${MINIFY-true}
|
MINIFY=${MINIFY-true}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "${0}")/../.."
|
cd "$(dirname "${0}")/../.."
|
||||||
cd lib/vscode
|
|
||||||
|
cd vendor/modules/code-oss-dev
|
||||||
|
|
||||||
yarn gulp compile-build compile-extensions-build compile-extension-media
|
yarn gulp compile-build compile-extensions-build compile-extension-media
|
||||||
yarn gulp optimize --gulpfile ./coder.js
|
yarn gulp optimize --gulpfile ./coder.js
|
||||||
|
|
|
@ -6,10 +6,6 @@ main() {
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
git clean -Xffd
|
git clean -Xffd
|
||||||
|
|
||||||
pushd lib/vscode
|
|
||||||
git clean -xffd
|
|
||||||
popd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
|
@ -76,21 +76,10 @@ main() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This is a copy of symlink_asar in ../lib.sh. Look there for details.
|
|
||||||
symlink_asar() {
|
|
||||||
rm -rf node_modules.asar
|
|
||||||
if [ "${WINDIR-}" ]; then
|
|
||||||
mklink /J node_modules.asar node_modules
|
|
||||||
else
|
|
||||||
ln -s node_modules node_modules.asar
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
vscode_yarn() {
|
vscode_yarn() {
|
||||||
cd lib/vscode
|
cd node_modules
|
||||||
yarn --production --frozen-lockfile
|
|
||||||
|
|
||||||
symlink_asar
|
yarn --production --frozen-lockfile
|
||||||
|
|
||||||
cd extensions
|
cd extensions
|
||||||
yarn --production --frozen-lockfile
|
yarn --production --frozen-lockfile
|
||||||
|
|
|
@ -19,7 +19,7 @@ main() {
|
||||||
"*.sh"
|
"*.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 "vendor/modules/code-oss-dev" | grep -v 'helm-chart'
|
||||||
)
|
)
|
||||||
|
|
||||||
doctoc --title '# FAQ' docs/FAQ.md > /dev/null
|
doctoc --title '# FAQ' docs/FAQ.md > /dev/null
|
||||||
|
|
|
@ -4,17 +4,14 @@ set -euo pipefail
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js" | grep -v "lib/vscode")
|
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js" | grep -v "vendor/modules")
|
||||||
stylelint $(git ls-files "*.css" | grep -v "lib/vscode")
|
stylelint $(git ls-files "*.css" | grep -v "vendor/modules")
|
||||||
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 "vendor/modules")
|
||||||
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
|
||||||
|
|
||||||
cd lib/vscode
|
|
||||||
# Run this periodically in vanilla VS code to make sure we don't add any more warnings.
|
|
||||||
yarn -s eslint --max-warnings=3
|
|
||||||
cd "$OLDPWD"
|
cd "$OLDPWD"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,17 +3,19 @@ set -euo pipefail
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
source ./ci/lib.sh
|
|
||||||
|
|
||||||
# This installs the dependencies needed for testing
|
echo 'Installing code-server test dependencies...'
|
||||||
|
|
||||||
cd test
|
cd test
|
||||||
yarn
|
yarn install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd lib/vscode
|
cd vendor
|
||||||
yarn ${CI+--frozen-lockfile}
|
echo 'Installing vendor dependencies...'
|
||||||
|
|
||||||
symlink_asar
|
# Ignore scripts to prevent partial install which omits development dependencies.
|
||||||
|
yarn install --modules-folder modules --ignore-scripts
|
||||||
|
yarn run postinstall
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
|
@ -3,6 +3,7 @@ set -euo pipefail
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
local dir="$PWD"
|
local dir="$PWD"
|
||||||
|
@ -24,7 +25,7 @@ main() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d $dir/lib/vscode/out ]]; then
|
if [[ ! -d $dir/vendor/modules/code-oss-dev/out ]]; then
|
||||||
echo >&2 "No VS Code build detected"
|
echo >&2 "No VS Code build detected"
|
||||||
echo >&2 "You can build it with 'yarn build:vscode' or 'yarn watch'"
|
echo >&2 "You can build it with 'yarn build:vscode' or 'yarn watch'"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,133 +0,0 @@
|
||||||
#!/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
|
|
||||||
|
|
||||||
# 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() {
|
|
||||||
cd "$(dirname "$0")/../.."
|
|
||||||
|
|
||||||
# Check if the remote exists
|
|
||||||
# if it doesn't, we add it
|
|
||||||
if ! git config remote.vscode.url > /dev/null; then
|
|
||||||
echo "Could not find 'vscode' as a remote"
|
|
||||||
echo "Adding with: git remote add vscode https://github.com/microsoft/vscode.git"
|
|
||||||
git remote add vscode https://github.com/microsoft/vscode.git
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ask which version we should update to
|
|
||||||
# In the future, we'll automate this and grab the latest version automatically
|
|
||||||
read -r -p "What version of VSCode would you like to update to? (i.e. 1.52) " VSCODE_VERSION_TO_UPDATE
|
|
||||||
|
|
||||||
# Check that this version exists
|
|
||||||
if [[ -z $(git ls-remote --heads vscode release/"$VSCODE_VERSION_TO_UPDATE") ]]; then
|
|
||||||
echo "Oops, that doesn't look like a valid version."
|
|
||||||
echo "You entered: $VSCODE_VERSION_TO_UPDATE"
|
|
||||||
echo "Verify that this branches exists here: https://github.com/microsoft/vscode/branches/all?query=release%2F$VSCODE_VERSION_TO_UPDATE"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: `git subtree` returns 129 when installed, and prints help;
|
|
||||||
# but when uninstalled, returns 1.
|
|
||||||
set +e
|
|
||||||
git subtree &> /dev/null
|
|
||||||
if [ $? -ne 129 ]; then
|
|
||||||
echo "git-subtree could not be found."
|
|
||||||
echo "We use this to fetch and update the lib/vscode subtree."
|
|
||||||
echo -e "Please install git subtree."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# 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
|
|
||||||
if ! command -v gh &> /dev/null; then
|
|
||||||
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 -e "See docs here: https://github.com/cli/cli#installation\n"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Push branch to remote if not already pushed
|
|
||||||
# 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
|
|
||||||
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"
|
|
||||||
echo -e "Pushing now using: git push origin $CURRENT_BRANCH\n"
|
|
||||||
# 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
|
|
||||||
|
|
||||||
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"
|
|
||||||
# Try to run subtree update command
|
|
||||||
# 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 "$@"
|
|
|
@ -16,7 +16,7 @@ async function main(): Promise<void> {
|
||||||
|
|
||||||
class Watcher {
|
class Watcher {
|
||||||
private readonly rootPath = path.resolve(__dirname, "../..")
|
private readonly rootPath = path.resolve(__dirname, "../..")
|
||||||
private readonly vscodeSourcePath = path.join(this.rootPath, "lib/vscode")
|
private readonly vscodeSourcePath = path.join(this.rootPath, "vendor/modules/code-oss-dev")
|
||||||
|
|
||||||
private static log(message: string, skipNewline = false): void {
|
private static log(message: string, skipNewline = false): void {
|
||||||
process.stdout.write(message)
|
process.stdout.write(message)
|
||||||
|
|
20
ci/lib.sh
20
ci/lib.sh
|
@ -14,7 +14,7 @@ pkg_json_version() {
|
||||||
}
|
}
|
||||||
|
|
||||||
vscode_version() {
|
vscode_version() {
|
||||||
jq -r .version lib/vscode/package.json
|
jq -r .version vendor/modules/code-oss-dev/package.json
|
||||||
}
|
}
|
||||||
|
|
||||||
os() {
|
os() {
|
||||||
|
@ -104,21 +104,3 @@ export OS
|
||||||
# RELEASE_PATH is the destination directory for the release from the root.
|
# RELEASE_PATH is the destination directory for the release from the root.
|
||||||
# Defaults to release
|
# Defaults to release
|
||||||
RELEASE_PATH="${RELEASE_PATH-release}"
|
RELEASE_PATH="${RELEASE_PATH-release}"
|
||||||
|
|
||||||
# VS Code bundles some modules into an asar which is an archive format that
|
|
||||||
# works like tar. It then seems to get unpacked into node_modules.asar.
|
|
||||||
#
|
|
||||||
# I don't know why they do this but all the dependencies they bundle already
|
|
||||||
# exist in node_modules so just symlink it. We have to do this since not only VS
|
|
||||||
# Code itself but also extensions will look specifically in this directory for
|
|
||||||
# files (like the ripgrep binary or the oniguruma wasm).
|
|
||||||
symlink_asar() {
|
|
||||||
rm -rf node_modules.asar
|
|
||||||
if [ "${WINDIR-}" ]; then
|
|
||||||
# mklink takes the link name first.
|
|
||||||
mklink /J node_modules.asar node_modules
|
|
||||||
else
|
|
||||||
# ln takes the link name second.
|
|
||||||
ln -s node_modules node_modules.asar
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
|
@ -77,23 +77,24 @@ yarn watch
|
||||||
|
|
||||||
### Updates to VS Code
|
### Updates to VS Code
|
||||||
|
|
||||||
Updating VS Code requires `git subtree`. On some RPM-based Linux distros, `git subtree` is not included by default and needs to be installed separately. To
|
1. Update the package tag listed in `vendor/package.json`:
|
||||||
install, run `dnf install git-subtree` or `yum install git-subtree`.
|
|
||||||
|
|
||||||
To update VS Code:
|
```json
|
||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"vscode": "cdr/vscode#X.XX.X-code-server"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
1. Run `yarn update:vscode`.
|
2. From the code-server **project root**, run `yarn install`.
|
||||||
2. Enter a version (e.g., `1.53`)
|
Then, test code-server locally to make sure everything works.
|
||||||
3. This will open a draft pull request for you.
|
1. Check the Node.js version that's used by Electron (which is shipped with VS
|
||||||
4. There will be merge conflicts. Commit them first, since it will be impossible
|
|
||||||
for us to review your PR if you don't.
|
|
||||||
5. Fix the conflicts. Then, test code-server locally to make sure everything
|
|
||||||
works.
|
|
||||||
6. Check the Node.js version that's used by Electron (which is shipped with VS
|
|
||||||
Code. If necessary, update your version of Node.js to match.
|
Code. If necessary, update your version of Node.js to match.
|
||||||
|
1. Open a PR
|
||||||
|
|
||||||
> Watch for updates to
|
> Watch for updates to
|
||||||
> `lib/vscode/src/vs/code/browser/workbench/workbench.html`. You may need to
|
> `vendor/modules/code-oss-dev/src/vs/code/browser/workbench/workbench.html`. You may need to
|
||||||
> make changes to `src/browser/pages/vscode.html`.
|
> make changes to `src/browser/pages/vscode.html`.
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
@ -184,7 +185,7 @@ The CLI code is in [src/node](../src/node) and the HTTP routes are implemented
|
||||||
in [src/node/routes](../src/node/routes).
|
in [src/node/routes](../src/node/routes).
|
||||||
|
|
||||||
Most of the meaty parts are in the VS Code portion of the codebase under
|
Most of the meaty parts are in the VS Code portion of the codebase under
|
||||||
[lib/vscode](../lib/vscode), which we describe next.
|
[vendor/modules/code-oss-dev](../vendor/modules/code-oss-dev), which we describe next.
|
||||||
|
|
||||||
### Modifications to VS Code
|
### Modifications to VS Code
|
||||||
|
|
||||||
|
@ -197,66 +198,66 @@ Over time, Microsoft added support to VS Code to run it on the web. They have
|
||||||
made the front-end open source, but not the server. As such, code-server v2 (and
|
made the front-end open source, but not the server. As such, code-server v2 (and
|
||||||
later) uses the VS Code front-end and implements the server. We do this by using
|
later) uses the VS Code front-end and implements the server. We do this by using
|
||||||
a Git subtree to fork and modify VS Code. This code lives under
|
a Git subtree to fork and modify VS Code. This code lives under
|
||||||
[lib/vscode](../lib/vscode).
|
[vendor/modules/code-oss-dev](../vendor/modules/code-oss-dev).
|
||||||
|
|
||||||
Some noteworthy changes in our version of VS Code include:
|
Some noteworthy changes in our version of VS Code include:
|
||||||
|
|
||||||
- Adding our build file, [`lib/vscode/coder.js`](../lib/vscode/coder.js), which includes build steps specific to code-server
|
- Adding our build file, [`vendor/modules/code-oss-dev/coder.js`](../vendor/modules/code-oss-dev/coder.js), which includes build steps specific to code-server
|
||||||
- Node.js version detection changes in [`build/lib/node.ts`](../lib/vscode/build/lib/node.ts) and [`build/lib/util.ts`](../lib/vscode/build/lib/util.ts)
|
- Node.js version detection changes in [`build/lib/node.ts`](../vendor/modules/code-oss-dev/build/lib/node.ts) and [`build/lib/util.ts`](../vendor/modules/code-oss-dev/build/lib/util.ts)
|
||||||
- Allowing extra extension directories
|
- Allowing extra extension directories
|
||||||
- Added extra arguments to [`src/vs/platform/environment/common/argv.ts`](../lib/vscode/src/vs/platform/environment/common/argv.ts) and to [`src/vs/platform/environment/node/argv.ts`](../lib/vscode/src/vs/platform/environment/node/argv.ts)
|
- Added extra arguments to [`src/vs/platform/environment/common/argv.ts`](../vendor/modules/code-oss-dev/src/vs/platform/environment/common/argv.ts) and to [`src/vs/platform/environment/node/argv.ts`](../vendor/modules/code-oss-dev/src/vs/platform/environment/node/argv.ts)
|
||||||
- Added extra environment state to [`src/vs/platform/environment/common/environment.ts`](../lib/vscode/src/vs/platform/environment/common/environment.ts);
|
- Added extra environment state to [`src/vs/platform/environment/common/environment.ts`](../vendor/modules/code-oss-dev/src/vs/platform/environment/common/environment.ts);
|
||||||
- Added extra getters to [`src/vs/platform/environment/common/environmentService.ts`](../lib/vscode/src/vs/platform/environment/common/environmentService.ts)
|
- Added extra getters to [`src/vs/platform/environment/common/environmentService.ts`](../vendor/modules/code-oss-dev/src/vs/platform/environment/common/environmentService.ts)
|
||||||
- Added extra scanning paths to [`src/vs/platform/extensionManagement/node/extensionsScanner.ts`](../lib/vscode/src/vs/platform/extensionManagement/node/extensionsScanner.ts)
|
- Added extra scanning paths to [`src/vs/platform/extensionManagement/node/extensionsScanner.ts`](../vendor/modules/code-oss-dev/src/vs/platform/extensionManagement/node/extensionsScanner.ts)
|
||||||
- Additions/removals from [`package.json`](../lib/vscode/package.json):
|
- Additions/removals from [`package.json`](../vendor/modules/code-oss-dev/package.json):
|
||||||
- Removing `electron`, `keytar` and `native-keymap` to avoid pulling in desktop dependencies during build on Linux
|
- Removing `electron`, `keytar` and `native-keymap` to avoid pulling in desktop dependencies during build on Linux
|
||||||
- Removing `gulp-azure-storage` and `gulp-tar` (unsued in our build process, may pull in outdated dependencies)
|
- Removing `gulp-azure-storage` and `gulp-tar` (unsued in our build process, may pull in outdated dependencies)
|
||||||
- Adding `proxy-agent`, `proxy-from-env` (for proxying) and `rimraf` (used during build/install steps)
|
- Adding `proxy-agent`, `proxy-from-env` (for proxying) and `rimraf` (used during build/install steps)
|
||||||
- Adding our branding/custom URLs/version:
|
- Adding our branding/custom URLs/version:
|
||||||
- [`product.json`](../lib/vscode/product.json)
|
- [`product.json`](../vendor/modules/code-oss-dev/product.json)
|
||||||
- [`src/vs/base/common/product.ts`](../lib/vscode/src/vs/base/common/product.ts)
|
- [`src/vs/base/common/product.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/product.ts)
|
||||||
- [`src/vs/workbench/browser/parts/dialogs/dialogHandler.ts`](../lib/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts)
|
- [`src/vs/workbench/browser/parts/dialogs/dialogHandler.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts)
|
||||||
- [`src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts`](../lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts)
|
- [`src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts)
|
||||||
- [`src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts`](../lib/vscode/src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts)
|
- [`src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts)
|
||||||
- Removing azure/macOS signing related dependencies from [`build/package.json`](../lib/vscode/build/package.json)
|
- Removing azure/macOS signing related dependencies from [`build/package.json`](../vendor/modules/code-oss-dev/build/package.json)
|
||||||
- Modifying `.gitignore` to allow us to add files to `src/vs/server` and modifying `.eslintignore` to ignore lint on the shared files below (we use different formatter settings than VS Code).
|
- Modifying `.gitignore` to allow us to add files to `src/vs/server` and modifying `.eslintignore` to ignore lint on the shared files below (we use different formatter settings than VS Code).
|
||||||
- Sharing some files with our codebase via symlinks:
|
- Sharing some files with our codebase via symlinks:
|
||||||
- [`src/vs/base/common/ipc.d.ts`](../lib/vscode/src/vs/base/common/ipc.d.ts) points to [`typings/ipc.d.ts`](../typings/ipc.d.ts)
|
- [`src/vs/base/common/ipc.d.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/ipc.d.ts) points to [`typings/ipc.d.ts`](../typings/ipc.d.ts)
|
||||||
- [`src/vs/base/common/util.ts`](../lib/vscode/src/vs/base/common/util.ts) points to [`src/common/util.ts`](../src/common/util.ts)
|
- [`src/vs/base/common/util.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/util.ts) points to [`src/common/util.ts`](../src/common/util.ts)
|
||||||
- [`src/vs/base/node/proxy_agent.ts`](../lib/vscode/src/vs/base/node/proxy_agent.ts) points to [`src/node/proxy_agent.ts`](../src/node/proxy_agent.ts)
|
- [`src/vs/base/node/proxy_agent.ts`](../vendor/modules/code-oss-dev/src/vs/base/node/proxy_agent.ts) points to [`src/node/proxy_agent.ts`](../src/node/proxy_agent.ts)
|
||||||
- Allowing socket changes by adding `setSocket` in [`src/vs/base/parts/ipc/common/ipc.net.ts`](../lib/vscode/src/vs/base/parts/ipc/common/ipc.net.ts)
|
- Allowing socket changes by adding `setSocket` in [`src/vs/base/parts/ipc/common/ipc.net.ts`](../vendor/modules/code-oss-dev/src/vs/base/parts/ipc/common/ipc.net.ts)
|
||||||
- We use this for connection persistence in our server-side code.
|
- We use this for connection persistence in our server-side code.
|
||||||
- Added our server-side Node.JS code to `src/vs/server`.
|
- Added our server-side Node.JS code to `src/vs/server`.
|
||||||
- This code includes the logic to spawn the various services (extension host, terminal, etc.) and some glue
|
- This code includes the logic to spawn the various services (extension host, terminal, etc.) and some glue
|
||||||
- Added [`src/vs/workbench/browser/client.ts`](../lib/vscode/src/vs/workbench/browser/client.ts) to hold some server customizations.
|
- Added [`src/vs/workbench/browser/client.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/browser/client.ts) to hold some server customizations.
|
||||||
- Includes the functionality for the Log Out command and menu item
|
- Includes the functionality for the Log Out command and menu item
|
||||||
- Also, imported and called `initialize` from the main web file, [`src/vs/workbench/browser/web.main.ts`](../lib/vscode/src/vs/workbench/browser/web.main.ts)
|
- Also, imported and called `initialize` from the main web file, [`src/vs/workbench/browser/web.main.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/browser/web.main.ts)
|
||||||
- Added a (hopefully temporary) hotfix to [`src/vs/workbench/common/resources.ts`](../lib/vscode/src/vs/workbench/common/resources.ts) to get context menu actions working for the Git integration.
|
- Added a (hopefully temporary) hotfix to [`src/vs/workbench/common/resources.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/common/resources.ts) to get context menu actions working for the Git integration.
|
||||||
- Added connection type to WebSocket query parameters in [`src/vs/platform/remote/common/remoteAgentConnection.ts`](../lib/vscode/src/vs/platform/remote/common/remoteAgentConnection.ts)
|
- Added connection type to WebSocket query parameters in [`src/vs/platform/remote/common/remoteAgentConnection.ts`](../vendor/modules/code-oss-dev/src/vs/platform/remote/common/remoteAgentConnection.ts)
|
||||||
- Added `CODE_SERVER*` variables to the sanitization list in [`src/vs/base/common/processes.ts`](../lib/vscode/src/vs/base/common/processes.ts)
|
- Added `CODE_SERVER*` variables to the sanitization list in [`src/vs/base/common/processes.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/processes.ts)
|
||||||
- Fix localization support:
|
- Fix localization support:
|
||||||
- Added file [`src/vs/workbench/services/localizations/browser/localizationsService.ts`](../lib/vscode/src/vs/workbench/services/localizations/browser/localizationsService.ts).
|
- Added file [`src/vs/workbench/services/localizations/browser/localizationsService.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/localizations/browser/localizationsService.ts).
|
||||||
- Modified file [`src/vs/base/common/platform.ts`](../lib/vscode/src/vs/base/common/platform.ts)
|
- Modified file [`src/vs/base/common/platform.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/platform.ts)
|
||||||
- Modified file [`src/vs/base/node/languagePacks.js`](../lib/vscode/src/vs/base/node/languagePacks.js)
|
- Modified file [`src/vs/base/node/languagePacks.js`](../vendor/modules/code-oss-dev/src/vs/base/node/languagePacks.js)
|
||||||
- Added code to allow server to inject settings to [`src/vs/platform/product/common/product.ts`](../lib/vscode/src/vs/platform/product/common/product.ts)
|
- Added code to allow server to inject settings to [`src/vs/platform/product/common/product.ts`](../vendor/modules/code-oss-dev/src/vs/platform/product/common/product.ts)
|
||||||
- Extension fixes:
|
- Extension fixes:
|
||||||
- Avoid disabling extensions by extensionKind in [`src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts`](../lib/vscode/src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts) (Needed for vscode-icons)
|
- Avoid disabling extensions by extensionKind in [`src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts) (Needed for vscode-icons)
|
||||||
- Remove broken symlinks in [`extensions/postinstall.js`](../lib/vscode/extensions/postinstall.js)
|
- Remove broken symlinks in [`extensions/postinstall.js`](../vendor/modules/code-oss-dev/extensions/postinstall.js)
|
||||||
- Add tip about extension gallery in [`src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts`](../lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts)
|
- Add tip about extension gallery in [`src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts)
|
||||||
- Use our own server for GitHub authentication in [`extensions/github-authentication/src/githubServer.ts`](../lib/vscode/extensions/github-authentication/src/githubServer.ts)
|
- Use our own server for GitHub authentication in [`extensions/github-authentication/src/githubServer.ts`](../vendor/modules/code-oss-dev/extensions/github-authentication/src/githubServer.ts)
|
||||||
- Settings persistence on the server in [`src/vs/workbench/services/environment/browser/environmentService.ts`](../lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts)
|
- Settings persistence on the server in [`src/vs/workbench/services/environment/browser/environmentService.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/environment/browser/environmentService.ts)
|
||||||
- Add extension install fallback in [`src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts`](../lib/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts)
|
- Add extension install fallback in [`src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts)
|
||||||
- Add proxy-agent monkeypatch and keep extension host indefinitely running in [`src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts`](../lib/vscode/src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts)
|
- Add proxy-agent monkeypatch and keep extension host indefinitely running in [`src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts)
|
||||||
- Patch build system to avoid removing extension dependencies for `yarn global add` users in [`build/lib/extensions.ts`](../lib/vscode/build/lib/extensions.ts)
|
- Patch build system to avoid removing extension dependencies for `yarn global add` users in [`build/lib/extensions.ts`](../vendor/modules/code-oss-dev/build/lib/extensions.ts)
|
||||||
- Allow all extensions to use proposed APIs in [`src/vs/workbench/services/environment/browser/environmentService.ts`](../lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts)
|
- Allow all extensions to use proposed APIs in [`src/vs/workbench/services/environment/browser/environmentService.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/services/environment/browser/environmentService.ts)
|
||||||
- Make storage writes async to allow extensions to wait for them to complete in [`src/vs/platform/storage/common/storage.ts`](../lib/vscode/src/vs/platform/storage/common/storage.ts)
|
- Make storage writes async to allow extensions to wait for them to complete in [`src/vs/platform/storage/common/storage.ts`](../vendor/modules/code-oss-dev/src/vs/platform/storage/common/storage.ts)
|
||||||
- Specify webview path in [`src/vs/code/browser/workbench/workbench.ts`](../lib/vscode/src/vs/code/browser/workbench/workbench.ts)
|
- Specify webview path in [`src/vs/code/browser/workbench/workbench.ts`](../vendor/modules/code-oss-dev/src/vs/code/browser/workbench/workbench.ts)
|
||||||
- URL readability improvements for folder/workspace in [`src/vs/code/browser/workbench/workbench.ts`](../lib/vscode/src/vs/code/browser/workbench/workbench.ts)
|
- URL readability improvements for folder/workspace in [`src/vs/code/browser/workbench/workbench.ts`](../vendor/modules/code-oss-dev/src/vs/code/browser/workbench/workbench.ts)
|
||||||
- Socket/Authority-related fixes (for remote proxying etc.):
|
- Socket/Authority-related fixes (for remote proxying etc.):
|
||||||
- [`src/vs/code/browser/workbench/workbench.ts`](../lib/vscode/src/vs/code/browser/workbench/workbench.ts)
|
- [`src/vs/code/browser/workbench/workbench.ts`](../vendor/modules/code-oss-dev/src/vs/code/browser/workbench/workbench.ts)
|
||||||
- [`src/vs/platform/remote/browser/browserSocketFactory.ts`](../lib/vscode/src/vs/platform/remote/browser/browserSocketFactory.ts)
|
- [`src/vs/platform/remote/browser/browserSocketFactory.ts`](../vendor/modules/code-oss-dev/src/vs/platform/remote/browser/browserSocketFactory.ts)
|
||||||
- [`src/vs/base/common/network.ts`](../lib/vscode/src/vs/base/common/network.ts)
|
- [`src/vs/base/common/network.ts`](../vendor/modules/code-oss-dev/src/vs/base/common/network.ts)
|
||||||
- Added code to write out IPC path in [`src/vs/workbench/api/node/extHostCLIServer.ts`](../lib/vscode/src/vs/workbench/api/node/extHostCLIServer.ts)
|
- Added code to write out IPC path in [`src/vs/workbench/api/node/extHostCLIServer.ts`](../vendor/modules/code-oss-dev/src/vs/workbench/api/node/extHostCLIServer.ts)
|
||||||
|
|
||||||
As the web portion of VS Code matures, we'll be able to shrink and possibly
|
As the web portion of VS Code matures, we'll be able to shrink and possibly
|
||||||
eliminate our modifications. In the meantime, upgrading the VS Code version requires
|
eliminate our modifications. In the meantime, upgrading the VS Code version requires
|
||||||
|
|
|
@ -45,7 +45,7 @@ There is a known issue with search not working on Android because it's missing
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# run this command inside the code-server directory
|
# run this command inside the code-server directory
|
||||||
ln -s $PREFIX/bin/rg ./lib/vscode/node_modules/vscode-ripgrep/bin/rg
|
ln -s $PREFIX/bin/rg ./vendor/modules/code-oss-dev/vscode-ripgrep/bin/rg
|
||||||
```
|
```
|
||||||
|
|
||||||
### Backspace doesn't work
|
### Backspace doesn't work
|
||||||
|
|
|
@ -1,101 +0,0 @@
|
||||||
# Code - OSS Development Container
|
|
||||||
|
|
||||||
This repository includes configuration for a development container for working with Code - OSS in a local container or using [GitHub Codespaces](https://github.com/features/codespaces).
|
|
||||||
|
|
||||||
> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` and a web client is available on port `6080`.
|
|
||||||
|
|
||||||
## Quick start - local
|
|
||||||
|
|
||||||
1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)
|
|
||||||
|
|
||||||
2. **Important**: Docker needs at least **4 Cores and 6 GB of RAM (8 GB recommended)** to run a full build. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.
|
|
||||||
|
|
||||||
> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
|
|
||||||
|
|
||||||
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Remote - Containers](https://aka.ms/vscode-remote/download/containers) extension.
|
|
||||||
|
|
||||||
![Image of Remote - Containers extension](https://microsoft.github.io/vscode-remote-release/images/remote-containers-extn.png)
|
|
||||||
|
|
||||||
> **Note:** The Remote - Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
|
|
||||||
|
|
||||||
4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Remote-Containers: Clone Repository in Container Volume...**.
|
|
||||||
|
|
||||||
> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.
|
|
||||||
|
|
||||||
5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.
|
|
||||||
|
|
||||||
6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
|
|
||||||
|
|
||||||
Anything you start in VS Code, or the integrated terminal, will appear here.
|
|
||||||
|
|
||||||
Next: **[Try it out!](#try-it)**
|
|
||||||
|
|
||||||
## Quick start - GitHub Codespaces
|
|
||||||
|
|
||||||
1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and then click on **New codespace**. If prompted, select the **Standard** machine size (which is also the default).
|
|
||||||
|
|
||||||
> **Note:** You will not see these options within GitHub if you are not in the Codespaces beta.
|
|
||||||
|
|
||||||
2. After the codespace is up and running in your browser, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Ports: Focus on Ports View**.
|
|
||||||
|
|
||||||
3. You should see **VNC web client (6080)** under in the list of ports. Select the line and click on the globe icon to open it in a browser tab.
|
|
||||||
|
|
||||||
> **Tip:** If you do not see the port, <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, select **Forward a Port** and enter port `6080`.
|
|
||||||
|
|
||||||
4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.
|
|
||||||
|
|
||||||
Anything you start in VS Code, or the integrated terminal, will appear here.
|
|
||||||
|
|
||||||
Next: **[Try it out!](#try-it)**
|
|
||||||
|
|
||||||
### Using VS Code with GitHub Codespaces
|
|
||||||
|
|
||||||
You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Here's how to do it.
|
|
||||||
|
|
||||||
1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
|
|
||||||
|
|
||||||
> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
|
|
||||||
|
|
||||||
2. After the VS Code is up and running, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, choose **Codespaces: Create New Codespace**, and use the following settings:
|
|
||||||
- `microsoft/vscode` for the repository.
|
|
||||||
- Select any branch (e.g. **main**) - you select a different one later.
|
|
||||||
- Choose **Standard** (4-core, 8GB) as the size.
|
|
||||||
|
|
||||||
4. After you have connected to the codespace, you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
|
|
||||||
|
|
||||||
> **Tip:** You may also need change your VNC client's **Picture Quaility** setting to **High** to get a full color desktop.
|
|
||||||
|
|
||||||
5. Anything you start in VS Code, or the integrated terminal, will appear here.
|
|
||||||
|
|
||||||
Next: **[Try it out!](#try-it)**
|
|
||||||
|
|
||||||
## Try it!
|
|
||||||
|
|
||||||
This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
|
|
||||||
|
|
||||||
> **Note:** You can also set the resolution from the command line by typing `set-resolution`.
|
|
||||||
|
|
||||||
To start working with Code - OSS, follow these steps:
|
|
||||||
|
|
||||||
1. In your local VS Code client, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yarn install
|
|
||||||
bash scripts/code.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
2. After the build is complete, open a web browser or a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to the desktop environment as described in the quick start and enter `vscode` as the password.
|
|
||||||
|
|
||||||
3. You should now see Code - OSS!
|
|
||||||
|
|
||||||
Next, let's try debugging.
|
|
||||||
|
|
||||||
1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
|
|
||||||
|
|
||||||
2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).
|
|
||||||
|
|
||||||
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
|
|
||||||
|
|
||||||
3. After a bit, Code - OSS will appear with the debugger attached!
|
|
||||||
|
|
||||||
Enjoy!
|
|
|
@ -1 +0,0 @@
|
||||||
*.manifest
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This file establishes a basline for the reposuitory before any steps in the "prepare.sh"
|
|
||||||
# are run. Its just a find command that filters out a few things we don't need to watch.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
|
|
||||||
SOURCE_FOLDER="${1:-"."}"
|
|
||||||
|
|
||||||
cd "${SOURCE_FOLDER}"
|
|
||||||
echo "[$(date)] Generating ""before"" manifest..."
|
|
||||||
find -L . -not -path "*/.git/*" -and -not -path "${SCRIPT_PATH}/*.manifest" -type f > "${SCRIPT_PATH}/before.manifest"
|
|
||||||
echo "[$(date)] Done!"
|
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This file simply wraps the dockeer build command used to build the image with the
|
|
||||||
# cached result of the commands from "prepare.sh" and pushes it to the specified
|
|
||||||
# container image registry.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
|
|
||||||
CONTAINER_IMAGE_REPOSITORY="$1"
|
|
||||||
BRANCH="${2:-"main"}"
|
|
||||||
|
|
||||||
if [ "${CONTAINER_IMAGE_REPOSITORY}" = "" ]; then
|
|
||||||
echo "Container repository not specified!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
TAG="branch-${BRANCH//\//-}"
|
|
||||||
echo "[$(date)] ${BRANCH} => ${TAG}"
|
|
||||||
cd "${SCRIPT_PATH}/../.."
|
|
||||||
|
|
||||||
echo "[$(date)] Starting image build..."
|
|
||||||
docker build -t ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}" -f "${SCRIPT_PATH}/cache.Dockerfile" .
|
|
||||||
echo "[$(date)] Image build complete."
|
|
||||||
|
|
||||||
echo "[$(date)] Pushing image..."
|
|
||||||
docker push ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}"
|
|
||||||
echo "[$(date)] Done!"
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This file is used to archive off a copy of any differences in the source tree into another location
|
|
||||||
# in the image. Once the codespace is up, this will be restored into its proper location (which is
|
|
||||||
# quick and happens parallel to other startup activities)
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
|
|
||||||
SOURCE_FOLDER="${1:-"."}"
|
|
||||||
CACHE_FOLDER="${2:-"/usr/local/etc/devcontainer-cache"}"
|
|
||||||
|
|
||||||
echo "[$(date)] Starting cache operation..."
|
|
||||||
cd "${SOURCE_FOLDER}"
|
|
||||||
echo "[$(date)] Determining diffs..."
|
|
||||||
find -L . -not -path "*/.git/*" -and -not -path "${SCRIPT_PATH}/*.manifest" -type f > "${SCRIPT_PATH}/after.manifest"
|
|
||||||
grep -Fxvf "${SCRIPT_PATH}/before.manifest" "${SCRIPT_PATH}/after.manifest" > "${SCRIPT_PATH}/cache.manifest"
|
|
||||||
echo "[$(date)] Archiving diffs..."
|
|
||||||
mkdir -p "${CACHE_FOLDER}"
|
|
||||||
tar -cf "${CACHE_FOLDER}/cache.tar" --totals --files-from "${SCRIPT_PATH}/cache.manifest"
|
|
||||||
echo "[$(date)] Done! $(du -h "${CACHE_FOLDER}/cache.tar")"
|
|
|
@ -1,14 +0,0 @@
|
||||||
# This dockerfile is used to build up from a base image to create an image with cached results of running "prepare.sh".
|
|
||||||
# Other image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
|
|
||||||
FROM mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:dev
|
|
||||||
|
|
||||||
ARG USERNAME=node
|
|
||||||
COPY --chown=${USERNAME}:${USERNAME} . /repo-source-tmp/
|
|
||||||
RUN mkdir /usr/local/etc/devcontainer-cache \
|
|
||||||
&& chown ${USERNAME} /usr/local/etc/devcontainer-cache /repo-source-tmp \
|
|
||||||
&& su ${USERNAME} -c "\
|
|
||||||
cd /repo-source-tmp \
|
|
||||||
&& .devcontainer/cache/before-cache.sh \
|
|
||||||
&& .devcontainer/prepare.sh \
|
|
||||||
&& .devcontainer/cache/cache-diff.sh" \
|
|
||||||
&& rm -rf /repo-source-tmp
|
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This file restores the results of the "prepare.sh" into their proper locations
|
|
||||||
# once the container has been created. It runs as a postCreateCommand which
|
|
||||||
# in GitHub Codespaces occurs parallel to other startup activities and does not
|
|
||||||
# really add to the overal startup time given how quick the operation ends up being.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SOURCE_FOLDER="$(cd "${1:-"."}" && pwd)"
|
|
||||||
CACHE_FOLDER="${2:-"/usr/local/etc/devcontainer-cache"}"
|
|
||||||
|
|
||||||
if [ ! -d "${CACHE_FOLDER}" ]; then
|
|
||||||
echo "No cache folder found."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "[$(date)] Expanding $(du -h "${CACHE_FOLDER}/cache.tar") file to ${SOURCE_FOLDER}..."
|
|
||||||
cd "${SOURCE_FOLDER}"
|
|
||||||
tar -xf "${CACHE_FOLDER}/cache.tar"
|
|
||||||
rm -f "${CACHE_FOLDER}/cache.tar"
|
|
||||||
echo "[$(date)] Done!"
|
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"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": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
|
|
||||||
"overrideCommand": false,
|
|
||||||
"runArgs": [ "--init", "--security-opt", "seccomp=unconfined"],
|
|
||||||
|
|
||||||
"settings": {
|
|
||||||
"resmon.show.battery": false,
|
|
||||||
"resmon.show.cpufreq": false
|
|
||||||
},
|
|
||||||
|
|
||||||
// noVNC, VNC
|
|
||||||
"forwardPorts": [6080, 5901],
|
|
||||||
"portsAttributes": {
|
|
||||||
"6080": {
|
|
||||||
"label": "VNC web client (noVNC)",
|
|
||||||
"onAutoForward": "silent"
|
|
||||||
},
|
|
||||||
"5901": {
|
|
||||||
"label": "VNC TCP port",
|
|
||||||
"onAutoForward": "silent"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"extensions": [
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"mutantdino.resourcemonitor"
|
|
||||||
],
|
|
||||||
|
|
||||||
// Optionally loads a cached yarn install for the repo
|
|
||||||
"postCreateCommand": ".devcontainer/cache/restore-diff.sh",
|
|
||||||
|
|
||||||
"remoteUser": "node"
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This file contains the steps that should be run when creating the intermediary image that contains
|
|
||||||
# contents for that should be in the image by default. It will be used to build up from the base image
|
|
||||||
# to create an image that speeds up first time use of the dev container by "caching" the results
|
|
||||||
# of these commands. Developers can still run these commands without an issue once the container is
|
|
||||||
# up, but only differences will be processed which also speeds up the first time these operations occur.
|
|
||||||
|
|
||||||
yarn install
|
|
||||||
yarn electron
|
|
|
@ -1,15 +0,0 @@
|
||||||
# EditorConfig is awesome: https://EditorConfig.org
|
|
||||||
|
|
||||||
# top-most EditorConfig file
|
|
||||||
root = true
|
|
||||||
|
|
||||||
# Tab indentation
|
|
||||||
[*]
|
|
||||||
indent_style = tab
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
# The indent size used in the `package.json` file cannot be changed
|
|
||||||
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
|
|
||||||
[{*.yml,*.yaml,package.json}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
|
@ -1,23 +0,0 @@
|
||||||
**/vs/nls.build.js
|
|
||||||
**/vs/nls.js
|
|
||||||
**/vs/css.build.js
|
|
||||||
**/vs/css.js
|
|
||||||
**/vs/loader.js
|
|
||||||
**/insane/**
|
|
||||||
**/marked/**
|
|
||||||
**/semver/**
|
|
||||||
**/test/**/*.js
|
|
||||||
**/node_modules/**
|
|
||||||
**/vscode-api-tests/testWorkspace/**
|
|
||||||
**/vscode-api-tests/testWorkspace2/**
|
|
||||||
**/extensions/**/out/**
|
|
||||||
**/extensions/**/build/**
|
|
||||||
**/extensions/markdown-language-features/media/**
|
|
||||||
**/extensions/markdown-language-features/notebook-out/**
|
|
||||||
**/extensions/typescript-basics/test/colorize-fixtures/**
|
|
||||||
**/extensions/**/dist/**
|
|
||||||
# These are code-server code symlinks.
|
|
||||||
src/vs/base/common/util.ts
|
|
||||||
src/vs/base/common/ipc.d.ts
|
|
||||||
src/vs/base/node/proxy_agent.ts
|
|
||||||
src/vs/server/uriTransformer.ts
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +0,0 @@
|
||||||
* text=auto
|
|
||||||
|
|
||||||
LICENSE.txt eol=crlf
|
|
||||||
ThirdPartyNotices.txt eol=crlf
|
|
||||||
|
|
||||||
*.bat eol=crlf
|
|
||||||
*.cmd eol=crlf
|
|
||||||
*.ps1 eol=lf
|
|
||||||
*.sh eol=lf
|
|
||||||
*.rtf -text
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
---
|
|
||||||
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
|
|
||||||
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
|
|
||||||
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
|
|
||||||
<!-- 🔎 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/ -->
|
|
||||||
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
|
|
||||||
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
|
|
||||||
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 directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
|
|
||||||
- VS Code Version:
|
|
||||||
- OS Version:
|
|
||||||
|
|
||||||
Steps to Reproduce:
|
|
||||||
|
|
||||||
1.
|
|
||||||
2.
|
|
|
@ -1,5 +0,0 @@
|
||||||
blank_issues_enabled: false
|
|
||||||
contact_links:
|
|
||||||
- name: Question
|
|
||||||
url: https://stackoverflow.com/questions/tagged/visual-studio-code
|
|
||||||
about: Please ask and answer questions here.
|
|
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
|
|
||||||
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
|
|
||||||
<!-- Please search existing issues to avoid creating duplicates. -->
|
|
||||||
|
|
||||||
<!-- Describe the feature you'd like. -->
|
|
|
@ -1,37 +0,0 @@
|
||||||
{
|
|
||||||
"2018-01-29 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-02-07 12:00, US/Pacific": "release", # 1.20.0
|
|
||||||
"2018-02-12 12:00, US/Pacific": "development",
|
|
||||||
"2018-02-14 16:00, Europe/Zurich": "release", # 1.20.1
|
|
||||||
"2018-02-19 16:00, Europe/Zurich": "development",
|
|
||||||
"2018-02-26 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-03-07 12:00, US/Pacific": "release", # 1.21.0
|
|
||||||
"2018-03-12 12:00, US/Pacific": "development",
|
|
||||||
"2018-03-15 12:00, US/Pacific": "release", # 1.21.1
|
|
||||||
"2018-03-20 12:00, US/Pacific": "development",
|
|
||||||
"2018-03-26 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-04-06 18:00, US/Pacific": "release", # 1.22.1
|
|
||||||
"2018-04-11 18:00, US/Pacific": "development",
|
|
||||||
"2018-04-12 12:00, US/Pacific": "release", # 1.22.2
|
|
||||||
"2018-04-17 12:00, US/Pacific": "development",
|
|
||||||
"2018-04-23 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-05-03 12:00, US/Pacific": "release", # 1.23.0
|
|
||||||
"2018-05-08 12:00, US/Pacific": "development",
|
|
||||||
"2018-05-10 12:00, US/Pacific": "release", # 1.23.1
|
|
||||||
"2018-05-15 12:00, US/Pacific": "development",
|
|
||||||
"2018-05-28 18:00, US/Pacific": "endgame",
|
|
||||||
# 'release' not needed anymore, return to 'development' after releasing.
|
|
||||||
"2018-06-06 12:00, US/Pacific": "development", # 1.24.0 released
|
|
||||||
"2018-06-25 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-07-05 12:00, US/Pacific": "development", # 1.25.0 released
|
|
||||||
"2018-07-30 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-08-13 12:00, US/Pacific": "development", # 1.26.0 released
|
|
||||||
"2018-08-27 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-09-05 12:00, US/Pacific": "development", # 1.27.0 released
|
|
||||||
"2018-09-24 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-10-08 09:00, US/Pacific": "development", # 1.28.0 released
|
|
||||||
"2018-10-29 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-11-12 11:00, US/Pacific": "development", # 1.29.0 released
|
|
||||||
"2018-12-03 18:00, US/Pacific": "endgame",
|
|
||||||
"2018-12-12 13:00, US/Pacific": "development", # 1.30.0 released
|
|
||||||
}
|
|
|
@ -1,183 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-github-triage-actions/master/classifier-deep/apply/apply-labels/deep-classifier-config.schema.json",
|
|
||||||
"vacation": ["RMacfarlane"],
|
|
||||||
"assignees": {
|
|
||||||
"JacksonKearl": {"accuracy": 0.5}
|
|
||||||
},
|
|
||||||
"labels": {
|
|
||||||
"L10N": {"assign": []},
|
|
||||||
"VIM": {"assign": []},
|
|
||||||
"accessibility": { "assign": ["isidorn"]},
|
|
||||||
"api": {"assign": ["jrieken"]},
|
|
||||||
"api-finalization": {"assign": []},
|
|
||||||
"api-proposal": {"assign": ["jrieken"]},
|
|
||||||
"authentication": {"assign": ["TylerLeonhardt"]},
|
|
||||||
"breadcrumbs": {"assign": ["jrieken"]},
|
|
||||||
"callhierarchy": {"assign": ["jrieken"]},
|
|
||||||
"code-lens": {"assign": ["jrieken"]},
|
|
||||||
"color-palette": {"assign": []},
|
|
||||||
"comments": {"assign": ["rebornix"]},
|
|
||||||
"config": {"assign": ["sandy081"]},
|
|
||||||
"context-keys": {"assign": []},
|
|
||||||
"css-less-scss": {"assign": ["aeschli"]},
|
|
||||||
"custom-editors": {"assign": ["mjbvz"]},
|
|
||||||
"debug": {"assign": ["weinand"]},
|
|
||||||
"dialogs": {"assign": ["sbatten"]},
|
|
||||||
"diff-editor": {"assign": []},
|
|
||||||
"dropdown": {"assign": []},
|
|
||||||
"editor": {"assign": ["rebornix"]},
|
|
||||||
"editor-autoclosing": {"assign": []},
|
|
||||||
"editor-autoindent": {"assign": ["rebornix"]},
|
|
||||||
"editor-bracket-matching": {"assign": []},
|
|
||||||
"editor-clipboard": {"assign": ["jrieken"]},
|
|
||||||
"editor-code-actions": {"assign": []},
|
|
||||||
"editor-color-picker": {"assign": ["rebornix"]},
|
|
||||||
"editor-columnselect": {"assign": ["alexdima"]},
|
|
||||||
"editor-commands": {"assign": ["jrieken"]},
|
|
||||||
"editor-comments": {"assign": []},
|
|
||||||
"editor-contrib": {"assign": []},
|
|
||||||
"editor-core": {"assign": []},
|
|
||||||
"editor-drag-and-drop": {"assign": ["rebornix"]},
|
|
||||||
"editor-error-widget": {"assign": ["sandy081"]},
|
|
||||||
"editor-find": {"assign": ["rebornix"]},
|
|
||||||
"editor-folding": {"assign": ["aeschli"]},
|
|
||||||
"editor-hover": {"assign": []},
|
|
||||||
"editor-indent-guides": {"assign": []},
|
|
||||||
"editor-input": {"assign": ["alexdima"]},
|
|
||||||
"editor-input-IME": {"assign": ["rebornix"]},
|
|
||||||
"editor-minimap": {"assign": []},
|
|
||||||
"editor-multicursor": {"assign": ["alexdima"]},
|
|
||||||
"editor-parameter-hints": {"assign": []},
|
|
||||||
"editor-render-whitespace": {"assign": []},
|
|
||||||
"editor-rendering": {"assign": ["alexdima"]},
|
|
||||||
"editor-scrollbar": {"assign": []},
|
|
||||||
"editor-symbols": {"assign": ["jrieken"]},
|
|
||||||
"editor-synced-region": {"assign": ["aeschli"]},
|
|
||||||
"editor-textbuffer": {"assign": ["rebornix"]},
|
|
||||||
"editor-theming": {"assign": []},
|
|
||||||
"editor-wordnav": {"assign": ["alexdima"]},
|
|
||||||
"editor-wrapping": {"assign": ["alexdima"]},
|
|
||||||
"emmet": {"assign": ["rzhao271"]},
|
|
||||||
"error-list": {"assign": ["sandy081"]},
|
|
||||||
"explorer-custom": {"assign": ["sandy081"]},
|
|
||||||
"extension-host": {"assign": []},
|
|
||||||
"extensions": {"assign": ["sandy081"]},
|
|
||||||
"extensions-development": {"assign": []},
|
|
||||||
"file-decorations": {"assign": ["jrieken"]},
|
|
||||||
"file-encoding": {"assign": ["bpasero"]},
|
|
||||||
"file-explorer": {"assign": ["isidorn"]},
|
|
||||||
"file-glob": {"assign": []},
|
|
||||||
"file-guess-encoding": {"assign": ["bpasero"]},
|
|
||||||
"file-io": {"assign": ["bpasero"]},
|
|
||||||
"file-watcher": {"assign": ["bpasero"]},
|
|
||||||
"font-rendering": {"assign": []},
|
|
||||||
"formatting": {"assign": []},
|
|
||||||
"git": {"assign": ["eamodio"]},
|
|
||||||
"gpu": {"assign": ["deepak1556"]},
|
|
||||||
"grammar": {"assign": ["mjbvz"]},
|
|
||||||
"grid-view": {"assign": ["joaomoreno"]},
|
|
||||||
"html": {"assign": ["aeschli"]},
|
|
||||||
"i18n": {"assign": []},
|
|
||||||
"icon-brand": {"assign": []},
|
|
||||||
"icons-product": {"assign": ["misolori"]},
|
|
||||||
"install-update": {"assign": []},
|
|
||||||
"terminal": {"assign": ["meganrogge"]},
|
|
||||||
"terminal-conpty": {"assign": ["meganrogge"]},
|
|
||||||
"terminal-links": {"assign": ["meganrogge"]},
|
|
||||||
"terminal-external": {"assign": ["meganrogge"]},
|
|
||||||
"integration-test": {"assign": []},
|
|
||||||
"intellisense-config": {"assign": []},
|
|
||||||
"ipc": {"assign": ["joaomoreno"]},
|
|
||||||
"issue-bot": {"assign": ["chrmarti"]},
|
|
||||||
"issue-reporter": {"assign": ["TylerLeonhardt"]},
|
|
||||||
"javascript": {"assign": ["mjbvz"]},
|
|
||||||
"json": {"assign": ["aeschli"]},
|
|
||||||
"keybindings": {"assign": []},
|
|
||||||
"keybindings-editor": {"assign": ["sandy081"]},
|
|
||||||
"keyboard-layout": {"assign": ["alexdima"]},
|
|
||||||
"languages-basic": {"assign": ["aeschli"]},
|
|
||||||
"languages-diagnostics": {"assign": ["jrieken"]},
|
|
||||||
"layout": {"assign": ["sbatten"]},
|
|
||||||
"lcd-text-rendering": {"assign": []},
|
|
||||||
"list": {"assign": ["joaomoreno"]},
|
|
||||||
"log": {"assign": []},
|
|
||||||
"markdown": {"assign": ["mjbvz"]},
|
|
||||||
"marketplace": {"assign": []},
|
|
||||||
"menus": {"assign": ["sbatten"]},
|
|
||||||
"merge-conflict": {"assign": ["chrmarti"]},
|
|
||||||
"notebook": {"assign": ["rebornix"]},
|
|
||||||
"outline": {"assign": ["jrieken"]},
|
|
||||||
"output": {"assign": []},
|
|
||||||
"perf": {"assign": []},
|
|
||||||
"perf-bloat": {"assign": []},
|
|
||||||
"perf-startup": {"assign": []},
|
|
||||||
"php": {"assign": ["roblourens"]},
|
|
||||||
"portable-mode": {"assign": ["joaomoreno"]},
|
|
||||||
"proxy": {"assign": []},
|
|
||||||
"quick-pick": {"assign": ["TylerLeonhardt"]},
|
|
||||||
"references-viewlet": {"assign": ["jrieken"]},
|
|
||||||
"release-notes": {"assign": []},
|
|
||||||
"remote": {"assign": []},
|
|
||||||
"remote-explorer": {"assign": ["alexr00"]},
|
|
||||||
"rename": {"assign": ["jrieken"]},
|
|
||||||
"scm": {"assign": ["eamodio"]},
|
|
||||||
"screencast-mode": {"assign": ["lszomoru"]},
|
|
||||||
"search": {"assign": ["roblourens"]},
|
|
||||||
"search-editor": {"assign": ["JacksonKearl"]},
|
|
||||||
"search-replace": {"assign": ["sandy081"]},
|
|
||||||
"semantic-tokens": {"assign": ["aeschli"]},
|
|
||||||
"settings-editor": {"assign": ["roblourens"]},
|
|
||||||
"settings-sync": {"assign": ["sandy081"]},
|
|
||||||
"simple-file-dialog": {"assign": ["alexr00"]},
|
|
||||||
"smart-select": {"assign": ["jrieken"]},
|
|
||||||
"smoke-test": {"assign": []},
|
|
||||||
"snap": {"assign": ["joaomoreno"]},
|
|
||||||
"snippets": {"assign": ["jrieken"]},
|
|
||||||
"splitview": {"assign": ["joaomoreno"]},
|
|
||||||
"suggest": {"assign": ["jrieken"]},
|
|
||||||
"tasks": {"assign": ["alexr00"], "accuracy": 0.85},
|
|
||||||
"telemetry": {"assign": []},
|
|
||||||
"themes": {"assign": ["aeschli"]},
|
|
||||||
"timeline": {"assign": ["eamodio"]},
|
|
||||||
"timeline-git": {"assign": ["eamodio"]},
|
|
||||||
"titlebar": {"assign": ["sbatten"]},
|
|
||||||
"tokenization": {"assign": []},
|
|
||||||
"tree": {"assign": ["joaomoreno"]},
|
|
||||||
"typescript": {"assign": ["mjbvz"]},
|
|
||||||
"undo-redo": {"assign": []},
|
|
||||||
"unit-test": {"assign": []},
|
|
||||||
"uri": {"assign": ["jrieken"]},
|
|
||||||
"ux": {"assign": ["misolori"]},
|
|
||||||
"variable-resolving": {"assign": []},
|
|
||||||
"vscode-build": {"assign": []},
|
|
||||||
"web": {"assign": ["bpasero"]},
|
|
||||||
"webview": {"assign": ["mjbvz"]},
|
|
||||||
"workbench-cli": {"assign": []},
|
|
||||||
"workbench-diagnostics": {"assign": ["Tyriar"]},
|
|
||||||
"workbench-dnd": {"assign": ["bpasero"]},
|
|
||||||
"workbench-editor-grid": {"assign": ["sbatten"]},
|
|
||||||
"workbench-editors": {"assign": ["bpasero"]},
|
|
||||||
"workbench-electron": {"assign": ["deepak1556"]},
|
|
||||||
"workbench-feedback": {"assign": ["bpasero"]},
|
|
||||||
"workbench-history": {"assign": ["bpasero"]},
|
|
||||||
"workbench-hot-exit": {"assign": []},
|
|
||||||
"workbench-launch": {"assign": []},
|
|
||||||
"workbench-link": {"assign": []},
|
|
||||||
"workbench-multiroot": {"assign": ["bpasero"]},
|
|
||||||
"workbench-notifications": {"assign": ["bpasero"]},
|
|
||||||
"workbench-os-integration": {"assign": []},
|
|
||||||
"workbench-rapid-render": {"assign": ["jrieken"]},
|
|
||||||
"workbench-run-as-admin": {"assign": []},
|
|
||||||
"workbench-state": {"assign": ["bpasero"]},
|
|
||||||
"workbench-status": {"assign": ["bpasero"]},
|
|
||||||
"workbench-tabs": {"assign": ["bpasero"]},
|
|
||||||
"workbench-touchbar": {"assign": ["bpasero"]},
|
|
||||||
"workbench-views": {"assign": ["sbatten"]},
|
|
||||||
"workbench-welcome": {"assign": ["JacksonKearl"]},
|
|
||||||
"workbench-window": {"assign": ["bpasero"]},
|
|
||||||
"workbench-zen": {"assign": ["isidorn"]},
|
|
||||||
"workspace-edit": {"assign": ["jrieken"]},
|
|
||||||
"workspace-symbols": {"assign": []},
|
|
||||||
"zoom": {"assign": ["alexdima"] }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,413 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "question",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "*question"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*question",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "Please ask your question on [StackOverflow](https://aka.ms/vscodestackoverflow). We have a great community over [there](https://aka.ms/vscodestackoverflow). They have already answered thousands of questions and are happy to answer yours as well. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*dev-question",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "We have a great developer community [over on slack](https://aka.ms/vscode-dev-community) where extension authors help each other. This is a great place for you to ask questions and find support.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*extension-candidate",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the [VS Code Marketplace](https://aka.ms/vscodemarketplace). Just in case, in a few simple steps you can get started [writing your own extension](https://aka.ms/vscodewritingextensions). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*not-reproducible",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines might help you with that.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*out-of-scope",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process [here](https://aka.ms/vscode-out-of-scope). If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.\n\nIf you wonder what we are up to, please see our [roadmap](https://aka.ms/vscoderoadmap) and [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nThanks for your understanding and happy coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "causedByExtension",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "*caused-by-extension"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*caused-by-extension",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the [marketplace](https://aka.ms/vscodemarketplace) for VS Code. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*as-designed",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "duplicate",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "*duplicate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*duplicate",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](${duplicateQuery}). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "verified",
|
|
||||||
"allowUsers": [
|
|
||||||
"@author"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "verified",
|
|
||||||
"removeLabel": "author-verification-requested",
|
|
||||||
"requireLabel": "author-verification-requested",
|
|
||||||
"disallowLabel": "unreleased"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "confirm",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "confirmed",
|
|
||||||
"removeLabel": "confirmation-pending"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "confirmationPending",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "confirmation-pending",
|
|
||||||
"removeLabel": "confirmed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "needsMoreInfo",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "~needs more info"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "needsPerfInfo",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"addLabel": "needs more info",
|
|
||||||
"comment": "Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues \n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "jsDebugLogs",
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "needs more info",
|
|
||||||
"comment": "Please collect trace logs using the following instructions:\n\n> If you're able to, add `\"trace\": true` to your `launch.json` and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.\n>\n> ⚠️ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to connor@xbox.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "closedWith",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "unreleased"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "~needs more info",
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "needs more info",
|
|
||||||
"removeLabel": "~needs more info",
|
|
||||||
"comment": "Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "~needs version info",
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "needs more info",
|
|
||||||
"removeLabel": "~needs version info",
|
|
||||||
"comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "a11ymas",
|
|
||||||
"allowUsers": [
|
|
||||||
"AccessibilityTestingTeam-TCS",
|
|
||||||
"dixitsonali95",
|
|
||||||
"Mohini78",
|
|
||||||
"ChitrarupaSharma",
|
|
||||||
"mspatil110",
|
|
||||||
"umasarath52",
|
|
||||||
"v-umnaik"
|
|
||||||
],
|
|
||||||
"action": "updateLabels",
|
|
||||||
"addLabel": "a11ymas"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "label",
|
|
||||||
"name": "*off-topic",
|
|
||||||
"action": "close",
|
|
||||||
"comment": "Thanks for creating this issue. We think this issue is unactionable or unrelated to the goals of this project. Please follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extPython",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Python extension. Please file it with the repository [here](https://github.com/microsoft/vscode-python). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extJupyter",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Jupyter extension. Please file it with the repository [here](https://github.com/microsoft/vscode-jupyter). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extC",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the C extension. Please file it with the repository [here](https://github.com/microsoft/vscode-cpptools). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extC++",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the C++ extension. Please file it with the repository [here](https://github.com/microsoft/vscode-cpptools). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extCpp",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the C++ extension. Please file it with the repository [here](https://github.com/microsoft/vscode-cpptools). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extTS",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the TypeScript language service. Please file it with the repository [here](https://github.com/microsoft/TypeScript/). Make sure to check their [contributing guidelines](https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md) and provide relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extJS",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the TypeScript/JavaScript language service. Please file it with the repository [here](https://github.com/microsoft/TypeScript/). Make sure to check their [contributing guidelines](https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md) and provide relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extC#",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the C# extension. Please file it with the repository [here](https://github.com/OmniSharp/omnisharp-vscode.git). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extGo",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Go extension. Please file it with the repository [here](https://github.com/golang/vscode-go). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extPowershell",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the PowerShell extension. Please file it with the repository [here](https://github.com/PowerShell/vscode-powershell). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extLiveShare",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the LiveShare extension. Please file it with the repository [here](https://github.com/MicrosoftDocs/live-share). Make sure to check their [contributing guidelines](https://github.com/MicrosoftDocs/live-share/blob/master/CONTRIBUTING.md) and provide relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extDocker",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Docker extension. Please file it with the repository [here](https://github.com/microsoft/vscode-docker). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extJava",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Java extension. Please file it with the repository [here](https://github.com/redhat-developer/vscode-java). Make sure to check their [troubleshooting instructions](https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting) and provide relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "extJavaDebug",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "close",
|
|
||||||
"addLabel": "*caused-by-extension",
|
|
||||||
"comment": "It looks like this is caused by the Java Debugger extension. Please file it with the repository [here](https://github.com/microsoft/vscode-java-debug). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines for more information.\n\nHappy Coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "gifPlease",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
],
|
|
||||||
"action": "comment",
|
|
||||||
"comment": "Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, `.gif` files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.\n\nIf the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (`Developer: Toggle Screencast Mode` in the command palette).\n\nHappy coding!"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "label",
|
|
||||||
"allowUsers": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "comment",
|
|
||||||
"name": "assign",
|
|
||||||
"allowUsers": [
|
|
||||||
"cleidigh",
|
|
||||||
"usernamehw",
|
|
||||||
"gjsjohnmurray",
|
|
||||||
"IllusionMH"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
perform: true,
|
|
||||||
commands:
|
|
||||||
[
|
|
||||||
{
|
|
||||||
type: "comment",
|
|
||||||
name: "findDuplicates",
|
|
||||||
allowUsers: ["cleidigh", "usernamehw", "gjsjohnmurray", "IllusionMH"],
|
|
||||||
action: "comment",
|
|
||||||
comment: "Potential duplicates:\n${potentialDuplicates}",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
insidersLabel: "insiders",
|
|
||||||
insidersColor: "006b75",
|
|
||||||
action: "add",
|
|
||||||
perform: true,
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
insidersLabel: "insiders",
|
|
||||||
insidersColor: "006b75",
|
|
||||||
action: "remove",
|
|
||||||
perform: true,
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
<!-- Thank you for submitting a Pull Request. Please:
|
|
||||||
* Read our Pull Request guidelines:
|
|
||||||
https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests
|
|
||||||
* Associate an issue with the Pull Request.
|
|
||||||
* Ensure that the code is up-to-date with the `main` branch.
|
|
||||||
* Include a description of the proposed changes and how to test them.
|
|
||||||
-->
|
|
||||||
|
|
||||||
This PR fixes #
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
perform: true,
|
|
||||||
whenCreatedByTeam: false,
|
|
||||||
comment: "(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n${potentialDuplicates}",
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
"notebook": [
|
|
||||||
"claudiaregio",
|
|
||||||
"rchiodo",
|
|
||||||
"greazer",
|
|
||||||
"donjayamanne",
|
|
||||||
"jilljac",
|
|
||||||
"IanMatthewHuff"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
name: Author Verified
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [closed]
|
|
||||||
|
|
||||||
# also make changes in ./on-label.yml
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Author Verified
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
||||||
uses: ./actions/author-verified
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
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
|
|
||||||
authorVerificationRequestedLabel: author-verification-requested
|
|
|
@ -1,35 +0,0 @@
|
||||||
name: "Build Chat"
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows:
|
|
||||||
- CI
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- release/*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Install Additional Dependencies
|
|
||||||
# Pulls in a bunch of other packages that arent needed for the rest of the actions
|
|
||||||
run: npm install @azure/storage-blob@12.1.1
|
|
||||||
- name: Build Chat
|
|
||||||
uses: ./actions/build-chat
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
slack_token: ${{ secrets.SLACK_TOKEN }}
|
|
||||||
storage_connection_string: ${{ secrets.BUILD_CHAT_STORAGE_CONNECTION_STRING }}
|
|
||||||
workflow_run_url: ${{ github.event.workflow_run.url }}
|
|
||||||
notification_channel: build
|
|
||||||
log_channel: bot-log
|
|
|
@ -1,285 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- release/*
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- release/*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
windows:
|
|
||||||
name: Windows
|
|
||||||
runs-on: windows-latest
|
|
||||||
timeout-minutes: 30
|
|
||||||
env:
|
|
||||||
CHILD_CONCURRENCY: "1"
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: "2.x"
|
|
||||||
|
|
||||||
- name: Compute node modules cache key
|
|
||||||
id: nodeModulesCacheKey
|
|
||||||
run: echo "::set-output name=value::$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)"
|
|
||||||
- name: Cache node_modules archive
|
|
||||||
id: cacheNodeModules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ".build/node_modules_cache"
|
|
||||||
key: "${{ runner.os }}-cacheNodeModulesArchive-${{ steps.nodeModulesCacheKey.outputs.value }}"
|
|
||||||
- name: Extract node_modules archive
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit == 'true' }}
|
|
||||||
run: 7z.exe x .build/node_modules_cache/cache.7z -aos
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarnCacheDirPath
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
- name: Cache yarn directory
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
|
|
||||||
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-yarnCacheDir-
|
|
||||||
- name: Execute yarn
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
env:
|
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
|
||||||
run: yarn --frozen-lockfile --network-timeout 180000
|
|
||||||
- name: Create node_modules archive
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
run: |
|
|
||||||
mkdir -Force .build
|
|
||||||
node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt
|
|
||||||
mkdir -Force .build/node_modules_cache
|
|
||||||
7z.exe a .build/node_modules_cache/cache.7z -mx3 `@.build/node_modules_list.txt
|
|
||||||
|
|
||||||
- name: Compile and Download
|
|
||||||
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Electron)
|
|
||||||
run: .\scripts\test.bat
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Browser)
|
|
||||||
run: yarn test-browser --browser chromium
|
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
|
||||||
run: .\scripts\test-integration.bat
|
|
||||||
|
|
||||||
linux:
|
|
||||||
name: Linux
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 30
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
# TODO: rename azure-pipelines/linux/xvfb.init to github-actions
|
|
||||||
- name: Setup Build Environment
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
|
|
||||||
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
|
|
||||||
sudo chmod +x /etc/init.d/xvfb
|
|
||||||
sudo update-rc.d xvfb defaults
|
|
||||||
sudo service xvfb start
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
|
|
||||||
- name: Compute node modules cache key
|
|
||||||
id: nodeModulesCacheKey
|
|
||||||
run: echo "::set-output name=value::$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)"
|
|
||||||
- name: Cache node modules
|
|
||||||
id: cacheNodeModules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: "**/node_modules"
|
|
||||||
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-cacheNodeModules13-
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarnCacheDirPath
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
- name: Cache yarn directory
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
|
|
||||||
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-yarnCacheDir-
|
|
||||||
- name: Execute yarn
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
env:
|
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
|
||||||
run: yarn --frozen-lockfile --network-timeout 180000
|
|
||||||
|
|
||||||
- name: Compile and Download
|
|
||||||
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Electron)
|
|
||||||
id: electron-unit-tests
|
|
||||||
run: DISPLAY=:10 ./scripts/test.sh
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Browser)
|
|
||||||
id: browser-unit-tests
|
|
||||||
run: DISPLAY=:10 yarn test-browser --browser chromium
|
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
|
||||||
id: electron-integration-tests
|
|
||||||
run: DISPLAY=:10 ./scripts/test-integration.sh
|
|
||||||
|
|
||||||
darwin:
|
|
||||||
name: macOS
|
|
||||||
runs-on: macos-latest
|
|
||||||
timeout-minutes: 30
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
|
|
||||||
- name: Compute node modules cache key
|
|
||||||
id: nodeModulesCacheKey
|
|
||||||
run: echo "::set-output name=value::$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)"
|
|
||||||
- name: Cache node modules
|
|
||||||
id: cacheNodeModules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: "**/node_modules"
|
|
||||||
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-cacheNodeModules13-
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarnCacheDirPath
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
- name: Cache yarn directory
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
|
|
||||||
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-yarnCacheDir-
|
|
||||||
- name: Execute yarn
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
env:
|
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
|
||||||
run: yarn --frozen-lockfile --network-timeout 180000
|
|
||||||
|
|
||||||
- name: Compile and Download
|
|
||||||
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Electron)
|
|
||||||
run: DISPLAY=:10 ./scripts/test.sh
|
|
||||||
|
|
||||||
- name: Run Unit Tests (Browser)
|
|
||||||
run: DISPLAY=:10 yarn test-browser --browser chromium
|
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
|
||||||
run: DISPLAY=:10 ./scripts/test-integration.sh
|
|
||||||
|
|
||||||
hygiene:
|
|
||||||
name: Hygiene, Layering and Monaco Editor
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 30
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
|
|
||||||
- name: Compute node modules cache key
|
|
||||||
id: nodeModulesCacheKey
|
|
||||||
run: echo "::set-output name=value::$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)"
|
|
||||||
- name: Cache node modules
|
|
||||||
id: cacheNodeModules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: "**/node_modules"
|
|
||||||
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-cacheNodeModules13-
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarnCacheDirPath
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
- name: Cache yarn directory
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
|
|
||||||
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ runner.os }}-yarnCacheDir-
|
|
||||||
- name: Execute yarn
|
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
|
||||||
env:
|
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
|
||||||
run: yarn --frozen-lockfile --network-timeout 180000
|
|
||||||
|
|
||||||
- name: Run Hygiene Checks
|
|
||||||
run: yarn gulp hygiene
|
|
||||||
|
|
||||||
- name: Run Valid Layers Checks
|
|
||||||
run: yarn valid-layers-check
|
|
||||||
|
|
||||||
- name: Compile /build/
|
|
||||||
run: yarn --cwd build compile
|
|
||||||
|
|
||||||
- name: Run Monaco Editor Checks
|
|
||||||
run: yarn monaco-compile-check
|
|
||||||
|
|
||||||
- name: Run Trusted Types Checks
|
|
||||||
run: yarn tsec-compile-check
|
|
||||||
|
|
||||||
- name: Editor Distro & ESM Bundle
|
|
||||||
run: yarn gulp editor-esm-bundle
|
|
||||||
|
|
||||||
- name: Typings validation prep
|
|
||||||
run: |
|
|
||||||
mkdir typings-test
|
|
||||||
|
|
||||||
- name: Typings validation
|
|
||||||
working-directory: ./typings-test
|
|
||||||
run: |
|
|
||||||
yarn init -yp
|
|
||||||
../node_modules/.bin/tsc --init
|
|
||||||
echo "import '../out-monaco-editor-core';" > a.ts
|
|
||||||
../node_modules/.bin/tsc --noEmit
|
|
||||||
|
|
||||||
- name: Webpack Editor
|
|
||||||
working-directory: ./test/monaco
|
|
||||||
run: yarn run bundle
|
|
||||||
|
|
||||||
- name: Compile Editor Tests
|
|
||||||
working-directory: ./test/monaco
|
|
||||||
run: yarn run compile
|
|
||||||
|
|
||||||
- name: Download Playwright
|
|
||||||
run: yarn playwright-install
|
|
||||||
|
|
||||||
- name: Run Editor Tests
|
|
||||||
timeout-minutes: 5
|
|
||||||
working-directory: ./test/monaco
|
|
||||||
run: yarn test
|
|
|
@ -1,48 +0,0 @@
|
||||||
name: "Code Scanning"
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * 2"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CodeQL-Build:
|
|
||||||
# CodeQL runs on ubuntu-latest and windows-latest
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
# We must fetch at least the immediate parents so that if this is
|
|
||||||
# a pull request then we can checkout the head.
|
|
||||||
fetch-depth: 2
|
|
||||||
|
|
||||||
# If this run was triggered by a pull request event, then checkout
|
|
||||||
# the head of the pull request instead of the merge commit.
|
|
||||||
- run: git checkout HEAD^2
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@v1
|
|
||||||
with:
|
|
||||||
languages: javascript
|
|
||||||
|
|
||||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
||||||
# If this step fails, then you should remove it and run the build manually (see below)
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v1
|
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
|
||||||
# 📚 https://git.io/JvXDl
|
|
||||||
|
|
||||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
||||||
# and modify them (or add more) to build your code if your project
|
|
||||||
# uses a compiled language
|
|
||||||
|
|
||||||
#- run: |
|
|
||||||
# make bootstrap
|
|
||||||
# make release
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v1
|
|
|
@ -1,23 +0,0 @@
|
||||||
name: "Deep Classifier: Monitor"
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [unassigned]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: "Run Classifier: Monitor"
|
|
||||||
uses: ./actions/classifier-deep/monitor
|
|
||||||
with:
|
|
||||||
botName: vscode-triage-bot
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
|
@ -1,50 +0,0 @@
|
||||||
name: "Deep Classifier: Runner"
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: 0 * * * *
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-deep-classifier-runner]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Install Additional Dependencies
|
|
||||||
# Pulls in a bunch of other packages that arent needed for the rest of the actions
|
|
||||||
run: npm install @azure/storage-blob@12.1.1
|
|
||||||
- name: "Run Classifier: Scraper"
|
|
||||||
uses: ./actions/classifier-deep/apply/fetch-sources
|
|
||||||
with:
|
|
||||||
# slightly overlapping to protect against issues slipping through the cracks if a run is delayed
|
|
||||||
from: 80
|
|
||||||
until: 5
|
|
||||||
configPath: classifier
|
|
||||||
blobContainerName: vscode-issue-classifier
|
|
||||||
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
- name: Set up Python 3.7
|
|
||||||
uses: actions/setup-python@v1
|
|
||||||
with:
|
|
||||||
python-version: 3.7
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
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"
|
|
||||||
run: python ./actions/classifier-deep/apply/generate-labels/main.py
|
|
||||||
- name: "Run Classifier: Labeler"
|
|
||||||
uses: ./actions/classifier-deep/apply/apply-labels
|
|
||||||
with:
|
|
||||||
configPath: classifier
|
|
||||||
allowLabels: "needs more info|new release"
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
|
@ -1,29 +0,0 @@
|
||||||
name: "Deep Classifier: Scraper"
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: 0 0 15 * * # 15th of the month
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-deep-classifier-scraper]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Install Additional Dependencies
|
|
||||||
# Pulls in a bunch of other packages that arent needed for the rest of the actions
|
|
||||||
run: npm install @azure/storage-blob@12.1.1
|
|
||||||
- name: "Run Classifier: Scraper"
|
|
||||||
uses: ./actions/classifier-deep/train/fetch-issues
|
|
||||||
with:
|
|
||||||
blobContainerName: vscode-issue-classifier
|
|
||||||
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
|
@ -1,40 +0,0 @@
|
||||||
name: VS Code Repo Dev Container Cache Image Generation
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
# Currently doing this for main, but could be done for PRs as well
|
|
||||||
branches:
|
|
||||||
- "main"
|
|
||||||
|
|
||||||
# Only updates to these files result in changes to installed packages, so skip otherwise
|
|
||||||
paths:
|
|
||||||
- "**/package-lock.json"
|
|
||||||
- "**/yarn.lock"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
devcontainer:
|
|
||||||
name: Generate cache image
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
id: checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Azure CLI login
|
|
||||||
id: az_login
|
|
||||||
uses: azure/login@77f1b2e3fb80c0e8645114159d17008b8a2e475a
|
|
||||||
with:
|
|
||||||
creds: ${{ secrets.AZ_ACR_CREDS }}
|
|
||||||
|
|
||||||
- name: Build and push
|
|
||||||
id: build_and_push
|
|
||||||
run: |
|
|
||||||
set -e
|
|
||||||
|
|
||||||
ACR_REGISTRY_NAME=$(echo ${{ secrets.CONTAINER_IMAGE_REGISTRY }} | grep -oP '(.+)(?=\.azurecr\.io)')
|
|
||||||
az acr login --name $ACR_REGISTRY_NAME
|
|
||||||
|
|
||||||
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
|
|
||||||
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}"
|
|
|
@ -1,31 +0,0 @@
|
||||||
name: English Please
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [edited]
|
|
||||||
|
|
||||||
# also make changes in ./on-label.yml and ./on-open.yml
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, '*english-please')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, '*english-please')
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run English Please
|
|
||||||
if: contains(github.event.issue.labels.*.name, '*english-please')
|
|
||||||
uses: ./actions/english-please
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
|
|
||||||
nonEnglishLabel: "*english-please"
|
|
||||||
needsMoreInfoLabel: "needs more info"
|
|
||||||
translatorRequestedLabelPrefix: "translation-required-"
|
|
||||||
translatorRequestedLabelColor: "c29cff"
|
|
|
@ -1,43 +0,0 @@
|
||||||
name: Feature Request Manager
|
|
||||||
on:
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-feature-request-manager]
|
|
||||||
issues:
|
|
||||||
types: [milestoned]
|
|
||||||
schedule:
|
|
||||||
- cron: 20 2 * * * # 4:20am Zurich
|
|
||||||
|
|
||||||
# also make changes in ./on-label.yml
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Feature Request Manager
|
|
||||||
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
|
|
||||||
uses: ./actions/feature-request
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
candidateMilestoneID: 107
|
|
||||||
candidateMilestoneName: Backlog Candidates
|
|
||||||
backlogMilestoneID: 8
|
|
||||||
featureRequestLabel: feature-request
|
|
||||||
upvotesRequired: 20
|
|
||||||
numCommentsOverride: 20
|
|
||||||
initComment: "This feature request is now a candidate for our backlog. The community has 60 days to [upvote](https://github.com/microsoft/vscode/wiki/Issues-Triaging#up-voting-a-feature-request) the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
warnComment: "This feature request has not yet received the 20 community [upvotes](https://github.com/microsoft/vscode/wiki/Issues-Triaging#up-voting-a-feature-request) it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
acceptComment: ":slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
rejectComment: ":slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
warnDays: 10
|
|
||||||
closeDays: 60
|
|
||||||
milestoneDelaySeconds: 60
|
|
|
@ -1,27 +0,0 @@
|
||||||
name: Latest Release Monitor
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: 0/5 * * * *
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-latest-release-monitor]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Install Storage Module
|
|
||||||
run: npm install @azure/storage-blob@12.1.1
|
|
||||||
- name: Run Latest Release Monitor
|
|
||||||
uses: ./actions/latest-release-monitor
|
|
||||||
with:
|
|
||||||
storageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
|
@ -1,28 +0,0 @@
|
||||||
name: Locker
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: 20 23 * * * # 4:20pm Redmond
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-locker]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Locker
|
|
||||||
uses: ./actions/locker
|
|
||||||
with:
|
|
||||||
daysSinceClose: 45
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
daysSinceUpdate: 3
|
|
||||||
ignoredLabel: "*out-of-scope"
|
|
||||||
ignoreLabelUntil: "author-verification-requested"
|
|
||||||
labelUntil: "verified"
|
|
|
@ -1,30 +0,0 @@
|
||||||
name: Needs More Info Closer
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: 20 11 * * * # 4:20am Redmond
|
|
||||||
repository_dispatch:
|
|
||||||
types: [trigger-needs-more-info]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Needs More Info Closer
|
|
||||||
uses: ./actions/needs-more-info-closer
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
label: needs more info
|
|
||||||
closeDays: 7
|
|
||||||
additionalTeam: "cleidigh|usernamehw|gjsjohnmurray|IllusionMH"
|
|
||||||
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
|
||||||
pingDays: 80
|
|
||||||
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
|
|
|
@ -1,30 +0,0 @@
|
||||||
name: Prevent yarn.lock changes in PRs
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
name: Prevent yarn.lock changes in PRs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: octokit/request-action@v2.x
|
|
||||||
id: get_permissions
|
|
||||||
with:
|
|
||||||
route: GET /repos/microsoft/vscode/collaborators/{username}/permission
|
|
||||||
username: ${{ github.event.pull_request.user.login }}
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Set control output variable
|
|
||||||
id: control
|
|
||||||
run: |
|
|
||||||
echo "user: ${{ github.event.pull_request.user.login }}"
|
|
||||||
echo "role: ${{ fromJson(steps.get_permissions.outputs.data).permission }}"
|
|
||||||
echo "should_run: ${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
|
|
||||||
echo "::set-output name=should_run::${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
|
|
||||||
- name: Get file changes
|
|
||||||
uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272
|
|
||||||
if: ${{ steps.control.outputs.should_run == 'true' }}
|
|
||||||
- name: Check for yarn.lock changes
|
|
||||||
if: ${{ steps.control.outputs.should_run == 'true' }}
|
|
||||||
run: |
|
|
||||||
cat $HOME/files.json | jq -e 'any(test("yarn\\.lock$")) | not' \
|
|
||||||
|| (echo "Changes to yarn.lock files aren't allowed in PRs." && exit 1)
|
|
|
@ -1,31 +0,0 @@
|
||||||
name: On Comment
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
|
|
||||||
# also make changes in ./on-label.yml
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Commands
|
|
||||||
uses: ./actions/commands
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
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
|
|
|
@ -1,90 +0,0 @@
|
||||||
name: On Label
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [labeled]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
|
|
||||||
# source of truth in ./author-verified.yml
|
|
||||||
- name: Run Author Verified
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
||||||
uses: ./actions/author-verified
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
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
|
|
||||||
authorVerificationRequestedLabel: author-verification-requested
|
|
||||||
|
|
||||||
|
|
||||||
# also make changes in ./on-comment.yml
|
|
||||||
- name: Run Commands
|
|
||||||
uses: ./actions/commands
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
config-path: commands
|
|
||||||
|
|
||||||
# only here.
|
|
||||||
- name: Run Subscribers
|
|
||||||
uses: ./actions/topic-subscribe
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
config-path: subscribers
|
|
||||||
|
|
||||||
# source of truth in ./feature-request.yml
|
|
||||||
- name: Run Feature Request Manager
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'feature-request')
|
|
||||||
uses: ./actions/feature-request
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
candidateMilestoneID: 107
|
|
||||||
candidateMilestoneName: Backlog Candidates
|
|
||||||
backlogMilestoneID: 8
|
|
||||||
featureRequestLabel: feature-request
|
|
||||||
upvotesRequired: 20
|
|
||||||
numCommentsOverride: 20
|
|
||||||
initComment: "This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
warnComment: "This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding"
|
|
||||||
acceptComment: ":slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
rejectComment: ":slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!"
|
|
||||||
warnDays: 10
|
|
||||||
closeDays: 60
|
|
||||||
milestoneDelaySeconds: 60
|
|
||||||
|
|
||||||
# source of truth in ./test-plan-item-validator.yml
|
|
||||||
- name: Run Test Plan Item Validator
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
|
||||||
uses: ./actions/test-plan-item-validator
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
label: testplan-item
|
|
||||||
invalidLabel: invalid-testplan-item
|
|
||||||
comment: Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved.
|
|
||||||
|
|
||||||
# source of truth in ./english-please.yml
|
|
||||||
- name: Run English Please
|
|
||||||
if: contains(github.event.issue.labels.*.name, '*english-please')
|
|
||||||
uses: ./actions/english-please
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
|
|
||||||
nonEnglishLabel: "*english-please"
|
|
||||||
needsMoreInfoLabel: "needs more info"
|
|
||||||
translatorRequestedLabelPrefix: "translation-required-"
|
|
||||||
translatorRequestedLabelColor: "c29cff"
|
|
|
@ -1,69 +0,0 @@
|
||||||
name: On Open
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [opened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
|
|
||||||
- name: Run CopyCat (JacksonKearl/testissues)
|
|
||||||
uses: ./actions/copycat
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
owner: JacksonKearl
|
|
||||||
repo: testissues
|
|
||||||
- name: Run CopyCat (chrmarti/testissues)
|
|
||||||
uses: ./actions/copycat
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
owner: chrmarti
|
|
||||||
repo: testissues
|
|
||||||
|
|
||||||
- name: Run New Release
|
|
||||||
uses: ./actions/new-release
|
|
||||||
with:
|
|
||||||
label: new release
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
labelColor: "006b75"
|
|
||||||
labelDescription: Issues found in a recent release of VS Code
|
|
||||||
days: 5
|
|
||||||
|
|
||||||
- name: Run Clipboard Labeler
|
|
||||||
uses: ./actions/regex-labeler
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
label: "invalid"
|
|
||||||
mustNotMatch: "^We have written the needed data into your clipboard because it was too large to send\\. Please paste\\.$"
|
|
||||||
comment: "It looks like you're using the VS Code Issue Reporter but did not paste the text generated into the created issue. We've closed this issue, please open a new one containing the text we placed in your clipboard.\n\nHappy Coding!"
|
|
||||||
|
|
||||||
- name: Run Clipboard Labeler (Chinese)
|
|
||||||
uses: ./actions/regex-labeler
|
|
||||||
with:
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
label: "invalid"
|
|
||||||
mustNotMatch: "^所需的数据太大,无法直接发送。我们已经将其写入剪贴板,请粘贴。$"
|
|
||||||
comment: "看起来您正在使用 VS Code 问题报告程序,但是没有将生成的文本粘贴到创建的问题中。我们将关闭这个问题,请使用剪贴板中的内容创建一个新的问题。\n\n祝您使用愉快!"
|
|
||||||
|
|
||||||
# source of truth in ./english-please.yml
|
|
||||||
- name: Run English Please
|
|
||||||
uses: ./actions/english-please
|
|
||||||
with:
|
|
||||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
|
|
||||||
nonEnglishLabel: "*english-please"
|
|
||||||
needsMoreInfoLabel: "needs more info"
|
|
||||||
translatorRequestedLabelPrefix: "translation-required-"
|
|
||||||
translatorRequestedLabelColor: "c29cff"
|
|
|
@ -1,32 +0,0 @@
|
||||||
name: "Release Pipeline Labeler"
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [closed, reopened]
|
|
||||||
repository_dispatch:
|
|
||||||
types: [released-insider]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
ref: stable
|
|
||||||
path: ./actions
|
|
||||||
- name: Checkout Repo
|
|
||||||
if: github.event_name != 'issues'
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./repo
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Install Actions
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- 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
|
|
|
@ -1,37 +0,0 @@
|
||||||
name: "Rich Navigation Indexing"
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
richnav:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
id: caching-stage
|
|
||||||
name: Cache VS Code dependencies
|
|
||||||
with:
|
|
||||||
path: node_modules
|
|
||||||
key: ${{ runner.os }}-dependencies-${{ hashfiles('yarn.lock') }}
|
|
||||||
restore-keys: ${{ runner.os }}-dependencies-
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 10
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
if: steps.caching-stage.outputs.cache-hit != 'true'
|
|
||||||
run: yarn --frozen-lockfile
|
|
||||||
env:
|
|
||||||
CHILD_CONCURRENCY: 1
|
|
||||||
|
|
||||||
- uses: microsoft/RichCodeNavIndexer@v0.1
|
|
||||||
with:
|
|
||||||
languages: typescript
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
typescriptVersion: 0.6.0-next.8
|
|
||||||
continue-on-error: true
|
|
|
@ -1,28 +0,0 @@
|
||||||
name: Test Plan Item Validator
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [edited]
|
|
||||||
|
|
||||||
# also edit in ./on-label.yml
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: "microsoft/vscode-github-triage-actions"
|
|
||||||
path: ./actions
|
|
||||||
ref: stable
|
|
||||||
- name: Install Actions
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
|
||||||
run: npm install --production --prefix ./actions
|
|
||||||
- name: Run Test Plan Item Validator
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
|
|
||||||
uses: ./actions/test-plan-item-validator
|
|
||||||
with:
|
|
||||||
label: testplan-item
|
|
||||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
||||||
invalidLabel: invalid-testplan-item
|
|
||||||
comment: Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved.
|
|
|
@ -1,19 +0,0 @@
|
||||||
.DS_Store
|
|
||||||
.cache
|
|
||||||
npm-debug.log
|
|
||||||
Thumbs.db
|
|
||||||
node_modules/
|
|
||||||
.build/
|
|
||||||
extensions/**/dist/
|
|
||||||
/out*/
|
|
||||||
/extensions/**/out/
|
|
||||||
# NOTE@coder: remove to provide our own server
|
|
||||||
# src/vs/server
|
|
||||||
resources/server
|
|
||||||
build/node_modules
|
|
||||||
coverage/
|
|
||||||
test_data/
|
|
||||||
test-results/
|
|
||||||
yarn-error.log
|
|
||||||
vscode.lsif
|
|
||||||
vscode.db
|
|
|
@ -1,6 +0,0 @@
|
||||||
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>
|
|
||||||
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>
|
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"maxReviewers": 2,
|
|
||||||
"requiredOrgs": ["Microsoft"],
|
|
||||||
"skipAlreadyAssignedPR": true,
|
|
||||||
"skipAlreadyMentionedPR": true,
|
|
||||||
"skipCollaboratorPR": true
|
|
||||||
}
|
|
|
@ -1,61 +0,0 @@
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"prependLicenseText"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the dependency"
|
|
||||||
},
|
|
||||||
"fullLicenseText": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The complete license text of the dependency",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"prependLicenseText": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "A piece of text to prepend to the auto-detected license text of the dependency",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"fullLicenseText"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the dependency"
|
|
||||||
},
|
|
||||||
"fullLicenseText": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The complete license text of the dependency",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"prependLicenseText": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "A piece of text to prepend to the auto-detected license text of the dependency",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,142 +0,0 @@
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"registrations": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"component": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"type",
|
|
||||||
"git"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"git"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"git": {
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"repositoryUrl",
|
|
||||||
"commitHash"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"repositoryUrl": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"commitHash": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"type",
|
|
||||||
"npm"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"npm"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"npm": {
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"version"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"type",
|
|
||||||
"other"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"other"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"other": {
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"downloadUrl",
|
|
||||||
"version"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"downloadUrl": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"repositoryUrl": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The git url of the component"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The version of the component"
|
|
||||||
},
|
|
||||||
"license": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the license"
|
|
||||||
},
|
|
||||||
"developmentDependency": {
|
|
||||||
"type": "boolean",
|
|
||||||
"description": "This component is inlined in the vscode repo and **is not shipped**."
|
|
||||||
},
|
|
||||||
"isOnlyProductionDependency": {
|
|
||||||
"type": "boolean",
|
|
||||||
"description": "This component is shipped and **is not inlined in the vscode repo**."
|
|
||||||
},
|
|
||||||
"licenseDetail": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"description": "The license text"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"EditorConfig.EditorConfig"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,549 +0,0 @@
|
||||||
{
|
|
||||||
"version": "0.1.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Gulp Build",
|
|
||||||
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
||||||
"stopOnEntry": true,
|
|
||||||
"args": [
|
|
||||||
"hygiene"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "attach",
|
|
||||||
"restart": true,
|
|
||||||
"name": "Attach to Extension Host",
|
|
||||||
"timeout": 30000,
|
|
||||||
"port": 5870,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js",
|
|
||||||
"${workspaceFolder}/extensions/*/out/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-chrome",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Attach to Shared Process",
|
|
||||||
"timeout": 30000,
|
|
||||||
"port": 9222,
|
|
||||||
"urlFilter": "*sharedProcess.html*",
|
|
||||||
"presentation": {
|
|
||||||
"hidden": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Attach to Search Process",
|
|
||||||
"port": 5876,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Attach to CLI Process",
|
|
||||||
"port": 5874,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Attach to Main Process",
|
|
||||||
"timeout": 30000,
|
|
||||||
"port": 5875,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"hidden": true,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code Emmet Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/emmet/test-fixtures",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/emmet",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/emmet/out/test"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code Git Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"/tmp/my4g9l",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/git",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/git/out/test"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/git/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code API Tests (single folder)",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
// "${workspaceFolder}", // Uncomment for running out of sources.
|
|
||||||
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
|
|
||||||
"--disable-extensions"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code API Tests (workspace)",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/vscode-api-tests/testworkspace.code-workspace",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/workspace-tests"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 4
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code Tokenizer Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/vscode-colorize-tests/test",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-colorize-tests",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-colorize-tests/out"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code Notebook Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/vscode-notebook-tests/test",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-notebook-tests",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-notebook-tests/out"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code Custom Editor Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/vscode-custom-editor-tests/test-workspace",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-custom-editor-tests",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-custom-editor-tests/out/test"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-chrome",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Attach to VS Code",
|
|
||||||
"browserAttachLocation": "workspace",
|
|
||||||
"port": 9222,
|
|
||||||
"trace": true,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"resolveSourceMapLocations": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"perScriptSourcemaps": "yes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-chrome",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Launch VS Code Internal",
|
|
||||||
"windows": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
|
|
||||||
},
|
|
||||||
"osx": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
||||||
},
|
|
||||||
"port": 9222,
|
|
||||||
"timeout": 20000,
|
|
||||||
"env": {
|
|
||||||
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
||||||
"VSCODE_SKIP_PRELAUNCH": "1"
|
|
||||||
},
|
|
||||||
"cleanUp": "wholeBrowser",
|
|
||||||
"urlFilter": "*workbench.html*",
|
|
||||||
"runtimeArgs": [
|
|
||||||
"--inspect=5875",
|
|
||||||
"--no-cached-data",
|
|
||||||
],
|
|
||||||
"webRoot": "${workspaceFolder}",
|
|
||||||
"cascadeTerminateToConfigurations": [
|
|
||||||
"Attach to Extension Host"
|
|
||||||
],
|
|
||||||
"userDataDir": false,
|
|
||||||
"pauseForSourceMap": false,
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"browserLaunchLocation": "workspace",
|
|
||||||
"presentation": {
|
|
||||||
"hidden": true,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "VS Code (Web)",
|
|
||||||
"program": "${workspaceFolder}/resources/web/code-web.js",
|
|
||||||
"presentation": {
|
|
||||||
"group": "0_vscode",
|
|
||||||
"order": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Main Process",
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
|
|
||||||
"windows": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
|
|
||||||
},
|
|
||||||
"runtimeArgs": [
|
|
||||||
"--no-cached-data"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "1_vscode",
|
|
||||||
"order": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-chrome",
|
|
||||||
"request": "launch",
|
|
||||||
"outFiles": [],
|
|
||||||
"perScriptSourcemaps": "yes",
|
|
||||||
"name": "VS Code (Web, Chrome)",
|
|
||||||
"url": "http://localhost:8080",
|
|
||||||
"preLaunchTask": "Run web",
|
|
||||||
"presentation": {
|
|
||||||
"group": "0_vscode",
|
|
||||||
"order": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-msedge",
|
|
||||||
"request": "launch",
|
|
||||||
"outFiles": [],
|
|
||||||
"perScriptSourcemaps": "yes",
|
|
||||||
"name": "VS Code (Web, Edge)",
|
|
||||||
"url": "http://localhost:8080",
|
|
||||||
"pauseForSourceMap": false,
|
|
||||||
"preLaunchTask": "Run web",
|
|
||||||
"presentation": {
|
|
||||||
"group": "0_vscode",
|
|
||||||
"order": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Git Unit Tests",
|
|
||||||
"program": "${workspaceFolder}/extensions/git/node_modules/mocha/bin/_mocha",
|
|
||||||
"stopOnEntry": false,
|
|
||||||
"cwd": "${workspaceFolder}/extensions/git",
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/git/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "HTML Server Unit Tests",
|
|
||||||
"program": "${workspaceFolder}/extensions/html-language-features/server/test/index.js",
|
|
||||||
"stopOnEntry": false,
|
|
||||||
"cwd": "${workspaceFolder}/extensions/html-language-features/server",
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/html-language-features/server/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "CSS Server Unit Tests",
|
|
||||||
"program": "${workspaceFolder}/extensions/css-language-features/server/test/index.js",
|
|
||||||
"stopOnEntry": false,
|
|
||||||
"cwd": "${workspaceFolder}/extensions/css-language-features/server",
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/css-language-features/server/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Markdown Extension Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/markdown-language-features/test-workspace",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/markdown-language-features",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/markdown-language-features/out/test"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/markdown-language-features/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 7
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "TypeScript Extension Tests",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"${workspaceFolder}/extensions/typescript-language-features/test-workspace",
|
|
||||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/typescript-language-features",
|
|
||||||
"--extensionTestsPath=${workspaceFolder}/extensions/typescript-language-features/out/test"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/extensions/typescript-language-features/out/**/*.js"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "5_tests",
|
|
||||||
"order": 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Run Unit Tests",
|
|
||||||
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
|
|
||||||
"windows": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
|
|
||||||
},
|
|
||||||
"outputCapture": "std",
|
|
||||||
"args": [
|
|
||||||
"--remote-debugging-port=9222"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceFolder}",
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"cascadeTerminateToConfigurations": [
|
|
||||||
"Attach to VS Code"
|
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"MOCHA_COLORS": "true"
|
|
||||||
},
|
|
||||||
"presentation": {
|
|
||||||
"hidden": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pwa-node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Run Unit Tests For Current File",
|
|
||||||
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
|
|
||||||
"windows": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
|
|
||||||
},
|
|
||||||
"cascadeTerminateToConfigurations": [
|
|
||||||
"Attach to VS Code"
|
|
||||||
],
|
|
||||||
"outputCapture": "std",
|
|
||||||
"args": [
|
|
||||||
"--remote-debugging-port=9222",
|
|
||||||
"--run",
|
|
||||||
"${relativeFile}"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceFolder}",
|
|
||||||
"outFiles": [
|
|
||||||
"${workspaceFolder}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"MOCHA_COLORS": "true"
|
|
||||||
},
|
|
||||||
"presentation": {
|
|
||||||
"hidden": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Launch Smoke Test",
|
|
||||||
"program": "${workspaceFolder}/test/smoke/out/main.js",
|
|
||||||
"cwd": "${workspaceFolder}/test/smoke",
|
|
||||||
"timeout": 240000,
|
|
||||||
"port": 9999,
|
|
||||||
"args": [
|
|
||||||
"-l",
|
|
||||||
"${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron"
|
|
||||||
],
|
|
||||||
"outFiles": [
|
|
||||||
"${cwd}/out/**/*.js"
|
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"NODE_ENV": "development",
|
|
||||||
"VSCODE_DEV": "1",
|
|
||||||
"VSCODE_CLI": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Launch Built-in Extension",
|
|
||||||
"type": "extensionHost",
|
|
||||||
"request": "launch",
|
|
||||||
"runtimeExecutable": "${execPath}",
|
|
||||||
"args": [
|
|
||||||
"--extensionDevelopmentPath=${workspaceRoot}/extensions/debug-auto-launch"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"compounds": [
|
|
||||||
{
|
|
||||||
"name": "VS Code",
|
|
||||||
"stopAll": true,
|
|
||||||
"configurations": [
|
|
||||||
"Launch VS Code Internal",
|
|
||||||
"Attach to Main Process",
|
|
||||||
"Attach to Extension Host",
|
|
||||||
"Attach to Shared Process",
|
|
||||||
],
|
|
||||||
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
|
||||||
"presentation": {
|
|
||||||
"group": "0_vscode",
|
|
||||||
"order": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Search and Renderer processes",
|
|
||||||
"configurations": [
|
|
||||||
"Launch VS Code Internal",
|
|
||||||
"Attach to Search Process"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "1_vscode",
|
|
||||||
"order": 4
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Renderer and Extension Host processes",
|
|
||||||
"configurations": [
|
|
||||||
"Launch VS Code Internal",
|
|
||||||
"Attach to Extension Host"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "1_vscode",
|
|
||||||
"order": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Debug Unit Tests",
|
|
||||||
"configurations": [
|
|
||||||
"Attach to VS Code",
|
|
||||||
"Run Unit Tests"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "1_vscode",
|
|
||||||
"order": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Debug Unit Tests (Current File)",
|
|
||||||
"configurations": [
|
|
||||||
"Attach to VS Code",
|
|
||||||
"Run Unit Tests For Current File"
|
|
||||||
],
|
|
||||||
"presentation": {
|
|
||||||
"group": "1_vscode",
|
|
||||||
"order": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Launch VS Code",
|
|
||||||
"stopAll": true,
|
|
||||||
"configurations": [
|
|
||||||
"Launch VS Code Internal",
|
|
||||||
],
|
|
||||||
"preLaunchTask": "Ensure Prelaunch Dependencies"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,32 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Config"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repo=repo:microsoft/vscode\n$milestone=milestone:\"May 2021\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Finalization"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repo $milestone label:api-finalization"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Proposals"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repo $milestone is:open label:api-proposal "
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,107 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Macros"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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 repo:microsoft/vscode-remotehub\n\n$MILESTONE=milestone:\"May 2021\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Preparation"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Pull Requests on the Milestone"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:pr is:open"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Issues on the Milestone"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Feature Requests Missing Labels"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Testing"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Test Plan Items"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open label:testplan-item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Verification Needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:issue is:closed label:feature-request label:verification-needed -label:verified"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Verification"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Verifiable Fixes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Unreleased Fixes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Candidates"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:open label:candidate"
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,770 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Config",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$since=2020-10-01",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode\n\nQuery exceeds the maximum result. Run the query manually: `is:issue is:open closed:>2020-10-01`",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "//repo:microsoft/vscode is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "//repo:microsoft/vscode is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-remote-release",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-remote-release is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-remote-release is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-editor",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-editor is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-editor is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-docs",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-docs is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-docs is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-js-debug",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-js-debug is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-js-debug is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# language-server-protocol",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/language-server-protocol is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/language-server-protocol is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-eslint",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-eslint is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-eslint is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-css-languageservice",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-css-languageservice is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-css-languageservice is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-test",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-test is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-test is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-pull-request-github",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-pull-request-github is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-test is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-chrome-debug (deprecated)",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-chrome-debug is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-chrome-debug is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-chrome-debug-core",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-chrome-debug-core is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-chrome-debug-core is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-debugadapter-node",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-debugadapter-node is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-debugadapter-node is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-emmet-helper",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-emmet-helper is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-emmet-helper is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-extension-vscode\n\nDeprecated",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-extension-vscode is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-extension-vscode is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-extension-samples",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-extension-samples is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-extension-samples is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-filewatcher-windows",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-filewatcher-windows is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-filewatcher-windows is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-generator-code",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-generator-code is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-generator-code is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-html-languageservice",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-html-languageservice is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-html-languageservice is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-jshint",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-jshint is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-jshint is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-json-languageservice",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-json-languageservice is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-json-languageservice is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-languageserver-node",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-languageserver-node is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-languageserver-node is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-loader",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-loader is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-loader is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-mono-debug",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-mono-debug is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-mono-debug is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-node-debug",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-node-debug is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-node-debug is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-node-debug2",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-node-debug2 is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-node-debug2 is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-recipes",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-recipes is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-recipes is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-textmate",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-textmate is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-textmate is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-themes",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-themes is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-themes is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-vsce",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-vsce is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-vsce is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-website",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-website is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-website is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# vscode-windows-process-tree",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-windows-process-tree is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode-windows-process-tree is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# debug-adapter-protocol",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/debug-adapter-protocol is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/debug-adapter-protocol is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# inno-updater",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/inno-updater is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/inno-updater is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# language-server-protocol-inspector",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/language-server-protocol-inspector is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/language-server-protocol-inspector is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-languages",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-languages is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-languages is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-typescript",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-typescript is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-typescript is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-css",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-css is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-css is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-json",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-json is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-json is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-html",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-html is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-html is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# monaco-editor-webpack-plugin",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-editor-webpack-plugin is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/monaco-editor-webpack-plugin is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# node-jsonc-parser",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/node-jsonc-parser is:issue closed:>$since",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/node-jsonc-parser is:issue created:>$since",
|
|
||||||
"editable": true
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,30 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"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.",
|
|
||||||
"editable": true,
|
|
||||||
"outputs": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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 ",
|
|
||||||
"editable": true,
|
|
||||||
"outputs": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Feature Areas\n\nEach issue should be assigned to a feature area",
|
|
||||||
"editable": true,
|
|
||||||
"outputs": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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",
|
|
||||||
"editable": true,
|
|
||||||
"outputs": []
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,50 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"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",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$inbox -label:\"needs more info\"",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "##### `Config`: defines the inbox query",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$inbox=repo:microsoft/vscode is:open no:assignee -label:feature-request -label:testplan-item -label:plan-item ",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Inbox tracking and Issue triage",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"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/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
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"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**.",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$inbox",
|
|
||||||
"editable": true
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,182 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Macros"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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-remotehub\n\n$MILESTONE=milestone:\"May 2021\"\n\n$MINE=assignee:@me"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Preparation"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Pull Requests on the Milestone"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:pr is:open"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Issues on the Milestone"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Feature Requests Missing Labels"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Test Plan Items"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE is:issue is:open author:@me label:testplan-item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Verification Needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:closed label:feature-request label:verification-needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Testing"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Test Plan Items"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:testplan-item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Verification Needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE -$MINE is:issue is:closed -assignee:@me -label:verified -label:z-author-verified label:feature-request label:verification-needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Fixing"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Issues"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open -label:endgame-plan -label:testplan-item -label:iteration-plan"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Open Bugs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Verification"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## My Issues (verification-steps-needed)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-steps-needed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## My Issues (verification-found)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-found"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Issues filed by me"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Issues filed from outside team"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"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 -author:hediet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Issues filed by others"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "# Release Notes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode $MILESTONE $MINE is:issue is:closed label:feature-request -label:on-release-notes"
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,97 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "##### `Config`: This should be changed every month/milestone"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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:\"May 2021\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "## Milestone Work"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos $milestone assignee:@me is:open"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "## Bugs, Debt, Features..."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### My Bugs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos assignee:@me is:open label:bug"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Debt & Engineering"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos assignee:@me is:open label:debt OR $repos assignee:@me is:open label:engineering"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Performance 🐌 🔜 🏎"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Feature Requests"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos assignee:@me is:open label:feature-request milestone:Backlog sort:reactions-+1-desc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos assignee:@me is:open milestone:\"Backlog Candidates\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Personal Inbox\n"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "\n#### Missing Type label"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Not Actionable"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos assignee:@me is:open label:\"needs more info\""
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,44 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## All Papercuts\n\nThese are all papercut issues that we encounter while dogfooding vscode or extensions that we author.",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode is:open -label:notebook label:\"papercut :drop_of_blood:\"",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "## Native Notebook",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode is:open label:notebook label:\"papercut :drop_of_blood:\"",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### My Papercuts",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "repo:microsoft/vscode is:open assignee:@me label:\"papercut :drop_of_blood:\"",
|
|
||||||
"editable": true
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,56 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"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. ",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "#### Config: update list of `repos` and the `milestone`",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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:\"March 2021\"",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Bugs You Filed",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate author:@me",
|
|
||||||
"editable": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### Bugs From Outside",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"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 -author:rzhao271 -author:kieferrm -author:TylerLeonhardt -author:bamurtaugh",
|
|
||||||
"editable": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 1,
|
|
||||||
"language": "markdown",
|
|
||||||
"value": "### All",
|
|
||||||
"editable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": 2,
|
|
||||||
"language": "github-issues",
|
|
||||||
"value": "$repos $milestone is:closed -assignee:@me label:bug -label:verified -label:*duplicate",
|
|
||||||
"editable": false
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,101 +0,0 @@
|
||||||
# Query: .innerHTML =
|
|
||||||
# Flags: CaseSensitive WordMatch
|
|
||||||
# Including: src/vs/**/*.{t,j}s
|
|
||||||
# Excluding: *.test.ts, **/test/**
|
|
||||||
# ContextLines: 3
|
|
||||||
|
|
||||||
12 results - 9 files
|
|
||||||
|
|
||||||
src/vs/base/browser/dom.ts:
|
|
||||||
1359 );
|
|
||||||
1360
|
|
||||||
1361 const html = _ttpSafeInnerHtml?.createHTML(value, options) ?? insane(value, options);
|
|
||||||
1362: node.innerHTML = html as unknown as string;
|
|
||||||
1363 }
|
|
||||||
|
|
||||||
src/vs/base/browser/markdownRenderer.ts:
|
|
||||||
272 };
|
|
||||||
273
|
|
||||||
274 if (_ttpInsane) {
|
|
||||||
275: element.innerHTML = _ttpInsane.createHTML(renderedMarkdown, insaneOptions) as unknown as string;
|
|
||||||
276 } else {
|
|
||||||
277: element.innerHTML = insane(renderedMarkdown, insaneOptions);
|
|
||||||
278 }
|
|
||||||
279
|
|
||||||
280 // signal that async code blocks can be now be inserted
|
|
||||||
|
|
||||||
src/vs/editor/browser/core/markdownRenderer.ts:
|
|
||||||
88
|
|
||||||
89 const element = document.createElement('span');
|
|
||||||
90
|
|
||||||
91: element.innerHTML = MarkdownRenderer._ttpTokenizer
|
|
||||||
92 ? MarkdownRenderer._ttpTokenizer.createHTML(value, tokenization) as unknown as string
|
|
||||||
93 : tokenizeToString(value, tokenization);
|
|
||||||
94
|
|
||||||
|
|
||||||
src/vs/editor/browser/view/domLineBreaksComputer.ts:
|
|
||||||
107 allCharOffsets[i] = tmp[0];
|
|
||||||
108 allVisibleColumns[i] = tmp[1];
|
|
||||||
109 }
|
|
||||||
110: containerDomNode.innerHTML = sb.build();
|
|
||||||
111
|
|
||||||
112 containerDomNode.style.position = 'absolute';
|
|
||||||
113 containerDomNode.style.top = '10000';
|
|
||||||
|
|
||||||
src/vs/editor/browser/view/viewLayer.ts:
|
|
||||||
512 }
|
|
||||||
513 const lastChild = <HTMLElement>this.domNode.lastChild;
|
|
||||||
514 if (domNodeIsEmpty || !lastChild) {
|
|
||||||
515: this.domNode.innerHTML = newLinesHTML;
|
|
||||||
516 } else {
|
|
||||||
517 lastChild.insertAdjacentHTML('afterend', newLinesHTML);
|
|
||||||
518 }
|
|
||||||
|
|
||||||
533 if (ViewLayerRenderer._ttPolicy) {
|
|
||||||
534 invalidLinesHTML = ViewLayerRenderer._ttPolicy.createHTML(invalidLinesHTML) as unknown as string;
|
|
||||||
535 }
|
|
||||||
536: hugeDomNode.innerHTML = invalidLinesHTML;
|
|
||||||
537
|
|
||||||
538 for (let i = 0; i < ctx.linesLength; i++) {
|
|
||||||
539 const line = ctx.lines[i];
|
|
||||||
|
|
||||||
src/vs/editor/browser/widget/diffEditorWidget.ts:
|
|
||||||
2157
|
|
||||||
2158 let domNode = document.createElement('div');
|
|
||||||
2159 domNode.className = `view-lines line-delete ${MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`;
|
|
||||||
2160: domNode.innerHTML = sb.build();
|
|
||||||
2161 Configuration.applyFontInfoSlow(domNode, fontInfo);
|
|
||||||
2162
|
|
||||||
2163 let marginDomNode = document.createElement('div');
|
|
||||||
2164 marginDomNode.className = 'inline-deleted-margin-view-zone';
|
|
||||||
2165: marginDomNode.innerHTML = marginHTML.join('');
|
|
||||||
2166 Configuration.applyFontInfoSlow(marginDomNode, fontInfo);
|
|
||||||
2167
|
|
||||||
2168 return {
|
|
||||||
|
|
||||||
src/vs/editor/standalone/browser/colorizer.ts:
|
|
||||||
40 let text = domNode.firstChild ? domNode.firstChild.nodeValue : '';
|
|
||||||
41 domNode.className += ' ' + theme;
|
|
||||||
42 let render = (str: string) => {
|
|
||||||
43: domNode.innerHTML = str;
|
|
||||||
44 };
|
|
||||||
45 return this.colorize(modeService, text || '', mimeType, options).then(render, (err) => console.error(err));
|
|
||||||
46 }
|
|
||||||
|
|
||||||
src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts:
|
|
||||||
580 const element = DOM.$('div', { style });
|
|
||||||
581
|
|
||||||
582 const linesHtml = this.getRichTextLinesAsHtml(model, modelRange, colorMap);
|
|
||||||
583: element.innerHTML = linesHtml as unknown as string;
|
|
||||||
584 return element;
|
|
||||||
585 }
|
|
||||||
586
|
|
||||||
|
|
||||||
src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts:
|
|
||||||
375 addMouseoverListeners(outputNode, outputId);
|
|
||||||
376 const content = data.content;
|
|
||||||
377 if (content.type === RenderOutputType.Html) {
|
|
||||||
378: outputNode.innerHTML = content.htmlContent;
|
|
||||||
379 cellOutputContainer.appendChild(outputNode);
|
|
||||||
380 domEval(outputNode);
|
|
||||||
381 } else if (preloadErrs.some(e => !!e)) {
|
|
|
@ -1,53 +0,0 @@
|
||||||
# Query: \\w+\\?\\.\\w+![(.[]
|
|
||||||
# Flags: RegExp
|
|
||||||
# ContextLines: 2
|
|
||||||
|
|
||||||
8 results - 4 files
|
|
||||||
|
|
||||||
src/vs/base/browser/ui/tree/asyncDataTree.ts:
|
|
||||||
241 } : () => 'treeitem',
|
|
||||||
242 isChecked: options.accessibilityProvider!.isChecked ? (e) => {
|
|
||||||
243: return !!(options.accessibilityProvider?.isChecked!(e.element as T));
|
|
||||||
244 } : undefined,
|
|
||||||
245 getAriaLabel(e) {
|
|
||||||
|
|
||||||
src/vs/platform/list/browser/listService.ts:
|
|
||||||
463
|
|
||||||
464 if (typeof options?.openOnSingleClick !== 'boolean' && options?.configurationService) {
|
|
||||||
465: this.openOnSingleClick = options?.configurationService!.getValue(openModeSettingKey) !== 'doubleClick';
|
|
||||||
466 this._register(options?.configurationService.onDidChangeConfiguration(() => {
|
|
||||||
467: this.openOnSingleClick = options?.configurationService!.getValue(openModeSettingKey) !== 'doubleClick';
|
|
||||||
468 }));
|
|
||||||
469 } else {
|
|
||||||
|
|
||||||
src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts:
|
|
||||||
1526
|
|
||||||
1527 await this._ensureActiveKernel();
|
|
||||||
1528: await this._activeKernel?.cancelNotebookCell!(this._notebookViewModel!.uri, undefined);
|
|
||||||
1529 }
|
|
||||||
1530
|
|
||||||
|
|
||||||
1535
|
|
||||||
1536 await this._ensureActiveKernel();
|
|
||||||
1537: await this._activeKernel?.executeNotebookCell!(this._notebookViewModel!.uri, undefined);
|
|
||||||
1538 }
|
|
||||||
1539
|
|
||||||
|
|
||||||
1553
|
|
||||||
1554 await this._ensureActiveKernel();
|
|
||||||
1555: await this._activeKernel?.cancelNotebookCell!(this._notebookViewModel!.uri, cell.handle);
|
|
||||||
1556 }
|
|
||||||
1557
|
|
||||||
|
|
||||||
1567
|
|
||||||
1568 await this._ensureActiveKernel();
|
|
||||||
1569: await this._activeKernel?.executeNotebookCell!(this._notebookViewModel!.uri, cell.handle);
|
|
||||||
1570 }
|
|
||||||
1571
|
|
||||||
|
|
||||||
src/vs/workbench/contrib/webview/electron-browser/iframeWebviewElement.ts:
|
|
||||||
89 .then(() => this._resourceRequestManager.ensureReady())
|
|
||||||
90 .then(() => {
|
|
||||||
91: this.element?.contentWindow!.postMessage({ channel, args: data }, '*');
|
|
||||||
92 });
|
|
||||||
93 }
|
|
|
@ -1,90 +0,0 @@
|
||||||
{
|
|
||||||
"editor.insertSpaces": false,
|
|
||||||
"files.trimTrailingWhitespace": true,
|
|
||||||
"files.exclude": {
|
|
||||||
".git": true,
|
|
||||||
".build": true,
|
|
||||||
"**/.DS_Store": true,
|
|
||||||
"build/**/*.js": {
|
|
||||||
"when": "$(basename).ts"
|
|
||||||
},
|
|
||||||
"src/vs/server": false
|
|
||||||
},
|
|
||||||
"files.associations": {
|
|
||||||
"cglicenses.json": "jsonc"
|
|
||||||
},
|
|
||||||
"search.exclude": {
|
|
||||||
"**/node_modules": true,
|
|
||||||
"**/bower_components": true,
|
|
||||||
".build/**": true,
|
|
||||||
"out/**": true,
|
|
||||||
"out-build/**": true,
|
|
||||||
"out-vscode/**": true,
|
|
||||||
"i18n/**": true,
|
|
||||||
"extensions/**/out/**": true,
|
|
||||||
"test/smoke/out/**": true,
|
|
||||||
"test/automation/out/**": true,
|
|
||||||
"test/integration/browser/out/**": true,
|
|
||||||
"src/vs/base/test/node/uri.test.data.txt": true,
|
|
||||||
"src/vs/workbench/test/browser/api/extHostDocumentData.test.perf-data.ts": true,
|
|
||||||
"src/vs/server": false
|
|
||||||
},
|
|
||||||
"lcov.path": [
|
|
||||||
"./.build/coverage/lcov.info",
|
|
||||||
"./.build/coverage-single/lcov.info"
|
|
||||||
],
|
|
||||||
"lcov.watch": [
|
|
||||||
{
|
|
||||||
"pattern": "**/*.test.js",
|
|
||||||
"command": "${workspaceFolder}/scripts/test.sh --coverage --run ${file}",
|
|
||||||
"windows": {
|
|
||||||
"command": "${workspaceFolder}\\scripts\\test.bat --coverage --run ${file}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"eslint.options": {
|
|
||||||
"rulePaths": [
|
|
||||||
"./build/lib/eslint"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
|
||||||
"npm.exclude": "**/extensions/**",
|
|
||||||
"npm.packageManager": "yarn",
|
|
||||||
"emmet.excludeLanguages": [],
|
|
||||||
"typescript.preferences.importModuleSpecifier": "non-relative",
|
|
||||||
"typescript.preferences.quoteStyle": "single",
|
|
||||||
"json.schemas": [
|
|
||||||
{
|
|
||||||
"fileMatch": [
|
|
||||||
"cgmanifest.json"
|
|
||||||
],
|
|
||||||
"url": "./.vscode/cgmanifest.schema.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": [
|
|
||||||
"cglicenses.json"
|
|
||||||
],
|
|
||||||
"url": "./.vscode/cglicenses.schema.json"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"git.ignoreLimitWarning": true,
|
|
||||||
"remote.extensionKind": {
|
|
||||||
"msjsdiag.debugger-for-chrome": "workspace"
|
|
||||||
},
|
|
||||||
"gulp.autoDetect": "off",
|
|
||||||
"files.insertFinalNewline": true,
|
|
||||||
"[plaintext]": {
|
|
||||||
"files.insertFinalNewline": false,
|
|
||||||
},
|
|
||||||
"[typescript]": {
|
|
||||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
|
||||||
"editor.formatOnSave": true,
|
|
||||||
},
|
|
||||||
"[javascript]": {
|
|
||||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
|
||||||
"editor.formatOnSave": true,
|
|
||||||
},
|
|
||||||
"typescript.tsc.autoDetect": "off",
|
|
||||||
"notebook.experimental.useMarkdownRenderer": true,
|
|
||||||
"testing.autoRun.mode": "rerun",
|
|
||||||
}
|
|
|
@ -1,40 +0,0 @@
|
||||||
{
|
|
||||||
// Each snippet is defined under a snippet name and has a scope, prefix, body and
|
|
||||||
// description. The scope defines in watch languages the snippet is applicable. The prefix is what is
|
|
||||||
// used to trigger the snippet and the body will be expanded and inserted.Possible variables are:
|
|
||||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
|
||||||
// Placeholders with the same ids are connected.
|
|
||||||
// Example:
|
|
||||||
"MSFT Copyright Header": {
|
|
||||||
"scope": "javascript,typescript,css",
|
|
||||||
"prefix": [
|
|
||||||
"header",
|
|
||||||
"stub",
|
|
||||||
"copyright"
|
|
||||||
],
|
|
||||||
"body": [
|
|
||||||
"/*---------------------------------------------------------------------------------------------",
|
|
||||||
" * Copyright (c) Microsoft Corporation. All rights reserved.",
|
|
||||||
" * Licensed under the MIT License. See License.txt in the project root for license information.",
|
|
||||||
" *--------------------------------------------------------------------------------------------*/",
|
|
||||||
"",
|
|
||||||
"$0"
|
|
||||||
],
|
|
||||||
"description": "Insert Copyright Statement"
|
|
||||||
},
|
|
||||||
"TS -> Inject Service": {
|
|
||||||
"scope": "typescript",
|
|
||||||
"description": "Constructor Injection Pattern",
|
|
||||||
"prefix": "@inject",
|
|
||||||
"body": "@$1 private readonly _$2: ${1},$0"
|
|
||||||
},
|
|
||||||
"TS -> Event & Emitter": {
|
|
||||||
"scope": "typescript",
|
|
||||||
"prefix": "emitter",
|
|
||||||
"description": "Add emitter and event properties",
|
|
||||||
"body": [
|
|
||||||
"private readonly _onDid$1 = new Emitter<$2>();",
|
|
||||||
"readonly onDid$1: Event<$2> = this._onDid$1.event;"
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,222 +0,0 @@
|
||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "watch-clientd",
|
|
||||||
"label": "Core - Build",
|
|
||||||
"isBackground": true,
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never",
|
|
||||||
"group": "buildWatchers"
|
|
||||||
},
|
|
||||||
"problemMatcher": {
|
|
||||||
"owner": "typescript",
|
|
||||||
"applyTo": "closedDocuments",
|
|
||||||
"fileLocation": [
|
|
||||||
"absolute"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"location": 2,
|
|
||||||
"message": 3
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"beginsPattern": "Starting compilation",
|
|
||||||
"endsPattern": "Finished compilation"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "watch-extensionsd",
|
|
||||||
"label": "Ext - Build",
|
|
||||||
"isBackground": true,
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never",
|
|
||||||
"group": "buildWatchers"
|
|
||||||
},
|
|
||||||
"problemMatcher": {
|
|
||||||
"owner": "typescript",
|
|
||||||
"applyTo": "closedDocuments",
|
|
||||||
"fileLocation": [
|
|
||||||
"absolute"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"location": 2,
|
|
||||||
"message": 3
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"beginsPattern": "Starting compilation",
|
|
||||||
"endsPattern": "Finished compilation"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "VS Code - Build",
|
|
||||||
"dependsOn": [
|
|
||||||
"Core - Build",
|
|
||||||
"Ext - Build"
|
|
||||||
],
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
},
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "kill-watch-clientd",
|
|
||||||
"label": "Kill Core - Build",
|
|
||||||
"group": "build",
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never",
|
|
||||||
"group": "buildKillers",
|
|
||||||
"close": true
|
|
||||||
},
|
|
||||||
"problemMatcher": "$tsc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "kill-watch-extensionsd",
|
|
||||||
"label": "Kill Ext - Build",
|
|
||||||
"group": "build",
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never",
|
|
||||||
"group": "buildKillers",
|
|
||||||
"close": true
|
|
||||||
},
|
|
||||||
"problemMatcher": "$tsc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Kill VS Code - Build",
|
|
||||||
"dependsOn": [
|
|
||||||
"Kill Core - Build",
|
|
||||||
"Kill Ext - Build"
|
|
||||||
],
|
|
||||||
"group": "build",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "watch-webd",
|
|
||||||
"label": "Web Ext - Build",
|
|
||||||
"group": "build",
|
|
||||||
"isBackground": true,
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never"
|
|
||||||
},
|
|
||||||
"problemMatcher": {
|
|
||||||
"owner": "typescript",
|
|
||||||
"applyTo": "closedDocuments",
|
|
||||||
"fileLocation": [
|
|
||||||
"absolute"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"location": 2,
|
|
||||||
"message": 3
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"beginsPattern": "Starting compilation",
|
|
||||||
"endsPattern": "Finished compilation"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "kill-watch-webd",
|
|
||||||
"label": "Kill Web Ext - Build",
|
|
||||||
"group": "build",
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never"
|
|
||||||
},
|
|
||||||
"problemMatcher": "$tsc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Run tests",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./scripts/test.sh",
|
|
||||||
"windows": {
|
|
||||||
"command": ".\\scripts\\test.bat"
|
|
||||||
},
|
|
||||||
"group": "test",
|
|
||||||
"presentation": {
|
|
||||||
"echo": true,
|
|
||||||
"reveal": "always"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Run Dev",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./scripts/code.sh",
|
|
||||||
"windows": {
|
|
||||||
"command": ".\\scripts\\code.bat"
|
|
||||||
},
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "electron",
|
|
||||||
"label": "Download electron"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "gulp",
|
|
||||||
"task": "hygiene",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"command": "yarn web --no-launch",
|
|
||||||
"label": "Run web",
|
|
||||||
"isBackground": true,
|
|
||||||
"problemMatcher": {
|
|
||||||
"pattern": {
|
|
||||||
"regexp": ""
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"beginsPattern": ".*node .*",
|
|
||||||
"endsPattern": "Web UI available at .*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "never"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "eslint",
|
|
||||||
"problemMatcher": {
|
|
||||||
"source": "eslint",
|
|
||||||
"base": "$eslint-stylish"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"command": "node build/lib/preLaunch.js",
|
|
||||||
"label": "Ensure Prelaunch Dependencies",
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "silent",
|
|
||||||
"close": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "tsec-compile-check",
|
|
||||||
"problemMatcher": [
|
|
||||||
{
|
|
||||||
"base": "$tsc",
|
|
||||||
"applyTo": "allDocuments",
|
|
||||||
"owner": "tsec"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"group": "build",
|
|
||||||
"label": "npm: tsec-compile-check",
|
|
||||||
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,105 +0,0 @@
|
||||||
# Contributing to VS Code
|
|
||||||
|
|
||||||
Welcome, and thank you for your interest in contributing to VS Code!
|
|
||||||
|
|
||||||
There are many ways in which you can contribute, beyond writing code. The goal of this document is to provide a high-level overview of how you can get involved.
|
|
||||||
|
|
||||||
## Asking Questions
|
|
||||||
|
|
||||||
Have a question? Rather than opening an issue, please ask away on [Stack Overflow](https://stackoverflow.com/questions/tagged/vscode) using the tag `vscode`.
|
|
||||||
|
|
||||||
The active community will be eager to assist you. Your well-worded question will serve as a resource to others searching for help.
|
|
||||||
|
|
||||||
## Providing Feedback
|
|
||||||
|
|
||||||
Your comments and feedback are welcome, and the development team is available via a handful of different channels.
|
|
||||||
|
|
||||||
See the [Feedback Channels](https://github.com/microsoft/vscode/wiki/Feedback-Channels) wiki page for details on how to share your thoughts.
|
|
||||||
|
|
||||||
## Reporting Issues
|
|
||||||
|
|
||||||
Have you identified a reproducible problem in VS Code? Have a feature request? We want to hear about it! Here's how you can make reporting your issue as effective as possible.
|
|
||||||
|
|
||||||
### Identify Where to Report
|
|
||||||
|
|
||||||
The VS Code project is distributed across multiple repositories. Try to file the issue against the correct repository. Check the list of [Related Projects](https://github.com/microsoft/vscode/wiki/Related-Projects) if you aren't sure which repo is correct.
|
|
||||||
|
|
||||||
Can you recreate the issue even after [disabling all extensions](https://code.visualstudio.com/docs/editor/extension-gallery#_disable-an-extension)? If you find the issue is caused by an extension you have installed, please file an issue on the extension's repo directly.
|
|
||||||
|
|
||||||
### Look For an Existing Issue
|
|
||||||
|
|
||||||
Before you create a new issue, please do a search in [open issues](https://github.com/microsoft/vscode/issues) to see if the issue or feature request has already been filed.
|
|
||||||
|
|
||||||
Be sure to scan through the [most popular](https://github.com/microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc) feature requests.
|
|
||||||
|
|
||||||
If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). Use a reaction in place of a "+1" comment:
|
|
||||||
|
|
||||||
* 👍 - upvote
|
|
||||||
* 👎 - downvote
|
|
||||||
|
|
||||||
If you cannot find an existing issue that describes your bug or feature, create a new issue using the guidelines below.
|
|
||||||
|
|
||||||
### Writing Good Bug Reports and Feature Requests
|
|
||||||
|
|
||||||
File a single issue per problem and feature request. Do not enumerate multiple bugs or feature requests in the same issue.
|
|
||||||
|
|
||||||
Do not add your issue as a comment to an existing issue unless it's for the identical input. Many issues look similar, but have different causes.
|
|
||||||
|
|
||||||
The more information you can provide, the more likely someone will be successful at reproducing the issue and finding a fix.
|
|
||||||
|
|
||||||
The built-in tool for reporting an issue, which you can access by using `Report Issue` in VS Code's Help menu, can help streamline this process by automatically providing the version of VS Code, all your installed extensions, and your system info. Additionally, the tool will search among existing issues to see if a similar issue already exists.
|
|
||||||
|
|
||||||
Please include the following with each issue:
|
|
||||||
|
|
||||||
* Version of VS Code
|
|
||||||
|
|
||||||
* Your operating system
|
|
||||||
|
|
||||||
* List of extensions that you have installed
|
|
||||||
|
|
||||||
* Reproducible steps (1... 2... 3...) that cause the issue
|
|
||||||
|
|
||||||
* What you expected to see, versus what you actually saw
|
|
||||||
|
|
||||||
* Images, animations, or a link to a video showing the issue occurring
|
|
||||||
|
|
||||||
* A code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally
|
|
||||||
|
|
||||||
* **Note:** Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
|
|
||||||
|
|
||||||
* Errors from the Dev Tools Console (open from the menu: Help > Toggle Developer Tools)
|
|
||||||
|
|
||||||
### Final Checklist
|
|
||||||
|
|
||||||
Please remember to do the following:
|
|
||||||
|
|
||||||
* [ ] Search the issue repository to ensure your report is a new issue
|
|
||||||
|
|
||||||
* [ ] Recreate the issue after disabling all extensions
|
|
||||||
|
|
||||||
* [ ] Simplify your code around the issue to better isolate the problem
|
|
||||||
|
|
||||||
Don't feel bad if the developers can't reproduce the issue right away. They will simply ask for more information!
|
|
||||||
|
|
||||||
### Follow Your Issue
|
|
||||||
|
|
||||||
Once submitted, your report will go into the [issue tracking](https://github.com/microsoft/vscode/wiki/Issue-Tracking) workflow. Be sure to understand what will happen next, so you know what to expect, and how to continue to assist throughout the process.
|
|
||||||
|
|
||||||
## Automated Issue Management
|
|
||||||
|
|
||||||
We use GitHub Actions to help us manage issues. These Actions and their descriptions can be [viewed here](https://github.com/microsoft/vscode-github-triage-actions). Some examples of what these Actions do are:
|
|
||||||
|
|
||||||
* Automatically closes any issue marked `needs-more-info` if there has been no response in the past 7 days.
|
|
||||||
* Automatically lock issues 45 days after they are closed.
|
|
||||||
* Automatically implement the VS Code [feature request pipeline](https://github.com/microsoft/vscode/wiki/Issues-Triaging#managing-feature-requests).
|
|
||||||
|
|
||||||
If you believe the bot got something wrong, please open a new issue and let us know.
|
|
||||||
|
|
||||||
## Contributing Fixes
|
|
||||||
|
|
||||||
If you are interested in writing code to fix issues,
|
|
||||||
please see [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute) in the wiki.
|
|
||||||
|
|
||||||
# Thank You!
|
|
||||||
|
|
||||||
Your contributions to open source, large or small, make great projects like this possible. Thank you for taking the time to contribute.
|
|
|
@ -1,21 +0,0 @@
|
||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2015 - present Microsoft Corporation
|
|
||||||
|
|
||||||
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.
|
|
|
@ -1,75 +0,0 @@
|
||||||
# Visual Studio Code - Open Source ("Code - OSS")
|
|
||||||
[![Feature Requests](https://img.shields.io/github/issues/microsoft/vscode/feature-request.svg)](https://github.com/microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc)
|
|
||||||
[![Bugs](https://img.shields.io/github/issues/microsoft/vscode/bug.svg)](https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3Abug)
|
|
||||||
[![Gitter](https://img.shields.io/badge/chat-on%20gitter-yellow.svg)](https://gitter.im/Microsoft/vscode)
|
|
||||||
|
|
||||||
## The Repository
|
|
||||||
|
|
||||||
This repository ("`Code - OSS`") is where we (Microsoft) develop the [Visual Studio Code](https://code.visualstudio.com) product together with the community. 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
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img alt="VS Code in action" src="https://user-images.githubusercontent.com/35271042/118224532-3842c400-b438-11eb-923d-a5f66fa6785a.png">
|
|
||||||
</p>
|
|
||||||
|
|
||||||
[Visual Studio Code](https://code.visualstudio.com) is a distribution of the `Code - OSS` repository with Microsoft specific customizations released under a traditional [Microsoft product license](https://code.visualstudio.com/License/).
|
|
||||||
|
|
||||||
[Visual Studio Code](https://code.visualstudio.com) combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. It provides comprehensive code editing, navigation, and understanding support along with lightweight debugging, a rich extensibility model, and lightweight integration with existing tools.
|
|
||||||
|
|
||||||
Visual Studio Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on [Visual Studio Code's website](https://code.visualstudio.com/Download). To get the latest releases every day, install the [Insiders build](https://code.visualstudio.com/insiders).
|
|
||||||
|
|
||||||
## Contributing
|
|
||||||
|
|
||||||
There are many ways in which you can participate in this project, for example:
|
|
||||||
|
|
||||||
* [Submit bugs and feature requests](https://github.com/microsoft/vscode/issues), and help us verify as they are checked in
|
|
||||||
* Review [source code changes](https://github.com/microsoft/vscode/pulls)
|
|
||||||
* Review the [documentation](https://github.com/microsoft/vscode-docs) and make pull requests for anything from typos to additional and new content
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
* [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)
|
|
||||||
* [Coding guidelines](https://github.com/microsoft/vscode/wiki/Coding-Guidelines)
|
|
||||||
* [Submitting pull requests](https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests)
|
|
||||||
* [Finding an issue to work on](https://github.com/microsoft/vscode/wiki/How-to-Contribute#where-to-contribute)
|
|
||||||
* [Contributing to translations](https://aka.ms/vscodeloc)
|
|
||||||
|
|
||||||
## Feedback
|
|
||||||
|
|
||||||
* Ask a question on [Stack Overflow](https://stackoverflow.com/questions/tagged/vscode)
|
|
||||||
* [Request a new feature](CONTRIBUTING.md)
|
|
||||||
* Upvote [popular feature requests](https://github.com/microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc)
|
|
||||||
* [File an issue](https://github.com/microsoft/vscode/issues)
|
|
||||||
* Follow [@code](https://twitter.com/code) and let us know what you think!
|
|
||||||
|
|
||||||
See our [wiki](https://github.com/microsoft/vscode/wiki/Feedback-Channels) for a description of each of these channels and information on some other available community-driven channels.
|
|
||||||
|
|
||||||
## Related Projects
|
|
||||||
|
|
||||||
Many of the core components and extensions to VS Code live in their own repositories on GitHub. For example, the [node debug adapter](https://github.com/microsoft/vscode-node-debug) and the [mono debug adapter](https://github.com/microsoft/vscode-mono-debug) have their own repositories. For a complete list, please visit the [Related Projects](https://github.com/microsoft/vscode/wiki/Related-Projects) page on our [wiki](https://github.com/microsoft/vscode/wiki).
|
|
||||||
|
|
||||||
## Bundled Extensions
|
|
||||||
|
|
||||||
VS Code includes a set of built-in extensions located in the [extensions](extensions) folder, including grammars and snippets for many languages. Extensions that provide rich language support (code completion, Go to Definition) for a language have the suffix `language-features`. For example, the `json` extension provides coloring for `JSON` and the `json-language-features` provides rich language support for `JSON`.
|
|
||||||
|
|
||||||
## Development Container
|
|
||||||
|
|
||||||
This repository includes a Visual Studio Code Remote - Containers / GitHub Codespaces development container.
|
|
||||||
|
|
||||||
- For [Remote - Containers](https://aka.ms/vscode-remote/download/containers), use the **Remote-Containers: Clone Repository in Container Volume...** command which creates a Docker volume for better disk I/O on macOS and Windows.
|
|
||||||
- For Codespaces, install the [Github Codespaces](https://marketplace.visualstudio.com/items?itemName=GitHub.codespacese) extension in VS Code, and use the **Codespaces: Create New Codespace** command.
|
|
||||||
|
|
||||||
Docker / the Codespace should have at least **4 Cores and 6 GB of RAM (8 GB recommended)** to run full build. See the [development container README](.devcontainer/README.md) for more information.
|
|
||||||
|
|
||||||
## Code of Conduct
|
|
||||||
|
|
||||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
|
|
||||||
Licensed under the [MIT](LICENSE.txt) license.
|
|
|
@ -1,41 +0,0 @@
|
||||||
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK -->
|
|
||||||
|
|
||||||
## Security
|
|
||||||
|
|
||||||
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
|
|
||||||
|
|
||||||
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
|
|
||||||
|
|
||||||
## Reporting Security Issues
|
|
||||||
|
|
||||||
**Please do not report security vulnerabilities through public GitHub issues.**
|
|
||||||
|
|
||||||
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
|
|
||||||
|
|
||||||
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
|
|
||||||
|
|
||||||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
|
|
||||||
|
|
||||||
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
|
||||||
|
|
||||||
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
|
||||||
* Full paths of source file(s) related to the manifestation of the issue
|
|
||||||
* The location of the affected source code (tag/branch/commit or direct URL)
|
|
||||||
* Any special configuration required to reproduce the issue
|
|
||||||
* Step-by-step instructions to reproduce the issue
|
|
||||||
* Proof-of-concept or exploit code (if possible)
|
|
||||||
* Impact of the issue, including how an attacker might exploit the issue
|
|
||||||
|
|
||||||
This information will help us triage your report more quickly.
|
|
||||||
|
|
||||||
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
|
|
||||||
|
|
||||||
## Preferred Languages
|
|
||||||
|
|
||||||
We prefer all communications to be in English.
|
|
||||||
|
|
||||||
## Policy
|
|
||||||
|
|
||||||
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
|
|
||||||
|
|
||||||
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
||||||
2021-04-07T03:52:18.011Z
|
|
|
@ -1,3 +0,0 @@
|
||||||
* text eol=lf
|
|
||||||
*.exe binary
|
|
||||||
*.dll binary
|
|
|
@ -1,148 +0,0 @@
|
||||||
# cleanup rules for node modules, .gitignore style
|
|
||||||
|
|
||||||
# native node modules
|
|
||||||
|
|
||||||
nan/**
|
|
||||||
*/node_modules/nan/**
|
|
||||||
|
|
||||||
fsevents/binding.gyp
|
|
||||||
fsevents/fsevents.cc
|
|
||||||
fsevents/build/**
|
|
||||||
fsevents/src/**
|
|
||||||
fsevents/test/**
|
|
||||||
!fsevents/**/*.node
|
|
||||||
|
|
||||||
vscode-sqlite3/binding.gyp
|
|
||||||
vscode-sqlite3/benchmark/**
|
|
||||||
vscode-sqlite3/cloudformation/**
|
|
||||||
vscode-sqlite3/deps/**
|
|
||||||
vscode-sqlite3/test/**
|
|
||||||
vscode-sqlite3/build/**
|
|
||||||
vscode-sqlite3/src/**
|
|
||||||
!vscode-sqlite3/build/Release/*.node
|
|
||||||
|
|
||||||
windows-mutex/binding.gyp
|
|
||||||
windows-mutex/build/**
|
|
||||||
windows-mutex/src/**
|
|
||||||
!windows-mutex/**/*.node
|
|
||||||
|
|
||||||
native-keymap/binding.gyp
|
|
||||||
native-keymap/build/**
|
|
||||||
native-keymap/src/**
|
|
||||||
native-keymap/deps/**
|
|
||||||
!native-keymap/build/Release/*.node
|
|
||||||
|
|
||||||
native-is-elevated/binding.gyp
|
|
||||||
native-is-elevated/build/**
|
|
||||||
native-is-elevated/src/**
|
|
||||||
native-is-elevated/deps/**
|
|
||||||
!native-is-elevated/build/Release/*.node
|
|
||||||
|
|
||||||
native-watchdog/binding.gyp
|
|
||||||
native-watchdog/build/**
|
|
||||||
native-watchdog/src/**
|
|
||||||
!native-watchdog/build/Release/*.node
|
|
||||||
|
|
||||||
spdlog/binding.gyp
|
|
||||||
spdlog/build/**
|
|
||||||
spdlog/deps/**
|
|
||||||
spdlog/src/**
|
|
||||||
spdlog/test/**
|
|
||||||
spdlog/*.yml
|
|
||||||
!spdlog/build/Release/*.node
|
|
||||||
|
|
||||||
jschardet/dist/**
|
|
||||||
|
|
||||||
windows-foreground-love/binding.gyp
|
|
||||||
windows-foreground-love/build/**
|
|
||||||
windows-foreground-love/src/**
|
|
||||||
!windows-foreground-love/**/*.node
|
|
||||||
|
|
||||||
windows-process-tree/binding.gyp
|
|
||||||
windows-process-tree/build/**
|
|
||||||
windows-process-tree/src/**
|
|
||||||
!windows-process-tree/**/*.node
|
|
||||||
|
|
||||||
keytar/binding.gyp
|
|
||||||
keytar/build/**
|
|
||||||
keytar/src/**
|
|
||||||
keytar/script/**
|
|
||||||
keytar/node_modules/**
|
|
||||||
!keytar/**/*.node
|
|
||||||
|
|
||||||
node-pty/binding.gyp
|
|
||||||
node-pty/build/**
|
|
||||||
node-pty/src/**
|
|
||||||
node-pty/tools/**
|
|
||||||
node-pty/deps/**
|
|
||||||
node-pty/scripts/**
|
|
||||||
!node-pty/build/Release/*.exe
|
|
||||||
!node-pty/build/Release/*.dll
|
|
||||||
!node-pty/build/Release/*.node
|
|
||||||
|
|
||||||
nsfw/binding.gyp
|
|
||||||
nsfw/build/**
|
|
||||||
nsfw/src/**
|
|
||||||
nsfw/includes/**
|
|
||||||
!nsfw/build/Release/*.node
|
|
||||||
|
|
||||||
vsda/build/**
|
|
||||||
vsda/ci/**
|
|
||||||
vsda/src/**
|
|
||||||
vsda/.gitignore
|
|
||||||
vsda/binding.gyp
|
|
||||||
vsda/README.md
|
|
||||||
vsda/targets
|
|
||||||
!vsda/build/Release/vsda.node
|
|
||||||
|
|
||||||
vscode-encrypt/build/**
|
|
||||||
vscode-encrypt/src/**
|
|
||||||
vscode-encrypt/vendor/**
|
|
||||||
vscode-encrypt/.gitignore
|
|
||||||
vscode-encrypt/binding.gyp
|
|
||||||
vscode-encrypt/README.md
|
|
||||||
!vscode-encrypt/build/Release/vscode-encrypt-native.node
|
|
||||||
|
|
||||||
vscode-windows-ca-certs/**/*
|
|
||||||
!vscode-windows-ca-certs/package.json
|
|
||||||
!vscode-windows-ca-certs/**/*.node
|
|
||||||
|
|
||||||
node-addon-api/**/*
|
|
||||||
|
|
||||||
# other node modules
|
|
||||||
|
|
||||||
**/docs/**
|
|
||||||
**/example/**
|
|
||||||
**/examples/**
|
|
||||||
**/test/**
|
|
||||||
**/tests/**
|
|
||||||
|
|
||||||
**/History.md
|
|
||||||
**/CHANGELOG.md
|
|
||||||
**/README.md
|
|
||||||
**/readme.md
|
|
||||||
**/readme.markdown
|
|
||||||
|
|
||||||
**/*.ts
|
|
||||||
!typescript/**/*.d.ts
|
|
||||||
|
|
||||||
jschardet/dist/**
|
|
||||||
|
|
||||||
es6-promise/lib/**
|
|
||||||
|
|
||||||
vscode-textmate/webpack.config.js
|
|
||||||
|
|
||||||
zone.js/dist/**
|
|
||||||
!zone.js/dist/zone-node.js
|
|
||||||
|
|
||||||
# https://github.com/xtermjs/xterm.js/issues/3137
|
|
||||||
xterm/src/**
|
|
||||||
xterm/tsconfig.all.json
|
|
||||||
|
|
||||||
# https://github.com/xtermjs/xterm.js/issues/3138
|
|
||||||
xterm-addon-*/src/**
|
|
||||||
xterm-addon-*/fixtures/**
|
|
||||||
xterm-addon-*/out/**
|
|
||||||
xterm-addon-*/out-test/**
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
# cleanup rules for web node modules, .gitignore style
|
|
||||||
|
|
||||||
**/*.txt
|
|
||||||
**/*.json
|
|
||||||
**/*.md
|
|
||||||
**/*.d.ts
|
|
||||||
**/*.js.map
|
|
||||||
**/LICENSE
|
|
||||||
**/CONTRIBUTORS
|
|
||||||
|
|
||||||
**/docs/**
|
|
||||||
**/example/**
|
|
||||||
**/examples/**
|
|
||||||
|
|
||||||
jschardet/index.js
|
|
||||||
jschardet/src/**
|
|
||||||
jschardet/dist/jschardet.js
|
|
||||||
|
|
||||||
vscode-textmate/webpack.config.js
|
|
||||||
|
|
||||||
xterm/src/**
|
|
||||||
|
|
||||||
xterm-addon-search/src/**
|
|
||||||
xterm-addon-search/out/**
|
|
||||||
xterm-addon-search/fixtures/**
|
|
||||||
|
|
||||||
xterm-addon-unicode11/src/**
|
|
||||||
xterm-addon-unicode11/out/**
|
|
||||||
|
|
||||||
xterm-addon-webgl/src/**
|
|
||||||
xterm-addon-webgl/out/**
|
|
|
@ -1,25 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
'use strict';
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const fs = require("fs");
|
|
||||||
const path = require("path");
|
|
||||||
const crypto = require("crypto");
|
|
||||||
const { dirs } = require('../../npm/dirs');
|
|
||||||
const ROOT = path.join(__dirname, '../../../');
|
|
||||||
const shasum = crypto.createHash('sha1');
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, 'build/.cachesalt')));
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, '.yarnrc')));
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, 'remote/.yarnrc')));
|
|
||||||
// Add `yarn.lock` files
|
|
||||||
for (let dir of dirs) {
|
|
||||||
const yarnLockPath = path.join(ROOT, dir, 'yarn.lock');
|
|
||||||
shasum.update(fs.readFileSync(yarnLockPath));
|
|
||||||
}
|
|
||||||
// Add any other command line arguments
|
|
||||||
for (let i = 2; i < process.argv.length; i++) {
|
|
||||||
shasum.update(process.argv[i]);
|
|
||||||
}
|
|
||||||
process.stdout.write(shasum.digest('hex'));
|
|
|
@ -1,32 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import * as fs from 'fs';
|
|
||||||
import * as path from 'path';
|
|
||||||
import * as crypto from 'crypto';
|
|
||||||
const { dirs } = require('../../npm/dirs');
|
|
||||||
|
|
||||||
const ROOT = path.join(__dirname, '../../../');
|
|
||||||
|
|
||||||
const shasum = crypto.createHash('sha1');
|
|
||||||
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, 'build/.cachesalt')));
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, '.yarnrc')));
|
|
||||||
shasum.update(fs.readFileSync(path.join(ROOT, 'remote/.yarnrc')));
|
|
||||||
|
|
||||||
// Add `yarn.lock` files
|
|
||||||
for (let dir of dirs) {
|
|
||||||
const yarnLockPath = path.join(ROOT, dir, 'yarn.lock');
|
|
||||||
shasum.update(fs.readFileSync(yarnLockPath));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add any other command line arguments
|
|
||||||
for (let i = 2; i < process.argv.length; i++) {
|
|
||||||
shasum.update(process.argv[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
process.stdout.write(shasum.digest('hex'));
|
|
|
@ -1,197 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
'use strict';
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const fs = require("fs");
|
|
||||||
const url = require("url");
|
|
||||||
const crypto = require("crypto");
|
|
||||||
const azure = require("azure-storage");
|
|
||||||
const mime = require("mime");
|
|
||||||
const cosmos_1 = require("@azure/cosmos");
|
|
||||||
const retry_1 = require("./retry");
|
|
||||||
if (process.argv.length !== 8) {
|
|
||||||
console.error('Usage: node createAsset.js PRODUCT OS ARCH TYPE NAME FILE');
|
|
||||||
process.exit(-1);
|
|
||||||
}
|
|
||||||
// Contains all of the logic for mapping details to our actual product names in CosmosDB
|
|
||||||
function getPlatform(product, os, arch, type) {
|
|
||||||
switch (os) {
|
|
||||||
case 'win32':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
const asset = arch === 'ia32' ? 'win32' : `win32-${arch}`;
|
|
||||||
switch (type) {
|
|
||||||
case 'archive':
|
|
||||||
return `${asset}-archive`;
|
|
||||||
case 'setup':
|
|
||||||
return asset;
|
|
||||||
case 'user-setup':
|
|
||||||
return `${asset}-user`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'server':
|
|
||||||
if (arch === 'arm64') {
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return arch === 'ia32' ? 'server-win32' : `server-win32-${arch}`;
|
|
||||||
case 'web':
|
|
||||||
if (arch === 'arm64') {
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return arch === 'ia32' ? 'server-win32-web' : `server-win32-${arch}-web`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'linux':
|
|
||||||
switch (type) {
|
|
||||||
case 'snap':
|
|
||||||
return `linux-snap-${arch}`;
|
|
||||||
case 'archive-unsigned':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
return `linux-${arch}`;
|
|
||||||
case 'server':
|
|
||||||
return `server-linux-${arch}`;
|
|
||||||
case 'web':
|
|
||||||
return arch === 'standalone' ? 'web-standalone' : `server-linux-${arch}-web`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'deb-package':
|
|
||||||
return `linux-deb-${arch}`;
|
|
||||||
case 'rpm-package':
|
|
||||||
return `linux-rpm-${arch}`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'darwin':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
if (arch === 'x64') {
|
|
||||||
return 'darwin';
|
|
||||||
}
|
|
||||||
return `darwin-${arch}`;
|
|
||||||
case 'server':
|
|
||||||
return 'server-darwin';
|
|
||||||
case 'web':
|
|
||||||
if (arch !== 'x64') {
|
|
||||||
throw `What should the platform be?: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return 'server-darwin-web';
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Contains all of the logic for mapping types to our actual types in CosmosDB
|
|
||||||
function getRealType(type) {
|
|
||||||
switch (type) {
|
|
||||||
case 'user-setup':
|
|
||||||
return 'setup';
|
|
||||||
case 'deb-package':
|
|
||||||
case 'rpm-package':
|
|
||||||
return 'package';
|
|
||||||
default:
|
|
||||||
return type;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function hashStream(hashName, stream) {
|
|
||||||
return new Promise((c, e) => {
|
|
||||||
const shasum = crypto.createHash(hashName);
|
|
||||||
stream
|
|
||||||
.on('data', shasum.update.bind(shasum))
|
|
||||||
.on('error', e)
|
|
||||||
.on('close', () => c(shasum.digest('hex')));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
async function doesAssetExist(blobService, quality, blobName) {
|
|
||||||
const existsResult = await new Promise((c, e) => blobService.doesBlobExist(quality, blobName, (err, r) => err ? e(err) : c(r)));
|
|
||||||
return existsResult.exists;
|
|
||||||
}
|
|
||||||
async function uploadBlob(blobService, quality, blobName, filePath, fileName) {
|
|
||||||
const blobOptions = {
|
|
||||||
contentSettings: {
|
|
||||||
contentType: mime.lookup(filePath),
|
|
||||||
contentDisposition: `attachment; filename="${fileName}"`,
|
|
||||||
cacheControl: 'max-age=31536000, public'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
await new Promise((c, e) => blobService.createBlockBlobFromLocalFile(quality, blobName, filePath, blobOptions, err => err ? e(err) : c()));
|
|
||||||
}
|
|
||||||
function getEnv(name) {
|
|
||||||
const result = process.env[name];
|
|
||||||
if (typeof result === 'undefined') {
|
|
||||||
throw new Error('Missing env: ' + name);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
async function main() {
|
|
||||||
const [, , product, os, arch, unprocessedType, fileName, filePath] = process.argv;
|
|
||||||
// getPlatform needs the unprocessedType
|
|
||||||
const platform = getPlatform(product, os, arch, unprocessedType);
|
|
||||||
const type = getRealType(unprocessedType);
|
|
||||||
const quality = getEnv('VSCODE_QUALITY');
|
|
||||||
const commit = getEnv('BUILD_SOURCEVERSION');
|
|
||||||
console.log('Creating asset...');
|
|
||||||
const stat = await new Promise((c, e) => fs.stat(filePath, (err, stat) => err ? e(err) : c(stat)));
|
|
||||||
const size = stat.size;
|
|
||||||
console.log('Size:', size);
|
|
||||||
const stream = fs.createReadStream(filePath);
|
|
||||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]);
|
|
||||||
console.log('SHA1:', sha1hash);
|
|
||||||
console.log('SHA256:', sha256hash);
|
|
||||||
const blobName = commit + '/' + fileName;
|
|
||||||
const storageAccount = process.env['AZURE_STORAGE_ACCOUNT_2'];
|
|
||||||
const blobService = azure.createBlobService(storageAccount, process.env['AZURE_STORAGE_ACCESS_KEY_2'])
|
|
||||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
|
||||||
const blobExists = await doesAssetExist(blobService, quality, blobName);
|
|
||||||
if (blobExists) {
|
|
||||||
console.log(`Blob ${quality}, ${blobName} already exists, not publishing again.`);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const mooncakeBlobService = azure.createBlobService(storageAccount, process.env['MOONCAKE_STORAGE_ACCESS_KEY'], `${storageAccount}.blob.core.chinacloudapi.cn`)
|
|
||||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
|
||||||
// mooncake is fussy and far away, this is needed!
|
|
||||||
blobService.defaultClientRequestTimeoutInMs = 10 * 60 * 1000;
|
|
||||||
mooncakeBlobService.defaultClientRequestTimeoutInMs = 10 * 60 * 1000;
|
|
||||||
console.log('Uploading blobs to Azure storage and Mooncake Azure storage...');
|
|
||||||
await retry_1.retry(() => Promise.all([
|
|
||||||
uploadBlob(blobService, quality, blobName, filePath, fileName),
|
|
||||||
uploadBlob(mooncakeBlobService, quality, blobName, filePath, fileName)
|
|
||||||
]));
|
|
||||||
console.log('Blobs successfully uploaded.');
|
|
||||||
// TODO: Understand if blobName and blobPath are the same and replace blobPath with blobName if so.
|
|
||||||
const assetUrl = `${process.env['AZURE_CDN_URL']}/${quality}/${blobName}`;
|
|
||||||
const blobPath = url.parse(assetUrl).path;
|
|
||||||
const mooncakeUrl = `${process.env['MOONCAKE_CDN_URL']}${blobPath}`;
|
|
||||||
const asset = {
|
|
||||||
platform,
|
|
||||||
type,
|
|
||||||
url: assetUrl,
|
|
||||||
hash: sha1hash,
|
|
||||||
mooncakeUrl,
|
|
||||||
sha256hash,
|
|
||||||
size
|
|
||||||
};
|
|
||||||
// Remove this if we ever need to rollback fast updates for windows
|
|
||||||
if (/win32/.test(platform)) {
|
|
||||||
asset.supportsFastUpdate = true;
|
|
||||||
}
|
|
||||||
console.log('Asset:', JSON.stringify(asset, null, ' '));
|
|
||||||
const client = new cosmos_1.CosmosClient({ endpoint: process.env['AZURE_DOCUMENTDB_ENDPOINT'], key: process.env['AZURE_DOCUMENTDB_MASTERKEY'] });
|
|
||||||
const scripts = client.database('builds').container(quality).scripts;
|
|
||||||
await retry_1.retry(() => scripts.storedProcedure('createAsset').execute('', [commit, asset, true]));
|
|
||||||
console.log(` Done ✔️`);
|
|
||||||
}
|
|
||||||
main().then(() => {
|
|
||||||
console.log('Asset successfully created');
|
|
||||||
process.exit(0);
|
|
||||||
}, err => {
|
|
||||||
console.error(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
|
@ -1,243 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import * as fs from 'fs';
|
|
||||||
import * as url from 'url';
|
|
||||||
import { Readable } from 'stream';
|
|
||||||
import * as crypto from 'crypto';
|
|
||||||
import * as azure from 'azure-storage';
|
|
||||||
import * as mime from 'mime';
|
|
||||||
import { CosmosClient } from '@azure/cosmos';
|
|
||||||
import { retry } from './retry';
|
|
||||||
|
|
||||||
interface Asset {
|
|
||||||
platform: string;
|
|
||||||
type: string;
|
|
||||||
url: string;
|
|
||||||
mooncakeUrl?: string;
|
|
||||||
hash: string;
|
|
||||||
sha256hash: string;
|
|
||||||
size: number;
|
|
||||||
supportsFastUpdate?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (process.argv.length !== 8) {
|
|
||||||
console.error('Usage: node createAsset.js PRODUCT OS ARCH TYPE NAME FILE');
|
|
||||||
process.exit(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Contains all of the logic for mapping details to our actual product names in CosmosDB
|
|
||||||
function getPlatform(product: string, os: string, arch: string, type: string): string {
|
|
||||||
switch (os) {
|
|
||||||
case 'win32':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
const asset = arch === 'ia32' ? 'win32' : `win32-${arch}`;
|
|
||||||
switch (type) {
|
|
||||||
case 'archive':
|
|
||||||
return `${asset}-archive`;
|
|
||||||
case 'setup':
|
|
||||||
return asset;
|
|
||||||
case 'user-setup':
|
|
||||||
return `${asset}-user`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'server':
|
|
||||||
if (arch === 'arm64') {
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return arch === 'ia32' ? 'server-win32' : `server-win32-${arch}`;
|
|
||||||
case 'web':
|
|
||||||
if (arch === 'arm64') {
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return arch === 'ia32' ? 'server-win32-web' : `server-win32-${arch}-web`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'linux':
|
|
||||||
switch (type) {
|
|
||||||
case 'snap':
|
|
||||||
return `linux-snap-${arch}`;
|
|
||||||
case 'archive-unsigned':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
return `linux-${arch}`;
|
|
||||||
case 'server':
|
|
||||||
return `server-linux-${arch}`;
|
|
||||||
case 'web':
|
|
||||||
return arch === 'standalone' ? 'web-standalone' : `server-linux-${arch}-web`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'deb-package':
|
|
||||||
return `linux-deb-${arch}`;
|
|
||||||
case 'rpm-package':
|
|
||||||
return `linux-rpm-${arch}`;
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
case 'darwin':
|
|
||||||
switch (product) {
|
|
||||||
case 'client':
|
|
||||||
if (arch === 'x64') {
|
|
||||||
return 'darwin';
|
|
||||||
}
|
|
||||||
return `darwin-${arch}`;
|
|
||||||
case 'server':
|
|
||||||
return 'server-darwin';
|
|
||||||
case 'web':
|
|
||||||
if (arch !== 'x64') {
|
|
||||||
throw `What should the platform be?: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
return 'server-darwin-web';
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
throw `Unrecognized: ${product} ${os} ${arch} ${type}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Contains all of the logic for mapping types to our actual types in CosmosDB
|
|
||||||
function getRealType(type: string) {
|
|
||||||
switch (type) {
|
|
||||||
case 'user-setup':
|
|
||||||
return 'setup';
|
|
||||||
case 'deb-package':
|
|
||||||
case 'rpm-package':
|
|
||||||
return 'package';
|
|
||||||
default:
|
|
||||||
return type;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function hashStream(hashName: string, stream: Readable): Promise<string> {
|
|
||||||
return new Promise<string>((c, e) => {
|
|
||||||
const shasum = crypto.createHash(hashName);
|
|
||||||
|
|
||||||
stream
|
|
||||||
.on('data', shasum.update.bind(shasum))
|
|
||||||
.on('error', e)
|
|
||||||
.on('close', () => c(shasum.digest('hex')));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
async function doesAssetExist(blobService: azure.BlobService, quality: string, blobName: string): Promise<boolean | undefined> {
|
|
||||||
const existsResult = await new Promise<azure.BlobService.BlobResult>((c, e) => blobService.doesBlobExist(quality, blobName, (err, r) => err ? e(err) : c(r)));
|
|
||||||
return existsResult.exists;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function uploadBlob(blobService: azure.BlobService, quality: string, blobName: string, filePath: string, fileName: string): Promise<void> {
|
|
||||||
const blobOptions: azure.BlobService.CreateBlockBlobRequestOptions = {
|
|
||||||
contentSettings: {
|
|
||||||
contentType: mime.lookup(filePath),
|
|
||||||
contentDisposition: `attachment; filename="${fileName}"`,
|
|
||||||
cacheControl: 'max-age=31536000, public'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
await new Promise<void>((c, e) => blobService.createBlockBlobFromLocalFile(quality, blobName, filePath, blobOptions, err => err ? e(err) : c()));
|
|
||||||
}
|
|
||||||
|
|
||||||
function getEnv(name: string): string {
|
|
||||||
const result = process.env[name];
|
|
||||||
|
|
||||||
if (typeof result === 'undefined') {
|
|
||||||
throw new Error('Missing env: ' + name);
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function main(): Promise<void> {
|
|
||||||
const [, , product, os, arch, unprocessedType, fileName, filePath] = process.argv;
|
|
||||||
// getPlatform needs the unprocessedType
|
|
||||||
const platform = getPlatform(product, os, arch, unprocessedType);
|
|
||||||
const type = getRealType(unprocessedType);
|
|
||||||
const quality = getEnv('VSCODE_QUALITY');
|
|
||||||
const commit = getEnv('BUILD_SOURCEVERSION');
|
|
||||||
|
|
||||||
console.log('Creating asset...');
|
|
||||||
|
|
||||||
const stat = await new Promise<fs.Stats>((c, e) => fs.stat(filePath, (err, stat) => err ? e(err) : c(stat)));
|
|
||||||
const size = stat.size;
|
|
||||||
|
|
||||||
console.log('Size:', size);
|
|
||||||
|
|
||||||
const stream = fs.createReadStream(filePath);
|
|
||||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]);
|
|
||||||
|
|
||||||
console.log('SHA1:', sha1hash);
|
|
||||||
console.log('SHA256:', sha256hash);
|
|
||||||
|
|
||||||
const blobName = commit + '/' + fileName;
|
|
||||||
const storageAccount = process.env['AZURE_STORAGE_ACCOUNT_2']!;
|
|
||||||
|
|
||||||
const blobService = azure.createBlobService(storageAccount, process.env['AZURE_STORAGE_ACCESS_KEY_2']!)
|
|
||||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
|
||||||
|
|
||||||
const blobExists = await doesAssetExist(blobService, quality, blobName);
|
|
||||||
|
|
||||||
if (blobExists) {
|
|
||||||
console.log(`Blob ${quality}, ${blobName} already exists, not publishing again.`);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const mooncakeBlobService = azure.createBlobService(storageAccount, process.env['MOONCAKE_STORAGE_ACCESS_KEY']!, `${storageAccount}.blob.core.chinacloudapi.cn`)
|
|
||||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
|
||||||
|
|
||||||
// mooncake is fussy and far away, this is needed!
|
|
||||||
blobService.defaultClientRequestTimeoutInMs = 10 * 60 * 1000;
|
|
||||||
mooncakeBlobService.defaultClientRequestTimeoutInMs = 10 * 60 * 1000;
|
|
||||||
|
|
||||||
console.log('Uploading blobs to Azure storage and Mooncake Azure storage...');
|
|
||||||
|
|
||||||
await retry(() => Promise.all([
|
|
||||||
uploadBlob(blobService, quality, blobName, filePath, fileName),
|
|
||||||
uploadBlob(mooncakeBlobService, quality, blobName, filePath, fileName)
|
|
||||||
]));
|
|
||||||
|
|
||||||
console.log('Blobs successfully uploaded.');
|
|
||||||
|
|
||||||
// TODO: Understand if blobName and blobPath are the same and replace blobPath with blobName if so.
|
|
||||||
const assetUrl = `${process.env['AZURE_CDN_URL']}/${quality}/${blobName}`;
|
|
||||||
const blobPath = url.parse(assetUrl).path;
|
|
||||||
const mooncakeUrl = `${process.env['MOONCAKE_CDN_URL']}${blobPath}`;
|
|
||||||
|
|
||||||
const asset: Asset = {
|
|
||||||
platform,
|
|
||||||
type,
|
|
||||||
url: assetUrl,
|
|
||||||
hash: sha1hash,
|
|
||||||
mooncakeUrl,
|
|
||||||
sha256hash,
|
|
||||||
size
|
|
||||||
};
|
|
||||||
|
|
||||||
// Remove this if we ever need to rollback fast updates for windows
|
|
||||||
if (/win32/.test(platform)) {
|
|
||||||
asset.supportsFastUpdate = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('Asset:', JSON.stringify(asset, null, ' '));
|
|
||||||
|
|
||||||
const client = new CosmosClient({ endpoint: process.env['AZURE_DOCUMENTDB_ENDPOINT']!, key: process.env['AZURE_DOCUMENTDB_MASTERKEY'] });
|
|
||||||
const scripts = client.database('builds').container(quality).scripts;
|
|
||||||
await retry(() => scripts.storedProcedure('createAsset').execute('', [commit, asset, true]));
|
|
||||||
|
|
||||||
console.log(` Done ✔️`);
|
|
||||||
}
|
|
||||||
|
|
||||||
main().then(() => {
|
|
||||||
console.log('Asset successfully created');
|
|
||||||
process.exit(0);
|
|
||||||
}, err => {
|
|
||||||
console.error(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
|
@ -1,51 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
'use strict';
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const cosmos_1 = require("@azure/cosmos");
|
|
||||||
const retry_1 = require("./retry");
|
|
||||||
if (process.argv.length !== 3) {
|
|
||||||
console.error('Usage: node createBuild.js VERSION');
|
|
||||||
process.exit(-1);
|
|
||||||
}
|
|
||||||
function getEnv(name) {
|
|
||||||
const result = process.env[name];
|
|
||||||
if (typeof result === 'undefined') {
|
|
||||||
throw new Error('Missing env: ' + name);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
async function main() {
|
|
||||||
const [, , _version] = process.argv;
|
|
||||||
const quality = getEnv('VSCODE_QUALITY');
|
|
||||||
const commit = getEnv('BUILD_SOURCEVERSION');
|
|
||||||
const queuedBy = getEnv('BUILD_QUEUEDBY');
|
|
||||||
const sourceBranch = getEnv('BUILD_SOURCEBRANCH');
|
|
||||||
const version = _version + (quality === 'stable' ? '' : `-${quality}`);
|
|
||||||
console.log('Creating build...');
|
|
||||||
console.log('Quality:', quality);
|
|
||||||
console.log('Version:', version);
|
|
||||||
console.log('Commit:', commit);
|
|
||||||
const build = {
|
|
||||||
id: commit,
|
|
||||||
timestamp: (new Date()).getTime(),
|
|
||||||
version,
|
|
||||||
isReleased: false,
|
|
||||||
sourceBranch,
|
|
||||||
queuedBy,
|
|
||||||
assets: [],
|
|
||||||
updates: {}
|
|
||||||
};
|
|
||||||
const client = new cosmos_1.CosmosClient({ endpoint: process.env['AZURE_DOCUMENTDB_ENDPOINT'], key: process.env['AZURE_DOCUMENTDB_MASTERKEY'] });
|
|
||||||
const scripts = client.database('builds').container(quality).scripts;
|
|
||||||
await retry_1.retry(() => scripts.storedProcedure('createBuild').execute('', [Object.assign(Object.assign({}, build), { _partitionKey: '' })]));
|
|
||||||
}
|
|
||||||
main().then(() => {
|
|
||||||
console.log('Build successfully created');
|
|
||||||
process.exit(0);
|
|
||||||
}, err => {
|
|
||||||
console.error(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { CosmosClient } from '@azure/cosmos';
|
|
||||||
import { retry } from './retry';
|
|
||||||
|
|
||||||
if (process.argv.length !== 3) {
|
|
||||||
console.error('Usage: node createBuild.js VERSION');
|
|
||||||
process.exit(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getEnv(name: string): string {
|
|
||||||
const result = process.env[name];
|
|
||||||
|
|
||||||
if (typeof result === 'undefined') {
|
|
||||||
throw new Error('Missing env: ' + name);
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function main(): Promise<void> {
|
|
||||||
const [, , _version] = process.argv;
|
|
||||||
const quality = getEnv('VSCODE_QUALITY');
|
|
||||||
const commit = getEnv('BUILD_SOURCEVERSION');
|
|
||||||
const queuedBy = getEnv('BUILD_QUEUEDBY');
|
|
||||||
const sourceBranch = getEnv('BUILD_SOURCEBRANCH');
|
|
||||||
const version = _version + (quality === 'stable' ? '' : `-${quality}`);
|
|
||||||
|
|
||||||
console.log('Creating build...');
|
|
||||||
console.log('Quality:', quality);
|
|
||||||
console.log('Version:', version);
|
|
||||||
console.log('Commit:', commit);
|
|
||||||
|
|
||||||
const build = {
|
|
||||||
id: commit,
|
|
||||||
timestamp: (new Date()).getTime(),
|
|
||||||
version,
|
|
||||||
isReleased: false,
|
|
||||||
sourceBranch,
|
|
||||||
queuedBy,
|
|
||||||
assets: [],
|
|
||||||
updates: {}
|
|
||||||
};
|
|
||||||
|
|
||||||
const client = new CosmosClient({ endpoint: process.env['AZURE_DOCUMENTDB_ENDPOINT']!, key: process.env['AZURE_DOCUMENTDB_MASTERKEY'] });
|
|
||||||
const scripts = client.database('builds').container(quality).scripts;
|
|
||||||
await retry(() => scripts.storedProcedure('createBuild').execute('', [{ ...build, _partitionKey: '' }]));
|
|
||||||
}
|
|
||||||
|
|
||||||
main().then(() => {
|
|
||||||
console.log('Build successfully created');
|
|
||||||
process.exit(0);
|
|
||||||
}, err => {
|
|
||||||
console.error(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd $BUILD_STAGINGDIRECTORY
|
|
||||||
mkdir extraction
|
|
||||||
cd extraction
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-extension-telemetry.git
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-chrome-debug-core.git
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-node-debug2.git
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-node-debug.git
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-html-languageservice.git
|
|
||||||
git clone --depth 1 https://github.com/microsoft/vscode-json-languageservice.git
|
|
||||||
node $BUILD_SOURCESDIRECTORY/node_modules/.bin/vscode-telemetry-extractor --sourceDir $BUILD_SOURCESDIRECTORY --excludedDir $BUILD_SOURCESDIRECTORY/extensions --outputDir . --applyEndpoints
|
|
||||||
node $BUILD_SOURCESDIRECTORY/node_modules/.bin/vscode-telemetry-extractor --config $BUILD_SOURCESDIRECTORY/build/azure-pipelines/common/telemetry-config.json -o .
|
|
||||||
mkdir -p $BUILD_SOURCESDIRECTORY/.build/telemetry
|
|
||||||
mv declarations-resolved.json $BUILD_SOURCESDIRECTORY/.build/telemetry/telemetry-core.json
|
|
||||||
mv config-resolved.json $BUILD_SOURCESDIRECTORY/.build/telemetry/telemetry-extensions.json
|
|
||||||
cd ..
|
|
||||||
rm -rf extraction
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue