mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-23 11:30:14 +10:00
Compare commits
52 Commits
1.88.1.241
...
1.93.1.242
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30ee9c1f69 | ||
|
|
e336b1a3ff | ||
|
|
b520aa1b9b | ||
|
|
237be4bef0 | ||
|
|
318f111ff7 | ||
|
|
be2896f6f9 | ||
|
|
ae80c0cd05 | ||
|
|
4aa7ec7928 | ||
|
|
41b1e88740 | ||
|
|
9d70d6b0a2 | ||
|
|
a01f36bf8c | ||
|
|
7538e45f92 | ||
|
|
51f2ec84c1 | ||
|
|
092d1404e3 | ||
|
|
b70e809fb6 | ||
|
|
8451268bb4 | ||
|
|
f1bf0000b4 | ||
|
|
baa7fe4155 | ||
|
|
1709f8b501 | ||
|
|
aed67b3d81 | ||
|
|
60ebbedbf8 | ||
|
|
5a769efcb9 | ||
|
|
0c31a54dea | ||
|
|
8c9acad540 | ||
|
|
ffd7e631b0 | ||
|
|
8f2868d2ea | ||
|
|
6a38a6e9db | ||
|
|
7b846f5dd1 | ||
|
|
a652d7a26b | ||
|
|
a7c7014502 | ||
|
|
b5bbda7208 | ||
|
|
c3064a2cb3 | ||
|
|
3860f2832c | ||
|
|
8e077dc483 | ||
|
|
c703bf5868 | ||
|
|
b39a7be7a8 | ||
|
|
11b7b8dc40 | ||
|
|
e8a3ac3cab | ||
|
|
73ba20791e | ||
|
|
b6411b1af1 | ||
|
|
02a9d03154 | ||
|
|
f93746b300 | ||
|
|
0d28b4dfb7 | ||
|
|
39df447b12 | ||
|
|
ac0f6f2011 | ||
|
|
c8a5d87903 | ||
|
|
7733660b8a | ||
|
|
193d8e0a44 | ||
|
|
6c180b2903 | ||
|
|
07b7cb95cf | ||
|
|
a1f3d6ff6c | ||
|
|
ab01a1aa00 |
40
.github/workflows/insider-linux.yml
vendored
40
.github/workflows/insider-linux.yml
vendored
@@ -24,6 +24,7 @@ on:
|
|||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
||||||
APP_NAME: VSCodium
|
APP_NAME: VSCodium
|
||||||
ASSETS_REPOSITORY: ${{ github.repository }}-insiders
|
ASSETS_REPOSITORY: ${{ github.repository }}-insiders
|
||||||
BINARY_NAME: codium-insiders
|
BINARY_NAME: codium-insiders
|
||||||
@@ -61,6 +62,7 @@ jobs:
|
|||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ALL: 'yes'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
@@ -99,7 +101,7 @@ jobs:
|
|||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
@@ -111,6 +113,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
SHOULD_BUILD_REH: 'no'
|
SHOULD_BUILD_REH: 'no'
|
||||||
|
SHOULD_BUILD_REH_WEB: 'no'
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
@@ -141,13 +144,16 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- vscode_arch: x64
|
- vscode_arch: x64
|
||||||
npm_arch: x64
|
npm_arch: x64
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-x64
|
image: vscodium/vscodium-linux-build-agent:focal-x64
|
||||||
- vscode_arch: arm64
|
- vscode_arch: arm64
|
||||||
npm_arch: arm64
|
npm_arch: arm64
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-arm64
|
image: vscodium/vscodium-linux-build-agent:focal-arm64
|
||||||
- vscode_arch: armhf
|
- vscode_arch: armhf
|
||||||
npm_arch: arm
|
npm_arch: arm
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-armhf
|
image: vscodium/vscodium-linux-build-agent:focal-armhf
|
||||||
|
- vscode_arch: riscv64
|
||||||
|
npm_arch: riscv64
|
||||||
|
image: vscodium/vscodium-linux-build-agent:focal-riscv64
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
env:
|
env:
|
||||||
@@ -175,13 +181,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
CHECK_REH: 'no'
|
CHECK_REH: 'no'
|
||||||
|
DISABLE_APPIMAGE: ${{ vars.DISABLE_INSIDER_APPIMAGE }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
@@ -200,6 +207,7 @@ jobs:
|
|||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
env:
|
env:
|
||||||
SHOULD_BUILD_REH: 'no'
|
SHOULD_BUILD_REH: 'no'
|
||||||
|
SHOULD_BUILD_REH_WEB: 'no'
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||||
|
|
||||||
@@ -241,8 +249,10 @@ jobs:
|
|||||||
npm_arch: arm64
|
npm_arch: arm64
|
||||||
- vscode_arch: armhf
|
- vscode_arch: armhf
|
||||||
npm_arch: arm
|
npm_arch: arm
|
||||||
# - vscode_arch: ppc64le
|
- vscode_arch: ppc64le
|
||||||
# npm_arch: ppc64
|
npm_arch: ppc64
|
||||||
|
- vscode_arch: riscv64
|
||||||
|
npm_arch: riscv64
|
||||||
env:
|
env:
|
||||||
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
||||||
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
||||||
@@ -269,7 +279,7 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
|
|
||||||
- name: Install GH
|
- name: Install GH
|
||||||
run: ./install_gh.sh
|
run: ./install_gh.sh
|
||||||
@@ -285,21 +295,21 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vscode
|
name: vscode
|
||||||
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
if: env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
npm_config_arch: ${{ matrix.npm_arch }}
|
npm_config_arch: ${{ matrix.npm_arch }}
|
||||||
run: ./package_linux_reh.sh
|
run: ./package_linux_reh.sh
|
||||||
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
if: env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true'
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
||||||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||||
run: ./release.sh
|
run: ./release.sh
|
||||||
if: env.SHOULD_BUILD_REH != 'no' && env.SHOULD_DEPLOY == 'yes'
|
if: (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no') && env.SHOULD_DEPLOY == 'yes'
|
||||||
|
|
||||||
- name: Upload assets
|
- name: Upload assets
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -326,6 +336,7 @@ jobs:
|
|||||||
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
||||||
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
||||||
MS_TAG: ${{ needs.check.outputs.MS_TAG }}
|
MS_TAG: ${{ needs.check.outputs.MS_TAG }}
|
||||||
|
OS_NAME: alpine
|
||||||
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
||||||
SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
|
SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
|
||||||
SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
|
SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
|
||||||
@@ -348,7 +359,7 @@ jobs:
|
|||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
@@ -414,13 +425,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
||||||
|
SNAP_NAME: codium-insiders
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
|
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_INSIDER_SNAP != 'yes'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
14
.github/workflows/insider-macos.yml
vendored
14
.github/workflows/insider-macos.yml
vendored
@@ -42,7 +42,8 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- runner: macos-12
|
- runner: macos-12
|
||||||
vscode_arch: x64
|
vscode_arch: x64
|
||||||
- runner: macos-14
|
# - runner: macos-14
|
||||||
|
- runner: [self-hosted, macOS, ARM64]
|
||||||
vscode_arch: arm64
|
vscode_arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -53,12 +54,13 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.17'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Setup Python 3
|
- name: Setup Python 3
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
if: env.VSCODE_ARCH == 'x64'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
env:
|
env:
|
||||||
@@ -84,9 +86,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
env:
|
env:
|
||||||
CERTIFICATE_OSX_P12: ${{ secrets.CERTIFICATE_OSX_P12 }}
|
CERTIFICATE_OSX_APP_PASSWORD: ${{ secrets.CERTIFICATE_OSX_NEW_APP_PASSWORD }}
|
||||||
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_NEW_ID }}
|
||||||
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
CERTIFICATE_OSX_P12_DATA: ${{ secrets.CERTIFICATE_OSX_NEW_P12_DATA }}
|
||||||
|
CERTIFICATE_OSX_P12_PASSWORD: ${{ secrets.CERTIFICATE_OSX_NEW_P12_PASSWORD }}
|
||||||
|
CERTIFICATE_OSX_TEAM_ID: ${{ secrets.CERTIFICATE_OSX_NEW_TEAM_ID }}
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/insider-spearhead.yml
vendored
2
.github/workflows/insider-spearhead.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
run: . get_repo.sh
|
run: . get_repo.sh
|
||||||
|
|||||||
4
.github/workflows/insider-windows.yml
vendored
4
.github/workflows/insider-windows.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.17'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Install Yarn
|
- name: Install Yarn
|
||||||
run: npm install -g yarn
|
run: npm install -g yarn
|
||||||
@@ -141,7 +141,7 @@ jobs:
|
|||||||
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
|
||||||
|
|
||||||
- name: Release to WinGet
|
- name: Release to WinGet
|
||||||
uses: vedantmgoyal2009/winget-releaser@v2
|
uses: vedantmgoyal9/winget-releaser@main
|
||||||
with:
|
with:
|
||||||
identifier: ${{ env.APP_IDENTIFIER }}
|
identifier: ${{ env.APP_IDENTIFIER }}
|
||||||
version: ${{ env.RELEASE_VERSION }}
|
version: ${{ env.RELEASE_VERSION }}
|
||||||
|
|||||||
42
.github/workflows/stable-linux.yml
vendored
42
.github/workflows/stable-linux.yml
vendored
@@ -24,6 +24,7 @@ on:
|
|||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
||||||
APP_NAME: VSCodium
|
APP_NAME: VSCodium
|
||||||
ASSETS_REPOSITORY: ${{ github.repository }}
|
ASSETS_REPOSITORY: ${{ github.repository }}
|
||||||
BINARY_NAME: codium
|
BINARY_NAME: codium
|
||||||
@@ -60,6 +61,7 @@ jobs:
|
|||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ALL: 'yes'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
@@ -98,7 +100,7 @@ jobs:
|
|||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
@@ -110,6 +112,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
SHOULD_BUILD_REH: 'no'
|
SHOULD_BUILD_REH: 'no'
|
||||||
|
SHOULD_BUILD_REH_WEB: 'no'
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
@@ -140,13 +143,16 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- vscode_arch: x64
|
- vscode_arch: x64
|
||||||
npm_arch: x64
|
npm_arch: x64
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-x64
|
image: vscodium/vscodium-linux-build-agent:focal-x64
|
||||||
- vscode_arch: arm64
|
- vscode_arch: arm64
|
||||||
npm_arch: arm64
|
npm_arch: arm64
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-arm64
|
image: vscodium/vscodium-linux-build-agent:focal-arm64
|
||||||
- vscode_arch: armhf
|
- vscode_arch: armhf
|
||||||
npm_arch: arm
|
npm_arch: arm
|
||||||
image: vscodium/vscodium-linux-build-agent:bionic-armhf
|
image: vscodium/vscodium-linux-build-agent:focal-armhf
|
||||||
|
- vscode_arch: riscv64
|
||||||
|
npm_arch: riscv64
|
||||||
|
image: vscodium/vscodium-linux-build-agent:focal-riscv64
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
env:
|
env:
|
||||||
@@ -174,13 +180,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
CHECK_REH: 'no'
|
CHECK_REH: 'no'
|
||||||
|
DISABLE_APPIMAGE: ${{ vars.DISABLE_STABLE_APPIMAGE }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
@@ -199,6 +206,7 @@ jobs:
|
|||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
env:
|
env:
|
||||||
SHOULD_BUILD_REH: 'no'
|
SHOULD_BUILD_REH: 'no'
|
||||||
|
SHOULD_BUILD_REH_WEB: 'no'
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||||
|
|
||||||
@@ -240,8 +248,10 @@ jobs:
|
|||||||
npm_arch: arm64
|
npm_arch: arm64
|
||||||
- vscode_arch: armhf
|
- vscode_arch: armhf
|
||||||
npm_arch: arm
|
npm_arch: arm
|
||||||
# - vscode_arch: ppc64le
|
- vscode_arch: ppc64le
|
||||||
# npm_arch: ppc64
|
npm_arch: ppc64
|
||||||
|
- vscode_arch: riscv64
|
||||||
|
npm_arch: riscv64
|
||||||
env:
|
env:
|
||||||
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
||||||
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
||||||
@@ -268,7 +278,7 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
|
|
||||||
- name: Install GH
|
- name: Install GH
|
||||||
run: ./install_gh.sh
|
run: ./install_gh.sh
|
||||||
@@ -284,21 +294,21 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vscode
|
name: vscode
|
||||||
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
if: env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
npm_config_arch: ${{ matrix.npm_arch }}
|
npm_config_arch: ${{ matrix.npm_arch }}
|
||||||
run: ./package_linux_reh.sh
|
run: ./package_linux_reh.sh
|
||||||
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
if: env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true'
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
||||||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||||
run: ./release.sh
|
run: ./release.sh
|
||||||
if: env.SHOULD_BUILD_REH != 'no' && env.SHOULD_DEPLOY == 'yes'
|
if: (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no') && env.SHOULD_DEPLOY == 'yes'
|
||||||
|
|
||||||
- name: Upload assets
|
- name: Upload assets
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -325,6 +335,7 @@ jobs:
|
|||||||
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
|
||||||
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
|
||||||
MS_TAG: ${{ needs.check.outputs.MS_TAG }}
|
MS_TAG: ${{ needs.check.outputs.MS_TAG }}
|
||||||
|
OS_NAME: alpine
|
||||||
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
||||||
SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
|
SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
|
||||||
SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
|
SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
|
||||||
@@ -347,7 +358,7 @@ jobs:
|
|||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
- name: Install libkrb5-dev
|
- name: Install libkrb5-dev
|
||||||
run: sudo apt-get install -y libkrb5-dev
|
run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
@@ -410,13 +421,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
|
||||||
|
SNAP_NAME: codium
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
|
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_STABLE_SNAP != 'yes'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -457,7 +469,7 @@ jobs:
|
|||||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
|
||||||
with:
|
with:
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
snap: ${{ steps.build.outputs.snap }}
|
||||||
release: stable
|
release: ${{ vars.SNAP_STORE_CHANNEL }}
|
||||||
if: env.SHOULD_DEPLOY_TO_STORE == 'yes'
|
if: env.SHOULD_DEPLOY_TO_STORE == 'yes'
|
||||||
|
|
||||||
deb-rpm-repo-hook:
|
deb-rpm-repo-hook:
|
||||||
|
|||||||
14
.github/workflows/stable-macos.yml
vendored
14
.github/workflows/stable-macos.yml
vendored
@@ -41,7 +41,8 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- runner: macos-12
|
- runner: macos-12
|
||||||
vscode_arch: x64
|
vscode_arch: x64
|
||||||
- runner: macos-14
|
# - runner: macos-14
|
||||||
|
- runner: [self-hosted, macOS, ARM64]
|
||||||
vscode_arch: arm64
|
vscode_arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -50,12 +51,13 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.17'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Setup Python 3
|
- name: Setup Python 3
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
if: env.VSCODE_ARCH == 'x64'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
env:
|
env:
|
||||||
@@ -81,9 +83,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
env:
|
env:
|
||||||
CERTIFICATE_OSX_P12: ${{ secrets.CERTIFICATE_OSX_P12 }}
|
CERTIFICATE_OSX_APP_PASSWORD: ${{ secrets.CERTIFICATE_OSX_NEW_APP_PASSWORD }}
|
||||||
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_NEW_ID }}
|
||||||
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
CERTIFICATE_OSX_P12_DATA: ${{ secrets.CERTIFICATE_OSX_NEW_P12_DATA }}
|
||||||
|
CERTIFICATE_OSX_P12_PASSWORD: ${{ secrets.CERTIFICATE_OSX_NEW_P12_PASSWORD }}
|
||||||
|
CERTIFICATE_OSX_TEAM_ID: ${{ secrets.CERTIFICATE_OSX_NEW_TEAM_ID }}
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/stable-spearhead.yml
vendored
2
.github/workflows/stable-spearhead.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
run: . get_repo.sh
|
run: . get_repo.sh
|
||||||
|
|||||||
4
.github/workflows/stable-windows.yml
vendored
4
.github/workflows/stable-windows.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.17'
|
node-version: '20.12'
|
||||||
|
|
||||||
- name: Install Yarn
|
- name: Install Yarn
|
||||||
run: npm install -g yarn
|
run: npm install -g yarn
|
||||||
@@ -136,7 +136,7 @@ jobs:
|
|||||||
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
|
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
|
||||||
|
|
||||||
- name: Release to WinGet
|
- name: Release to WinGet
|
||||||
uses: vedantmgoyal2009/winget-releaser@v2
|
uses: vedantmgoyal9/winget-releaser@main
|
||||||
with:
|
with:
|
||||||
identifier: ${{ env.APP_IDENTIFIER }}
|
identifier: ${{ env.APP_IDENTIFIER }}
|
||||||
version: ${{ env.RELEASE_VERSION }}
|
version: ${{ env.RELEASE_VERSION }}
|
||||||
|
|||||||
@@ -190,10 +190,6 @@ The minimal version is limited by the core component Electron, you may want to c
|
|||||||
- [x] Windows 10 / Server 2012 R2 or newer x64
|
- [x] Windows 10 / Server 2012 R2 or newer x64
|
||||||
- [x] Windows 10 / Server 2012 R2 or newer arm64
|
- [x] Windows 10 / Server 2012 R2 or newer arm64
|
||||||
|
|
||||||
## <a id="donate"></a>Donate
|
|
||||||
|
|
||||||
If you would like to support the development of VSCodium, feel free to send BTC to `3PgjE95yzBDTrSPxPiqoxSgZFuKPPAix1N` (<a href="https://github.com/stripedpajamas" target="_blank">@stripedpajamas</a>).
|
|
||||||
|
|
||||||
## <a id="thanks"></a>Special thanks
|
## <a id="thanks"></a>Special thanks
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
@@ -209,6 +205,10 @@ If you would like to support the development of VSCodium, feel free to send BTC
|
|||||||
<td><a href="https://www.macstadium.com" target="_blank"><img src="https://images.prismic.io/macstadium/66fbce64-707e-41f3-b547-241908884716_MacStadium_Logo.png?w=128&q=75" width="128" height="49" alt="MacStadium logo" /></a></td>
|
<td><a href="https://www.macstadium.com" target="_blank"><img src="https://images.prismic.io/macstadium/66fbce64-707e-41f3-b547-241908884716_MacStadium_Logo.png?w=128&q=75" width="128" height="49" alt="MacStadium logo" /></a></td>
|
||||||
<td>for providing a Mac mini M1</td>
|
<td>for providing a Mac mini M1</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://github.com/daiyam" target="_blank">@daiyam</a></td>
|
||||||
|
<td>for macOS certificate</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
## <a id="license"></a>License
|
## <a id="license"></a>License
|
||||||
|
|||||||
@@ -1,2 +1,7 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"id": "#1227",
|
||||||
|
"title": "Issue(macOS): manual update to `1.90.x`",
|
||||||
|
"url": "https://github.com/VSCodium/vscodium/issues/1917"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
10
build.sh
10
build.sh
@@ -35,6 +35,7 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
|
|||||||
|
|
||||||
if [[ "${VSCODE_ARCH}" != "ia32" && "${VSCODE_ARCH}" != "x64" ]]; then
|
if [[ "${VSCODE_ARCH}" != "ia32" && "${VSCODE_ARCH}" != "x64" ]]; then
|
||||||
SHOULD_BUILD_REH="no"
|
SHOULD_BUILD_REH="no"
|
||||||
|
SHOULD_BUILD_REH_WEB="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VSCODE_PLATFORM="win32"
|
VSCODE_PLATFORM="win32"
|
||||||
@@ -50,13 +51,14 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
|
if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
|
||||||
if [[ "${OS_NAME}" == "linux" ]]; then
|
|
||||||
export VSCODE_NODE_GLIBC='-glibc-2.17'
|
|
||||||
fi
|
|
||||||
|
|
||||||
yarn gulp minify-vscode-reh
|
yarn gulp minify-vscode-reh
|
||||||
yarn gulp "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
yarn gulp "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
|
||||||
|
yarn gulp minify-vscode-reh-web
|
||||||
|
yarn gulp "vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
||||||
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ if [[ "${UNAME_ARCH}" == "arm64" ]]; then
|
|||||||
export VSCODE_ARCH="arm64"
|
export VSCODE_ARCH="arm64"
|
||||||
elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then
|
elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then
|
||||||
export VSCODE_ARCH="ppc64le"
|
export VSCODE_ARCH="ppc64le"
|
||||||
|
elif [[ "${UNAME_ARCH}" == "riscv64" ]]; then
|
||||||
|
export VSCODE_ARCH="riscv64"
|
||||||
else
|
else
|
||||||
export VSCODE_ARCH="x64"
|
export VSCODE_ARCH="x64"
|
||||||
fi
|
fi
|
||||||
@@ -118,5 +120,11 @@ if [[ "${SKIP_ASSETS}" == "no" ]]; then
|
|||||||
rm -rf build/windows/msi/releasedir
|
rm -rf build/windows/msi/releasedir
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${OS_NAME}" == "osx" && -f "./macos-codesign.env" ]]; then
|
||||||
|
. macos-codesign.env
|
||||||
|
|
||||||
|
echo "CERTIFICATE_OSX_ID: ${CERTIFICATE_OSX_ID}"
|
||||||
|
fi
|
||||||
|
|
||||||
. prepare_assets.sh
|
. prepare_assets.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -12,69 +12,41 @@ while getopts ":i" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
check_file() {
|
||||||
|
if [[ -f "${1}" ]]; then
|
||||||
|
echo applying patch: "${1}"
|
||||||
|
if ! git apply --ignore-whitespace "${1}"; then
|
||||||
|
echo failed to apply patch "${1}"
|
||||||
|
|
||||||
|
git apply --reject "${1}"
|
||||||
|
git apply --reject "../patches/helper/settings.patch"
|
||||||
|
|
||||||
|
read -rp "Press any key when the conflict have been resolved..." -n1 -s
|
||||||
|
|
||||||
|
git restore .vscode/settings.json
|
||||||
|
git add .
|
||||||
|
git diff --staged -U1 > "${1}"
|
||||||
|
fi
|
||||||
|
git add .
|
||||||
|
git reset -q --hard HEAD
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git reset -q --hard HEAD
|
git reset -q --hard HEAD
|
||||||
|
|
||||||
for FILE in ../patches/*.patch; do
|
for FILE in ../patches/*.patch; do
|
||||||
if [[ -f "${FILE}" ]]; then
|
check_file "${FILE}"
|
||||||
echo applying patch: "${FILE}"
|
|
||||||
if ! git apply --ignore-whitespace "${FILE}"; then
|
|
||||||
echo failed to apply patch "${FILE}"
|
|
||||||
|
|
||||||
git apply --reject "${FILE}"
|
|
||||||
git apply --reject "../patches/helper/settings.patch"
|
|
||||||
|
|
||||||
read -rp "Press any key when the conflict have been resolved..." -n1 -s
|
|
||||||
|
|
||||||
git restore .vscode/settings.json
|
|
||||||
git add .
|
|
||||||
git diff --staged -U1 > "${FILE}"
|
|
||||||
fi
|
|
||||||
git add .
|
|
||||||
git reset -q --hard HEAD
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
||||||
for FILE in ../patches/insider/*.patch; do
|
for FILE in ../patches/insider/*.patch; do
|
||||||
if [[ -f "${FILE}" ]]; then
|
check_file "${FILE}"
|
||||||
echo applying patch: "${FILE}"
|
|
||||||
if ! git apply --ignore-whitespace "${FILE}"; then
|
|
||||||
echo failed to apply patch "${FILE}"
|
|
||||||
|
|
||||||
git apply --reject "${FILE}"
|
|
||||||
git apply --reject "../patches/helper/settings.patch"
|
|
||||||
|
|
||||||
read -rp "Press any key when the conflict have been resolved..." -n1 -s
|
|
||||||
|
|
||||||
git restore .vscode/settings.json
|
|
||||||
git add .
|
|
||||||
git diff --staged -U1 > "${FILE}"
|
|
||||||
fi
|
|
||||||
git add .
|
|
||||||
git reset -q --hard HEAD
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for FILE in ../patches/linux/*.patch; do
|
for FILE in ../patches/linux/*/*.patch; do
|
||||||
if [[ -f "${FILE}" ]]; then
|
check_file "${FILE}"
|
||||||
echo applying patch: "${FILE}"
|
|
||||||
if ! git apply --ignore-whitespace "${FILE}"; then
|
|
||||||
echo failed to apply patch "${FILE}"
|
|
||||||
|
|
||||||
git apply --reject "${FILE}"
|
|
||||||
git apply --reject "../patches/helper/settings.patch"
|
|
||||||
|
|
||||||
read -rp "Press any key when the conflict have been resolved..." -n1 -s
|
|
||||||
|
|
||||||
git restore .vscode/settings.json
|
|
||||||
git add .
|
|
||||||
git diff --staged -U1 > "${FILE}"
|
|
||||||
fi
|
|
||||||
git add .
|
|
||||||
git reset -q --hard HEAD
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|||||||
198
check_tags.sh
198
check_tags.sh
@@ -3,16 +3,26 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [[ -z "${GITHUB_TOKEN}" ]]; then
|
if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then
|
||||||
echo "Will not build because no GITHUB_TOKEN defined"
|
echo "Will not build because no GITHUB_TOKEN defined"
|
||||||
exit 0
|
exit 0
|
||||||
|
else
|
||||||
|
GITHUB_TOKEN="${GH_TOKEN:-${GITHUB_TOKEN:-${GH_ENTERPRISE_TOKEN:-${GITHUB_ENTERPRISE_TOKEN}}}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
# Support for GitHub Enterprise
|
||||||
GITHUB_RESPONSE=$( curl -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${ASSETS_REPOSITORY}/releases/latest" )
|
GH_HOST="${GH_HOST:-github.com}"
|
||||||
LATEST_VERSION=$( echo "${GITHUB_RESPONSE}" | jq -c -r '.tag_name' )
|
|
||||||
|
|
||||||
if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
||||||
|
|
||||||
|
if [[ "${SHOULD_DEPLOY}" == "no" ]]; then
|
||||||
|
ASSETS="null"
|
||||||
|
else
|
||||||
|
GITHUB_RESPONSE=$( curl -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.${GH_HOST}/repos/${ASSETS_REPOSITORY}/releases/latest" )
|
||||||
|
LATEST_VERSION=$( echo "${GITHUB_RESPONSE}" | jq -c -r '.tag_name' )
|
||||||
|
RECHECK_ASSETS="${SHOULD_BUILD}"
|
||||||
|
|
||||||
|
if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
||||||
if [[ "${MS_TAG}" != "${BASH_REMATCH[1]}" ]]; then
|
if [[ "${MS_TAG}" != "${BASH_REMATCH[1]}" ]]; then
|
||||||
echo "New VSCode version, new build"
|
echo "New VSCode version, new build"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -36,10 +46,18 @@ if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
|||||||
|
|
||||||
echo "Switch to release version: ${RELEASE_VERSION}"
|
echo "Switch to release version: ${RELEASE_VERSION}"
|
||||||
|
|
||||||
|
ASSETS=$( echo "${GITHUB_RESPONSE}" | jq -c '.assets | map(.name)?' )
|
||||||
|
elif [[ "${RECHECK_ASSETS}" == "yes" ]]; then
|
||||||
|
export SHOULD_BUILD="no"
|
||||||
|
|
||||||
ASSETS=$( echo "${GITHUB_RESPONSE}" | jq -c '.assets | map(.name)?' )
|
ASSETS=$( echo "${GITHUB_RESPONSE}" | jq -c '.assets | map(.name)?' )
|
||||||
else
|
else
|
||||||
ASSETS="null"
|
ASSETS="null"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "can't check assets"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
contains() {
|
contains() {
|
||||||
@@ -47,6 +65,7 @@ contains() {
|
|||||||
echo "${ASSETS}" | grep "${1}\""
|
echo "${ASSETS}" | grep "${1}\""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# shellcheck disable=SC2153
|
||||||
if [[ "${CHECK_ASSETS}" == "no" ]]; then
|
if [[ "${CHECK_ASSETS}" == "no" ]]; then
|
||||||
echo "Don't check assets, yet"
|
echo "Don't check assets, yet"
|
||||||
elif [[ "${ASSETS}" != "null" ]]; then
|
elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
@@ -79,6 +98,13 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-darwin-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on MacOS because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the MacOS builds"
|
echo "Already have all the MacOS builds"
|
||||||
fi
|
fi
|
||||||
@@ -108,6 +134,7 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Windows arm64 builds"
|
echo "Already have all the Windows arm64 builds"
|
||||||
@@ -157,6 +184,13 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-win32-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Windows ia32 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Windows ia32 builds"
|
echo "Already have all the Windows ia32 builds"
|
||||||
fi
|
fi
|
||||||
@@ -205,6 +239,13 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-win32-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Windows x64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Windows x64 builds"
|
echo "Already have all the Windows x64 builds"
|
||||||
fi
|
fi
|
||||||
@@ -212,6 +253,7 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
elif [[ "${OS_NAME}" == "linux" ]]; then
|
elif [[ "${OS_NAME}" == "linux" ]]; then
|
||||||
|
|
||||||
if [[ "${CHECK_ONLY_REH}" == "yes" ]]; then
|
if [[ "${CHECK_ONLY_REH}" == "yes" ]]; then
|
||||||
|
|
||||||
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
echo "Building on Linux ${VSCODE_ARCH} because we have no REH archive"
|
echo "Building on Linux ${VSCODE_ARCH} because we have no REH archive"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -220,8 +262,18 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-linux-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux ${VSCODE_ARCH} because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
echo "Already have the Linux REH-web ${VSCODE_ARCH} archive"
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
# linux-arm64
|
# linux-arm64
|
||||||
elif [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
if [[ "${VSCODE_ARCH}" == "arm64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "arm64.deb" ) ]]; then
|
if [[ -z $( contains "arm64.deb" ) ]]; then
|
||||||
echo "Building on Linux arm64 because we have no DEB"
|
echo "Building on Linux arm64 because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -250,14 +302,22 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-web-linux-arm64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux arm64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
export SHOULD_BUILD_APPIMAGE="no"
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux arm64 builds"
|
echo "Already have all the Linux arm64 builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-armhf
|
# linux-armhf
|
||||||
elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then
|
if [[ "${VSCODE_ARCH}" == "armhf" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "armhf.deb" ) ]]; then
|
if [[ -z $( contains "armhf.deb" ) ]]; then
|
||||||
echo "Building on Linux arm because we have no DEB"
|
echo "Building on Linux arm because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -286,14 +346,22 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-web-linux-armhf-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux arm because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
export SHOULD_BUILD_APPIMAGE="no"
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux arm builds"
|
echo "Already have all the Linux arm builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-ppc64le
|
# linux-ppc64le
|
||||||
elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
if [[ "${VSCODE_ARCH}" == "ppc64le" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
SHOULD_BUILD_APPIMAGE="no"
|
SHOULD_BUILD_APPIMAGE="no"
|
||||||
SHOULD_BUILD_DEB="no"
|
SHOULD_BUILD_DEB="no"
|
||||||
SHOULD_BUILD_RPM="no"
|
SHOULD_BUILD_RPM="no"
|
||||||
@@ -306,12 +374,52 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-linux-ppc64le-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux PowerPC64LE because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux PowerPC64LE builds"
|
echo "Already have all the Linux PowerPC64LE builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# linux-riscv64
|
||||||
|
if [[ "${VSCODE_ARCH}" == "riscv64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
|
export SHOULD_BUILD_DEB="no"
|
||||||
|
export SHOULD_BUILD_RPM="no"
|
||||||
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME}-linux-riscv64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux RISC-V 64 because we have no TAR"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_TAR="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-riscv64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux RISC-V 64 because we have no REH archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-linux-riscv64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux RISC-V 64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
|
echo "Already have all the Linux riscv64 builds"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-x64
|
# linux-x64
|
||||||
else
|
if [[ "${VSCODE_ARCH}" == "x64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "amd64.deb" ) ]]; then
|
if [[ -z $( contains "amd64.deb" ) ]]; then
|
||||||
echo "Building on Linux x64 because we have no DEB"
|
echo "Building on Linux x64 because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -333,7 +441,9 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_TAR="no"
|
export SHOULD_BUILD_TAR="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $( contains "x86_64.AppImage" ) ]]; then
|
if [[ "${DISABLE_APPIMAGE}" == "yes" ]]; then
|
||||||
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
|
elif [[ -z $( contains "x86_64.AppImage" ) ]]; then
|
||||||
echo "Building on Linux x64 because we have no AppImage"
|
echo "Building on Linux x64 because we have no AppImage"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
else
|
else
|
||||||
@@ -347,11 +457,74 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-web-linux-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux x64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux x64 builds"
|
echo "Already have all the Linux x64 builds"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
elif [[ "${OS_NAME}" == "alpine" ]]; then
|
||||||
|
|
||||||
|
if [[ "${CHECK_ONLY_REH}" == "yes" ]]; then
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-alpine-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine ${VSCODE_ARCH} because we have no REH archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
echo "Already have the Alpine REH ${VSCODE_ARCH} archive"
|
||||||
|
export SHOULD_BUILD_REH="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-web-alpine-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine ${VSCODE_ARCH} because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
echo "Already have the Alpine REH-web ${VSCODE_ARCH} archive"
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# alpine-arm64
|
||||||
|
if [[ "${VSCODE_ARCH}" == "arm64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-alpine-arm64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine arm64 because we have no REH archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-web-alpine-arm64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine arm64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# alpine-x64
|
||||||
|
if [[ "${VSCODE_ARCH}" == "x64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-alpine-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine x64 because we have no REH archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-web-alpine-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Alpine x64 because we have no REH-web archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
||||||
export SHOULD_BUILD_SRC="yes"
|
export SHOULD_BUILD_SRC="yes"
|
||||||
@@ -360,6 +533,9 @@ else
|
|||||||
SHOULD_BUILD_DEB="no"
|
SHOULD_BUILD_DEB="no"
|
||||||
SHOULD_BUILD_RPM="no"
|
SHOULD_BUILD_RPM="no"
|
||||||
SHOULD_BUILD_TAR="no"
|
SHOULD_BUILD_TAR="no"
|
||||||
|
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
|
||||||
|
SHOULD_BUILD_DEB="no"
|
||||||
|
SHOULD_BUILD_RPM="no"
|
||||||
fi
|
fi
|
||||||
if [[ "${VSCODE_ARCH}" != "x64" ]]; then
|
if [[ "${VSCODE_ARCH}" != "x64" ]]; then
|
||||||
export SHOULD_BUILD_APPIMAGE="no"
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
@@ -367,6 +543,7 @@ else
|
|||||||
elif [[ "${OS_NAME}" == "windows" ]]; then
|
elif [[ "${OS_NAME}" == "windows" ]]; then
|
||||||
if [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
if [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
|
export SHOULD_BUILD_REH_WEB="no"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -384,6 +561,7 @@ echo "SHOULD_BUILD_EXE_USR=${SHOULD_BUILD_EXE_USR}" >> "${GITHUB_ENV}"
|
|||||||
echo "SHOULD_BUILD_MSI=${SHOULD_BUILD_MSI}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_MSI=${SHOULD_BUILD_MSI}" >> "${GITHUB_ENV}"
|
||||||
echo "SHOULD_BUILD_MSI_NOUP=${SHOULD_BUILD_MSI_NOUP}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_MSI_NOUP=${SHOULD_BUILD_MSI_NOUP}" >> "${GITHUB_ENV}"
|
||||||
echo "SHOULD_BUILD_REH=${SHOULD_BUILD_REH}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_REH=${SHOULD_BUILD_REH}" >> "${GITHUB_ENV}"
|
||||||
|
echo "SHOULD_BUILD_REH_WEB=${SHOULD_BUILD_REH_WEB}" >> "${GITHUB_ENV}"
|
||||||
echo "SHOULD_BUILD_RPM=${SHOULD_BUILD_RPM}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_RPM=${SHOULD_BUILD_RPM}" >> "${GITHUB_ENV}"
|
||||||
echo "SHOULD_BUILD_TAR=${SHOULD_BUILD_TAR}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_TAR=${SHOULD_BUILD_TAR}" >> "${GITHUB_ENV}"
|
||||||
echo "SHOULD_BUILD_ZIP=${SHOULD_BUILD_ZIP}" >> "${GITHUB_ENV}"
|
echo "SHOULD_BUILD_ZIP=${SHOULD_BUILD_ZIP}" >> "${GITHUB_ENV}"
|
||||||
|
|||||||
@@ -7,9 +7,6 @@
|
|||||||
- [MacOS](#dependencies-macos)
|
- [MacOS](#dependencies-macos)
|
||||||
- [Windows](#dependencies-windows)
|
- [Windows](#dependencies-windows)
|
||||||
- [Build Scripts](#build-scripts)
|
- [Build Scripts](#build-scripts)
|
||||||
- [Build in Docker](#build-docker)
|
|
||||||
- [X64](#build-docker-x64)
|
|
||||||
- [ARM 32bits](#build-docker-arm32)
|
|
||||||
- [Build Snap](#build-snap)
|
- [Build Snap](#build-snap)
|
||||||
- [Patch Update Process](#patch-update-process)
|
- [Patch Update Process](#patch-update-process)
|
||||||
- [Semi-Automated](#patch-update-process-semiauto)
|
- [Semi-Automated](#patch-update-process-semiauto)
|
||||||
@@ -76,49 +73,6 @@ The script `build/build.sh` provides several flags:
|
|||||||
- `-p`: generate the packages/assets/installers
|
- `-p`: generate the packages/assets/installers
|
||||||
- `-s`: do not retrieve the source code of Visual Studio Code, it won't delete the existing build
|
- `-s`: do not retrieve the source code of Visual Studio Code, it won't delete the existing build
|
||||||
|
|
||||||
## <a id="build-docker"></a>Build in Docker
|
|
||||||
|
|
||||||
To build for Linux, you can alternatively build VSCodium in docker
|
|
||||||
|
|
||||||
### <a id="build-docker-x64"></a>X64
|
|
||||||
|
|
||||||
Firstly, create the container with:
|
|
||||||
```
|
|
||||||
docker run -ti --volume=<local vscodium source>:/root/vscodium --name=vscodium-build-agent vscodium/vscodium-linux-build-agent:bionic-x64 bash
|
|
||||||
```
|
|
||||||
like
|
|
||||||
```
|
|
||||||
docker run -ti --volume=$(pwd):/root/vscodium --name=vscodium-build-agent vscodium/vscodium-linux-build-agent:bionic-x64 bash
|
|
||||||
```
|
|
||||||
|
|
||||||
When inside the container, you can use the following commands to build:
|
|
||||||
```
|
|
||||||
cd /root/vscodium
|
|
||||||
|
|
||||||
./build/build.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
### <a id="build-docker-arm32"></a>ARM 32bits
|
|
||||||
|
|
||||||
Firstly, create the container with:
|
|
||||||
```
|
|
||||||
docker run -ti --volume=<local vscodium source>:/root/vscodium --name=vscodium-build-agent vscodium/vscodium-linux-build-agent:bionic-armhf bash
|
|
||||||
```
|
|
||||||
like
|
|
||||||
```
|
|
||||||
docker run -ti --volume=$(pwd):/root/vscodium --name=vscodium-build-agent vscodium/vscodium-linux-build-agent:bionic-armhf bash
|
|
||||||
```
|
|
||||||
|
|
||||||
When inside the container, you can use the following commands to build:
|
|
||||||
```
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
|
||||||
sudo apt-get install -y nodejs desktop-file-utils
|
|
||||||
|
|
||||||
cd /root/vscodium
|
|
||||||
|
|
||||||
./build/build.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## <a id="build-snap"></a>Build Snap
|
## <a id="build-snap"></a>Build Snap
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
- [Fonts showing up as rectangles](#linux-fonts-rectangle)
|
- [Fonts showing up as rectangles](#linux-fonts-rectangle)
|
||||||
- [Global menu workaround for KDE](#linux-kde-global-menu)
|
- [Global menu workaround for KDE](#linux-kde-global-menu)
|
||||||
- [Flatpak most common issues](#linux-flatpak-most-common-issues)
|
- [Flatpak most common issues](#linux-flatpak-most-common-issues)
|
||||||
|
- [Remote SSH doesn't work](#linux-remote-ssh)
|
||||||
- [macOS](#macos)
|
- [macOS](#macos)
|
||||||
- [App can't be opened because Apple cannot check it for malicious software](#macos-unidentified-developer)
|
- [App can't be opened because Apple cannot check it for malicious software](#macos-unidentified-developer)
|
||||||
- ["VSCodium.app" is damaged and can’t be opened. You should move it to the Bin](#macos-quarantine)
|
- ["VSCodium.app" is damaged and can’t be opened. You should move it to the Bin](#macos-quarantine)
|
||||||
@@ -55,6 +56,14 @@ Credits: [Gerson](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/
|
|||||||
|
|
||||||
- If you have any other problems with the flatpak package try to look on the [FAQ](https://github.com/flathub/com.vscodium.codium?tab=readme-ov-file#faq) maybe the solution is already there or open an [issue](https://github.com/flathub/com.vscodium.codium/issues).
|
- If you have any other problems with the flatpak package try to look on the [FAQ](https://github.com/flathub/com.vscodium.codium?tab=readme-ov-file#faq) maybe the solution is already there or open an [issue](https://github.com/flathub/com.vscodium.codium/issues).
|
||||||
|
|
||||||
|
##### <a id="linux-remote-ssh"></a>*Remote SSH doesn't work*
|
||||||
|
|
||||||
|
Use the VSCodium's compatible extension [Open Remote - SSH](https://open-vsx.org/extension/jeanp413/open-remote-ssh).
|
||||||
|
|
||||||
|
On the server, in the `sshd` config, `AllowTcpForwarding` need to be set to `yes`.
|
||||||
|
|
||||||
|
It might requires additional dependeincies due to the OS/distro (alpine).
|
||||||
|
|
||||||
## <a id="macos"></a>macOS
|
## <a id="macos"></a>macOS
|
||||||
|
|
||||||
Since the App is signed with a self-signed certificate, on the first launch, you might see the following messages:
|
Since the App is signed with a self-signed certificate, on the first launch, you might see the following messages:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"tag": "1.88.0",
|
"tag": "1.93.0",
|
||||||
"commit": "d994aede3529f4d1af9eeaeb234d32fd936243e7"
|
"commit": "5b066ec2e30cf46bc636d6d27af5404713f6b0f8"
|
||||||
}
|
}
|
||||||
|
|||||||
5
macos-codesign.env.template
Normal file
5
macos-codesign.env.template
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
CERTIFICATE_OSX_APP_PASSWORD=
|
||||||
|
CERTIFICATE_OSX_ID=
|
||||||
|
CERTIFICATE_OSX_P12_DATA=
|
||||||
|
CERTIFICATE_OSX_P12_PASSWORD=
|
||||||
|
CERTIFICATE_OSX_TEAM_ID=
|
||||||
@@ -12,14 +12,24 @@ tar -xzf ./vscode.tar.gz
|
|||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
|
|
||||||
export VSCODE_PLATFORM='alpine'
|
export VSCODE_PLATFORM='alpine'
|
||||||
|
export VSCODE_SKIP_NODE_VERSION_CHECK=1
|
||||||
|
|
||||||
VSCODE_HOST_MOUNT="$( pwd )"
|
VSCODE_HOST_MOUNT="$( pwd )"
|
||||||
|
|
||||||
export VSCODE_HOST_MOUNT
|
|
||||||
|
|
||||||
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:alpine-${VSCODE_ARCH}"
|
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:alpine-${VSCODE_ARCH}"
|
||||||
|
|
||||||
export VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
|
export VSCODE_HOST_MOUNT VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
|
||||||
|
|
||||||
|
if [[ -d "../patches/alpine/reh/" ]]; then
|
||||||
|
for file in "../patches/alpine/reh/"*.patch; do
|
||||||
|
if [[ -f "${file}" ]]; then
|
||||||
|
echo applying patch: "${file}";
|
||||||
|
if ! git apply --ignore-whitespace "${file}"; then
|
||||||
|
echo failed to apply patch "${file}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
for i in {1..5}; do # try 5 times
|
for i in {1..5}; do # try 5 times
|
||||||
yarn --frozen-lockfile --check-files && break
|
yarn --frozen-lockfile --check-files && break
|
||||||
|
|||||||
@@ -16,8 +16,30 @@ cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
|||||||
export VSCODE_SKIP_NODE_VERSION_CHECK=1
|
export VSCODE_SKIP_NODE_VERSION_CHECK=1
|
||||||
export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
|
export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
|
||||||
|
|
||||||
if [[ -d "../patches/${OS_NAME}/client/" ]]; then
|
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
||||||
for file in "../patches/${OS_NAME}/client/"*.patch; do
|
export VSCODE_SYSROOT_REPO='VSCodium/vscode-linux-build-agent'
|
||||||
|
export VSCODE_SYSROOT_VERSION='20240129-253798'
|
||||||
|
export VSCODE_SYSROOT_PREFIX='-glibc-2.28'
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
|
||||||
|
export VSCODE_ELECTRON_REPO='riscv-forks/electron-riscv-releases'
|
||||||
|
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
||||||
|
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||||
|
ELECTRON_VERSION="30.4.0"
|
||||||
|
if [[ "${ELECTRON_VERSION}" != "$(yarn config get target)" ]]; then
|
||||||
|
# Fail the pipeline if electron target doesn't match what is used.
|
||||||
|
# Look for releases here if electron version used by vscode changed:
|
||||||
|
# https://github.com/riscv-forks/electron-riscv-releases/releases
|
||||||
|
echo "Electron RISC-V binary version doesn't match target electron version!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}.riscv1"
|
||||||
|
echo "b391bd6e063c34c31b1048615994fca0a5922d5a6b21d6cee6c4335850791516 *electron-v${ELECTRON_VERSION}-linux-riscv64.zip" >> build/checksums/electron.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d "../patches/linux/client/" ]]; then
|
||||||
|
for file in "../patches/linux/client/"*.patch; do
|
||||||
if [[ -f "${file}" ]]; then
|
if [[ -f "${file}" ]]; then
|
||||||
echo applying patch: "${file}";
|
echo applying patch: "${file}";
|
||||||
if ! git apply --ignore-whitespace "${file}"; then
|
if ! git apply --ignore-whitespace "${file}"; then
|
||||||
@@ -37,10 +59,14 @@ for i in {1..5}; do # try 5 times
|
|||||||
echo "Yarn failed $i, trying again..."
|
echo "Yarn failed $i, trying again..."
|
||||||
done
|
done
|
||||||
|
|
||||||
./build/azure-pipelines/linux/setup-env.sh
|
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
||||||
|
source ./build/azure-pipelines/linux/setup-env.sh
|
||||||
|
else
|
||||||
|
./build/azure-pipelines/linux/setup-env.sh
|
||||||
|
fi
|
||||||
|
|
||||||
for i in {1..5}; do # try 5 times
|
for i in {1..5}; do # try 5 times
|
||||||
yarn --frozen-lockfile --check-files && break
|
yarn --check-files && break
|
||||||
if [ $i -eq 3 ]; then
|
if [ $i -eq 3 ]; then
|
||||||
echo "Yarn failed too many times" >&2
|
echo "Yarn failed too many times" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -7,12 +7,28 @@ if [[ "${CI_BUILD}" == "no" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
||||||
|
|
||||||
|
mkdir -p assets
|
||||||
|
|
||||||
tar -xzf ./vscode.tar.gz
|
tar -xzf ./vscode.tar.gz
|
||||||
|
|
||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
|
|
||||||
|
GLIBC_VERSION="2.17"
|
||||||
|
GLIBCXX_VERSION="3.4.22"
|
||||||
|
NODE_VERSION="16.20.2"
|
||||||
|
|
||||||
|
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
||||||
|
GLIBC_VERSION="2.28"
|
||||||
|
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
|
||||||
|
# Unofficial RISC-V nodejs builds doesn't provide v16.x
|
||||||
|
NODE_VERSION="18.18.1"
|
||||||
|
fi
|
||||||
|
|
||||||
export VSCODE_PLATFORM='linux'
|
export VSCODE_PLATFORM='linux'
|
||||||
export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
|
export VSCODE_SKIP_NODE_VERSION_CHECK=1
|
||||||
|
export VSCODE_SYSROOT_PREFIX="-glibc-${GLIBC_VERSION}"
|
||||||
|
|
||||||
VSCODE_HOST_MOUNT="$( pwd )"
|
VSCODE_HOST_MOUNT="$( pwd )"
|
||||||
|
|
||||||
@@ -24,10 +40,38 @@ elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then
|
|||||||
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-arm32v7"
|
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-arm32v7"
|
||||||
elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
||||||
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-ppc64le"
|
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-ppc64le"
|
||||||
|
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
||||||
|
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||||
|
export VSCODE_SYSROOT_REPO='VSCodium/vscode-linux-build-agent'
|
||||||
|
export VSCODE_SYSROOT_VERSION='20240129-253798'
|
||||||
|
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
|
||||||
|
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:focal-devtoolset-riscv64"
|
||||||
|
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
||||||
|
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
|
export VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
|
||||||
|
|
||||||
|
sed -i "/target/s/\"20.*\"/\"${NODE_VERSION}\"/" remote/.yarnrc
|
||||||
|
|
||||||
|
if [[ "${NODE_VERSION}" != 16* ]]; then
|
||||||
|
if [[ -f "../patches/linux/reh/node16.patch" ]]; then
|
||||||
|
mv "../patches/linux/reh/node16.patch" "../patches/linux/reh/node16.patch.no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d "../patches/linux/reh/" ]]; then
|
||||||
|
for file in "../patches/linux/reh/"*.patch; do
|
||||||
|
if [[ -f "${file}" ]]; then
|
||||||
|
echo applying patch: "${file}";
|
||||||
|
if ! git apply --ignore-whitespace "${file}"; then
|
||||||
|
echo failed to apply patch "${file}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
for i in {1..5}; do # try 5 times
|
for i in {1..5}; do # try 5 times
|
||||||
yarn --cwd build --frozen-lockfile --check-files && break
|
yarn --cwd build --frozen-lockfile --check-files && break
|
||||||
if [[ $i == 3 ]]; then
|
if [[ $i == 3 ]]; then
|
||||||
@@ -37,7 +81,11 @@ for i in {1..5}; do # try 5 times
|
|||||||
echo "Yarn failed $i, trying again..."
|
echo "Yarn failed $i, trying again..."
|
||||||
done
|
done
|
||||||
|
|
||||||
./build/azure-pipelines/linux/setup-env.sh --only-remote
|
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
||||||
|
source ./build/azure-pipelines/linux/setup-env.sh
|
||||||
|
else
|
||||||
|
./build/azure-pipelines/linux/setup-env.sh --only-remote
|
||||||
|
fi
|
||||||
|
|
||||||
for i in {1..5}; do # try 5 times
|
for i in {1..5}; do # try 5 times
|
||||||
yarn --frozen-lockfile --check-files && break
|
yarn --frozen-lockfile --check-files && break
|
||||||
@@ -48,24 +96,36 @@ for i in {1..5}; do # try 5 times
|
|||||||
echo "Yarn failed $i, trying again..."
|
echo "Yarn failed $i, trying again..."
|
||||||
done
|
done
|
||||||
|
|
||||||
EXPECTED_GLIBC_VERSION="2.17" EXPECTED_GLIBCXX_VERSION="3.4.22" ./build/azure-pipelines/linux/verify-glibc-requirements.sh
|
|
||||||
|
|
||||||
node build/azure-pipelines/distro/mixin-npm
|
node build/azure-pipelines/distro/mixin-npm
|
||||||
|
|
||||||
export VSCODE_NODE_GLIBC='-glibc-2.17'
|
export VSCODE_NODE_GLIBC="-glibc-${GLIBC_VERSION}"
|
||||||
|
|
||||||
yarn gulp minify-vscode-reh
|
if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
|
||||||
yarn gulp "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
echo "Building REH"
|
||||||
|
yarn gulp minify-vscode-reh
|
||||||
|
yarn gulp "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
||||||
|
|
||||||
cd ..
|
EXPECTED_GLIBC_VERSION="${GLIBC_VERSION}" EXPECTED_GLIBCXX_VERSION="${GLIBCXX_VERSION}" SEARCH_PATH="../vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}" ./build/azure-pipelines/linux/verify-glibc-requirements.sh
|
||||||
|
|
||||||
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
echo "Archiving REH"
|
||||||
|
pushd "../vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
|
||||||
|
tar czf "../assets/${APP_NAME_LC}-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p assets
|
if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
|
||||||
|
echo "Building REH-web"
|
||||||
|
yarn gulp minify-vscode-reh-web
|
||||||
|
yarn gulp "vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
|
||||||
|
|
||||||
|
EXPECTED_GLIBC_VERSION="${GLIBC_VERSION}" EXPECTED_GLIBCXX_VERSION="${GLIBCXX_VERSION}" SEARCH_PATH="../vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}" ./build/azure-pipelines/linux/verify-glibc-requirements.sh
|
||||||
|
|
||||||
|
echo "Archiving REH-web"
|
||||||
|
pushd "../vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
|
||||||
|
tar czf "../assets/${APP_NAME_LC}-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Building and moving REH"
|
|
||||||
cd "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
|
|
||||||
tar czf "../assets/${APP_NAME_LC}-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
npm install -g checksum
|
npm install -g checksum
|
||||||
|
|||||||
23
patches/alpine/reh/fix-node-docker.patch
Normal file
23
patches/alpine/reh/fix-node-docker.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
||||||
|
index e12a33e..9300d62 100644
|
||||||
|
--- a/build/gulpfile.reh.js
|
||||||
|
+++ b/build/gulpfile.reh.js
|
||||||
|
@@ -188,5 +188,16 @@ function getNodeChecksum(expectedName) {
|
||||||
|
function extractAlpinefromDocker(nodeVersion, platform, arch) {
|
||||||
|
- const imageName = arch === 'arm64' ? 'arm64v8/node' : 'node';
|
||||||
|
+ let imageName = 'node';
|
||||||
|
+ let dockerPlatform = '';
|
||||||
|
+
|
||||||
|
+ if (arch === 'arm64') {
|
||||||
|
+ imageName = 'arm64v8/node';
|
||||||
|
+
|
||||||
|
+ const architecture = cp.execSync(`docker info --format '{{json .Architecture}}'`, { encoding: 'utf8' }).trim();
|
||||||
|
+ if (architecture != '"aarch64"') {
|
||||||
|
+ dockerPlatform = '--platform=linux/arm64';
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
log(`Downloading node.js ${nodeVersion} ${platform} ${arch} from docker image ${imageName}`);
|
||||||
|
- const contents = cp.execSync(`docker run --rm ${imageName}:${nodeVersion}-alpine /bin/sh -c 'cat \`which node\`'`, { maxBuffer: 100 * 1024 * 1024, encoding: 'buffer' });
|
||||||
|
+ const contents = cp.execSync(`docker run --rm ${dockerPlatform} ${imageName}:${nodeVersion}-alpine /bin/sh -c 'cat \`which node\`'`, { maxBuffer: 100 * 1024 * 1024, encoding: 'buffer' });
|
||||||
|
return es.readArray([new File({ path: 'node', contents, stat: { mode: parseInt('755', 8) } })]);
|
||||||
@@ -62,7 +62,7 @@ index 1be4d0e..73a8f3e 100644
|
|||||||
-export const redundantImplicitActivationEvent = l10n.t("This activation event can be removed as VS Code generates these automatically from your package.json contribution declarations.");
|
-export const redundantImplicitActivationEvent = l10n.t("This activation event can be removed as VS Code generates these automatically from your package.json contribution declarations.");
|
||||||
+export const redundantImplicitActivationEvent = l10n.t("This activation event can be removed as VSCodium generates these automatically from your package.json contribution declarations.");
|
+export const redundantImplicitActivationEvent = l10n.t("This activation event can be removed as VSCodium generates these automatically from your package.json contribution declarations.");
|
||||||
diff --git a/extensions/extension-editing/src/extensionLinter.ts b/extensions/extension-editing/src/extensionLinter.ts
|
diff --git a/extensions/extension-editing/src/extensionLinter.ts b/extensions/extension-editing/src/extensionLinter.ts
|
||||||
index 8bb2a46..7cee594 100644
|
index b69dac0..293e866 100644
|
||||||
--- a/extensions/extension-editing/src/extensionLinter.ts
|
--- a/extensions/extension-editing/src/extensionLinter.ts
|
||||||
+++ b/extensions/extension-editing/src/extensionLinter.ts
|
+++ b/extensions/extension-editing/src/extensionLinter.ts
|
||||||
@@ -34,4 +34,4 @@ const relativeUrlRequiresHttpsRepository = l10n.t("Relative image URLs require a
|
@@ -34,4 +34,4 @@ const relativeUrlRequiresHttpsRepository = l10n.t("Relative image URLs require a
|
||||||
@@ -73,37 +73,37 @@ index 8bb2a46..7cee594 100644
|
|||||||
+const bumpEngineForImplicitActivationEvents = l10n.t("This activation event can be removed for extensions targeting engine version ^1.75 as VSCodium will generate these automatically from your package.json contribution declarations.");
|
+const bumpEngineForImplicitActivationEvents = l10n.t("This activation event can be removed for extensions targeting engine version ^1.75 as VSCodium will generate these automatically from your package.json contribution declarations.");
|
||||||
const starActivation = l10n.t("Using '*' activation is usually a bad idea as it impacts performance.");
|
const starActivation = l10n.t("Using '*' activation is usually a bad idea as it impacts performance.");
|
||||||
diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json
|
diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json
|
||||||
index 3d0411c..94f6558 100644
|
index c2f7c3d..0701455 100644
|
||||||
--- a/extensions/git/package.nls.json
|
--- a/extensions/git/package.nls.json
|
||||||
+++ b/extensions/git/package.nls.json
|
+++ b/extensions/git/package.nls.json
|
||||||
@@ -216,3 +216,3 @@
|
@@ -219,3 +219,3 @@
|
||||||
"{Locked='](command:git.showOutput'}",
|
"{Locked='](command:git.showOutput'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -244,4 +244,4 @@
|
@@ -247,4 +247,4 @@
|
||||||
"config.showCommitInput": "Controls whether to show the commit input in the Git source control panel.",
|
"config.showCommitInput": "Controls whether to show the commit input in the Git source control panel.",
|
||||||
- "config.terminalAuthentication": "Controls whether to enable VS Code to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
- "config.terminalAuthentication": "Controls whether to enable VS Code to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
||||||
- "config.terminalGitEditor": "Controls whether to enable VS Code to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
- "config.terminalGitEditor": "Controls whether to enable VS Code to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
||||||
+ "config.terminalAuthentication": "Controls whether to enable VSCodium to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
+ "config.terminalAuthentication": "Controls whether to enable VSCodium to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
||||||
+ "config.terminalGitEditor": "Controls whether to enable VSCodium to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
+ "config.terminalGitEditor": "Controls whether to enable VSCodium to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.",
|
||||||
"config.timeline.showAuthor": "Controls whether to show the commit author in the Timeline view.",
|
"config.timeline.showAuthor": "Controls whether to show the commit author in the Timeline view.",
|
||||||
@@ -300,3 +300,3 @@
|
@@ -303,3 +303,3 @@
|
||||||
"{Locked='](command:workbench.action.reloadWindow'}",
|
"{Locked='](command:workbench.action.reloadWindow'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -308,3 +308,3 @@
|
@@ -311,3 +311,3 @@
|
||||||
"{Locked='](command:workbench.action.reloadWindow'}",
|
"{Locked='](command:workbench.action.reloadWindow'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -316,3 +316,3 @@
|
@@ -319,3 +319,3 @@
|
||||||
"{Locked='](command:workbench.action.reloadWindow'}",
|
"{Locked='](command:workbench.action.reloadWindow'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -322,6 +322,6 @@
|
@@ -325,6 +325,6 @@
|
||||||
"view.workbench.scm.disabled": {
|
"view.workbench.scm.disabled": {
|
||||||
- "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -112,7 +112,7 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -330,6 +330,6 @@
|
@@ -333,6 +333,6 @@
|
||||||
"view.workbench.scm.empty": {
|
"view.workbench.scm.empty": {
|
||||||
- "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -121,7 +121,7 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -338,6 +338,6 @@
|
@@ -341,6 +341,6 @@
|
||||||
"view.workbench.scm.folder": {
|
"view.workbench.scm.folder": {
|
||||||
- "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -130,7 +130,7 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -346,6 +346,6 @@
|
@@ -349,6 +349,6 @@
|
||||||
"view.workbench.scm.workspace": {
|
"view.workbench.scm.workspace": {
|
||||||
- "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -139,7 +139,7 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -354,6 +354,6 @@
|
@@ -357,6 +357,6 @@
|
||||||
"view.workbench.scm.emptyWorkspace": {
|
"view.workbench.scm.emptyWorkspace": {
|
||||||
- "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -148,27 +148,27 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -372,3 +372,3 @@
|
@@ -375,3 +375,3 @@
|
||||||
"{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}",
|
"{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -381,3 +381,3 @@
|
@@ -384,3 +384,3 @@
|
||||||
"{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}",
|
"{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -389,3 +389,3 @@
|
@@ -392,3 +392,3 @@
|
||||||
"{Locked='](command:git.manageUnsafeRepositories'}",
|
"{Locked='](command:git.manageUnsafeRepositories'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -397,3 +397,3 @@
|
@@ -400,3 +400,3 @@
|
||||||
"{Locked='](command:git.manageUnsafeRepositories'}",
|
"{Locked='](command:git.manageUnsafeRepositories'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -402,6 +402,6 @@
|
@@ -405,6 +405,6 @@
|
||||||
"view.workbench.scm.closedRepository": {
|
"view.workbench.scm.closedRepository": {
|
||||||
- "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -177,7 +177,7 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -410,6 +410,6 @@
|
@@ -413,6 +413,6 @@
|
||||||
"view.workbench.scm.closedRepositories": {
|
"view.workbench.scm.closedRepositories": {
|
||||||
- "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
- "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
|
||||||
+ "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
+ "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).",
|
||||||
@@ -186,12 +186,12 @@ index 3d0411c..94f6558 100644
|
|||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -421,3 +421,3 @@
|
@@ -424,3 +424,3 @@
|
||||||
"{Locked='](command:git.clone'}",
|
"{Locked='](command:git.clone'}",
|
||||||
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
- "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
|
||||||
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
+ "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium",
|
||||||
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
|
||||||
@@ -425,3 +425,3 @@
|
@@ -428,3 +428,3 @@
|
||||||
},
|
},
|
||||||
- "view.workbench.learnMore": "To learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm)."
|
- "view.workbench.learnMore": "To learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm)."
|
||||||
+ "view.workbench.learnMore": "To learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm)."
|
+ "view.workbench.learnMore": "To learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm)."
|
||||||
@@ -253,10 +253,10 @@ index f36ecf3..9545ba2 100644
|
|||||||
+ "html.trace.server.desc": "Traces the communication between VSCodium and the HTML language server.",
|
+ "html.trace.server.desc": "Traces the communication between VSCodium and the HTML language server.",
|
||||||
"html.validate.scripts": "Controls whether the built-in HTML language support validates embedded scripts.",
|
"html.validate.scripts": "Controls whether the built-in HTML language support validates embedded scripts.",
|
||||||
diff --git a/extensions/html-language-features/schemas/package.schema.json b/extensions/html-language-features/schemas/package.schema.json
|
diff --git a/extensions/html-language-features/schemas/package.schema.json b/extensions/html-language-features/schemas/package.schema.json
|
||||||
index ef717db..c0856e7 100644
|
index 205143c..5a069c6 100644
|
||||||
--- a/extensions/html-language-features/schemas/package.schema.json
|
--- a/extensions/html-language-features/schemas/package.schema.json
|
||||||
+++ b/extensions/html-language-features/schemas/package.schema.json
|
+++ b/extensions/html-language-features/schemas/package.schema.json
|
||||||
@@ -10,3 +10,3 @@
|
@@ -9,3 +9,3 @@
|
||||||
"type": "array",
|
"type": "array",
|
||||||
- "markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
|
- "markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
|
||||||
+ "markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVSCodium loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
|
+ "markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVSCodium loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
|
||||||
@@ -282,7 +282,7 @@ index af6c9d8..7057b54 100644
|
|||||||
+ "json.tracing.desc": "Traces the communication between VSCodium and the JSON language server.",
|
+ "json.tracing.desc": "Traces the communication between VSCodium and the JSON language server.",
|
||||||
"json.colorDecorators.enable.desc": "Enables or disables color decorators",
|
"json.colorDecorators.enable.desc": "Enables or disables color decorators",
|
||||||
diff --git a/extensions/markdown-language-features/package.nls.json b/extensions/markdown-language-features/package.nls.json
|
diff --git a/extensions/markdown-language-features/package.nls.json b/extensions/markdown-language-features/package.nls.json
|
||||||
index a4b2526..088b31e 100644
|
index da567b4..37e3f7d 100644
|
||||||
--- a/extensions/markdown-language-features/package.nls.json
|
--- a/extensions/markdown-language-features/package.nls.json
|
||||||
+++ b/extensions/markdown-language-features/package.nls.json
|
+++ b/extensions/markdown-language-features/package.nls.json
|
||||||
@@ -21,3 +21,3 @@
|
@@ -21,3 +21,3 @@
|
||||||
@@ -290,6 +290,11 @@ index a4b2526..088b31e 100644
|
|||||||
- "markdown.trace.server.desc": "Traces the communication between VS Code and the Markdown language server.",
|
- "markdown.trace.server.desc": "Traces the communication between VS Code and the Markdown language server.",
|
||||||
+ "markdown.trace.server.desc": "Traces the communication between VSCodium and the Markdown language server.",
|
+ "markdown.trace.server.desc": "Traces the communication between VSCodium and the Markdown language server.",
|
||||||
"markdown.server.log.desc": "Controls the logging level of the Markdown language server.",
|
"markdown.server.log.desc": "Controls the logging level of the Markdown language server.",
|
||||||
|
@@ -75,3 +75,3 @@
|
||||||
|
"comment": [
|
||||||
|
- "This setting is use the user drops or pastes image data into the editor. In this case, VS Code automatically creates a new image file in the workspace containing the dropped/pasted image.",
|
||||||
|
+ "This setting is use the user drops or pastes image data into the editor. In this case, VSCodium automatically creates a new image file in the workspace containing the dropped/pasted image.",
|
||||||
|
"It's easier to explain this setting with an example. For example, let's say the setting value was:",
|
||||||
diff --git a/extensions/media-preview/package.nls.json b/extensions/media-preview/package.nls.json
|
diff --git a/extensions/media-preview/package.nls.json b/extensions/media-preview/package.nls.json
|
||||||
index c45e1e2..d8408d8 100644
|
index c45e1e2..d8408d8 100644
|
||||||
--- a/extensions/media-preview/package.nls.json
|
--- a/extensions/media-preview/package.nls.json
|
||||||
@@ -345,7 +350,7 @@ index ff8581b..6774e97 100644
|
|||||||
+ "displayName": "NPM support for VSCodium",
|
+ "displayName": "NPM support for VSCodium",
|
||||||
"workspaceTrust": "This extension executes tasks, which require trust to run.",
|
"workspaceTrust": "This extension executes tasks, which require trust to run.",
|
||||||
diff --git a/extensions/swift/syntaxes/swift.tmLanguage.json b/extensions/swift/syntaxes/swift.tmLanguage.json
|
diff --git a/extensions/swift/syntaxes/swift.tmLanguage.json b/extensions/swift/syntaxes/swift.tmLanguage.json
|
||||||
index 6259b15..385797a 100644
|
index b18b340..ca2eb2d 100644
|
||||||
--- a/extensions/swift/syntaxes/swift.tmLanguage.json
|
--- a/extensions/swift/syntaxes/swift.tmLanguage.json
|
||||||
+++ b/extensions/swift/syntaxes/swift.tmLanguage.json
|
+++ b/extensions/swift/syntaxes/swift.tmLanguage.json
|
||||||
@@ -260,3 +260,3 @@
|
@@ -260,3 +260,3 @@
|
||||||
@@ -354,35 +359,39 @@ index 6259b15..385797a 100644
|
|||||||
+ "comment": "The simpler (?<=\\bProcess\\.|\\bCommandLine\\.) breaks VSCodium / Atom, see https://github.com/textmate/swift.tmbundle/issues/29",
|
+ "comment": "The simpler (?<=\\bProcess\\.|\\bCommandLine\\.) breaks VSCodium / Atom, see https://github.com/textmate/swift.tmbundle/issues/29",
|
||||||
"name": "support.variable.swift",
|
"name": "support.variable.swift",
|
||||||
diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json
|
diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json
|
||||||
index 796b524..ee7235f 100644
|
index d2a0ca8..c781a86 100644
|
||||||
--- a/extensions/typescript-language-features/package.nls.json
|
--- a/extensions/typescript-language-features/package.nls.json
|
||||||
+++ b/extensions/typescript-language-features/package.nls.json
|
+++ b/extensions/typescript-language-features/package.nls.json
|
||||||
@@ -74,4 +74,4 @@
|
@@ -75,4 +75,4 @@
|
||||||
"configuration.tsserver.experimental.enableProjectDiagnostics": "(Experimental) Enables project wide error reporting.",
|
"configuration.tsserver.experimental.enableProjectDiagnostics": "(Experimental) Enables project wide error reporting.",
|
||||||
- "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale.",
|
- "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale.",
|
||||||
- "typescript.locale.auto": "Use VS Code's configured display language",
|
- "typescript.locale.auto": "Use VS Code's configured display language",
|
||||||
+ "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VSCodium's locale.",
|
+ "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VSCodium's locale.",
|
||||||
+ "typescript.locale.auto": "Use VSCodium's configured display language",
|
+ "typescript.locale.auto": "Use VSCodium's configured display language",
|
||||||
"configuration.implicitProjectConfig.module": "Sets the module system for the program. See more: https://www.typescriptlang.org/tsconfig#module.",
|
"configuration.implicitProjectConfig.module": "Sets the module system for the program. See more: https://www.typescriptlang.org/tsconfig#module.",
|
||||||
@@ -158,3 +158,3 @@
|
@@ -160,3 +160,3 @@
|
||||||
"typescript.workspaceSymbols.excludeLibrarySymbols": "Exclude symbols that come from library files in Go to Symbol in Workspace results. Requires using TypeScript 5.3+ in the workspace.",
|
"typescript.workspaceSymbols.excludeLibrarySymbols": "Exclude symbols that come from library files in Go to Symbol in Workspace results. Requires using TypeScript 5.3+ in the workspace.",
|
||||||
- "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code.",
|
- "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code.",
|
||||||
+ "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VSCodium.",
|
+ "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VSCodium.",
|
||||||
"typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.",
|
"typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.",
|
||||||
@@ -164,3 +164,3 @@
|
@@ -166,5 +166,5 @@
|
||||||
"typescript.suggest.enabled": "Enabled/disable autocomplete suggestions.",
|
"typescript.suggest.enabled": "Enabled/disable autocomplete suggestions.",
|
||||||
- "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.",
|
- "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.",
|
||||||
+ "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VSCodium's JavaScript and TypeScript support.",
|
+ "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VSCodium's JavaScript and TypeScript support.",
|
||||||
"configuration.suggest.completeJSDocs": "Enable/disable suggestion to complete JSDoc comments.",
|
"configuration.suggest.completeJSDocs": "Enable/disable suggestion to complete JSDoc comments.",
|
||||||
@@ -216,5 +216,5 @@
|
- "configuration.tsserver.useVsCodeWatcher": "Use VS Code's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace.",
|
||||||
|
+ "configuration.tsserver.useVsCodeWatcher": "Use VSCodium's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace.",
|
||||||
|
"configuration.tsserver.watchOptions": "Configure which watching strategies should be used to keep track of files and directories.",
|
||||||
|
@@ -234,6 +234,6 @@
|
||||||
"configuration.suggest.objectLiteralMethodSnippets.enabled": "Enable/disable snippet completions for methods in object literals.",
|
"configuration.suggest.objectLiteralMethodSnippets.enabled": "Enable/disable snippet completions for methods in object literals.",
|
||||||
- "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VS Code is running in a trusted context.",
|
- "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VS Code is running in a trusted context.",
|
||||||
+ "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VSCodium is running in a trusted context.",
|
+ "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VSCodium is running in a trusted context.",
|
||||||
"configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors": "Suppresses semantic errors. This is needed when using external packages as these can't be included analyzed on web.",
|
"configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors": "Suppresses semantic errors on web even when project wide IntelliSense is enabled. This is always on when project wide IntelliSense is not enabled or available. See `#typescript.tsserver.web.projectWideIntellisense.enabled#`",
|
||||||
|
"configuration.tsserver.web.typeAcquisition.enabled": "Enable/disable package acquisition on the web. This enables IntelliSense for imported packages. Requires `#typescript.tsserver.web.projectWideIntellisense.enabled#`. Currently not supported for Safari.",
|
||||||
- "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VS Code to detect a Node installation.",
|
- "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VS Code to detect a Node installation.",
|
||||||
+ "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VSCodium to detect a Node installation.",
|
+ "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VSCodium to detect a Node installation.",
|
||||||
"configuration.experimental.tsserver.web.typeAcquisition.enabled": "Enable/disable package acquisition on the web.",
|
"configuration.updateImportsOnPaste": "Automatically update imports when pasting code. Requires TypeScript 5.6+.",
|
||||||
@@ -229,6 +229,6 @@
|
@@ -248,6 +248,6 @@
|
||||||
"walkthroughs.nodejsWelcome.debugJsFile.title": "Run and Debug your JavaScript",
|
"walkthroughs.nodejsWelcome.debugJsFile.title": "Run and Debug your JavaScript",
|
||||||
- "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VS Code's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)",
|
- "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VS Code's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)",
|
||||||
+ "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VSCodium's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)",
|
+ "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VSCodium's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)",
|
||||||
@@ -410,35 +419,35 @@ index 239519e..a308077 100644
|
|||||||
+ vscode.window.showErrorMessage(vscode.l10n.t("VSCodium\'s tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VSCodium."));
|
+ vscode.window.showErrorMessage(vscode.l10n.t("VSCodium\'s tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VSCodium."));
|
||||||
throw new Error('Could not find bundled tsserver.js');
|
throw new Error('Could not find bundled tsserver.js');
|
||||||
diff --git a/extensions/typescript-language-features/src/tsconfig.ts b/extensions/typescript-language-features/src/tsconfig.ts
|
diff --git a/extensions/typescript-language-features/src/tsconfig.ts b/extensions/typescript-language-features/src/tsconfig.ts
|
||||||
index 04f08a1..2b2b1bb 100644
|
index e85c715..9059335 100644
|
||||||
--- a/extensions/typescript-language-features/src/tsconfig.ts
|
--- a/extensions/typescript-language-features/src/tsconfig.ts
|
||||||
+++ b/extensions/typescript-language-features/src/tsconfig.ts
|
+++ b/extensions/typescript-language-features/src/tsconfig.ts
|
||||||
@@ -151,3 +151,3 @@ export async function openProjectConfigForFile(
|
@@ -155,3 +155,3 @@ export async function openProjectConfigForFile(
|
||||||
vscode.window.showInformationMessage(
|
vscode.window.showInformationMessage(
|
||||||
- vscode.l10n.t("Please open a folder in VS Code to use a TypeScript or JavaScript project"));
|
- vscode.l10n.t("Please open a folder in VS Code to use a TypeScript or JavaScript project"));
|
||||||
+ vscode.l10n.t("Please open a folder in VSCodium to use a TypeScript or JavaScript project"));
|
+ vscode.l10n.t("Please open a folder in VSCodium to use a TypeScript or JavaScript project"));
|
||||||
return;
|
return;
|
||||||
diff --git a/extensions/typescript-language-features/src/typescriptServiceClient.ts b/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
diff --git a/extensions/typescript-language-features/src/typescriptServiceClient.ts b/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
||||||
index 812a9c4..dad1139 100644
|
index 2d3ea9e..a19481a 100644
|
||||||
--- a/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
--- a/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
||||||
+++ b/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
+++ b/extensions/typescript-language-features/src/typescriptServiceClient.ts
|
||||||
@@ -620,3 +620,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
@@ -663,3 +663,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||||
prompt = vscode.window.showErrorMessage<vscode.MessageItem>(
|
prompt = vscode.window.showErrorMessage<vscode.MessageItem>(
|
||||||
- vscode.l10n.t("The JS/TS language service immediately crashed 5 times. The service will not be restarted.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList));
|
- vscode.l10n.t("The JS/TS language service immediately crashed 5 times. The service will not be restarted.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList));
|
||||||
+ vscode.l10n.t("The JS/TS language service immediately crashed 5 times. The service will not be restarted.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList));
|
+ vscode.l10n.t("The JS/TS language service immediately crashed 5 times. The service will not be restarted.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList));
|
||||||
} else {
|
} else {
|
||||||
@@ -641,3 +641,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
@@ -684,3 +684,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||||
prompt = vscode.window.showWarningMessage<vscode.MessageItem>(
|
prompt = vscode.window.showWarningMessage<vscode.MessageItem>(
|
||||||
- vscode.l10n.t("The JS/TS language service crashed 5 times in the last 5 Minutes.\nThis may be caused by a plugin contributed by one of these extensions: {0}\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList));
|
- vscode.l10n.t("The JS/TS language service crashed 5 times in the last 5 Minutes.\nThis may be caused by a plugin contributed by one of these extensions: {0}\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList));
|
||||||
+ vscode.l10n.t("The JS/TS language service crashed 5 times in the last 5 Minutes.\nThis may be caused by a plugin contributed by one of these extensions: {0}\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList));
|
+ vscode.l10n.t("The JS/TS language service crashed 5 times in the last 5 Minutes.\nThis may be caused by a plugin contributed by one of these extensions: {0}\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList));
|
||||||
} else {
|
} else {
|
||||||
@@ -655,3 +655,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
@@ -698,3 +698,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||||
prompt = vscode.window.showWarningMessage<vscode.MessageItem>(
|
prompt = vscode.window.showWarningMessage<vscode.MessageItem>(
|
||||||
- vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList), reportIssueItem);
|
- vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VS Code.", pluginExtensionList));
|
||||||
+ vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList), reportIssueItem);
|
+ vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList));
|
||||||
} else {
|
} else {
|
||||||
diff --git a/extensions/vscode-api-tests/package.json b/extensions/vscode-api-tests/package.json
|
diff --git a/extensions/vscode-api-tests/package.json b/extensions/vscode-api-tests/package.json
|
||||||
index 1c54b96..542955e 100644
|
index 8a1032f..1041fd2 100644
|
||||||
--- a/extensions/vscode-api-tests/package.json
|
--- a/extensions/vscode-api-tests/package.json
|
||||||
+++ b/extensions/vscode-api-tests/package.json
|
+++ b/extensions/vscode-api-tests/package.json
|
||||||
@@ -2,3 +2,3 @@
|
@@ -2,3 +2,3 @@
|
||||||
@@ -447,7 +456,7 @@ index 1c54b96..542955e 100644
|
|||||||
+ "description": "API tests for VSCodium",
|
+ "description": "API tests for VSCodium",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
diff --git a/extensions/vscode-colorize-tests/package.json b/extensions/vscode-colorize-tests/package.json
|
diff --git a/extensions/vscode-colorize-tests/package.json b/extensions/vscode-colorize-tests/package.json
|
||||||
index eb72136..2a92671 100644
|
index 159bd29..c65f5cc 100644
|
||||||
--- a/extensions/vscode-colorize-tests/package.json
|
--- a/extensions/vscode-colorize-tests/package.json
|
||||||
+++ b/extensions/vscode-colorize-tests/package.json
|
+++ b/extensions/vscode-colorize-tests/package.json
|
||||||
@@ -2,3 +2,3 @@
|
@@ -2,3 +2,3 @@
|
||||||
@@ -473,7 +482,7 @@ index 6680753..48f66bb 100644
|
|||||||
+ "c": "broken highlighting in VSCodium",
|
+ "c": "broken highlighting in VSCodium",
|
||||||
"t": "source.css.less meta.selector.less meta.group.less meta.property-value.less string.quoted.double.less",
|
"t": "source.css.less meta.selector.less meta.group.less meta.property-value.less string.quoted.double.less",
|
||||||
diff --git a/extensions/vscode-test-resolver/package.json b/extensions/vscode-test-resolver/package.json
|
diff --git a/extensions/vscode-test-resolver/package.json b/extensions/vscode-test-resolver/package.json
|
||||||
index e538d43..45e4056 100644
|
index 8ab2171..33fb9e0 100644
|
||||||
--- a/extensions/vscode-test-resolver/package.json
|
--- a/extensions/vscode-test-resolver/package.json
|
||||||
+++ b/extensions/vscode-test-resolver/package.json
|
+++ b/extensions/vscode-test-resolver/package.json
|
||||||
@@ -2,3 +2,3 @@
|
@@ -2,3 +2,3 @@
|
||||||
@@ -516,25 +525,16 @@ index fa001b5..13abac2 100644
|
|||||||
+ throw Error(`Failed to download and unzip VSCodium ${quality} - ${commit}`);
|
+ throw Error(`Failed to download and unzip VSCodium ${quality} - ${commit}`);
|
||||||
}
|
}
|
||||||
diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts
|
diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts
|
||||||
index 578b00a..5472f5b 100644
|
index ca47f74..a55be4c 100644
|
||||||
--- a/src/vs/code/electron-main/app.ts
|
--- a/src/vs/code/electron-main/app.ts
|
||||||
+++ b/src/vs/code/electron-main/app.ts
|
+++ b/src/vs/code/electron-main/app.ts
|
||||||
@@ -571,3 +571,3 @@ export class CodeApplication extends Disposable {
|
@@ -534,3 +534,3 @@ export class CodeApplication extends Disposable {
|
||||||
async startup(): Promise<void> {
|
async startup(): Promise<void> {
|
||||||
- this.logService.debug('Starting VS Code');
|
- this.logService.debug('Starting VS Code');
|
||||||
+ this.logService.debug('Starting VSCodium');
|
+ this.logService.debug('Starting VSCodium');
|
||||||
this.logService.debug(`from: ${this.environmentMainService.appRoot}`);
|
this.logService.debug(`from: ${this.environmentMainService.appRoot}`);
|
||||||
diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
index ac9f828..089f04c 100644
|
|
||||||
--- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
+++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
@@ -855,3 +855,3 @@ export class IssueReporter extends Disposable {
|
|
||||||
hide(descriptionTextArea);
|
|
||||||
- reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VS Code"));
|
|
||||||
+ reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VSCodium"));
|
|
||||||
reset(descriptionSubtitle, localize('elsewhereDescription', "The '{0}' extension prefers to use an external issue reporter. To be taken to that issue reporting experience, click the button below.", selectedExtension.displayName));
|
|
||||||
diff --git a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
diff --git a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
||||||
index 64f4b30..26dccf9 100644
|
index 7578cd6..3a8504b 100644
|
||||||
--- a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
--- a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
||||||
+++ b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
+++ b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts
|
||||||
@@ -19,3 +19,3 @@ export class ToggleTabFocusModeAction extends Action2 {
|
@@ -19,3 +19,3 @@ export class ToggleTabFocusModeAction extends Action2 {
|
||||||
@@ -552,31 +552,40 @@ index 296245b..cf03674 100644
|
|||||||
+export const ProductQualityContext = new RawContextKey<string>('productQualityType', '', localize('productQualityType', "Quality type of VSCodium"));
|
+export const ProductQualityContext = new RawContextKey<string>('productQualityType', '', localize('productQualityType', "Quality type of VSCodium"));
|
||||||
|
|
||||||
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
||||||
index 56e32e7..49a56bb 100644
|
index 75ab2ba..8c06c7e 100644
|
||||||
--- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
--- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
||||||
+++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
+++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
|
||||||
@@ -152,3 +152,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi
|
@@ -144,3 +144,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi
|
||||||
if (manifest.engines && manifest.engines.vscode && !isEngineValid(manifest.engines.vscode, this.productService.version, this.productService.date)) {
|
if (manifest.engines && manifest.engines.vscode && !isEngineValid(manifest.engines.vscode, this.productService.version, this.productService.date)) {
|
||||||
- throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VS Code '{1}'.", extensionId, this.productService.version));
|
- throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VS Code '{1}'.", extensionId, this.productService.version));
|
||||||
+ throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VSCodium '{1}'.", extensionId, this.productService.version));
|
+ throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VSCodium '{1}'.", extensionId, this.productService.version));
|
||||||
}
|
}
|
||||||
@@ -229,3 +229,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi
|
@@ -221,3 +221,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
- throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VS Code before trying again.", toErrorMessage(e)));
|
- throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VS Code before trying again.", toErrorMessage(e)));
|
||||||
+ throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VSCodium before trying again.", toErrorMessage(e)));
|
+ throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VSCodium before trying again.", toErrorMessage(e)));
|
||||||
}
|
}
|
||||||
@@ -1029,3 +1029,3 @@ class InstallVSIXTask extends InstallExtensionTask {
|
@@ -966,3 +966,3 @@ class InstallExtensionInProfileTask extends AbstractExtensionTask<ILocalExtensio
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
- throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
- throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
||||||
+ throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
+ throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
||||||
}
|
}
|
||||||
@@ -1042,3 +1042,3 @@ class InstallVSIXTask extends InstallExtensionTask {
|
@@ -977,3 +977,3 @@ class InstallExtensionInProfileTask extends AbstractExtensionTask<ILocalExtensio
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
- throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
- throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
||||||
+ throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
+ throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name));
|
||||||
}
|
}
|
||||||
|
diff --git a/src/vs/platform/extensions/common/extensionValidator.ts b/src/vs/platform/extensions/common/extensionValidator.ts
|
||||||
|
index 5fae8b4..73b70cc 100644
|
||||||
|
--- a/src/vs/platform/extensions/common/extensionValidator.ts
|
||||||
|
+++ b/src/vs/platform/extensions/common/extensionValidator.ts
|
||||||
|
@@ -371,3 +371,3 @@ export function areApiProposalsCompatible(apiProposals: string[], arg1?: any): b
|
||||||
|
if (existingProposal.version !== version) {
|
||||||
|
- incompatibleNotices.push(nls.localize('apiProposalMismatch', "Extension is using an API proposal '{0}' that is not compatible with the current version of VS Code.", proposalName));
|
||||||
|
+ incompatibleNotices.push(nls.localize('apiProposalMismatch', "Extension is using an API proposal '{0}' that is not compatible with the current version of VSCodium.", proposalName));
|
||||||
|
}
|
||||||
diff --git a/src/vs/platform/externalTerminal/node/externalTerminalService.ts b/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
diff --git a/src/vs/platform/externalTerminal/node/externalTerminalService.ts b/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
||||||
index 5086c95..2e424b7 100644
|
index 9f85b14..57d913c 100644
|
||||||
--- a/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
--- a/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
||||||
+++ b/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
+++ b/src/vs/platform/externalTerminal/node/externalTerminalService.ts
|
||||||
@@ -17,3 +17,3 @@ import { ITerminalEnvironment } from 'vs/platform/terminal/common/terminal';
|
@@ -17,3 +17,3 @@ import { ITerminalEnvironment } from 'vs/platform/terminal/common/terminal';
|
||||||
@@ -603,14 +612,19 @@ index 4134233..b2f52b2 100644
|
|||||||
+ description: localize('enableWindowsBackgroundUpdates', "Enable to download and install new VSCodium versions in the background on Windows."),
|
+ description: localize('enableWindowsBackgroundUpdates', "Enable to download and install new VSCodium versions in the background on Windows."),
|
||||||
included: isWindows && !isWeb
|
included: isWindows && !isWeb
|
||||||
diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||||
index 39e65d4..acb03b1 100644
|
index ea18f4a..83750f1 100644
|
||||||
--- a/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
--- a/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||||
+++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
+++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||||
@@ -23,3 +23,3 @@ export type UpdateNotAvailableClassification = {
|
@@ -23,3 +23,3 @@ export type UpdateNotAvailableClassification = {
|
||||||
explicit: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'Whether the user has manually checked for updates, or this was an automatic check.' };
|
explicit: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'Whether the user has manually checked for updates, or this was an automatic check.' };
|
||||||
- comment: 'This is used to understand how often VS Code pings the update server for an update and there\'s none available.';
|
- comment: 'This is used to understand how often VS Code pings the update server for an update and there\'s none available.';
|
||||||
+ comment: 'This is used to understand how often VSCodium pings the update server for an update and there\'s none available.';
|
+ comment: 'This is used to understand how often VSCodium pings the update server for an update and there\'s none available.';
|
||||||
};
|
};
|
||||||
|
@@ -29,3 +29,3 @@ export type UpdateErrorClassification = {
|
||||||
|
messageHash: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The hash of the error message.' };
|
||||||
|
- comment: 'This is used to know how often VS Code updates have failed.';
|
||||||
|
+ comment: 'This is used to know how often VSCodium updates have failed.';
|
||||||
|
};
|
||||||
diff --git a/src/vs/platform/update/electron-main/updateService.darwin.ts b/src/vs/platform/update/electron-main/updateService.darwin.ts
|
diff --git a/src/vs/platform/update/electron-main/updateService.darwin.ts b/src/vs/platform/update/electron-main/updateService.darwin.ts
|
||||||
index 183c69d..2da152d 100644
|
index 183c69d..2da152d 100644
|
||||||
--- a/src/vs/platform/update/electron-main/updateService.darwin.ts
|
--- a/src/vs/platform/update/electron-main/updateService.darwin.ts
|
||||||
@@ -623,34 +637,34 @@ index 183c69d..2da152d 100644
|
|||||||
+ comment: 'This is used to know how often VSCodium has successfully downloaded the update.';
|
+ comment: 'This is used to know how often VSCodium has successfully downloaded the update.';
|
||||||
};
|
};
|
||||||
diff --git a/src/vs/server/node/server.cli.ts b/src/vs/server/node/server.cli.ts
|
diff --git a/src/vs/server/node/server.cli.ts b/src/vs/server/node/server.cli.ts
|
||||||
index 6695c4b..e46be6e 100644
|
index fc0f7c2..1e7bbe9 100644
|
||||||
--- a/src/vs/server/node/server.cli.ts
|
--- a/src/vs/server/node/server.cli.ts
|
||||||
+++ b/src/vs/server/node/server.cli.ts
|
+++ b/src/vs/server/node/server.cli.ts
|
||||||
@@ -444,3 +444,3 @@ function asExtensionIdOrVSIX(inputs: string[] | undefined) {
|
@@ -455,3 +455,3 @@ function asExtensionIdOrVSIX(inputs: string[] | undefined) {
|
||||||
function fatal(message: string, err: any): void {
|
function fatal(message: string, err: any): void {
|
||||||
- console.error('Unable to connect to VS Code server: ' + message);
|
- console.error('Unable to connect to VS Code server: ' + message);
|
||||||
+ console.error('Unable to connect to VSCodium server: ' + message);
|
+ console.error('Unable to connect to VSCodium server: ' + message);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
diff --git a/src/vs/workbench/api/browser/viewsExtensionPoint.ts b/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
diff --git a/src/vs/workbench/api/browser/viewsExtensionPoint.ts b/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
||||||
index fe77f83..0458226 100644
|
index b28bd28..f8255a6 100644
|
||||||
--- a/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
--- a/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
||||||
+++ b/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
+++ b/src/vs/workbench/api/browser/viewsExtensionPoint.ts
|
||||||
@@ -50,3 +50,3 @@ const viewsContainerSchema: IJSONSchema = {
|
@@ -43,3 +43,3 @@ const viewsContainerSchema: IJSONSchema = {
|
||||||
id: {
|
id: {
|
||||||
- description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VS Code through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
|
- description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VS Code through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
|
||||||
+ description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VSCodium through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
|
+ description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VSCodium through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
|
||||||
type: 'string',
|
type: 'string',
|
||||||
diff --git a/src/vs/workbench/api/common/extHostApiCommands.ts b/src/vs/workbench/api/common/extHostApiCommands.ts
|
diff --git a/src/vs/workbench/api/common/extHostApiCommands.ts b/src/vs/workbench/api/common/extHostApiCommands.ts
|
||||||
index 62f9ebb..5558dbd 100644
|
index 6384178..01393f9 100644
|
||||||
--- a/src/vs/workbench/api/common/extHostApiCommands.ts
|
--- a/src/vs/workbench/api/common/extHostApiCommands.ts
|
||||||
+++ b/src/vs/workbench/api/common/extHostApiCommands.ts
|
+++ b/src/vs/workbench/api/common/extHostApiCommands.ts
|
||||||
@@ -412,3 +412,3 @@ const newCommands: ApiCommand[] = [
|
@@ -443,3 +443,3 @@ const newCommands: ApiCommand[] = [
|
||||||
ApiCommandArgument.Uri.with('resource', 'Resource to open'),
|
ApiCommandArgument.Uri.with('resource', 'Resource to open'),
|
||||||
- ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VS Code\'s default text editor'),
|
- ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VS Code\'s default text editor'),
|
||||||
+ ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VSCodium\'s default text editor'),
|
+ ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VSCodium\'s default text editor'),
|
||||||
new ApiCommandArgument<vscode.ViewColumn | typeConverters.TextEditorOpenOptions | undefined, [vscode.ViewColumn?, ITextEditorOptions?] | undefined>('columnOrOptions', 'Either the column in which to open or editor options, see vscode.TextDocumentShowOptions',
|
new ApiCommandArgument<vscode.ViewColumn | typeConverters.TextEditorOpenOptions | undefined, [vscode.ViewColumn?, ITextEditorOptions?] | undefined>('columnOrOptions', 'Either the column in which to open or editor options, see vscode.TextDocumentShowOptions',
|
||||||
diff --git a/src/vs/workbench/api/common/extHostCommands.ts b/src/vs/workbench/api/common/extHostCommands.ts
|
diff --git a/src/vs/workbench/api/common/extHostCommands.ts b/src/vs/workbench/api/common/extHostCommands.ts
|
||||||
index 586056f..fc23e8e 100644
|
index 15730c3..3e257b6 100644
|
||||||
--- a/src/vs/workbench/api/common/extHostCommands.ts
|
--- a/src/vs/workbench/api/common/extHostCommands.ts
|
||||||
+++ b/src/vs/workbench/api/common/extHostCommands.ts
|
+++ b/src/vs/workbench/api/common/extHostCommands.ts
|
||||||
@@ -460,3 +460,3 @@ export class ApiCommandArgument<V, O = V> {
|
@@ -460,3 +460,3 @@ export class ApiCommandArgument<V, O = V> {
|
||||||
@@ -659,7 +673,7 @@ index 586056f..fc23e8e 100644
|
|||||||
+ static readonly TestItem = new ApiCommandArgument('testItem', 'A VSCodium TestItem', v => v instanceof TestItemImpl, extHostTypeConverter.TestItem.from);
|
+ static readonly TestItem = new ApiCommandArgument('testItem', 'A VSCodium TestItem', v => v instanceof TestItemImpl, extHostTypeConverter.TestItem.from);
|
||||||
|
|
||||||
diff --git a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
diff --git a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
||||||
index 806a6b6..3ea5aa5 100644
|
index 49a2f01..e39520d 100644
|
||||||
--- a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
--- a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
||||||
+++ b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
+++ b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts
|
||||||
@@ -362,3 +362,3 @@ suite('NotebookCell#Document', function () {
|
@@ -362,3 +362,3 @@ suite('NotebookCell#Document', function () {
|
||||||
@@ -668,99 +682,108 @@ index 806a6b6..3ea5aa5 100644
|
|||||||
+ test('Opening a notebook results in VSCodium firing the event onDidChangeActiveNotebookEditor twice #118470', function () {
|
+ test('Opening a notebook results in VSCodium firing the event onDidChangeActiveNotebookEditor twice #118470', function () {
|
||||||
let count = 0;
|
let count = 0;
|
||||||
diff --git a/src/vs/workbench/browser/workbench.contribution.ts b/src/vs/workbench/browser/workbench.contribution.ts
|
diff --git a/src/vs/workbench/browser/workbench.contribution.ts b/src/vs/workbench/browser/workbench.contribution.ts
|
||||||
index 8f88583..8d03b04 100644
|
index bf16298..e51bef1 100644
|
||||||
--- a/src/vs/workbench/browser/workbench.contribution.ts
|
--- a/src/vs/workbench/browser/workbench.contribution.ts
|
||||||
+++ b/src/vs/workbench/browser/workbench.contribution.ts
|
+++ b/src/vs/workbench/browser/workbench.contribution.ts
|
||||||
@@ -640,3 +640,3 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
@@ -652,3 +652,3 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
||||||
localize('profileName', "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."),
|
localize('profileName', "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."),
|
||||||
- localize('appName', "`${appName}`: e.g. VS Code."),
|
- localize('appName', "`${appName}`: e.g. VS Code."),
|
||||||
+ localize('appName', "`${appName}`: e.g. VSCodium."),
|
+ localize('appName', "`${appName}`: e.g. VSCodium."),
|
||||||
localize('remoteName', "`${remoteName}`: e.g. SSH"),
|
localize('remoteName', "`${remoteName}`: e.g. SSH"),
|
||||||
|
diff --git a/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.ts b/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.ts
|
||||||
|
index 5d3949a..28f3fa6 100644
|
||||||
|
--- a/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.ts
|
||||||
|
@@ -52,3 +52,3 @@ export class AccessibilityStatus extends Disposable implements IWorkbenchContrib
|
||||||
|
Severity.Info,
|
||||||
|
- localize('screenReaderDetectedExplanation.question', "Are you using a screen reader to operate VS Code?"),
|
||||||
|
+ localize('screenReaderDetectedExplanation.question', "Are you using a screen reader to operate VSCodium?"),
|
||||||
|
[{
|
||||||
diff --git a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
diff --git a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
||||||
index 4233162..9bd6599 100644
|
index 8e1fc26..c9026b2 100644
|
||||||
--- a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
--- a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
||||||
+++ b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
+++ b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts
|
||||||
@@ -153,3 +153,3 @@ export class AdapterManager extends Disposable implements IAdapterManager {
|
@@ -176,3 +176,3 @@ export class AdapterManager extends Disposable implements IAdapterManager {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
- description: nls.localize('debugServer', "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"),
|
- description: nls.localize('debugServer', "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"),
|
||||||
+ description: nls.localize('debugServer', "For debug extension development only: if a port is specified VSCodium tries to connect to a debug adapter running in server mode"),
|
+ description: nls.localize('debugServer', "For debug extension development only: if a port is specified VSCodium tries to connect to a debug adapter running in server mode"),
|
||||||
default: 4711
|
default: 4711
|
||||||
diff --git a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
diff --git a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
||||||
index d7783e5..30d795c 100644
|
index 60aa8d8..ed2fe8f 100644
|
||||||
--- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
--- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
+++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
|
||||||
@@ -302,3 +302,3 @@ CommandsRegistry.registerCommand({
|
@@ -299,3 +299,3 @@ CommandsRegistry.registerCommand({
|
||||||
description: '(optional) Options for installing the extension. Object with the following properties: ' +
|
description: '(optional) Options for installing the extension. Object with the following properties: ' +
|
||||||
- '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ',
|
- '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ',
|
||||||
+ '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ',
|
+ '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ',
|
||||||
isOptional: true,
|
isOptional: true,
|
||||||
@@ -309,3 +309,3 @@ CommandsRegistry.registerCommand({
|
@@ -306,3 +306,3 @@ CommandsRegistry.registerCommand({
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
- 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."),
|
- 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."),
|
||||||
+ 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."),
|
+ 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."),
|
||||||
default: false
|
default: false
|
||||||
@@ -314,3 +314,3 @@ CommandsRegistry.registerCommand({
|
@@ -311,3 +311,3 @@ CommandsRegistry.registerCommand({
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
- 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VS Code installs the pre-release version of the extension if available."),
|
- 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VS Code installs the pre-release version of the extension if available."),
|
||||||
+ 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VSCodium installs the pre-release version of the extension if available."),
|
+ 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VSCodium installs the pre-release version of the extension if available."),
|
||||||
default: false
|
default: false
|
||||||
@@ -319,3 +319,3 @@ CommandsRegistry.registerCommand({
|
@@ -316,3 +316,3 @@ CommandsRegistry.registerCommand({
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
- 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VS Code do not sync this extension when Settings Sync is on."),
|
- 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VS Code do not sync this extension when Settings Sync is on."),
|
||||||
+ 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VSCodium do not sync this extension when Settings Sync is on."),
|
+ 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VSCodium do not sync this extension when Settings Sync is on."),
|
||||||
default: false
|
default: false
|
||||||
@@ -865,3 +865,3 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
|
@@ -836,3 +836,3 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
|
||||||
const requireReload = !(extension.local && extensionService.canAddExtension(toExtensionDescription(extension.local)));
|
Severity.Info,
|
||||||
- const message = requireReload ? localize('InstallVSIXAction.successReload', "Completed installing {0} extension from VSIX. Please reload Visual Studio Code to enable it.", extension.displayName || extension.name)
|
- localize('InstallVSIXAction.successReload', "Completed installing extension from VSIX. Please reload Visual Studio Code to enable it."),
|
||||||
+ const message = requireReload ? localize('InstallVSIXAction.successReload', "Completed installing {0} extension from VSIX. Please reload VSCodium to enable it.", extension.displayName || extension.name)
|
+ localize('InstallVSIXAction.successReload', "Completed installing extension from VSIX. Please reload VSCodium to enable it."),
|
||||||
: localize('InstallVSIXAction.success', "Completed installing {0} extension from VSIX.", extension.displayName || extension.name);
|
[{
|
||||||
diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
||||||
index ac83a64..c809884 100644
|
index c5d00d3..4f114d4 100644
|
||||||
--- a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
--- a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
||||||
+++ b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
+++ b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
|
||||||
@@ -106,3 +106,3 @@ export class PromptExtensionInstallFailureAction extends Action {
|
@@ -105,3 +105,3 @@ export class PromptExtensionInstallFailureAction extends Action {
|
||||||
if (this.error.name === ExtensionManagementErrorCode.Unsupported) {
|
if (this.error.name === ExtensionManagementErrorCode.Unsupported) {
|
||||||
- const productName = isWeb ? localize('VS Code for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
|
- const productName = isWeb ? localize('VS Code for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
|
||||||
+ const productName = isWeb ? localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
|
+ const productName = isWeb ? localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
|
||||||
const message = localize('cannot be installed', "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.", this.extension.displayName || this.extension.identifier.id, productName);
|
const message = localize('cannot be installed', "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.", this.extension.displayName || this.extension.identifier.id, productName);
|
||||||
@@ -387,3 +387,3 @@ export class InstallAction extends ExtensionAction {
|
@@ -467,3 +467,3 @@ export class InstallAction extends ExtensionAction {
|
||||||
} else if (this.extension.deprecationInfo.settings) {
|
} else if (this.extension.deprecationInfo.settings) {
|
||||||
- detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VS Code.");
|
- detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VS Code.");
|
||||||
+ detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VSCodium.");
|
+ detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VSCodium.");
|
||||||
|
|
||||||
@@ -775,3 +775,3 @@ export class UninstallAction extends ExtensionAction {
|
@@ -855,3 +855,3 @@ export class UninstallAction extends ExtensionAction {
|
||||||
await this.extensionsWorkbenchService.uninstall(this.extension);
|
await this.extensionsWorkbenchService.uninstall(this.extension);
|
||||||
- alert(localize('uninstallExtensionComplete', "Please reload Visual Studio Code to complete the uninstallation of the extension {0}.", this.extension.displayName));
|
- alert(localize('uninstallExtensionComplete', "Please reload Visual Studio Code to complete the uninstallation of the extension {0}.", this.extension.displayName));
|
||||||
+ alert(localize('uninstallExtensionComplete', "Please reload VSCodium to complete the uninstallation of the extension {0}.", this.extension.displayName));
|
+ alert(localize('uninstallExtensionComplete', "Please reload VSCodium to complete the uninstallation of the extension {0}.", this.extension.displayName));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -2381,3 +2381,3 @@ export class ExtensionStatusAction extends ExtensionAction {
|
@@ -2489,3 +2489,3 @@ export class ExtensionStatusAction extends ExtensionAction {
|
||||||
const link = `[${localize('settings', "settings")}](${URI.parse(`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`).join(' ')]))}`)})`;
|
const link = `[${localize('settings', "settings")}](${URI.parse(`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`).join(' ')]))}`)})`;
|
||||||
- this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.", link)) }, true);
|
- this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.", link)) }, true);
|
||||||
+ this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VSCodium. Configure these {0} to use this functionality.", link)) }, true);
|
+ this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VSCodium. Configure these {0} to use this functionality.", link)) }, true);
|
||||||
} else {
|
} else {
|
||||||
@@ -2405,3 +2405,3 @@ export class ExtensionStatusAction extends ExtensionAction {
|
@@ -2530,3 +2530,3 @@ export class ExtensionStatusAction extends ExtensionAction {
|
||||||
if (this.extensionManagementServerService.webExtensionManagementServer) {
|
if (this.extensionManagementServerService.webExtensionManagementServer) {
|
||||||
- const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong);
|
- const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong);
|
||||||
+ const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong);
|
+ const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong);
|
||||||
const message = new MarkdownString(`${localize('not web tooltip', "The '{0}' extension is not available in {1}.", this.extension.displayName || this.extension.identifier.id, productName)} [${localize('learn why', "Learn Why")}](https://aka.ms/vscode-web-extensions-guide)`);
|
const message = new MarkdownString(`${localize('not web tooltip', "The '{0}' extension is not available in {1}.", this.extension.displayName || this.extension.identifier.id, productName)} [${localize('learn why', "Learn Why")}](https://aka.ms/vscode-web-extensions-guide)`);
|
||||||
@@ -2682,3 +2682,3 @@ export class ReinstallAction extends Action {
|
@@ -2825,3 +2825,3 @@ export class ReinstallAction extends Action {
|
||||||
const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local)));
|
const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local)));
|
||||||
- const message = requireReload ? localize('ReinstallAction.successReload', "Please reload Visual Studio Code to complete reinstalling the extension {0}.", extension.identifier.id)
|
- const message = requireReload ? localize('ReinstallAction.successReload', "Please reload Visual Studio Code to complete reinstalling the extension {0}.", extension.identifier.id)
|
||||||
+ const message = requireReload ? localize('ReinstallAction.successReload', "Please reload VSCodium to complete reinstalling the extension {0}.", extension.identifier.id)
|
+ const message = requireReload ? localize('ReinstallAction.successReload', "Please reload VSCodium to complete reinstalling the extension {0}.", extension.identifier.id)
|
||||||
: localize('ReinstallAction.success', "Reinstalling the extension {0} is completed.", extension.identifier.id);
|
: localize('ReinstallAction.success', "Reinstalling the extension {0} is completed.", extension.identifier.id);
|
||||||
diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||||
index 89ea0e5..c2b1f32 100644
|
index ba69585..8bcc21a 100644
|
||||||
--- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
--- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||||
+++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
+++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||||
@@ -404,3 +404,3 @@ export class Extension implements IExtension {
|
@@ -451,3 +451,3 @@ export class Extension implements IExtension {
|
||||||
return Promise.resolve(`# ${this.displayName || this.name}
|
return Promise.resolve(`# ${this.displayName || this.name}
|
||||||
-**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
|
-**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
|
||||||
+**Notice:** This extension is bundled with VSCodium. It can be disabled but not uninstalled.
|
+**Notice:** This extension is bundled with VSCodium. It can be disabled but not uninstalled.
|
||||||
## Features
|
## Features
|
||||||
@@ -442,3 +442,3 @@ ${this.description}
|
@@ -489,3 +489,3 @@ ${this.description}
|
||||||
if (this.type === ExtensionType.System) {
|
if (this.type === ExtensionType.System) {
|
||||||
- return Promise.resolve('Please check the [VS Code Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.');
|
- return Promise.resolve(`Please check the [VS Code Release Notes](command:${ShowCurrentReleaseNotesActionId}) for changes to the built-in extensions.`);
|
||||||
+ return Promise.resolve('Please check the [VSCodium Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.');
|
+ return Promise.resolve(`Please check the [VSCodium Release Notes](command:${ShowCurrentReleaseNotesActionId}) for changes to the built-in extensions.`);
|
||||||
}
|
}
|
||||||
diff --git a/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.ts b/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.ts
|
diff --git a/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.ts b/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.ts
|
||||||
index 3e8cd71..6142f61 100644
|
index 3e8cd71..6142f61 100644
|
||||||
@@ -811,6 +834,15 @@ index 4b8d4c2..cfdbb92 100644
|
|||||||
- patternErrorMessage: localize('vscode.extension.contributes.localizations.translations.id.pattern', "Id should be `vscode` or in format `publisherId.extensionName` for translating VS code or an extension respectively.")
|
- patternErrorMessage: localize('vscode.extension.contributes.localizations.translations.id.pattern', "Id should be `vscode` or in format `publisherId.extensionName` for translating VS code or an extension respectively.")
|
||||||
+ patternErrorMessage: localize('vscode.extension.contributes.localizations.translations.id.pattern', "Id should be `vscode` or in format `publisherId.extensionName` for translating VSCodium or an extension respectively.")
|
+ patternErrorMessage: localize('vscode.extension.contributes.localizations.translations.id.pattern', "Id should be `vscode` or in format `publisherId.extensionName` for translating VSCodium or an extension respectively.")
|
||||||
},
|
},
|
||||||
|
diff --git a/src/vs/workbench/contrib/localization/common/localizationsActions.ts b/src/vs/workbench/contrib/localization/common/localizationsActions.ts
|
||||||
|
index 7f2f1f1..dc6ff2d 100644
|
||||||
|
--- a/src/vs/workbench/contrib/localization/common/localizationsActions.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/localization/common/localizationsActions.ts
|
||||||
|
@@ -26,3 +26,3 @@ export class ConfigureDisplayLanguageAction extends Action2 {
|
||||||
|
metadata: {
|
||||||
|
- description: localize2('configureLocaleDescription', "Changes the locale of VS Code based on installed language packs. Common languages include French, Chinese, Spanish, Japanese, German, Korean, and more.")
|
||||||
|
+ description: localize2('configureLocaleDescription', "Changes the locale of VSCodium based on installed language packs. Common languages include French, Chinese, Spanish, Japanese, German, Korean, and more.")
|
||||||
|
}
|
||||||
diff --git a/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts b/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts
|
diff --git a/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts b/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts
|
||||||
index 50ed5aa..a28e184 100644
|
index 50ed5aa..a28e184 100644
|
||||||
--- a/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts
|
--- a/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.ts
|
||||||
@@ -823,28 +855,19 @@ index 50ed5aa..a28e184 100644
|
|||||||
+ `// ${nls.localize('doc', 'Open VSCodium and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.')}`,
|
+ `// ${nls.localize('doc', 'Open VSCodium and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.')}`,
|
||||||
``,
|
``,
|
||||||
diff --git a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
diff --git a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
||||||
index 0f75017..2736bfe 100644
|
index e65b86b..a8a5069 100644
|
||||||
--- a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
--- a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
+++ b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts
|
||||||
@@ -559,3 +559,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo
|
@@ -560,3 +560,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo
|
||||||
},
|
},
|
||||||
- "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VS Code Accounts menu.",
|
- "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VS Code Accounts menu.",
|
||||||
+ "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VSCodium Accounts menu.",
|
+ "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VSCodium Accounts menu.",
|
||||||
connectionInfo.tunnelName, connectionInfo.domain, linkToOpenForMarkdown, RemoteTunnelCommandIds.manage, RemoteTunnelCommandIds.configure, RemoteTunnelCommandIds.turnOff, remoteExtension.friendlyName, 'https://code.visualstudio.com/docs/remote/tunnels'
|
connectionInfo.tunnelName, connectionInfo.domain, linkToOpenForMarkdown, RemoteTunnelCommandIds.manage, RemoteTunnelCommandIds.configure, RemoteTunnelCommandIds.turnOff, remoteExtension.friendlyName, 'https://code.visualstudio.com/docs/remote/tunnels'
|
||||||
diff --git a/src/vs/workbench/contrib/surveys/browser/ces.contribution.ts b/src/vs/workbench/contrib/surveys/browser/ces.contribution.ts
|
|
||||||
index b24d91f..a098a62 100644
|
|
||||||
--- a/src/vs/workbench/contrib/surveys/browser/ces.contribution.ts
|
|
||||||
+++ b/src/vs/workbench/contrib/surveys/browser/ces.contribution.ts
|
|
||||||
@@ -75,3 +75,3 @@ class CESContribution extends Disposable implements IWorkbenchContribution {
|
|
||||||
|
|
||||||
- const message = await this.tasExperimentService?.getTreatment<string>('CESSurveyMessage') ?? nls.localize('cesSurveyQuestion', 'Got a moment to help the VS Code team? Please tell us about your experience with VS Code so far.');
|
|
||||||
+ const message = await this.tasExperimentService?.getTreatment<string>('CESSurveyMessage') ?? nls.localize('cesSurveyQuestion', 'Got a moment to help the VSCodium team? Please tell us about your experience with VSCodium so far.');
|
|
||||||
const button = await this.tasExperimentService?.getTreatment<string>('CESSurveyButton') ?? nls.localize('giveFeedback', "Give Feedback");
|
|
||||||
diff --git a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
diff --git a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
||||||
index 5605c99..703e78b 100644
|
index 4670c5a..a8546cc 100644
|
||||||
--- a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
--- a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
||||||
+++ b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
+++ b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
|
||||||
@@ -3167,3 +3167,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
|
@@ -3189,3 +3189,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
|
||||||
if (response.code && response.code === TerminateResponseCode.ProcessNotFound) {
|
if (response.code && response.code === TerminateResponseCode.ProcessNotFound) {
|
||||||
- this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.'));
|
- this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.'));
|
||||||
+ this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VSCodium might result in orphaned processes.'));
|
+ this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VSCodium might result in orphaned processes.'));
|
||||||
@@ -864,7 +887,7 @@ index 9cae427..bfb5063 100644
|
|||||||
+ description: nls.localize('JsonSchema.promptOnClose', 'Whether the user is prompted when VSCodium closes with a running background task.'),
|
+ description: nls.localize('JsonSchema.promptOnClose', 'Whether the user is prompted when VSCodium closes with a running background task.'),
|
||||||
default: false
|
default: false
|
||||||
diff --git a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
diff --git a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
||||||
index 4d90798..38bd65b 100644
|
index 658cb5f..70eac33 100644
|
||||||
--- a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
--- a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
||||||
+++ b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
+++ b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts
|
||||||
@@ -411,3 +411,3 @@ const taskConfiguration: IJSONSchema = {
|
@@ -411,3 +411,3 @@ const taskConfiguration: IJSONSchema = {
|
||||||
@@ -882,53 +905,58 @@ index 9efbc2a..18c7aec 100644
|
|||||||
+ message: nls.localize('TaskSystem.noProcess', 'The launched task doesn\'t exist anymore. If the task spawned background processes exiting VSCodium might result in orphaned processes. To avoid this start the last background process with a wait flag.'),
|
+ message: nls.localize('TaskSystem.noProcess', 'The launched task doesn\'t exist anymore. If the task spawned background processes exiting VSCodium might result in orphaned processes. To avoid this start the last background process with a wait flag.'),
|
||||||
primaryButton: nls.localize({ key: 'TaskSystem.exitAnyways', comment: ['&& denotes a mnemonic'] }, "&&Exit Anyways"),
|
primaryButton: nls.localize({ key: 'TaskSystem.exitAnyways', comment: ['&& denotes a mnemonic'] }, "&&Exit Anyways"),
|
||||||
diff --git a/src/vs/workbench/contrib/terminal/browser/terminalView.ts b/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
diff --git a/src/vs/workbench/contrib/terminal/browser/terminalView.ts b/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
||||||
index 7bf4f42..2a1d39e 100644
|
index 1efbc44..ea72734 100644
|
||||||
--- a/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
--- a/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
||||||
+++ b/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
+++ b/src/vs/workbench/contrib/terminal/browser/terminalView.ts
|
||||||
@@ -199,3 +199,3 @@ export class TerminalViewPane extends ViewPane {
|
@@ -202,3 +202,3 @@ export class TerminalViewPane extends ViewPane {
|
||||||
}];
|
}];
|
||||||
- this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VS Code if this is a newly installed font."), choices);
|
- this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VS Code if this is a newly installed font."), choices);
|
||||||
+ this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VSCodium if this is a newly installed font."), choices);
|
+ this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VSCodium if this is a newly installed font."), choices);
|
||||||
}
|
}
|
||||||
diff --git a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
diff --git a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
||||||
index bdc76cd..72bb5ce 100644
|
index 4dc967f..d4177f6 100644
|
||||||
--- a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
--- a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
||||||
+++ b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
+++ b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts
|
||||||
@@ -286,3 +286,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -296,3 +296,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
[TerminalSettingId.DetectLocale]: {
|
[TerminalSettingId.DetectLocale]: {
|
||||||
- markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VS Code's terminal only supports UTF-8 encoded data coming from the shell."),
|
- markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VS Code's terminal only supports UTF-8 encoded data coming from the shell."),
|
||||||
+ markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VSCodium's terminal only supports UTF-8 encoded data coming from the shell."),
|
+ markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VSCodium's terminal only supports UTF-8 encoded data coming from the shell."),
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -300,3 +300,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -310,3 +310,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
markdownEnumDescriptions: [
|
markdownEnumDescriptions: [
|
||||||
- localize('terminal.integrated.gpuAcceleration.auto', "Let VS Code detect which renderer will give the best experience."),
|
- localize('terminal.integrated.gpuAcceleration.auto', "Let VS Code detect which renderer will give the best experience."),
|
||||||
+ localize('terminal.integrated.gpuAcceleration.auto', "Let VSCodium detect which renderer will give the best experience."),
|
+ localize('terminal.integrated.gpuAcceleration.auto', "Let VSCodium detect which renderer will give the best experience."),
|
||||||
localize('terminal.integrated.gpuAcceleration.on', "Enable GPU acceleration within the terminal."),
|
localize('terminal.integrated.gpuAcceleration.on', "Enable GPU acceleration within the terminal."),
|
||||||
@@ -379,3 +379,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -398,3 +398,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
'terminal.integrated.commandsToSkipShell',
|
'terminal.integrated.commandsToSkipShell',
|
||||||
- "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VS Code. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}",
|
- "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VS Code. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}",
|
||||||
+ "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VSCodium. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}",
|
+ "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VSCodium. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}",
|
||||||
DEFAULT_COMMANDS_TO_SKIP_SHELL.sort().map(command => `- ${command}`).join('\n'),
|
DEFAULT_COMMANDS_TO_SKIP_SHELL.sort().map(command => `- ${command}`).join('\n'),
|
||||||
@@ -391,3 +391,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -410,3 +410,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
[TerminalSettingId.AllowChords]: {
|
[TerminalSettingId.AllowChords]: {
|
||||||
- markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VS Code).", '`#terminal.integrated.commandsToSkipShell#`'),
|
- markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VS Code).", '`#terminal.integrated.commandsToSkipShell#`'),
|
||||||
+ markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VSCodium).", '`#terminal.integrated.commandsToSkipShell#`'),
|
+ markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VSCodium).", '`#terminal.integrated.commandsToSkipShell#`'),
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
@@ -402,3 +402,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -421,3 +421,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
restricted: true,
|
restricted: true,
|
||||||
- markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VS Code process to be used by the terminal on macOS. Set to `null` to delete the environment variable."),
|
- markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VS Code process to be used by the terminal on macOS. Set to `null` to delete the environment variable."),
|
||||||
+ markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on macOS. Set to `null` to delete the environment variable."),
|
+ markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on macOS. Set to `null` to delete the environment variable."),
|
||||||
type: 'object',
|
type: 'object',
|
||||||
@@ -411,3 +411,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -430,3 +430,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
restricted: true,
|
restricted: true,
|
||||||
- markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Linux. Set to `null` to delete the environment variable."),
|
- markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Linux. Set to `null` to delete the environment variable."),
|
||||||
+ markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Linux. Set to `null` to delete the environment variable."),
|
+ markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Linux. Set to `null` to delete the environment variable."),
|
||||||
type: 'object',
|
type: 'object',
|
||||||
@@ -420,3 +420,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -439,3 +439,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
restricted: true,
|
restricted: true,
|
||||||
- markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Windows. Set to `null` to delete the environment variable."),
|
- markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Windows. Set to `null` to delete the environment variable."),
|
||||||
+ markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Windows. Set to `null` to delete the environment variable."),
|
+ markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Windows. Set to `null` to delete the environment variable."),
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@@ -468,3 +468,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
|
[TerminalSettingId.ExperimentalWindowsUseConptyDll]: {
|
||||||
|
- markdownDescription: localize('terminal.integrated.experimentalWindowsUseConptyDll', "Whether to use the experimental conpty.dll shipped with VS Code, instead of the one bundled with Windows."),
|
||||||
|
+ markdownDescription: localize('terminal.integrated.experimentalWindowsUseConptyDll', "Whether to use the experimental conpty.dll shipped with VSCodium, instead of the one bundled with Windows."),
|
||||||
|
type: 'boolean',
|
||||||
@@ -568,3 +568,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -568,3 +568,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
[TerminalSettingId.AutoReplies]: {
|
[TerminalSettingId.AutoReplies]: {
|
||||||
- markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that, when encountered in the terminal, will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.", '`"Terminate batch job (Y/N)": "Y\\r"`', '`"\\r"`'),
|
- markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that, when encountered in the terminal, will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.", '`"Terminate batch job (Y/N)": "Y\\r"`', '`"\\r"`'),
|
||||||
@@ -936,19 +964,28 @@ index bdc76cd..72bb5ce 100644
|
|||||||
type: 'object',
|
type: 'object',
|
||||||
@@ -581,3 +581,3 @@ const terminalConfiguration: IConfigurationNode = {
|
@@ -581,3 +581,3 @@ const terminalConfiguration: IConfigurationNode = {
|
||||||
restricted: true,
|
restricted: true,
|
||||||
- markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VS Code insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'),
|
- markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VS Code insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh, git bash\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'),
|
||||||
+ markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VSCodium insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'),
|
+ markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VSCodium insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh, git bash\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'),
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
diff --git a/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.ts b/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.ts
|
||||||
|
index b178293..69e4e1b 100644
|
||||||
|
--- a/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.ts
|
||||||
|
@@ -69,3 +69,3 @@ export const terminalSuggestConfiguration: IStringDictionary<IConfigurationPrope
|
||||||
|
'pwshCode': {
|
||||||
|
- description: localize('suggest.builtinCompletions.pwshCode', 'Custom PowerShell argument completers will be registered for VS Code\'s `code` and `code-insiders` CLIs. This is currently very basic and always suggests flags and subcommands without checking context.'),
|
||||||
|
+ description: localize('suggest.builtinCompletions.pwshCode', 'Custom PowerShell argument completers will be registered for VSCodium\'s `codium` and `codium-insiders` CLIs. This is currently very basic and always suggests flags and subcommands without checking context.'),
|
||||||
|
type: 'boolean'
|
||||||
diff --git a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
diff --git a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
||||||
index 2117ec5..6ad1388 100644
|
index a22f71d..273dcc6 100644
|
||||||
--- a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
--- a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
+++ b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts
|
||||||
@@ -827,3 +827,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
|
@@ -924,3 +924,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
|
||||||
Severity.Info,
|
Severity.Info,
|
||||||
- localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
|
- localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
|
||||||
+ localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
|
+ localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
|
||||||
choices,
|
choices,
|
||||||
@@ -855,3 +855,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
|
@@ -952,3 +952,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
|
||||||
Severity.Info,
|
Severity.Info,
|
||||||
- localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
|
- localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
|
||||||
+ localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
|
+ localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
|
||||||
@@ -970,7 +1007,7 @@ index af1b3d5..7b06e7a 100644
|
|||||||
+ detail: nls.localize('selectSyncService.detail', "The Insiders version of VSCodium will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."),
|
+ detail: nls.localize('selectSyncService.detail', "The Insiders version of VSCodium will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."),
|
||||||
buttons: [
|
buttons: [
|
||||||
diff --git a/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts b/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
diff --git a/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts b/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
||||||
index c5c2258..fb5045b 100644
|
index 62ab7f3..9ce0651 100644
|
||||||
--- a/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
--- a/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
||||||
+++ b/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
+++ b/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.ts
|
||||||
@@ -55,3 +55,3 @@ function computeTrustedDomainContent(defaultTrustedDomains: string[], trustedDom
|
@@ -55,3 +55,3 @@ function computeTrustedDomainContent(defaultTrustedDomains: string[], trustedDom
|
||||||
@@ -984,10 +1021,15 @@ index c5c2258..fb5045b 100644
|
|||||||
+ content += `// By default, VSCodium trusts "localhost".\n`;
|
+ content += `// By default, VSCodium trusts "localhost".\n`;
|
||||||
}
|
}
|
||||||
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
index 66b9062..18a2219 100644
|
index f44d95e..b06c076 100644
|
||||||
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
@@ -321,3 +321,3 @@ configurationRegistry.registerConfiguration({
|
@@ -49,3 +49,3 @@ registerAction2(class extends Action2 {
|
||||||
|
metadata: {
|
||||||
|
- description: localize2('minWelcomeDescription', 'Opens a Walkthrough to help you get started in VS Code.')
|
||||||
|
+ description: localize2('minWelcomeDescription', 'Opens a Walkthrough to help you get started in VSCodium.')
|
||||||
|
}
|
||||||
|
@@ -327,3 +327,3 @@ configurationRegistry.registerConfiguration({
|
||||||
localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.none' }, "Start without an editor."),
|
localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.none' }, "Start without an editor."),
|
||||||
- localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.welcomePage' }, "Open the Welcome page, with content to aid in getting started with VS Code and extensions."),
|
- localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.welcomePage' }, "Open the Welcome page, with content to aid in getting started with VS Code and extensions."),
|
||||||
+ localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.welcomePage' }, "Open the Welcome page, with content to aid in getting started with VSCodium and extensions."),
|
+ localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.welcomePage' }, "Open the Welcome page, with content to aid in getting started with VSCodium and extensions."),
|
||||||
@@ -1002,24 +1044,24 @@ index 9141402..b1aa321 100644
|
|||||||
+ description: localize('walkthroughs.steps.completionEvents.onCommand', 'Check off step when a given command is executed anywhere in VSCodium.'),
|
+ description: localize('walkthroughs.steps.completionEvents.onCommand', 'Check off step when a given command is executed anywhere in VSCodium.'),
|
||||||
body: 'onCommand:${1:commandId}'
|
body: 'onCommand:${1:commandId}'
|
||||||
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
||||||
index e43f62d..eb5ea8f 100644
|
index 3ca4575..2d69d73 100644
|
||||||
--- a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
--- a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
||||||
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts
|
||||||
@@ -172,3 +172,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -211,3 +211,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
id: 'Setup',
|
id: 'Setup',
|
||||||
- title: localize('gettingStarted.setup.title', "Get Started with VS Code"),
|
- title: localize('gettingStarted.setup.title', "Get Started with VS Code"),
|
||||||
+ title: localize('gettingStarted.setup.title', "Get Started with VSCodium"),
|
+ title: localize('gettingStarted.setup.title', "Get Started with VSCodium"),
|
||||||
description: localize('gettingStarted.setup.description', "Customize your editor, learn the basics, and start coding"),
|
description: localize('gettingStarted.setup.description', "Customize your editor, learn the basics, and start coding"),
|
||||||
@@ -194,6 +194,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -234,6 +234,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
||||||
- description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
- description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopularWeb', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
+ description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
+ description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopularWeb', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
when: 'workspacePlatform == \'webworker\'',
|
when: 'workspacePlatform == \'webworker\'',
|
||||||
media: {
|
media: {
|
||||||
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
||||||
+ type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
+ type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
||||||
},
|
},
|
||||||
@@ -212,5 +212,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -252,5 +252,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.settings.title', "Tune your settings"),
|
title: localize('gettingStarted.settings.title', "Tune your settings"),
|
||||||
- description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
|
- description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
|
||||||
+ description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VSCodium and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
|
+ description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VSCodium and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
|
||||||
@@ -1027,56 +1069,63 @@ index e43f62d..eb5ea8f 100644
|
|||||||
- type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
|
- type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
|
||||||
+ type: 'svg', altText: 'VSCodium Settings', path: 'settings.svg'
|
+ type: 'svg', altText: 'VSCodium Settings', path: 'settings.svg'
|
||||||
},
|
},
|
||||||
@@ -230,3 +230,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -270,3 +270,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "),
|
title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "),
|
||||||
- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
||||||
+ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
+ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
||||||
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
||||||
@@ -236,3 +236,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -276,3 +276,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
||||||
- description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')),
|
- description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')),
|
||||||
+ description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')),
|
+ description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')),
|
||||||
when: 'isMac && workspaceFolderCount == 0',
|
when: 'isMac && workspaceFolderCount == 0',
|
||||||
@@ -245,3 +245,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -285,3 +285,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
||||||
- description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')),
|
- description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')),
|
||||||
+ description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')),
|
+ description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')),
|
||||||
when: '!isMac && workspaceFolderCount == 0',
|
when: '!isMac && workspaceFolderCount == 0',
|
||||||
@@ -263,4 +263,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -303,4 +303,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.videoTutorial.title', "Watch video tutorials"),
|
title: localize('gettingStarted.videoTutorial.title', "Watch video tutorials"),
|
||||||
- description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')),
|
- description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')),
|
||||||
- media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' },
|
- media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' },
|
||||||
+ description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VSCodium's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')),
|
+ description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VSCodium's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')),
|
||||||
+ media: { type: 'svg', altText: 'VSCodium Settings', path: 'learn.svg' },
|
+ media: { type: 'svg', altText: 'VSCodium Settings', path: 'learn.svg' },
|
||||||
}
|
}
|
||||||
@@ -272,3 +272,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -312,3 +312,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
id: 'SetupWeb',
|
id: 'SetupWeb',
|
||||||
- title: localize('gettingStarted.setupWeb.title', "Get Started with VS Code for the Web"),
|
- title: localize('gettingStarted.setupWeb.title', "Get Started with VS Code for the Web"),
|
||||||
+ title: localize('gettingStarted.setupWeb.title', "Get Started with VSCodium for the Web"),
|
+ title: localize('gettingStarted.setupWeb.title', "Get Started with VSCodium for the Web"),
|
||||||
description: localize('gettingStarted.setupWeb.description', "Customize your editor, learn the basics, and start coding"),
|
description: localize('gettingStarted.setupWeb.description', "Customize your editor, learn the basics, and start coding"),
|
||||||
@@ -303,6 +303,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -343,6 +343,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
||||||
- description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
- description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopularWeb', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
+ description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
+ description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopularWeb', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
when: 'workspacePlatform == \'webworker\'',
|
when: 'workspacePlatform == \'webworker\'',
|
||||||
media: {
|
media: {
|
||||||
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
||||||
+ type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
+ type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
||||||
},
|
},
|
||||||
@@ -331,3 +331,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -371,3 +371,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "),
|
title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "),
|
||||||
- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
||||||
+ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
+ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')),
|
||||||
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
||||||
@@ -337,3 +337,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -377,3 +377,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
|
||||||
- description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')),
|
- description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')),
|
||||||
+ description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VSCodium.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')),
|
+ description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VSCodium.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')),
|
||||||
when: 'workspaceFolderCount == 0',
|
when: 'workspaceFolderCount == 0',
|
||||||
@@ -368,6 +368,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
@@ -397,4 +397,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
|
id: 'SetupScreenReader',
|
||||||
|
- title: localize('gettingStarted.setupScreenReader.title', "Get Started with VS Code using a Screen Reader"),
|
||||||
|
- description: localize('gettingStarted.setupScreenReader.description', "Learn the tools and shortcuts that make VS Code accessible. Note that some actions are not actionable from within the context of the walkthrough."),
|
||||||
|
+ title: localize('gettingStarted.setupScreenReader.title', "Get Started with VSCodium using a Screen Reader"),
|
||||||
|
+ description: localize('gettingStarted.setupScreenReader.description', "Learn the tools and shortcuts that make VSCodium accessible. Note that some actions are not actionable from within the context of the walkthrough."),
|
||||||
|
isFeatured: true,
|
||||||
|
@@ -485,6 +485,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
|
||||||
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
title: localize('gettingStarted.extensions.title', "Code with extensions"),
|
||||||
- description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')),
|
- description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browsePopular', "Browse Popular Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
+ description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VSCodium's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')),
|
+ description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VSCodium's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browsePopular', "Browse Popular Extensions"), 'command:workbench.extensions.action.showPopularExtensions')),
|
||||||
when: 'workspacePlatform != \'webworker\'',
|
when: 'workspacePlatform != \'webworker\'',
|
||||||
media: {
|
media: {
|
||||||
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions.svg'
|
- type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions.svg'
|
||||||
@@ -1107,76 +1156,81 @@ index e3fe20c..b879dca 100644
|
|||||||
+Well if you have got this far then you will have touched on some of the editing features in VSCodium. But don't stop now :) We have lots of additional [documentation](https://code.visualstudio.com/docs), [introductory videos](https://code.visualstudio.com/docs/getstarted/introvideos) and [tips and tricks](https://go.microsoft.com/fwlink/?linkid=852118) for the product that will help you learn how to use it. And while you are here, here are a few additional things you can try:
|
+Well if you have got this far then you will have touched on some of the editing features in VSCodium. But don't stop now :) We have lots of additional [documentation](https://code.visualstudio.com/docs), [introductory videos](https://code.visualstudio.com/docs/getstarted/introvideos) and [tips and tricks](https://go.microsoft.com/fwlink/?linkid=852118) for the product that will help you learn how to use it. And while you are here, here are a few additional things you can try:
|
||||||
- Open the Integrated Terminal by pressing kb(workbench.action.terminal.toggleTerminal), then see what's possible by [reviewing the terminal documentation](https://code.visualstudio.com/docs/editor/integrated-terminal)
|
- Open the Integrated Terminal by pressing kb(workbench.action.terminal.toggleTerminal), then see what's possible by [reviewing the terminal documentation](https://code.visualstudio.com/docs/editor/integrated-terminal)
|
||||||
diff --git a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
diff --git a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
||||||
index 37fb5d3..669a6b5 100644
|
index 541f119..64f3b80 100644
|
||||||
--- a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
--- a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
+++ b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts
|
||||||
@@ -738,3 +738,3 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
@@ -733,3 +733,3 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
||||||
default: true,
|
default: true,
|
||||||
- description: localize('workspace.trust.description', "Controls whether or not Workspace Trust is enabled within VS Code."),
|
- description: localize('workspace.trust.description', "Controls whether or not Workspace Trust is enabled within VS Code."),
|
||||||
+ description: localize('workspace.trust.description', "Controls whether or not Workspace Trust is enabled within VSCodium."),
|
+ description: localize('workspace.trust.description', "Controls whether or not Workspace Trust is enabled within VSCodium."),
|
||||||
tags: [WORKSPACE_TRUST_SETTING_TAG],
|
tags: [WORKSPACE_TRUST_SETTING_TAG],
|
||||||
@@ -784,3 +784,3 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
@@ -779,3 +779,3 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
||||||
default: true,
|
default: true,
|
||||||
- markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VS Code. When used with `#{0}#`, you can enable the full functionality of VS Code without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES),
|
- markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VS Code. When used with `#{0}#`, you can enable the full functionality of VS Code without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES),
|
||||||
+ markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VSCodium. When used with `#{0}#`, you can enable the full functionality of VSCodium without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES),
|
+ markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VSCodium. When used with `#{0}#`, you can enable the full functionality of VSCodium without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES),
|
||||||
tags: [WORKSPACE_TRUST_SETTING_TAG],
|
tags: [WORKSPACE_TRUST_SETTING_TAG],
|
||||||
diff --git a/src/vs/workbench/electron-sandbox/desktop.contribution.ts b/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
diff --git a/src/vs/workbench/electron-sandbox/desktop.contribution.ts b/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
||||||
index f1e76e5..275ad1a 100644
|
index c51e033..7a68056 100644
|
||||||
--- a/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
--- a/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
||||||
+++ b/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
+++ b/src/vs/workbench/electron-sandbox/desktop.contribution.ts
|
||||||
@@ -387,3 +387,3 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand
|
@@ -402,3 +402,3 @@ import product from 'vs/platform/product/common/product';
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
- description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VS Code as elevated on Linux and running under Applocker on Windows.")
|
- description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VS Code as elevated on Linux and running under Applocker on Windows.")
|
||||||
+ description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VSCodium as elevated on Linux and running under Applocker on Windows.")
|
+ description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VSCodium as elevated on Linux and running under Applocker on Windows.")
|
||||||
},
|
},
|
||||||
@@ -391,3 +391,3 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand
|
@@ -406,3 +406,3 @@ import product from 'vs/platform/product/common/product';
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
- description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VS Code extension tests or when you're experiencing difficulties with the credential store.")
|
- description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VS Code extension tests or when you're experiencing difficulties with the credential store.")
|
||||||
+ description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VSCodium extension tests or when you're experiencing difficulties with the credential store.")
|
+ description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VSCodium extension tests or when you're experiencing difficulties with the credential store.")
|
||||||
}
|
}
|
||||||
diff --git a/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts b/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
diff --git a/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts b/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
||||||
index a22a4d5..e59d9e8 100644
|
index 5ba2338..22703c2 100644
|
||||||
--- a/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
--- a/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
||||||
+++ b/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
+++ b/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts
|
||||||
@@ -714,3 +714,3 @@ export class ExtensionManagementService extends Disposable implements IWorkbench
|
@@ -739,3 +739,3 @@ export class ExtensionManagementService extends Disposable implements IWorkbench
|
||||||
|
|
||||||
- const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong);
|
- const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong);
|
||||||
+ const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong);
|
+ const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong);
|
||||||
const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest);
|
const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest);
|
||||||
diff --git a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
diff --git a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
||||||
index 65672a1..062933d 100644
|
index 696f822..9f527b4 100644
|
||||||
--- a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
--- a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
||||||
+++ b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
+++ b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts
|
||||||
@@ -86,3 +86,3 @@ type ExtensionUrlHandlerClassification = {
|
@@ -86,3 +86,3 @@ type ExtensionUrlHandlerClassification = {
|
||||||
readonly extensionId: { classification: 'PublicNonPersonalData'; purpose: 'FeatureInsight'; comment: 'The ID of the extension that should handle the URI' };
|
readonly extensionId: { classification: 'PublicNonPersonalData'; purpose: 'FeatureInsight'; comment: 'The ID of the extension that should handle the URI' };
|
||||||
- comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VS Code.';
|
- comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VS Code.';
|
||||||
|
+ comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VSCodium.';
|
||||||
|
};
|
||||||
|
@@ -98,3 +98,3 @@ type ExtensionUrlReloadHandlerClassification = {
|
||||||
|
readonly isRemote: { classification: 'PublicNonPersonalData'; purpose: 'FeatureInsight'; comment: 'Whether the current window is a remote window' };
|
||||||
|
- comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VS Code.';
|
||||||
+ comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VSCodium.';
|
+ comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VSCodium.';
|
||||||
};
|
};
|
||||||
diff --git a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
diff --git a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
||||||
index ed8bae3..863e6dd 100644
|
index 4e8ced6..652a68e 100644
|
||||||
--- a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
--- a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
||||||
+++ b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
+++ b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts
|
||||||
@@ -171,3 +171,3 @@ export const schema: IJSONSchema = {
|
@@ -178,3 +178,3 @@ export const schema: IJSONSchema = {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
- description: nls.localize('vscode.extension.engines.vscode', 'For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.'),
|
- description: nls.localize('vscode.extension.engines.vscode', 'For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.'),
|
||||||
+ description: nls.localize('vscode.extension.engines.vscode', 'For VSCodium extensions, specifies the VSCodium version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VSCodium version of 0.10.5.'),
|
+ description: nls.localize('vscode.extension.engines.vscode', 'For VSCodium extensions, specifies the VSCodium version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VSCodium version of 0.10.5.'),
|
||||||
default: '^1.22.0',
|
default: '^1.22.0',
|
||||||
@@ -177,3 +177,3 @@ export const schema: IJSONSchema = {
|
@@ -184,3 +184,3 @@ export const schema: IJSONSchema = {
|
||||||
publisher: {
|
publisher: {
|
||||||
- description: nls.localize('vscode.extension.publisher', 'The publisher of the VS Code extension.'),
|
- description: nls.localize('vscode.extension.publisher', 'The publisher of the VS Code extension.'),
|
||||||
+ description: nls.localize('vscode.extension.publisher', 'The publisher of the VSCodium extension.'),
|
+ description: nls.localize('vscode.extension.publisher', 'The publisher of the VSCodium extension.'),
|
||||||
type: 'string'
|
type: 'string'
|
||||||
@@ -181,3 +181,3 @@ export const schema: IJSONSchema = {
|
@@ -188,3 +188,3 @@ export const schema: IJSONSchema = {
|
||||||
displayName: {
|
displayName: {
|
||||||
- description: nls.localize('vscode.extension.displayName', 'The display name for the extension used in the VS Code gallery.'),
|
- description: nls.localize('vscode.extension.displayName', 'The display name for the extension used in the VS Code gallery.'),
|
||||||
+ description: nls.localize('vscode.extension.displayName', 'The display name for the extension used in the VSCodium gallery.'),
|
+ description: nls.localize('vscode.extension.displayName', 'The display name for the extension used in the VSCodium gallery.'),
|
||||||
type: 'string'
|
type: 'string'
|
||||||
@@ -185,3 +185,3 @@ export const schema: IJSONSchema = {
|
@@ -192,3 +192,3 @@ export const schema: IJSONSchema = {
|
||||||
categories: {
|
categories: {
|
||||||
- description: nls.localize('vscode.extension.categories', 'The categories used by the VS Code gallery to categorize the extension.'),
|
- description: nls.localize('vscode.extension.categories', 'The categories used by the VS Code gallery to categorize the extension.'),
|
||||||
+ description: nls.localize('vscode.extension.categories', 'The categories used by the VSCodium gallery to categorize the extension.'),
|
+ description: nls.localize('vscode.extension.categories', 'The categories used by the VSCodium gallery to categorize the extension.'),
|
||||||
type: 'array',
|
type: 'array',
|
||||||
@@ -202,6 +202,6 @@ export const schema: IJSONSchema = {
|
@@ -209,6 +209,6 @@ export const schema: IJSONSchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
- description: nls.localize('vscode.extension.galleryBanner', 'Banner used in the VS Code marketplace.'),
|
- description: nls.localize('vscode.extension.galleryBanner', 'Banner used in the VS Code marketplace.'),
|
||||||
+ description: nls.localize('vscode.extension.galleryBanner', 'Banner used in the VSCodium marketplace.'),
|
+ description: nls.localize('vscode.extension.galleryBanner', 'Banner used in the VSCodium marketplace.'),
|
||||||
@@ -1185,45 +1239,45 @@ index ed8bae3..863e6dd 100644
|
|||||||
- description: nls.localize('vscode.extension.galleryBanner.color', 'The banner color on the VS Code marketplace page header.'),
|
- description: nls.localize('vscode.extension.galleryBanner.color', 'The banner color on the VS Code marketplace page header.'),
|
||||||
+ description: nls.localize('vscode.extension.galleryBanner.color', 'The banner color on the VSCodium marketplace page header.'),
|
+ description: nls.localize('vscode.extension.galleryBanner.color', 'The banner color on the VSCodium marketplace page header.'),
|
||||||
type: 'string'
|
type: 'string'
|
||||||
@@ -216,3 +216,3 @@ export const schema: IJSONSchema = {
|
@@ -223,3 +223,3 @@ export const schema: IJSONSchema = {
|
||||||
contributes: {
|
contributes: {
|
||||||
- description: nls.localize('vscode.extension.contributes', 'All contributions of the VS Code extension represented by this package.'),
|
- description: nls.localize('vscode.extension.contributes', 'All contributions of the VS Code extension represented by this package.'),
|
||||||
+ description: nls.localize('vscode.extension.contributes', 'All contributions of the VSCodium extension represented by this package.'),
|
+ description: nls.localize('vscode.extension.contributes', 'All contributions of the VSCodium extension represented by this package.'),
|
||||||
type: 'object',
|
type: 'object',
|
||||||
@@ -250,3 +250,3 @@ export const schema: IJSONSchema = {
|
@@ -257,3 +257,3 @@ export const schema: IJSONSchema = {
|
||||||
activationEvents: {
|
activationEvents: {
|
||||||
- description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VS Code extension.'),
|
- description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VS Code extension.'),
|
||||||
+ description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VSCodium extension.'),
|
+ description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VSCodium extension.'),
|
||||||
type: 'array',
|
type: 'array',
|
||||||
@@ -382,3 +382,3 @@ export const schema: IJSONSchema = {
|
@@ -399,3 +399,3 @@ export const schema: IJSONSchema = {
|
||||||
label: '*',
|
label: '*',
|
||||||
- description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
|
- description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
|
||||||
+ description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VSCodium startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
|
+ description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VSCodium startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
|
||||||
body: '*'
|
body: '*'
|
||||||
@@ -554,3 +554,3 @@ export const schema: IJSONSchema = {
|
@@ -571,3 +571,3 @@ export const schema: IJSONSchema = {
|
||||||
'vscode:prepublish': {
|
'vscode:prepublish': {
|
||||||
- description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VS Code extension.'),
|
- description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VS Code extension.'),
|
||||||
+ description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VSCodium extension.'),
|
+ description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VSCodium extension.'),
|
||||||
type: 'string'
|
type: 'string'
|
||||||
@@ -558,3 +558,3 @@ export const schema: IJSONSchema = {
|
@@ -575,3 +575,3 @@ export const schema: IJSONSchema = {
|
||||||
'vscode:uninstall': {
|
'vscode:uninstall': {
|
||||||
- description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'),
|
- description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'),
|
||||||
+ description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VSCodium extension. Script that gets executed when the extension is completely uninstalled from VSCodium which is when VSCodium is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'),
|
+ description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VSCodium extension. Script that gets executed when the extension is completely uninstalled from VSCodium which is when VSCodium is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'),
|
||||||
type: 'string'
|
type: 'string'
|
||||||
diff --git a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
diff --git a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
||||||
index cdd507e..c390af5 100644
|
index 61eaeb7..30b5acf 100644
|
||||||
--- a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
--- a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
||||||
+++ b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
+++ b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts
|
||||||
@@ -174,3 +174,3 @@ export class NativeExtensionService extends AbstractExtensionService implements
|
@@ -166,3 +166,3 @@ export class NativeExtensionService extends AbstractExtensionService implements
|
||||||
[{
|
[{
|
||||||
- label: nls.localize('relaunch', "Relaunch VS Code"),
|
- label: nls.localize('relaunch', "Relaunch VS Code"),
|
||||||
+ label: nls.localize('relaunch', "Relaunch VSCodium"),
|
+ label: nls.localize('relaunch', "Relaunch VSCodium"),
|
||||||
run: () => {
|
run: () => {
|
||||||
diff --git a/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts b/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
diff --git a/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts b/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
||||||
index e454c34..6b180d5 100644
|
index ff84581..18e03ba 100644
|
||||||
--- a/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
--- a/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
||||||
+++ b/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
+++ b/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.ts
|
||||||
@@ -169,3 +169,3 @@ export class UserDataProfileManagementService extends Disposable implements IUse
|
@@ -174,3 +174,3 @@ export class UserDataProfileManagementService extends Disposable implements IUse
|
||||||
const { confirmed } = await this.dialogService.confirm({
|
const { confirmed } = await this.dialogService.confirm({
|
||||||
- message: reloadMessage ?? localize('reload message', "Switching a profile requires reloading VS Code."),
|
- message: reloadMessage ?? localize('reload message', "Switching a profile requires reloading VS Code."),
|
||||||
+ message: reloadMessage ?? localize('reload message', "Switching a profile requires reloading VSCodium."),
|
+ message: reloadMessage ?? localize('reload message', "Switching a profile requires reloading VSCodium."),
|
||||||
|
|||||||
@@ -1,60 +1,62 @@
|
|||||||
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
||||||
index 595d0ce..99bfe30 100644
|
index 85b9b2e..dc33fbc 100644
|
||||||
--- a/build/gulpfile.reh.js
|
--- a/build/gulpfile.reh.js
|
||||||
+++ b/build/gulpfile.reh.js
|
+++ b/build/gulpfile.reh.js
|
||||||
@@ -290,4 +290,5 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
@@ -342,2 +342,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
||||||
const name = product.nameShort;
|
const name = product.nameShort;
|
||||||
+ const release = packageJson.release;
|
+ const release = packageJson.release;
|
||||||
|
|
||||||
|
@@ -345,3 +346,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
||||||
const packageJsonStream = gulp.src(['remote/package.json'], { base: 'remote' })
|
const packageJsonStream = gulp.src(['remote/package.json'], { base: 'remote' })
|
||||||
- .pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined }));
|
- .pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined, ...(isESM(`Setting 'type: module' in top level package.json`) ? { type: 'module' } : {}) })) // TODO@esm this should be configured in the top level package.json
|
||||||
+ .pipe(json({ name, version, release, dependencies: undefined, optionalDependencies: undefined }));
|
+ .pipe(json({ name, version, release, dependencies: undefined, optionalDependencies: undefined, ...(isESM(`Setting 'type: module' in top level package.json`) ? { type: 'module' } : {}) })) // TODO@esm this should be configured in the top level package.json
|
||||||
|
.pipe(es.through(function (file) {
|
||||||
@@ -296,3 +297,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
@@ -353,3 +354,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
||||||
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
||||||
- .pipe(json({ commit, date, version }));
|
- .pipe(json({ commit, date: readISODate('out-build'), version }))
|
||||||
+ .pipe(json({ commit, date, version, release }));
|
+ .pipe(json({ commit, date: readISODate('out-build'), version, release }))
|
||||||
|
.pipe(es.through(function (file) {
|
||||||
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
||||||
index e1507e0..9a12a12 100644
|
index 8d15015..dc50d78 100644
|
||||||
--- a/build/gulpfile.vscode.js
|
--- a/build/gulpfile.vscode.js
|
||||||
+++ b/build/gulpfile.vscode.js
|
+++ b/build/gulpfile.vscode.js
|
||||||
@@ -233,3 +233,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
@@ -320,3 +320,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
|
|
||||||
- let version = packageJson.version;
|
- let version = packageJson.version;
|
||||||
+ let version = packageJson.version
|
+ let version = packageJson.version
|
||||||
const quality = product.quality;
|
const quality = product.quality;
|
||||||
@@ -241,3 +241,4 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
@@ -333,3 +333,4 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
const name = product.nameShort;
|
const name = product.nameShort;
|
||||||
- const packageJsonUpdates = { name, version };
|
- const packageJsonUpdates = { name, version, ...(isESM(`Setting 'type: module' and 'main: out/main.js' in top level package.json`) ? { type: 'module', main: 'out/main.js' } : {}) }; // TODO@esm this should be configured in the top level package.json
|
||||||
+ const release = packageJson.release;
|
+ const release = packageJson.release;
|
||||||
+ const packageJsonUpdates = { name, version, release };
|
+ const packageJsonUpdates = { name, version, release, ...(isESM(`Setting 'type: module' and 'main: out/main.js' in top level package.json`) ? { type: 'module', main: 'out/main.js' } : {}) }; // TODO@esm this should be configured in the top level package.json
|
||||||
|
|
||||||
@@ -252,3 +253,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
|
||||||
const date = new Date().toISOString();
|
|
||||||
- const productJsonUpdate = { commit, date, checksums, version };
|
|
||||||
+ const productJsonUpdate = { commit, date, checksums, version, release };
|
|
||||||
|
|
||||||
|
@@ -350,3 +351,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
|
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
||||||
|
- .pipe(json({ commit, date: readISODate('out-build'), checksums, version }))
|
||||||
|
+ .pipe(json({ commit, date: readISODate('out-build'), checksums, version, release }))
|
||||||
|
.pipe(es.through(function (file) {
|
||||||
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
||||||
index 8c2b62f..303fb16 100644
|
index 7959454..4bceb17 100644
|
||||||
--- a/build/gulpfile.vscode.linux.js
|
--- a/build/gulpfile.vscode.linux.js
|
||||||
+++ b/build/gulpfile.vscode.linux.js
|
+++ b/build/gulpfile.vscode.linux.js
|
||||||
@@ -24,4 +24,2 @@ const commit = getVersion(root);
|
@@ -27,4 +27,2 @@ const commit = getVersion(root);
|
||||||
|
|
||||||
-const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
-const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
||||||
-
|
-
|
||||||
/**
|
/**
|
||||||
@@ -86,3 +84,3 @@ function prepareDebPackage(arch) {
|
@@ -89,3 +87,3 @@ function prepareDebPackage(arch) {
|
||||||
.pipe(replace('@@NAME@@', product.applicationName))
|
.pipe(replace('@@NAME@@', product.applicationName))
|
||||||
- .pipe(replace('@@VERSION@@', packageJson.version + '-' + linuxPackageRevision))
|
- .pipe(replace('@@VERSION@@', packageJson.version + '-' + linuxPackageRevision))
|
||||||
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
||||||
.pipe(replace('@@ARCHITECTURE@@', debArch))
|
.pipe(replace('@@ARCHITECTURE@@', debArch))
|
||||||
@@ -194,4 +192,3 @@ function prepareRpmPackage(arch) {
|
@@ -203,4 +201,3 @@ function prepareRpmPackage(arch) {
|
||||||
.pipe(replace('@@ICON@@', product.linuxIconName))
|
.pipe(replace('@@ICON@@', product.linuxIconName))
|
||||||
- .pipe(replace('@@VERSION@@', packageJson.version))
|
- .pipe(replace('@@VERSION@@', packageJson.version))
|
||||||
- .pipe(replace('@@RELEASE@@', linuxPackageRevision))
|
- .pipe(replace('@@RELEASE@@', linuxPackageRevision))
|
||||||
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
||||||
.pipe(replace('@@ARCHITECTURE@@', rpmArch))
|
.pipe(replace('@@ARCHITECTURE@@', rpmArch))
|
||||||
@@ -270,3 +267,3 @@ function prepareSnapPackage(arch) {
|
@@ -279,3 +276,3 @@ function prepareSnapPackage(arch) {
|
||||||
.pipe(replace('@@NAME@@', product.applicationName))
|
.pipe(replace('@@NAME@@', product.applicationName))
|
||||||
- .pipe(replace('@@VERSION@@', commit.substr(0, 8)))
|
- .pipe(replace('@@VERSION@@', commit.substr(0, 8)))
|
||||||
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`))
|
||||||
@@ -71,7 +73,7 @@ index 5adfdfb..d6ddead 100644
|
|||||||
+ RawVersion: `${pkg.version.replace(/-\w+$/, '')}.${pkg.release}`,
|
+ RawVersion: `${pkg.version.replace(/-\w+$/, '')}.${pkg.release}`,
|
||||||
NameVersion: product.win32NameVersion + (target === 'user' ? ' (User)' : ''),
|
NameVersion: product.win32NameVersion + (target === 'user' ? ' (User)' : ''),
|
||||||
diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts
|
diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts
|
||||||
index 3a57612..d26a55b 100644
|
index 022d2e6..1523754 100644
|
||||||
--- a/src/vs/base/common/product.ts
|
--- a/src/vs/base/common/product.ts
|
||||||
+++ b/src/vs/base/common/product.ts
|
+++ b/src/vs/base/common/product.ts
|
||||||
@@ -58,2 +58,3 @@ export interface IProductConfiguration {
|
@@ -58,2 +58,3 @@ export interface IProductConfiguration {
|
||||||
@@ -79,16 +81,16 @@ index 3a57612..d26a55b 100644
|
|||||||
+ readonly release: string;
|
+ readonly release: string;
|
||||||
readonly date?: string;
|
readonly date?: string;
|
||||||
diff --git a/src/vs/platform/diagnostics/node/diagnosticsService.ts b/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
diff --git a/src/vs/platform/diagnostics/node/diagnosticsService.ts b/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
||||||
index 0be311f..d6c4a18 100644
|
index 7e0bc11..1fa5310 100644
|
||||||
--- a/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
--- a/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
||||||
+++ b/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
+++ b/src/vs/platform/diagnostics/node/diagnosticsService.ts
|
||||||
@@ -224,3 +224,3 @@ export class DiagnosticsService implements IDiagnosticsService {
|
@@ -231,3 +231,3 @@ export class DiagnosticsService implements IDiagnosticsService {
|
||||||
const output: string[] = [];
|
const output: string[] = [];
|
||||||
- output.push(`Version: ${this.productService.nameShort} ${this.productService.version} (${this.productService.commit || 'Commit unknown'}, ${this.productService.date || 'Date unknown'})`);
|
- output.push(`Version: ${this.productService.nameShort} ${this.productService.version} (${this.productService.commit || 'Commit unknown'}, ${this.productService.date || 'Date unknown'})`);
|
||||||
+ output.push(`Version: ${this.productService.nameShort} ${this.productService.version} ${this.productService.release || 'Release unknown'} (${this.productService.commit || 'Commit unknown'}, ${this.productService.date || 'Date unknown'})`);
|
+ output.push(`Version: ${this.productService.nameShort} ${this.productService.version} ${this.productService.release || 'Release unknown'} (${this.productService.commit || 'Commit unknown'}, ${this.productService.date || 'Date unknown'})`);
|
||||||
output.push(`OS Version: ${osLib.type()} ${osLib.arch()} ${osLib.release()}`);
|
output.push(`OS Version: ${osLib.type()} ${osLib.arch()} ${osLib.release()}`);
|
||||||
diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts
|
diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts
|
||||||
index 467e11c..8e7d474 100644
|
index 58278d9..956cdff 100644
|
||||||
--- a/src/vs/platform/product/common/product.ts
|
--- a/src/vs/platform/product/common/product.ts
|
||||||
+++ b/src/vs/platform/product/common/product.ts
|
+++ b/src/vs/platform/product/common/product.ts
|
||||||
@@ -43,6 +43,7 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) {
|
@@ -43,6 +43,7 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) {
|
||||||
|
|||||||
18
patches/disable-signature-verification.patch
Normal file
18
patches/disable-signature-verification.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/src/vs/platform/extensionManagement/node/extensionDownloader.ts b/src/vs/platform/extensionManagement/node/extensionDownloader.ts
|
||||||
|
index 0ddae28..2e3c9b2 100644
|
||||||
|
--- a/src/vs/platform/extensionManagement/node/extensionDownloader.ts
|
||||||
|
+++ b/src/vs/platform/extensionManagement/node/extensionDownloader.ts
|
||||||
|
@@ -11,3 +11,2 @@ import { joinPath } from 'vs/base/common/resources';
|
||||||
|
import * as semver from 'vs/base/common/semver/semver';
|
||||||
|
-import { isBoolean } from 'vs/base/common/types';
|
||||||
|
import { URI } from 'vs/base/common/uri';
|
||||||
|
@@ -51,2 +50,3 @@ export class ExtensionsDownloader extends Disposable {
|
||||||
|
@IExtensionGalleryService private readonly extensionGalleryService: IExtensionGalleryService,
|
||||||
|
+ // @ts-expect-error no-unused-variable
|
||||||
|
@IConfigurationService private readonly configurationService: IConfigurationService,
|
||||||
|
@@ -116,4 +116,3 @@ export class ExtensionsDownloader extends Disposable {
|
||||||
|
|
||||||
|
- const value = this.configurationService.getValue('extensions.verifySignature');
|
||||||
|
- return isBoolean(value) ? value : true;
|
||||||
|
+ return false;
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
index 66b9062..0a659dc 100644
|
index c581ac0..f11c0f0 100644
|
||||||
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||||
@@ -315,2 +315,8 @@ configurationRegistry.registerConfiguration({
|
@@ -319,2 +319,8 @@ configurationRegistry.registerConfiguration({
|
||||||
},
|
},
|
||||||
+ 'workbench.welcomePage.extraAnnouncements': {
|
+ 'workbench.welcomePage.extraAnnouncements': {
|
||||||
+ scope: ConfigurationScope.MACHINE,
|
+ scope: ConfigurationScope.MACHINE,
|
||||||
@@ -12,10 +12,10 @@ index 66b9062..0a659dc 100644
|
|||||||
+ },
|
+ },
|
||||||
'workbench.startupEditor': {
|
'workbench.startupEditor': {
|
||||||
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
||||||
index a73549a..fc95016 100644
|
index 664c55b..43f9e2e 100644
|
||||||
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
||||||
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
+++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
|
||||||
@@ -115,4 +115,8 @@ type GettingStartedActionEvent = {
|
@@ -113,4 +113,8 @@ type GettingStartedActionEvent = {
|
||||||
type RecentEntry = (IRecentFolder | IRecentWorkspace) & { id: string };
|
type RecentEntry = (IRecentFolder | IRecentWorkspace) & { id: string };
|
||||||
+type AnnouncementEntry = { id: string, title: string, url: string };
|
+type AnnouncementEntry = { id: string, title: string, url: string };
|
||||||
|
|
||||||
@@ -24,35 +24,26 @@ index a73549a..fc95016 100644
|
|||||||
+const BUILTIN_ANNOUNCEMENTS: AnnouncementEntry[] = [/* BUILTIN_ANNOUNCEMENTS */];
|
+const BUILTIN_ANNOUNCEMENTS: AnnouncementEntry[] = [/* BUILTIN_ANNOUNCEMENTS */];
|
||||||
+
|
+
|
||||||
export class GettingStartedPage extends EditorPane {
|
export class GettingStartedPage extends EditorPane {
|
||||||
@@ -151,2 +155,4 @@ export class GettingStartedPage extends EditorPane {
|
@@ -149,2 +153,4 @@ export class GettingStartedPage extends EditorPane {
|
||||||
private gettingStartedList?: GettingStartedIndexList<IResolvedWalkthrough>;
|
private gettingStartedList?: GettingStartedIndexList<IResolvedWalkthrough>;
|
||||||
+ private announcementList?: GettingStartedIndexList<AnnouncementEntry>;
|
+ private announcementList?: GettingStartedIndexList<AnnouncementEntry>;
|
||||||
+ private announcementData?: AnnouncementEntry[];
|
+ private announcementData?: AnnouncementEntry[];
|
||||||
private videoList?: GettingStartedIndexList<IWelcomePageStartEntry>;
|
|
||||||
@@ -844,2 +850,3 @@ export class GettingStartedPage extends EditorPane {
|
@@ -812,2 +818,3 @@ export class GettingStartedPage extends EditorPane {
|
||||||
const gettingStartedList = this.buildGettingStartedWalkthroughsList();
|
const gettingStartedList = this.buildGettingStartedWalkthroughsList();
|
||||||
+ const announcementList = await this.buildAnnouncementList();
|
+ const announcementList = await this.buildAnnouncementList();
|
||||||
|
|
||||||
@@ -856,6 +863,6 @@ export class GettingStartedPage extends EditorPane {
|
@@ -822,3 +829,3 @@ export class GettingStartedPage extends EditorPane {
|
||||||
this.container.classList.remove('noVideos');
|
this.container.classList.remove('noWalkthroughs');
|
||||||
- reset(rightColumn, videoList?.getDomElement(), gettingStartedList.getDomElement());
|
|
||||||
+ reset(rightColumn, videoList?.getDomElement(), gettingStartedList.getDomElement(), announcementList.getDomElement());
|
|
||||||
} else {
|
|
||||||
this.container.classList.add('noVideos');
|
|
||||||
- reset(rightColumn, gettingStartedList.getDomElement());
|
- reset(rightColumn, gettingStartedList.getDomElement());
|
||||||
+ reset(rightColumn, gettingStartedList.getDomElement(), announcementList.getDomElement());
|
+ reset(rightColumn, gettingStartedList.getDomElement(), announcementList.getDomElement());
|
||||||
}
|
}
|
||||||
@@ -866,3 +873,3 @@ export class GettingStartedPage extends EditorPane {
|
@@ -826,3 +833,3 @@ export class GettingStartedPage extends EditorPane {
|
||||||
this.container.classList.remove('noVideos');
|
this.container.classList.add('noWalkthroughs');
|
||||||
- reset(rightColumn, videoList?.getDomElement());
|
|
||||||
+ reset(rightColumn, videoList?.getDomElement(), announcementList.getDomElement());
|
|
||||||
}
|
|
||||||
@@ -870,3 +877,3 @@ export class GettingStartedPage extends EditorPane {
|
|
||||||
this.container.classList.add('noVideos');
|
|
||||||
- reset(rightColumn);
|
- reset(rightColumn);
|
||||||
+ reset(rightColumn, announcementList.getDomElement());
|
+ reset(rightColumn, announcementList.getDomElement());
|
||||||
}
|
}
|
||||||
@@ -1023,2 +1030,55 @@ export class GettingStartedPage extends EditorPane {
|
@@ -978,2 +985,55 @@ export class GettingStartedPage extends EditorPane {
|
||||||
|
|
||||||
+ private async buildAnnouncementList(): Promise<GettingStartedIndexList<AnnouncementEntry>> {
|
+ private async buildAnnouncementList(): Promise<GettingStartedIndexList<AnnouncementEntry>> {
|
||||||
+ const renderAnnouncement = (announcement: AnnouncementEntry) => {
|
+ const renderAnnouncement = (announcement: AnnouncementEntry) => {
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
||||||
index 2a0c236..0f10f17 100644
|
index 7d58861..cefb8ad 100644
|
||||||
--- a/build/gulpfile.reh.js
|
--- a/build/gulpfile.reh.js
|
||||||
+++ b/build/gulpfile.reh.js
|
+++ b/build/gulpfile.reh.js
|
||||||
@@ -256,3 +256,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
@@ -306,3 +306,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
||||||
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
||||||
- .pipe(json({ commit, date, version, release }));
|
- .pipe(json({ commit, date: readISODate('out-build'), version, release }))
|
||||||
+ .pipe(json({ commit, date, version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' }));
|
+ .pipe(json({ commit, date: readISODate('out-build'), version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' }))
|
||||||
|
.pipe(es.through(function (file) {
|
||||||
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
||||||
index 0ca2cfd..9bf83a7 100644
|
index 4af4067..1bac2cc 100644
|
||||||
--- a/build/gulpfile.vscode.js
|
--- a/build/gulpfile.vscode.js
|
||||||
+++ b/build/gulpfile.vscode.js
|
+++ b/build/gulpfile.vscode.js
|
||||||
@@ -244,3 +244,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
@@ -261,3 +261,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
const date = new Date().toISOString();
|
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
||||||
- const productJsonUpdate = { commit, date, checksums, version, release };
|
- .pipe(json({ commit, date: readISODate('out-build'), checksums, version, release }))
|
||||||
+ const productJsonUpdate = { commit, date, checksums, version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' };
|
+ .pipe(json({ commit, date: readISODate('out-build'), checksums, version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' }))
|
||||||
|
.pipe(es.through(function (file) {
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
|
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
|
||||||
index 72dd74f..94d4957 100644
|
index 9ca239e..b0b2929 100644
|
||||||
--- a/build/npm/postinstall.js
|
--- a/build/npm/postinstall.js
|
||||||
+++ b/build/npm/postinstall.js
|
+++ b/build/npm/postinstall.js
|
||||||
@@ -86,4 +86,3 @@ for (let dir of dirs) {
|
@@ -118,2 +118,3 @@ for (let dir of dirs) {
|
||||||
|
opts = { env };
|
||||||
- if (/^(.build\/distro\/npm\/)?remote/.test(dir) && process.platform === 'win32' && (process.arch === 'arm64' || process.env['npm_config_arch'] === 'arm64')) {
|
+ continue;
|
||||||
- // windows arm: do not execute `yarn` on remote folder
|
} else if (/^extensions\//.test(dir)) {
|
||||||
+ if (/^(.build\/distro\/npm\/)?remote/.test(dir)) {
|
|
||||||
continue;
|
|
||||||
|
|||||||
2351
patches/linux/client/node16.patch.no
Normal file
2351
patches/linux/client/node16.patch.no
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,39 +1,39 @@
|
|||||||
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
||||||
index 8c2b62f..843e8d4 100644
|
index 28ddfb0..0fd18a1 100644
|
||||||
--- a/build/gulpfile.vscode.linux.js
|
--- a/build/gulpfile.vscode.linux.js
|
||||||
+++ b/build/gulpfile.vscode.linux.js
|
+++ b/build/gulpfile.vscode.linux.js
|
||||||
@@ -187,2 +187,3 @@ function prepareRpmPackage(arch) {
|
@@ -192,2 +192,3 @@ function prepareRpmPackage(arch) {
|
||||||
const spec = code.pipe(es.through(
|
const spec = code.pipe(es.through(
|
||||||
+ null,
|
+ null,
|
||||||
async function () {
|
async function () {
|
||||||
@@ -302,4 +303,3 @@ BUILD_TARGETS.forEach(({ arch }) => {
|
@@ -306,4 +307,3 @@ BUILD_TARGETS.forEach(({ arch }) => {
|
||||||
const prepareDebTask = task.define(`vscode-linux-${arch}-prepare-deb`, task.series(util.rimraf(`.build/linux/deb/${debArch}`), prepareDebPackage(arch)));
|
const prepareDebTask = task.define(`vscode-linux-${arch}-prepare-deb`, task.series(rimraf(`.build/linux/deb/${debArch}`), prepareDebPackage(arch)));
|
||||||
- gulp.task(prepareDebTask);
|
- gulp.task(prepareDebTask);
|
||||||
- const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, buildDebPackage(arch));
|
- const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, buildDebPackage(arch));
|
||||||
+ const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, task.series(prepareDebTask, buildDebPackage(arch)));
|
+ const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, task.series(prepareDebTask, buildDebPackage(arch)));
|
||||||
gulp.task(buildDebTask);
|
gulp.task(buildDebTask);
|
||||||
@@ -308,4 +308,3 @@ BUILD_TARGETS.forEach(({ arch }) => {
|
@@ -312,4 +312,3 @@ BUILD_TARGETS.forEach(({ arch }) => {
|
||||||
const prepareRpmTask = task.define(`vscode-linux-${arch}-prepare-rpm`, task.series(util.rimraf(`.build/linux/rpm/${rpmArch}`), prepareRpmPackage(arch)));
|
const prepareRpmTask = task.define(`vscode-linux-${arch}-prepare-rpm`, task.series(rimraf(`.build/linux/rpm/${rpmArch}`), prepareRpmPackage(arch)));
|
||||||
- gulp.task(prepareRpmTask);
|
- gulp.task(prepareRpmTask);
|
||||||
- const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, buildRpmPackage(arch));
|
- const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, buildRpmPackage(arch));
|
||||||
+ const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, task.series(prepareRpmTask, buildRpmPackage(arch)));
|
+ const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, task.series(prepareRpmTask, buildRpmPackage(arch)));
|
||||||
gulp.task(buildRpmTask);
|
gulp.task(buildRpmTask);
|
||||||
diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js
|
diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js
|
||||||
index 80c247d..40f1df2 100644
|
index 19adbeb..fef80a5 100644
|
||||||
--- a/build/linux/dependencies-generator.js
|
--- a/build/linux/dependencies-generator.js
|
||||||
+++ b/build/linux/dependencies-generator.js
|
+++ b/build/linux/dependencies-generator.js
|
||||||
@@ -24,3 +24,3 @@ const product = require("../../product.json");
|
@@ -24,3 +24,3 @@ const product = require("../../product.json");
|
||||||
// are valid, are in dep-lists.ts
|
// are valid, are in dep-lists.ts
|
||||||
-const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true;
|
-const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true;
|
||||||
+const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false;
|
+const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false;
|
||||||
// Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/120.0.6099.268:chrome/installer/linux/BUILD.gn;l=64-80
|
// Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/124.0.6367.243:chrome/installer/linux/BUILD.gn;l=64-80
|
||||||
@@ -56,3 +56,3 @@ async function getDependencies(packageType, buildDir, applicationName, arch) {
|
@@ -56,3 +56,3 @@ async function getDependencies(packageType, buildDir, applicationName, arch) {
|
||||||
// Add the tunnel binary.
|
// Add the tunnel binary.
|
||||||
- files.push(path.join(buildDir, 'bin', product.tunnelApplicationName));
|
- files.push(path.join(buildDir, 'bin', product.tunnelApplicationName));
|
||||||
+ // files.push(path.join(buildDir, 'bin', product.tunnelApplicationName));
|
+ // files.push(path.join(buildDir, 'bin', product.tunnelApplicationName));
|
||||||
// Add the main executable.
|
// Add the main executable.
|
||||||
diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts
|
diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts
|
||||||
index 9f1a068..48e3d52 100644
|
index 5fe4ac5..1d3e68a 100644
|
||||||
--- a/build/linux/dependencies-generator.ts
|
--- a/build/linux/dependencies-generator.ts
|
||||||
+++ b/build/linux/dependencies-generator.ts
|
+++ b/build/linux/dependencies-generator.ts
|
||||||
@@ -25,3 +25,3 @@ import product = require('../../product.json');
|
@@ -25,3 +25,3 @@ import product = require('../../product.json');
|
||||||
28
patches/linux/node16.patch.no
Normal file
28
patches/linux/node16.patch.no
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/build/lib/fetch.js b/build/lib/fetch.js
|
||||||
|
index 2fed63b..9a9f013 100644
|
||||||
|
--- a/build/lib/fetch.js
|
||||||
|
+++ b/build/lib/fetch.js
|
||||||
|
@@ -15,2 +15,3 @@ const crypto = require("crypto");
|
||||||
|
const through2 = require("through2");
|
||||||
|
+const fetch = require("node-fetch");
|
||||||
|
function fetchUrls(urls, options) {
|
||||||
|
diff --git a/build/linux/debian/install-sysroot.js b/build/linux/debian/install-sysroot.js
|
||||||
|
index feca7d3..b4f6540 100644
|
||||||
|
--- a/build/linux/debian/install-sysroot.js
|
||||||
|
+++ b/build/linux/debian/install-sysroot.js
|
||||||
|
@@ -15,2 +15,3 @@ const crypto_1 = require("crypto");
|
||||||
|
const ansiColors = require("ansi-colors");
|
||||||
|
+const fetch = require("node-fetch");
|
||||||
|
// Based on https://source.chromium.org/chromium/chromium/src/+/main:build/linux/sysroot_scripts/install-sysroot.py.
|
||||||
|
diff --git a/yarn.lock b/yarn.lock
|
||||||
|
index 2f4c572..6b65370 100644
|
||||||
|
--- a/yarn.lock
|
||||||
|
+++ b/yarn.lock
|
||||||
|
@@ -6458,2 +6458,7 @@ liftoff@^3.1.0:
|
||||||
|
|
||||||
|
+lilconfig@^2.0.5:
|
||||||
|
+ version "2.1.0"
|
||||||
|
+ resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
|
||||||
|
+ integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==
|
||||||
|
+
|
||||||
|
lilconfig@^3.0.0:
|
||||||
734
patches/linux/ppc64le-and-riscv64-support.patch
Normal file
734
patches/linux/ppc64le-and-riscv64-support.patch
Normal file
@@ -0,0 +1,734 @@
|
|||||||
|
diff --git a/build/azure-pipelines/linux/setup-env.sh b/build/azure-pipelines/linux/setup-env.sh
|
||||||
|
index 949b5f3..30093d6 100755
|
||||||
|
--- a/build/azure-pipelines/linux/setup-env.sh
|
||||||
|
+++ b/build/azure-pipelines/linux/setup-env.sh
|
||||||
|
@@ -9,2 +9,6 @@ fi
|
||||||
|
|
||||||
|
+if [ "$npm_config_arch" == "riscv64" ]; then
|
||||||
|
+ exit 0
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
export VSCODE_SYSROOT_DIR=$PWD/.build/sysroots
|
||||||
|
@@ -67,2 +71,16 @@ elif [ "$npm_config_arch" == "arm" ]; then
|
||||||
|
export VSCODE_REMOTE_LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot -L$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf -L$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf"
|
||||||
|
+elif [ "$npm_config_arch" == "ppc64" ]; then
|
||||||
|
+ if [ "$(echo "$@" | grep -c -- "--only-remote")" -eq 0 ]; then
|
||||||
|
+ # Set compiler toolchain for client native modules
|
||||||
|
+ export CC=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-gcc
|
||||||
|
+ export CXX=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-g++
|
||||||
|
+ export CXXFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot"
|
||||||
|
+ export LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/usr/lib/powerpc64le-linux-gnu -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/lib/powerpc64le-linux-gnu"
|
||||||
|
+
|
||||||
|
+ # Set compiler toolchain for remote server
|
||||||
|
+ export VSCODE_REMOTE_CC=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-gcc
|
||||||
|
+ export VSCODE_REMOTE_CXX=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-g++
|
||||||
|
+ export VSCODE_REMOTE_CXXFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot"
|
||||||
|
+ export VSCODE_REMOTE_LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/usr/lib/powerpc64le-linux-gnu -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/lib/powerpc64le-linux-gnu"
|
||||||
|
+ fi
|
||||||
|
fi
|
||||||
|
diff --git a/build/azure-pipelines/linux/verify-glibc-requirements.sh b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
||||||
|
index 19482c2..f49d910 100755
|
||||||
|
--- a/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
||||||
|
+++ b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
||||||
|
@@ -9,2 +9,4 @@ elif [ "$VSCODE_ARCH" == "armhf" ]; then
|
||||||
|
TRIPLE="arm-rpi-linux-gnueabihf"
|
||||||
|
+elif [ "$VSCODE_ARCH" == "ppc64le" ]; then
|
||||||
|
+ TRIPLE="powerpc64le-linux-gnu"
|
||||||
|
fi
|
||||||
|
diff --git a/build/checksums/vscode-sysroot.txt b/build/checksums/vscode-sysroot.txt
|
||||||
|
index 0b5f38c..9f3b02b 100644
|
||||||
|
--- a/build/checksums/vscode-sysroot.txt
|
||||||
|
+++ b/build/checksums/vscode-sysroot.txt
|
||||||
|
@@ -6 +6,2 @@
|
||||||
|
dbb927408393041664a020661f2641c9785741be3d29b050b9dac58980967784 x86_64-linux-gnu-glibc-2.28.tar.gz
|
||||||
|
+fa8176d27be18bb0eeb7f55b0fa22255050b430ef68c29136599f02976eb0b1b powerpc64le-linux-gnu-glibc-2.28.tar.gz
|
||||||
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
||||||
|
index 7d58861..f14984f 100644
|
||||||
|
--- a/build/gulpfile.reh.js
|
||||||
|
+++ b/build/gulpfile.reh.js
|
||||||
|
@@ -48,2 +48,4 @@ const BUILD_TARGETS = [
|
||||||
|
{ platform: 'linux', arch: 'arm64' },
|
||||||
|
+ { platform: 'linux', arch: 'ppc64le' },
|
||||||
|
+ { platform: 'linux', arch: 'riscv64' },
|
||||||
|
{ platform: 'alpine', arch: 'arm64' },
|
||||||
|
@@ -217,2 +219,10 @@ function nodejs(platform, arch) {
|
||||||
|
case 'linux':
|
||||||
|
+ if (arch === 'riscv64') {
|
||||||
|
+ return fetchUrls(`/download/release/v${nodeVersion}/node-v${nodeVersion}-${platform}-${arch}.tar.gz`,
|
||||||
|
+ { base: 'https://unofficial-builds.nodejs.org', checksumSha256 }).pipe(flatmap(stream => stream.pipe(gunzip()).pipe
|
||||||
|
+ (untar())))
|
||||||
|
+ .pipe(filter('**/node'))
|
||||||
|
+ .pipe(util.setExecutableBit('**'))
|
||||||
|
+ .pipe(rename('node'));
|
||||||
|
+ }
|
||||||
|
return (product.nodejsRepository !== 'https://nodejs.org' ?
|
||||||
|
diff --git a/build/gulpfile.scan.js b/build/gulpfile.scan.js
|
||||||
|
index 6f8144b..8a8195e 100644
|
||||||
|
--- a/build/gulpfile.scan.js
|
||||||
|
+++ b/build/gulpfile.scan.js
|
||||||
|
@@ -26,2 +26,4 @@ const BUILD_TARGETS = [
|
||||||
|
{ platform: 'linux', arch: 'arm64' },
|
||||||
|
+ { platform: 'linux', arch: 'ppc64le' },
|
||||||
|
+ { platform: 'linux', arch: 'riscv64' },
|
||||||
|
];
|
||||||
|
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
||||||
|
index 4af4067..1f99344 100644
|
||||||
|
--- a/build/gulpfile.vscode.js
|
||||||
|
+++ b/build/gulpfile.vscode.js
|
||||||
|
@@ -350,2 +350,12 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
|
|
||||||
|
+ const electronOverride = {};
|
||||||
|
+ if (process.env.VSCODE_ELECTRON_REPO) {
|
||||||
|
+ // electron doesn't support riscv64 and ppc64le, override the repo with `VSCODE_ELECTRON_REPO`.
|
||||||
|
+ electronOverride.repo = process.env.VSCODE_ELECTRON_REPO;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ if (process.env.VSCODE_ELECTRON_TAG) {
|
||||||
|
+ electronOverride.tag = process.env.VSCODE_ELECTRON_TAG;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
let result = all
|
||||||
|
@@ -354,3 +364,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||||
|
.pipe(filter(['**', '!**/.github/**'], { dot: true })) // https://github.com/microsoft/vscode/issues/116523
|
||||||
|
- .pipe(electron({ ...config, platform, arch: arch === 'armhf' ? 'arm' : arch, ffmpegChromium: false }))
|
||||||
|
+ .pipe(electron({ ...config, ...electronOverride, platform, arch: arch === 'armhf' ? 'arm' : arch, ffmpegChromium: false }))
|
||||||
|
.pipe(filter(['**', '!LICENSE', '!version'], { dot: true }));
|
||||||
|
@@ -449,2 +459,4 @@ const BUILD_TARGETS = [
|
||||||
|
{ platform: 'linux', arch: 'arm64' },
|
||||||
|
+ { platform: 'linux', arch: 'ppc64le' },
|
||||||
|
+ { platform: 'linux', arch: 'riscv64' },
|
||||||
|
];
|
||||||
|
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
||||||
|
index 28ddfb0..cb3169c 100644
|
||||||
|
--- a/build/gulpfile.vscode.linux.js
|
||||||
|
+++ b/build/gulpfile.vscode.linux.js
|
||||||
|
@@ -33,3 +33,3 @@ const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
||||||
|
function getDebPackageArch(arch) {
|
||||||
|
- return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64' }[arch];
|
||||||
|
+ return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64', ppc64le: 'ppc64el', riscv64: 'riscv64' }[arch];
|
||||||
|
}
|
||||||
|
@@ -141,3 +141,3 @@ function getRpmBuildPath(rpmArch) {
|
||||||
|
function getRpmPackageArch(arch) {
|
||||||
|
- return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64' }[arch];
|
||||||
|
+ return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64', ppc64le: 'ppc64le', riscv64: 'riscv64' }[arch];
|
||||||
|
}
|
||||||
|
@@ -301,2 +301,4 @@ const BUILD_TARGETS = [
|
||||||
|
{ arch: 'arm64' },
|
||||||
|
+ { arch: 'ppc64le' },
|
||||||
|
+ { arch: 'riscv64' },
|
||||||
|
];
|
||||||
|
diff --git a/build/linux/debian/calculate-deps.js b/build/linux/debian/calculate-deps.js
|
||||||
|
index bbcb6bf..d00158f 100644
|
||||||
|
--- a/build/linux/debian/calculate-deps.js
|
||||||
|
+++ b/build/linux/debian/calculate-deps.js
|
||||||
|
@@ -51,2 +51,8 @@ function calculatePackageDeps(binaryPath, arch, chromiumSysroot, vscodeSysroot)
|
||||||
|
break;
|
||||||
|
+ case 'ppc64el':
|
||||||
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/powerpc64le-linux-gnu`, `-l${chromiumSysroot}/lib/powerpc64le-linux-gnu`, `-l${vscodeSysroot}/usr/lib/powerpc64le-linux-gnu`, `-l${vscodeSysroot}/lib/powerpc64le-linux-gnu`);
|
||||||
|
+ break;
|
||||||
|
+ case 'riscv64':
|
||||||
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/riscv64-linux-gnu`, `-l${chromiumSysroot}/lib/riscv64-linux-gnu`, `-l${vscodeSysroot}/usr/lib/riscv64-linux-gnu`, `-l${vscodeSysroot}/lib/riscv64-linux-gnu`);
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/debian/calculate-deps.ts b/build/linux/debian/calculate-deps.ts
|
||||||
|
index 92f8065..b86b4db 100644
|
||||||
|
--- a/build/linux/debian/calculate-deps.ts
|
||||||
|
+++ b/build/linux/debian/calculate-deps.ts
|
||||||
|
@@ -61,2 +61,14 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, chromi
|
||||||
|
break;
|
||||||
|
+ case 'ppc64el':
|
||||||
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/powerpc64le-linux-gnu`,
|
||||||
|
+ `-l${chromiumSysroot}/lib/powerpc64le-linux-gnu`,
|
||||||
|
+ `-l${vscodeSysroot}/usr/lib/powerpc64le-linux-gnu`,
|
||||||
|
+ `-l${vscodeSysroot}/lib/powerpc64le-linux-gnu`);
|
||||||
|
+ break;
|
||||||
|
+ case 'riscv64':
|
||||||
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/riscv64-linux-gnu`,
|
||||||
|
+ `-l${chromiumSysroot}/lib/riscv64-linux-gnu`,
|
||||||
|
+ `-l${vscodeSysroot}/usr/lib/riscv64-linux-gnu`,
|
||||||
|
+ `-l${vscodeSysroot}/lib/riscv64-linux-gnu`);
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/debian/dep-lists.js b/build/linux/debian/dep-lists.js
|
||||||
|
index 3a642a7..91daf09 100644
|
||||||
|
--- a/build/linux/debian/dep-lists.js
|
||||||
|
+++ b/build/linux/debian/dep-lists.js
|
||||||
|
@@ -144,2 +144,81 @@ exports.referenceGeneratedDepsByArch = {
|
||||||
|
'xdg-utils (>= 1.0.2)'
|
||||||
|
+ ],
|
||||||
|
+ 'ppc64el': [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'libasound2 (>= 1.0.17)',
|
||||||
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
||||||
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
||||||
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
||||||
|
+ 'libc6 (>= 2.17)',
|
||||||
|
+ 'libc6 (>= 2.28)',
|
||||||
|
+ 'libcairo2 (>= 1.6.0)',
|
||||||
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
||||||
|
+ 'libdbus-1-3 (>= 1.9.14)',
|
||||||
|
+ 'libdrm2 (>= 2.4.75)',
|
||||||
|
+ 'libexpat1 (>= 2.1~beta3)',
|
||||||
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.37.3)',
|
||||||
|
+ 'libgssapi-krb5-2 (>= 1.17)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
||||||
|
+ 'libkrb5-3 (>= 1.6.dfsg.2)',
|
||||||
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
||||||
|
+ 'libnss3 (>= 2:3.30)',
|
||||||
|
+ 'libnss3 (>= 3.26)',
|
||||||
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
||||||
|
+ 'libstdc++6 (>= 4.1.1)',
|
||||||
|
+ 'libstdc++6 (>= 5)',
|
||||||
|
+ 'libstdc++6 (>= 5.2)',
|
||||||
|
+ 'libstdc++6 (>= 6)',
|
||||||
|
+ 'libx11-6',
|
||||||
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
||||||
|
+ 'libxcb1 (>= 1.9.2)',
|
||||||
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
||||||
|
+ 'libxdamage1 (>= 1:1.1)',
|
||||||
|
+ 'libxext6',
|
||||||
|
+ 'libxfixes3',
|
||||||
|
+ 'libxkbcommon0 (>= 0.5.0)',
|
||||||
|
+ 'libxkbfile1 (>= 1:1.1.0)',
|
||||||
|
+ 'libxrandr2',
|
||||||
|
+ 'xdg-utils (>= 1.0.2)'
|
||||||
|
+ ],
|
||||||
|
+ 'riscv64': [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'libatomic1',
|
||||||
|
+ 'libasound2 (>= 1.0.17)',
|
||||||
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
||||||
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
||||||
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
||||||
|
+ 'libc6 (>= 2.17)',
|
||||||
|
+ 'libc6 (>= 2.28)',
|
||||||
|
+ 'libcairo2 (>= 1.6.0)',
|
||||||
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
||||||
|
+ 'libdbus-1-3 (>= 1.0.2)',
|
||||||
|
+ 'libdrm2 (>= 2.4.60)',
|
||||||
|
+ 'libexpat1 (>= 2.0.1)',
|
||||||
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.16.0)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.39.4)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
||||||
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
||||||
|
+ 'libnss3 (>= 2:3.22)',
|
||||||
|
+ 'libnss3 (>= 3.26)',
|
||||||
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
||||||
|
+ 'libsecret-1-0 (>= 0.18)',
|
||||||
|
+ 'libstdc++6 (>= 4.1.1)',
|
||||||
|
+ 'libstdc++6 (>= 5)',
|
||||||
|
+ 'libstdc++6 (>= 5.2)',
|
||||||
|
+ 'libstdc++6 (>= 6)',
|
||||||
|
+ 'libx11-6',
|
||||||
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
||||||
|
+ 'libxcb1 (>= 1.9.2)',
|
||||||
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
||||||
|
+ 'libxdamage1 (>= 1:1.1)',
|
||||||
|
+ 'libxext6',
|
||||||
|
+ 'libxfixes3',
|
||||||
|
+ 'libxkbcommon0 (>= 0.4.1)',
|
||||||
|
+ 'libxkbfile1',
|
||||||
|
+ 'libxrandr2',
|
||||||
|
+ 'xdg-utils (>= 1.0.2)'
|
||||||
|
]
|
||||||
|
diff --git a/build/linux/debian/dep-lists.ts b/build/linux/debian/dep-lists.ts
|
||||||
|
index 86d1de1..ab0e268 100644
|
||||||
|
--- a/build/linux/debian/dep-lists.ts
|
||||||
|
+++ b/build/linux/debian/dep-lists.ts
|
||||||
|
@@ -144,2 +144,81 @@ export const referenceGeneratedDepsByArch = {
|
||||||
|
'xdg-utils (>= 1.0.2)'
|
||||||
|
+ ],
|
||||||
|
+ 'ppc64el': [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'libasound2 (>= 1.0.17)',
|
||||||
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
||||||
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
||||||
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
||||||
|
+ 'libc6 (>= 2.17)',
|
||||||
|
+ 'libc6 (>= 2.28)',
|
||||||
|
+ 'libcairo2 (>= 1.6.0)',
|
||||||
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
||||||
|
+ 'libdbus-1-3 (>= 1.9.14)',
|
||||||
|
+ 'libdrm2 (>= 2.4.75)',
|
||||||
|
+ 'libexpat1 (>= 2.1~beta3)',
|
||||||
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.37.3)',
|
||||||
|
+ 'libgssapi-krb5-2 (>= 1.17)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
||||||
|
+ 'libkrb5-3 (>= 1.6.dfsg.2)',
|
||||||
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
||||||
|
+ 'libnss3 (>= 2:3.30)',
|
||||||
|
+ 'libnss3 (>= 3.26)',
|
||||||
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
||||||
|
+ 'libstdc++6 (>= 4.1.1)',
|
||||||
|
+ 'libstdc++6 (>= 5)',
|
||||||
|
+ 'libstdc++6 (>= 5.2)',
|
||||||
|
+ 'libstdc++6 (>= 6)',
|
||||||
|
+ 'libx11-6',
|
||||||
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
||||||
|
+ 'libxcb1 (>= 1.9.2)',
|
||||||
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
||||||
|
+ 'libxdamage1 (>= 1:1.1)',
|
||||||
|
+ 'libxext6',
|
||||||
|
+ 'libxfixes3',
|
||||||
|
+ 'libxkbcommon0 (>= 0.5.0)',
|
||||||
|
+ 'libxkbfile1 (>= 1:1.1.0)',
|
||||||
|
+ 'libxrandr2',
|
||||||
|
+ 'xdg-utils (>= 1.0.2)'
|
||||||
|
+ ],
|
||||||
|
+ 'riscv64': [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'libatomic1',
|
||||||
|
+ 'libasound2 (>= 1.0.17)',
|
||||||
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
||||||
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
||||||
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
||||||
|
+ 'libc6 (>= 2.17)',
|
||||||
|
+ 'libc6 (>= 2.28)',
|
||||||
|
+ 'libcairo2 (>= 1.6.0)',
|
||||||
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
||||||
|
+ 'libdbus-1-3 (>= 1.0.2)',
|
||||||
|
+ 'libdrm2 (>= 2.4.60)',
|
||||||
|
+ 'libexpat1 (>= 2.0.1)',
|
||||||
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.16.0)',
|
||||||
|
+ 'libglib2.0-0 (>= 2.39.4)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
||||||
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
||||||
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
||||||
|
+ 'libnss3 (>= 2:3.22)',
|
||||||
|
+ 'libnss3 (>= 3.26)',
|
||||||
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
||||||
|
+ 'libsecret-1-0 (>= 0.18)',
|
||||||
|
+ 'libstdc++6 (>= 4.1.1)',
|
||||||
|
+ 'libstdc++6 (>= 5)',
|
||||||
|
+ 'libstdc++6 (>= 5.2)',
|
||||||
|
+ 'libstdc++6 (>= 6)',
|
||||||
|
+ 'libx11-6',
|
||||||
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
||||||
|
+ 'libxcb1 (>= 1.9.2)',
|
||||||
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
||||||
|
+ 'libxdamage1 (>= 1:1.1)',
|
||||||
|
+ 'libxext6',
|
||||||
|
+ 'libxfixes3',
|
||||||
|
+ 'libxkbcommon0 (>= 0.4.1)',
|
||||||
|
+ 'libxkbfile1',
|
||||||
|
+ 'libxrandr2',
|
||||||
|
+ 'xdg-utils (>= 1.0.2)'
|
||||||
|
]
|
||||||
|
diff --git a/build/linux/debian/install-sysroot.js b/build/linux/debian/install-sysroot.js
|
||||||
|
index feca7d3..f075ebc 100644
|
||||||
|
--- a/build/linux/debian/install-sysroot.js
|
||||||
|
+++ b/build/linux/debian/install-sysroot.js
|
||||||
|
@@ -72,3 +72,6 @@ async function fetchUrl(options, retries = 10, retryDelay = 1000) {
|
||||||
|
try {
|
||||||
|
- const response = await fetch(`https://api.github.com/repos/Microsoft/vscode-linux-build-agent/releases/tags/v${version}`, {
|
||||||
|
+ // if VSCODE_SYSROOT_REPO and VSCODE_SYSROOT_VERSION are set, use those instead
|
||||||
|
+ const repo = process.env['VSCODE_SYSROOT_REPO'] ?? 'Microsoft/vscode-linux-build-agent';
|
||||||
|
+ const actualVersion = process.env['VSCODE_SYSROOT_VERSION'] ?? version;
|
||||||
|
+ const response = await fetch(`https://api.github.com/repos/${repo}/releases/tags/v${actualVersion}`, {
|
||||||
|
headers: ghApiHeaders,
|
||||||
|
@@ -81,3 +84,3 @@ async function fetchUrl(options, retries = 10, retryDelay = 1000) {
|
||||||
|
if (!asset) {
|
||||||
|
- throw new Error(`Could not find asset in release of Microsoft/vscode-linux-build-agent @ ${version}`);
|
||||||
|
+ throw new Error(`Could not find asset in release of ${repo} @ ${actualVersion}`);
|
||||||
|
}
|
||||||
|
@@ -136,2 +139,10 @@ async function getVSCodeSysroot(arch) {
|
||||||
|
break;
|
||||||
|
+ case 'ppc64le':
|
||||||
|
+ expectedName = `powerpc64le-linux-gnu${prefix}.tar.gz`;
|
||||||
|
+ triple = `powerpc64le-linux-gnu`;
|
||||||
|
+ break;
|
||||||
|
+ case 'riscv64':
|
||||||
|
+ expectedName = `riscv64-linux-gnu${prefix}.tar.gz`;
|
||||||
|
+ triple = 'riscv64-linux-gnu';
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/debian/install-sysroot.ts b/build/linux/debian/install-sysroot.ts
|
||||||
|
index aa417dc..58f0eee 100644
|
||||||
|
--- a/build/linux/debian/install-sysroot.ts
|
||||||
|
+++ b/build/linux/debian/install-sysroot.ts
|
||||||
|
@@ -84,3 +84,6 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
|
||||||
|
try {
|
||||||
|
- const response = await fetch(`https://api.github.com/repos/Microsoft/vscode-linux-build-agent/releases/tags/v${version}`, {
|
||||||
|
+ // if VSCODE_SYSROOT_REPO and VSCODE_SYSROOT_VERSION are set, use those instead
|
||||||
|
+ const repo = process.env['VSCODE_SYSROOT_REPO'] ?? 'Microsoft/vscode-linux-build-agent';
|
||||||
|
+ const actualVersion = process.env['VSCODE_SYSROOT_VERSION'] ?? version;
|
||||||
|
+ const response = await fetch(`https://api.github.com/repos/${repo}/releases/tags/v${actualVersion}`, {
|
||||||
|
headers: ghApiHeaders,
|
||||||
|
@@ -93,3 +96,3 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
|
||||||
|
if (!asset) {
|
||||||
|
- throw new Error(`Could not find asset in release of Microsoft/vscode-linux-build-agent @ ${version}`);
|
||||||
|
+ throw new Error(`Could not find asset in release of ${repo} @ ${actualVersion}`);
|
||||||
|
}
|
||||||
|
@@ -153,2 +156,10 @@ export async function getVSCodeSysroot(arch: DebianArchString): Promise<string>
|
||||||
|
break;
|
||||||
|
+ case 'ppc64el':
|
||||||
|
+ expectedName = `powerpc64le-linux-gnu${prefix}.tar.gz`;
|
||||||
|
+ triple = 'powerpc64le-linux-gnu'
|
||||||
|
+ break;
|
||||||
|
+ case 'riscv64':
|
||||||
|
+ expectedName = `riscv64-linux-gnu${prefix}.tar.gz`;
|
||||||
|
+ triple = 'riscv64-linux-gnu';
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/debian/types.js b/build/linux/debian/types.js
|
||||||
|
index ce21d50..cadefc2 100644
|
||||||
|
--- a/build/linux/debian/types.js
|
||||||
|
+++ b/build/linux/debian/types.js
|
||||||
|
@@ -8,3 +8,3 @@ exports.isDebianArchString = isDebianArchString;
|
||||||
|
function isDebianArchString(s) {
|
||||||
|
- return ['amd64', 'armhf', 'arm64'].includes(s);
|
||||||
|
+ return ['amd64', 'armhf', 'arm64', 'ppc64el', 'riscv64'].includes(s);
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/debian/types.ts b/build/linux/debian/types.ts
|
||||||
|
index e97485e..24fe452 100644
|
||||||
|
--- a/build/linux/debian/types.ts
|
||||||
|
+++ b/build/linux/debian/types.ts
|
||||||
|
@@ -5,6 +5,6 @@
|
||||||
|
|
||||||
|
-export type DebianArchString = 'amd64' | 'armhf' | 'arm64';
|
||||||
|
+export type DebianArchString = 'amd64' | 'armhf' | 'arm64' | 'ppc64el' | 'riscv64';
|
||||||
|
|
||||||
|
export function isDebianArchString(s: string): s is DebianArchString {
|
||||||
|
- return ['amd64', 'armhf', 'arm64'].includes(s);
|
||||||
|
+ return ['amd64', 'armhf', 'arm64', 'ppc64el', 'riscv64'].includes(s);
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/rpm/dep-lists.js b/build/linux/rpm/dep-lists.js
|
||||||
|
index 9798451..bd246e7 100644
|
||||||
|
--- a/build/linux/rpm/dep-lists.js
|
||||||
|
+++ b/build/linux/rpm/dep-lists.js
|
||||||
|
@@ -321,2 +321,102 @@ exports.referenceGeneratedDepsByArch = {
|
||||||
|
'xdg-utils'
|
||||||
|
+ ],
|
||||||
|
+ "ppc64le": [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'ld-linux-x86-64.so.2()(64bit)',
|
||||||
|
+ 'ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)',
|
||||||
|
+ 'ld64.so.2()(64bit)',
|
||||||
|
+ 'ld64.so.2(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libX11.so.6()(64bit)',
|
||||||
|
+ 'libXcomposite.so.1()(64bit)',
|
||||||
|
+ 'libXdamage.so.1()(64bit)',
|
||||||
|
+ 'libXext.so.6()(64bit)',
|
||||||
|
+ 'libXfixes.so.3()(64bit)',
|
||||||
|
+ 'libXrandr.so.2()(64bit)',
|
||||||
|
+ 'libasound.so.2()(64bit)',
|
||||||
|
+ 'libasound.so.2(ALSA_0.9)(64bit)',
|
||||||
|
+ 'libasound.so.2(ALSA_0.9.0rc4)(64bit)',
|
||||||
|
+ 'libatk-1.0.so.0()(64bit)',
|
||||||
|
+ 'libatk-bridge-2.0.so.0()(64bit)',
|
||||||
|
+ 'libatspi.so.0()(64bit)',
|
||||||
|
+ 'libc.so.6()(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.14)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.28)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.4)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.9)(64bit)',
|
||||||
|
+ 'libcairo.so.2()(64bit)',
|
||||||
|
+ 'libcups.so.2()(64bit)',
|
||||||
|
+ 'libcurl.so.4()(64bit)',
|
||||||
|
+ 'libdbus-1.so.3()(64bit)',
|
||||||
|
+ 'libdbus-1.so.3(LIBDBUS_1_3)(64bit)',
|
||||||
|
+ 'libdl.so.2()(64bit)',
|
||||||
|
+ 'libdl.so.2(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libdrm.so.2()(64bit)',
|
||||||
|
+ 'libexpat.so.1()(64bit)',
|
||||||
|
+ 'libgbm.so.1()(64bit)',
|
||||||
|
+ 'libgcc_s.so.1()(64bit)',
|
||||||
|
+ 'libgcc_s.so.1(GCC_3.0)(64bit)',
|
||||||
|
+ 'libgcc_s.so.1(GCC_3.4.4)(64bit)',
|
||||||
|
+ 'libgio-2.0.so.0()(64bit)',
|
||||||
|
+ 'libglib-2.0.so.0()(64bit)',
|
||||||
|
+ 'libgobject-2.0.so.0()(64bit)',
|
||||||
|
+ 'libgssapi_krb5.so.2()(64bit)',
|
||||||
|
+ 'libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit)',
|
||||||
|
+ 'libgtk-3.so.0()(64bit)',
|
||||||
|
+ 'libkrb5.so.3()(64bit)',
|
||||||
|
+ 'libkrb5.so.3(krb5_3_MIT)(64bit)',
|
||||||
|
+ 'libm.so.6()(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.27)(64bit)',
|
||||||
|
+ 'libnspr4.so()(64bit)',
|
||||||
|
+ 'libnss3.so()(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.11)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.12)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.12.1)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.2)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.22)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.3)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.30)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.4)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.5)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.9.2)(64bit)',
|
||||||
|
+ 'libnssutil3.so()(64bit)',
|
||||||
|
+ 'libnssutil3.so(NSSUTIL_3.12.3)(64bit)',
|
||||||
|
+ 'libpango-1.0.so.0()(64bit)',
|
||||||
|
+ 'libpthread.so.0()(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.3.2)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.3.3)(64bit)',
|
||||||
|
+ 'libsmime3.so()(64bit)',
|
||||||
|
+ 'libsmime3.so(NSS_3.10)(64bit)',
|
||||||
|
+ 'libsmime3.so(NSS_3.2)(64bit)',
|
||||||
|
+ 'libssl3.so(NSS_3.28)(64bit)',
|
||||||
|
+ 'libstdc++.so.6()(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.5)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.8)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.9)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.11)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.14)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.15)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.18)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.19)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.20)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.21)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.5)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.9)(64bit)',
|
||||||
|
+ 'libutil.so.1()(64bit)',
|
||||||
|
+ 'libutil.so.1(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libxcb.so.1()(64bit)',
|
||||||
|
+ 'libxkbcommon.so.0()(64bit)',
|
||||||
|
+ 'libxkbcommon.so.0(V_0.5.0)(64bit)',
|
||||||
|
+ 'libxkbfile.so.1()(64bit)',
|
||||||
|
+ 'rpmlib(FileDigests) <= 4.6.0-1',
|
||||||
|
+ 'rtld(GNU_HASH)',
|
||||||
|
+ 'xdg-utils'
|
||||||
|
]
|
||||||
|
diff --git a/build/linux/rpm/dep-lists.ts b/build/linux/rpm/dep-lists.ts
|
||||||
|
index b798127..c3f5308 100644
|
||||||
|
--- a/build/linux/rpm/dep-lists.ts
|
||||||
|
+++ b/build/linux/rpm/dep-lists.ts
|
||||||
|
@@ -320,2 +320,102 @@ export const referenceGeneratedDepsByArch = {
|
||||||
|
'xdg-utils'
|
||||||
|
+ ],
|
||||||
|
+ "ppc64le": [
|
||||||
|
+ 'ca-certificates',
|
||||||
|
+ 'ld-linux-x86-64.so.2()(64bit)',
|
||||||
|
+ 'ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)',
|
||||||
|
+ 'ld64.so.2()(64bit)',
|
||||||
|
+ 'ld64.so.2(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libX11.so.6()(64bit)',
|
||||||
|
+ 'libXcomposite.so.1()(64bit)',
|
||||||
|
+ 'libXdamage.so.1()(64bit)',
|
||||||
|
+ 'libXext.so.6()(64bit)',
|
||||||
|
+ 'libXfixes.so.3()(64bit)',
|
||||||
|
+ 'libXrandr.so.2()(64bit)',
|
||||||
|
+ 'libasound.so.2()(64bit)',
|
||||||
|
+ 'libasound.so.2(ALSA_0.9)(64bit)',
|
||||||
|
+ 'libasound.so.2(ALSA_0.9.0rc4)(64bit)',
|
||||||
|
+ 'libatk-1.0.so.0()(64bit)',
|
||||||
|
+ 'libatk-bridge-2.0.so.0()(64bit)',
|
||||||
|
+ 'libatspi.so.0()(64bit)',
|
||||||
|
+ 'libc.so.6()(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.14)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.28)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.4)(64bit)',
|
||||||
|
+ 'libc.so.6(GLIBC_2.9)(64bit)',
|
||||||
|
+ 'libcairo.so.2()(64bit)',
|
||||||
|
+ 'libcups.so.2()(64bit)',
|
||||||
|
+ 'libcurl.so.4()(64bit)',
|
||||||
|
+ 'libdbus-1.so.3()(64bit)',
|
||||||
|
+ 'libdbus-1.so.3(LIBDBUS_1_3)(64bit)',
|
||||||
|
+ 'libdl.so.2()(64bit)',
|
||||||
|
+ 'libdl.so.2(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libdrm.so.2()(64bit)',
|
||||||
|
+ 'libexpat.so.1()(64bit)',
|
||||||
|
+ 'libgbm.so.1()(64bit)',
|
||||||
|
+ 'libgcc_s.so.1()(64bit)',
|
||||||
|
+ 'libgcc_s.so.1(GCC_3.0)(64bit)',
|
||||||
|
+ 'libgcc_s.so.1(GCC_3.4.4)(64bit)',
|
||||||
|
+ 'libgio-2.0.so.0()(64bit)',
|
||||||
|
+ 'libglib-2.0.so.0()(64bit)',
|
||||||
|
+ 'libgobject-2.0.so.0()(64bit)',
|
||||||
|
+ 'libgssapi_krb5.so.2()(64bit)',
|
||||||
|
+ 'libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit)',
|
||||||
|
+ 'libgtk-3.so.0()(64bit)',
|
||||||
|
+ 'libkrb5.so.3()(64bit)',
|
||||||
|
+ 'libkrb5.so.3(krb5_3_MIT)(64bit)',
|
||||||
|
+ 'libm.so.6()(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libm.so.6(GLIBC_2.27)(64bit)',
|
||||||
|
+ 'libnspr4.so()(64bit)',
|
||||||
|
+ 'libnss3.so()(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.11)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.12)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.12.1)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.2)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.22)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.3)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.30)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.4)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.5)(64bit)',
|
||||||
|
+ 'libnss3.so(NSS_3.9.2)(64bit)',
|
||||||
|
+ 'libnssutil3.so()(64bit)',
|
||||||
|
+ 'libnssutil3.so(NSSUTIL_3.12.3)(64bit)',
|
||||||
|
+ 'libpango-1.0.so.0()(64bit)',
|
||||||
|
+ 'libpthread.so.0()(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.17)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.3.2)(64bit)',
|
||||||
|
+ 'libpthread.so.0(GLIBC_2.3.3)(64bit)',
|
||||||
|
+ 'libsmime3.so()(64bit)',
|
||||||
|
+ 'libsmime3.so(NSS_3.10)(64bit)',
|
||||||
|
+ 'libsmime3.so(NSS_3.2)(64bit)',
|
||||||
|
+ 'libssl3.so(NSS_3.28)(64bit)',
|
||||||
|
+ 'libstdc++.so.6()(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.5)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.8)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(CXXABI_1.3.9)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.11)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.14)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.15)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.18)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.19)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.20)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.21)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.5)(64bit)',
|
||||||
|
+ 'libstdc++.so.6(GLIBCXX_3.4.9)(64bit)',
|
||||||
|
+ 'libutil.so.1()(64bit)',
|
||||||
|
+ 'libutil.so.1(GLIBC_2.2.5)(64bit)',
|
||||||
|
+ 'libxcb.so.1()(64bit)',
|
||||||
|
+ 'libxkbcommon.so.0()(64bit)',
|
||||||
|
+ 'libxkbcommon.so.0(V_0.5.0)(64bit)',
|
||||||
|
+ 'libxkbfile.so.1()(64bit)',
|
||||||
|
+ 'rpmlib(FileDigests) <= 4.6.0-1',
|
||||||
|
+ 'rtld(GNU_HASH)',
|
||||||
|
+ 'xdg-utils'
|
||||||
|
]
|
||||||
|
diff --git a/build/linux/rpm/types.js b/build/linux/rpm/types.js
|
||||||
|
index a20b9c2..99a8cff 100644
|
||||||
|
--- a/build/linux/rpm/types.js
|
||||||
|
+++ b/build/linux/rpm/types.js
|
||||||
|
@@ -8,3 +8,3 @@ exports.isRpmArchString = isRpmArchString;
|
||||||
|
function isRpmArchString(s) {
|
||||||
|
- return ['x86_64', 'armv7hl', 'aarch64'].includes(s);
|
||||||
|
+ return ['x86_64', 'armv7hl', 'aarch64', 'ppc64le', 'riscv64'].includes(s);
|
||||||
|
}
|
||||||
|
diff --git a/build/linux/rpm/types.ts b/build/linux/rpm/types.ts
|
||||||
|
index c6a01da..d94537e 100644
|
||||||
|
--- a/build/linux/rpm/types.ts
|
||||||
|
+++ b/build/linux/rpm/types.ts
|
||||||
|
@@ -5,6 +5,6 @@
|
||||||
|
|
||||||
|
-export type RpmArchString = 'x86_64' | 'armv7hl' | 'aarch64';
|
||||||
|
+export type RpmArchString = 'x86_64' | 'armv7hl' | 'aarch64' | 'ppc64le' | 'riscv64';
|
||||||
|
|
||||||
|
export function isRpmArchString(s: string): s is RpmArchString {
|
||||||
|
- return ['x86_64', 'armv7hl', 'aarch64'].includes(s);
|
||||||
|
+ return ['x86_64', 'armv7hl', 'aarch64', 'ppc64le', 'riscv64'].includes(s);
|
||||||
|
}
|
||||||
|
diff --git a/cli/src/update_service.rs b/cli/src/update_service.rs
|
||||||
|
index 4bec13d..3debda1 100644
|
||||||
|
--- a/cli/src/update_service.rs
|
||||||
|
+++ b/cli/src/update_service.rs
|
||||||
|
@@ -216,2 +216,5 @@ pub enum Platform {
|
||||||
|
LinuxARM32Legacy,
|
||||||
|
+ LinuxPPC64LE,
|
||||||
|
+ LinuxPPC64LELegacy,
|
||||||
|
+ LinuxRISCV64,
|
||||||
|
DarwinX64,
|
||||||
|
@@ -229,2 +232,4 @@ impl Platform {
|
||||||
|
Platform::LinuxARM32 => Some("linux-armhf".to_owned()),
|
||||||
|
+ Platform::LinuxPPC64LE => Some("linux-ppc64le".to_owned()),
|
||||||
|
+ Platform::LinuxRISCV64 => Some("linux-riscv64".to_owned()),
|
||||||
|
Platform::DarwinX64 => Some("darwin".to_owned()),
|
||||||
|
@@ -247,2 +252,5 @@ impl Platform {
|
||||||
|
Platform::LinuxARM32Legacy => "server-linux-legacy-armhf",
|
||||||
|
+ Platform::LinuxPPC64LE => "server-linux-ppc64le",
|
||||||
|
+ Platform::LinuxPPC64LELegacy => "server-linux-legacy-ppc64le",
|
||||||
|
+ Platform::LinuxRISCV64 => "server-linux-riscv64",
|
||||||
|
Platform::DarwinX64 => "server-darwin",
|
||||||
|
@@ -266,2 +274,5 @@ impl Platform {
|
||||||
|
Platform::LinuxARM32Legacy => "cli-linux-armhf",
|
||||||
|
+ Platform::LinuxPPC64LE => "cli-linux-ppc64le",
|
||||||
|
+ Platform::LinuxPPC64LELegacy => "cli-linux-ppc64le",
|
||||||
|
+ Platform::LinuxRISCV64 => "cli-linux-riscv64",
|
||||||
|
Platform::DarwinX64 => "cli-darwin-x64",
|
||||||
|
@@ -298,2 +309,6 @@ impl Platform {
|
||||||
|
Some(Platform::LinuxARM64)
|
||||||
|
+ } else if cfg!(all(target_os = "linux", target_arch = "ppc64le")) {
|
||||||
|
+ Some(Platform::LinuxPPC64LE)
|
||||||
|
+ } else if cfg!(all(target_os = "linux", target_arch = "riscv64")) {
|
||||||
|
+ Some(Platform::LinuxRISCV64)
|
||||||
|
} else if cfg!(all(target_os = "macos", target_arch = "x86_64")) {
|
||||||
|
@@ -325,2 +340,5 @@ impl fmt::Display for Platform {
|
||||||
|
Platform::LinuxARM32Legacy => "LinuxARM32Legacy",
|
||||||
|
+ Platform::LinuxPPC64LE => "LinuxPPC64LE",
|
||||||
|
+ Platform::LinuxPPC64LELegacy => "LinuxPPC64LELegacy",
|
||||||
|
+ Platform::LinuxRISCV64 => "LinuxRISCV64",
|
||||||
|
Platform::DarwinX64 => "DarwinX64",
|
||||||
|
diff --git a/cli/src/util/prereqs.rs b/cli/src/util/prereqs.rs
|
||||||
|
index 0f49ab2..d873a49 100644
|
||||||
|
--- a/cli/src/util/prereqs.rs
|
||||||
|
+++ b/cli/src/util/prereqs.rs
|
||||||
|
@@ -86,2 +86,6 @@ impl PreReqChecker {
|
||||||
|
Platform::LinuxARM32
|
||||||
|
+ } else if cfg!(target_arch = "ppc64le") {
|
||||||
|
+ Platform::LinuxPPC64LE
|
||||||
|
+ } else if cfg!(target_arch = "riscv64") {
|
||||||
|
+ Platform::LinuxRISCV64
|
||||||
|
} else {
|
||||||
|
@@ -95,2 +99,4 @@ impl PreReqChecker {
|
||||||
|
Platform::LinuxARM32Legacy
|
||||||
|
+ } else if cfg!(target_arch = "ppc64le") {
|
||||||
|
+ Platform::LinuxPPC64LELegacy
|
||||||
|
} else {
|
||||||
|
diff --git a/resources/server/bin/helpers/check-requirements-linux.sh b/resources/server/bin/helpers/check-requirements-linux.sh
|
||||||
|
index 31a618f..dc457e0 100644
|
||||||
|
--- a/resources/server/bin/helpers/check-requirements-linux.sh
|
||||||
|
+++ b/resources/server/bin/helpers/check-requirements-linux.sh
|
||||||
|
@@ -56,2 +56,4 @@ case $ARCH in
|
||||||
|
;;
|
||||||
|
+ ppc64el) LDCONFIG_ARCH="64bit";;
|
||||||
|
+ riscv64) LDCONFIG_ARCH="RISC-V";;
|
||||||
|
esac
|
||||||
|
diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
||||||
|
index 1dcc4c7..54a7f36 100644
|
||||||
|
--- a/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
||||||
|
+++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
||||||
|
@@ -41,2 +41,4 @@ export function TargetPlatformToString(targetPlatform: TargetPlatform) {
|
||||||
|
case TargetPlatform.LINUX_ARMHF: return 'Linux ARM';
|
||||||
|
+ case TargetPlatform.LINUX_PPC64LE: return 'Linux PowerPC64';
|
||||||
|
+ case TargetPlatform.LINUX_RISCV64: return 'Linux RISC-V 64';
|
||||||
|
|
||||||
|
@@ -64,2 +66,4 @@ export function toTargetPlatform(targetPlatform: string): TargetPlatform {
|
||||||
|
case TargetPlatform.LINUX_ARMHF: return TargetPlatform.LINUX_ARMHF;
|
||||||
|
+ case TargetPlatform.LINUX_PPC64LE: return TargetPlatform.LINUX_PPC64LE;
|
||||||
|
+ case TargetPlatform.LINUX_RISCV64: return TargetPlatform.LINUX_RISCV64;
|
||||||
|
|
||||||
|
@@ -99,2 +103,8 @@ export function getTargetPlatform(platform: Platform | 'alpine', arch: string |
|
||||||
|
}
|
||||||
|
+ if (arch === 'ppc64le') {
|
||||||
|
+ return TargetPlatform.LINUX_PPC64LE;
|
||||||
|
+ }
|
||||||
|
+ if (arch === 'riscv64') {
|
||||||
|
+ return TargetPlatform.LINUX_RISCV64;
|
||||||
|
+ }
|
||||||
|
return TargetPlatform.UNKNOWN;
|
||||||
|
diff --git a/src/vs/platform/extensions/common/extensions.ts b/src/vs/platform/extensions/common/extensions.ts
|
||||||
|
index 822260b..fc11650 100644
|
||||||
|
--- a/src/vs/platform/extensions/common/extensions.ts
|
||||||
|
+++ b/src/vs/platform/extensions/common/extensions.ts
|
||||||
|
@@ -294,2 +294,4 @@ export const enum TargetPlatform {
|
||||||
|
LINUX_ARMHF = 'linux-armhf',
|
||||||
|
+ LINUX_PPC64LE = 'linux-ppc64le',
|
||||||
|
+ LINUX_RISCV64 = 'linux-riscv64',
|
||||||
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
|
||||||
index 595d0ce..2e94d99 100644
|
|
||||||
--- a/build/gulpfile.reh.js
|
|
||||||
+++ b/build/gulpfile.reh.js
|
|
||||||
@@ -375,10 +375,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
|
||||||
|
|
||||||
- if (platform === 'linux' || platform === 'alpine') {
|
|
||||||
- result = es.merge(result,
|
|
||||||
- gulp.src(`resources/server/bin/helpers/check-requirements-linux.sh`, { base: '.' })
|
|
||||||
- .pipe(rename(`bin/helpers/check-requirements.sh`))
|
|
||||||
- .pipe(util.setExecutableBit())
|
|
||||||
- );
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
return result.pipe(vfs.dest(destination));
|
|
||||||
diff --git a/resources/server/bin/code-server-linux.sh b/resources/server/bin/code-server-linux.sh
|
|
||||||
index e3d96bd..3df32df 100644
|
|
||||||
--- a/resources/server/bin/code-server-linux.sh
|
|
||||||
+++ b/resources/server/bin/code-server-linux.sh
|
|
||||||
@@ -11,22 +11,2 @@ ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
|
|
||||||
|
|
||||||
-# Do not remove this check.
|
|
||||||
-# Provides a way to skip the server requirements check from
|
|
||||||
-# outside the install flow. A system process can create this
|
|
||||||
-# file before the server is downloaded and installed.
|
|
||||||
-skip_check=0
|
|
||||||
-if [ -f "/tmp/vscode-skip-server-requirements-check" ]; then
|
|
||||||
- echo "!!! WARNING: Skipping server pre-requisite check !!!"
|
|
||||||
- echo "!!! Server stability is not guaranteed. Proceed at your own risk. !!!"
|
|
||||||
- skip_check=1
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
-# Check platform requirements
|
|
||||||
-if [ "$(echo "$@" | grep -c -- "--skip-requirements-check")" -eq 0 ] && [ $skip_check -eq 0 ]; then
|
|
||||||
- $ROOT/bin/helpers/check-requirements.sh
|
|
||||||
- exit_code=$?
|
|
||||||
- if [ $exit_code -ne 0 ]; then
|
|
||||||
- exit $exit_code
|
|
||||||
- fi
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
"$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
||||||
index c2b81d0..2e94d99 100644
|
index 560bdc1..9208fa0 100644
|
||||||
--- a/build/gulpfile.reh.js
|
--- a/build/gulpfile.reh.js
|
||||||
+++ b/build/gulpfile.reh.js
|
+++ b/build/gulpfile.reh.js
|
||||||
@@ -375,16 +375,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
@@ -392,16 +392,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
||||||
|
|
||||||
- if (platform === 'linux' && process.env['VSCODE_NODE_GLIBC'] === '-glibc-2.17') {
|
- if (platform === 'linux' && process.env['VSCODE_NODE_GLIBC'] === '-glibc-2.17') {
|
||||||
- result = es.merge(result,
|
- result = es.merge(result,
|
||||||
@@ -18,30 +18,21 @@ index c2b81d0..2e94d99 100644
|
|||||||
- );
|
- );
|
||||||
- }
|
- }
|
||||||
-
|
-
|
||||||
return result.pipe(vfs.dest(destination));
|
result = inlineMeta(result, {
|
||||||
diff --git a/remote/.yarnrc b/remote/.yarnrc
|
|
||||||
index 4e7208c..f7304bc 100644
|
|
||||||
--- a/remote/.yarnrc
|
|
||||||
+++ b/remote/.yarnrc
|
|
||||||
@@ -1,3 +1,3 @@
|
|
||||||
disturl "https://nodejs.org/dist"
|
|
||||||
-target "18.18.2"
|
|
||||||
+target "16.20.2"
|
|
||||||
ms_build_id "256117"
|
|
||||||
diff --git a/remote/package.json b/remote/package.json
|
diff --git a/remote/package.json b/remote/package.json
|
||||||
index 974450e..513856f 100644
|
index aa24bf8..63a94bf 100644
|
||||||
--- a/remote/package.json
|
--- a/remote/package.json
|
||||||
+++ b/remote/package.json
|
+++ b/remote/package.json
|
||||||
@@ -31,3 +31,3 @@
|
@@ -32,3 +32,3 @@
|
||||||
"native-watchdog": "^1.4.1",
|
"native-watchdog": "^1.4.1",
|
||||||
- "node-pty": "1.1.0-beta11",
|
- "node-pty": "1.1.0-beta21",
|
||||||
+ "node-pty": "1.1.0-beta4",
|
+ "node-pty": "1.1.0-beta4",
|
||||||
"tas-client-umd": "0.1.8",
|
"tas-client-umd": "0.2.0",
|
||||||
diff --git a/remote/yarn.lock b/remote/yarn.lock
|
diff --git a/remote/yarn.lock b/remote/yarn.lock
|
||||||
index d62eb4b..f175b85 100644
|
index 2478846..32d0456 100644
|
||||||
--- a/remote/yarn.lock
|
--- a/remote/yarn.lock
|
||||||
+++ b/remote/yarn.lock
|
+++ b/remote/yarn.lock
|
||||||
@@ -391,2 +391,7 @@ ms@2.1.2:
|
@@ -444,2 +444,7 @@ ms@2.1.2:
|
||||||
|
|
||||||
+nan@^2.17.0:
|
+nan@^2.17.0:
|
||||||
+ version "2.18.0"
|
+ version "2.18.0"
|
||||||
@@ -49,17 +40,17 @@ index d62eb4b..f175b85 100644
|
|||||||
+ integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
|
+ integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
|
||||||
+
|
+
|
||||||
napi-build-utils@^1.0.1:
|
napi-build-utils@^1.0.1:
|
||||||
@@ -408,3 +413,3 @@ node-abi@^3.3.0:
|
@@ -461,3 +466,3 @@ node-abi@^3.3.0:
|
||||||
|
|
||||||
-node-addon-api@7.1.0, node-addon-api@^7.1.0:
|
-node-addon-api@7.1.0, node-addon-api@^7.1.0:
|
||||||
+node-addon-api@7.1.0:
|
+node-addon-api@7.1.0:
|
||||||
version "7.1.0"
|
version "7.1.0"
|
||||||
@@ -433,8 +438,8 @@ node-gyp-build@^4.3.0:
|
@@ -486,8 +491,8 @@ node-gyp-build@4.8.1, node-gyp-build@^4.3.0:
|
||||||
|
|
||||||
-node-pty@1.1.0-beta11:
|
-node-pty@1.1.0-beta21:
|
||||||
- version "1.1.0-beta11"
|
- version "1.1.0-beta21"
|
||||||
- resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta11.tgz#909d5dd8f9aa2a7857e7b632fd4d2d4768bdf69f"
|
- resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta21.tgz#d75c1dfe4ff2c173459c974df72e91a4eae6dc52"
|
||||||
- integrity sha512-vTjF+VrvSCfPDILUkIT+YrG1Fdn06/eBRS2fc9a3JzYAvknMB1Ip8aoJhxl8hNpjWAbprmCEiV91mlfNpCD+GQ==
|
- integrity sha512-FYpnY9g8qMQLTpqyeY9NVli6YfCWwvG6v6gmaDBbPjlc1VMp/+Zivq0SStDrRr1aciGnFCZzpL0BzdMnmbDnAw==
|
||||||
+node-pty@1.1.0-beta4:
|
+node-pty@1.1.0-beta4:
|
||||||
+ version "1.1.0-beta4"
|
+ version "1.1.0-beta4"
|
||||||
+ resolved "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta4.tgz#ee74d909c9f422ffc7f675e1092529673f8906ec"
|
+ resolved "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta4.tgz#ee74d909c9f422ffc7f675e1092529673f8906ec"
|
||||||
@@ -5,5 +5,5 @@ index c9e57db..ef27166 100644
|
|||||||
@@ -2,3 +2,3 @@ Name: @@NAME@@
|
@@ -2,3 +2,3 @@ Name: @@NAME@@
|
||||||
Version: @@VERSION@@
|
Version: @@VERSION@@
|
||||||
-Release: @@RELEASE@@.el8
|
-Release: @@RELEASE@@.el8
|
||||||
+Release: el7
|
+Release: el8
|
||||||
Summary: Code editing. Redefined.
|
Summary: Code editing. Redefined.
|
||||||
|
|||||||
@@ -1,102 +0,0 @@
|
|||||||
diff --git a/build/lib/fetch.js b/build/lib/fetch.js
|
|
||||||
index ba23e78..9b8a5a1 100644
|
|
||||||
--- a/build/lib/fetch.js
|
|
||||||
+++ b/build/lib/fetch.js
|
|
||||||
@@ -13,2 +13,3 @@ const crypto = require("crypto");
|
|
||||||
const through2 = require("through2");
|
|
||||||
+const fetch = require("node-fetch");
|
|
||||||
function fetchUrls(urls, options) {
|
|
||||||
diff --git a/build/linux/debian/install-sysroot.js b/build/linux/debian/install-sysroot.js
|
|
||||||
index d637fce..02cb192 100644
|
|
||||||
--- a/build/linux/debian/install-sysroot.js
|
|
||||||
+++ b/build/linux/debian/install-sysroot.js
|
|
||||||
@@ -14,2 +14,3 @@ const crypto_1 = require("crypto");
|
|
||||||
const ansiColors = require("ansi-colors");
|
|
||||||
+const fetch = require("node-fetch");
|
|
||||||
// Based on https://source.chromium.org/chromium/chromium/src/+/main:build/linux/sysroot_scripts/install-sysroot.py.
|
|
||||||
diff --git a/package.json b/package.json
|
|
||||||
index f734771..0d118ad 100644
|
|
||||||
--- a/package.json
|
|
||||||
+++ b/package.json
|
|
||||||
@@ -172,3 +172,3 @@
|
|
||||||
"gulp-plumber": "^1.2.0",
|
|
||||||
- "gulp-postcss": "^9.1.0",
|
|
||||||
+ "gulp-postcss": "9.0.1",
|
|
||||||
"gulp-rename": "^1.2.0",
|
|
||||||
diff --git a/yarn.lock b/yarn.lock
|
|
||||||
index 7dcbe6f..fc13bba 100644
|
|
||||||
--- a/yarn.lock
|
|
||||||
+++ b/yarn.lock
|
|
||||||
@@ -4123,9 +4123,2 @@ fancy-log@^1.3.2, fancy-log@^1.3.3:
|
|
||||||
|
|
||||||
-fancy-log@^2.0.0:
|
|
||||||
- version "2.0.0"
|
|
||||||
- resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-2.0.0.tgz#cad207b8396d69ae4796d74d17dff5f68b2f7343"
|
|
||||||
- integrity sha512-9CzxZbACXMUXW13tS0tI8XsGGmxWzO2DmYrGuBJOJ8k8q2K7hwfJA5qHjuPPe8wtsco33YR9wc+Rlr5wYFvhSA==
|
|
||||||
- dependencies:
|
|
||||||
- color-support "^1.1.3"
|
|
||||||
-
|
|
||||||
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
|
||||||
@@ -4957,10 +4950,10 @@ gulp-plumber@^1.2.0:
|
|
||||||
|
|
||||||
-gulp-postcss@^9.1.0:
|
|
||||||
- version "9.1.0"
|
|
||||||
- resolved "https://registry.yarnpkg.com/gulp-postcss/-/gulp-postcss-9.1.0.tgz#0d317134d40d9565f265bd32c7f71605a54cadd8"
|
|
||||||
- integrity sha512-a843mcKPApfeI987uqQbc8l50xXeWIXBsiVvYxtCI5XtVAMzTi/HnU2qzQpGwkB/PAOfsLV8OsqDv2iJZ9qvdw==
|
|
||||||
+gulp-postcss@9.0.1:
|
|
||||||
+ version "9.0.1"
|
|
||||||
+ resolved "https://registry.npmjs.org/gulp-postcss/-/gulp-postcss-9.0.1.tgz#d43caa2f2ce1018f889f7c1296faf82e9928b66f"
|
|
||||||
+ integrity sha512-9QUHam5JyXwGUxaaMvoFQVT44tohpEFpM8xBdPfdwTYGM0AItS1iTQz0MpsF8Jroh7GF5Jt2GVPaYgvy8qD2Fw==
|
|
||||||
dependencies:
|
|
||||||
- fancy-log "^2.0.0"
|
|
||||||
- plugin-error "^2.0.1"
|
|
||||||
- postcss-load-config "^5.0.0"
|
|
||||||
+ fancy-log "^1.3.3"
|
|
||||||
+ plugin-error "^1.0.1"
|
|
||||||
+ postcss-load-config "^3.0.0"
|
|
||||||
vinyl-sourcemaps-apply "^0.2.1"
|
|
||||||
@@ -6172,2 +6165,7 @@ liftoff@^3.1.0:
|
|
||||||
|
|
||||||
+lilconfig@^2.0.5:
|
|
||||||
+ version "2.1.0"
|
|
||||||
+ resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
|
|
||||||
+ integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==
|
|
||||||
+
|
|
||||||
lilconfig@^3.0.0:
|
|
||||||
@@ -7592,9 +7590,2 @@ plugin-error@^1.0.0, plugin-error@^1.0.1:
|
|
||||||
|
|
||||||
-plugin-error@^2.0.1:
|
|
||||||
- version "2.0.1"
|
|
||||||
- resolved "https://registry.yarnpkg.com/plugin-error/-/plugin-error-2.0.1.tgz#f2ac92bac8c85e3e23492d76d0c3ca12f30eb00b"
|
|
||||||
- integrity sha512-zMakqvIDyY40xHOvzXka0kUvf40nYIuwRE8dWhti2WtjQZ31xAgBZBhxsK7vK3QbRXS1Xms/LO7B5cuAsfB2Gg==
|
|
||||||
- dependencies:
|
|
||||||
- ansi-colors "^1.0.1"
|
|
||||||
-
|
|
||||||
posix-character-classes@^0.1.0:
|
|
||||||
@@ -7650,9 +7641,9 @@ postcss-discard-overridden@^6.0.1:
|
|
||||||
|
|
||||||
-postcss-load-config@^5.0.0:
|
|
||||||
- version "5.0.2"
|
|
||||||
- resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-5.0.2.tgz#3d4261d616428e3d6e41c8236c3e456c0f49266f"
|
|
||||||
- integrity sha512-Q8QR3FYbqOKa0bnC1UQ2bFq9/ulHX5Bi34muzitMr8aDtUelO5xKeJEYC/5smE0jNE9zdB/NBnOwXKexELbRlw==
|
|
||||||
+postcss-load-config@^3.0.0:
|
|
||||||
+ version "3.1.4"
|
|
||||||
+ resolved "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855"
|
|
||||||
+ integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==
|
|
||||||
dependencies:
|
|
||||||
- lilconfig "^3.0.0"
|
|
||||||
- yaml "^2.3.4"
|
|
||||||
+ lilconfig "^2.0.5"
|
|
||||||
+ yaml "^1.10.2"
|
|
||||||
|
|
||||||
@@ -10299,6 +10290,6 @@ yallist@^4.0.0:
|
|
||||||
|
|
||||||
-yaml@^2.3.4:
|
|
||||||
- version "2.3.4"
|
|
||||||
- resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2"
|
|
||||||
- integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==
|
|
||||||
+yaml@^1.10.2:
|
|
||||||
+ version "1.10.2"
|
|
||||||
+ resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
|
|
||||||
+ integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
diff --git a/build/azure-pipelines/linux/verify-glibc-requirements.sh b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
|
||||||
index f07c0ba..bd9aac1 100755
|
|
||||||
--- a/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
|
||||||
+++ b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
|
||||||
@@ -36,3 +36,3 @@ for file in $files; do
|
|
||||||
if [[ "$glibc_version" != "$EXPECTED_GLIBC_VERSION" ]]; then
|
|
||||||
- echo "Error: File $file has dependency on GLIBC > $EXPECTED_GLIBC_VERSION"
|
|
||||||
+ echo "Error: File $file has dependency on GLIBC($glibc_version) != $EXPECTED_GLIBC_VERSION"
|
|
||||||
exit 1
|
|
||||||
@@ -40,3 +40,3 @@ for file in $files; do
|
|
||||||
if [[ "$glibcxx_version" != "$EXPECTED_GLIBCXX_VERSION" ]]; then
|
|
||||||
- echo "Error: File $file has dependency on GLIBCXX > $EXPECTED_GLIBCXX_VERSION"
|
|
||||||
+ echo "Error: File $file has dependency on GLIBCXX($glibcxx_version) != $EXPECTED_GLIBCXX_VERSION"
|
|
||||||
exit 1
|
|
||||||
@@ -1,17 +1,9 @@
|
|||||||
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
|
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
|
||||||
index 72dd74f..0f70d8c 100644
|
index d45d5bc..81a6449 100644
|
||||||
--- a/build/npm/postinstall.js
|
--- a/build/npm/postinstall.js
|
||||||
+++ b/build/npm/postinstall.js
|
+++ b/build/npm/postinstall.js
|
||||||
@@ -55,10 +55,6 @@ function yarnInstall(dir, opts) {
|
@@ -56,3 +56,3 @@ function yarnInstall(dir, opts) {
|
||||||
opts.cwd = root;
|
opts.cwd = root;
|
||||||
- if (process.env['npm_config_arch'] === 'arm64' || process.env['npm_config_arch'] === 'arm') {
|
- if (process.env['npm_config_arch'] === 'arm64') {
|
||||||
+ if (process.env['npm_config_arch'] === 'arm64' || process.env['npm_config_arch'] === 'arm' || process.env['npm_config_arch'] === 'ppc64') {
|
+ if (process.env['npm_config_arch'] === 'arm64' || process.env['npm_config_arch'] === 'arm' || process.env['npm_config_arch'] === 'ppc64' || process.env['npm_config_arch'] === 'riscv64') {
|
||||||
run('sudo', ['docker', 'run', '--rm', '--privileged', 'multiarch/qemu-user-static', '--reset', '-p', 'yes'], opts);
|
run('sudo', ['docker', 'run', '--rm', '--privileged', 'multiarch/qemu-user-static', '--reset', '-p', 'yes'], opts);
|
||||||
}
|
|
||||||
- if (process.env['npm_config_arch'] === 'arm') {
|
|
||||||
- run('sudo', ['docker', 'run', '-e', 'GITHUB_TOKEN', '-e', 'npm_config_arch', '-v', `${process.env['VSCODE_HOST_MOUNT']}:/home/builduser`, '-v', `${process.env['VSCODE_HOST_MOUNT']}/.build/.netrc:/home/builduser/.netrc`, process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'yarn', '--cwd', dir, ...args], opts);
|
|
||||||
- } else {
|
|
||||||
- run('sudo', ['docker', 'run', '-e', 'GITHUB_TOKEN', '-e', 'npm_config_arch', '-v', `${process.env['VSCODE_HOST_MOUNT']}:/root/vscode`, '-v', `${process.env['VSCODE_HOST_MOUNT']}/.build/.netrc:/root/.netrc`, process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'yarn', '--cwd', dir, ...args], opts);
|
|
||||||
- }
|
|
||||||
+ run('sudo', ['docker', 'run', '-e', 'GITHUB_TOKEN', '-e', 'npm_config_arch', '-v', `${process.env['VSCODE_HOST_MOUNT']}:/root/vscode`, '-v', `${process.env['VSCODE_HOST_MOUNT']}/.build/.netrc:/root/.netrc`, process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'yarn', '--cwd', dir, ...args], opts);
|
|
||||||
run('sudo', ['chown', '-R', `${userinfo.uid}:${userinfo.gid}`, `${dir}/node_modules`], opts);
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
diff --git a/src/main.js b/src/main.js
|
diff --git a/src/main.js b/src/main.js
|
||||||
index d986fee..1ad0ef0 100644
|
index 041d9d6..295dbcb 100644
|
||||||
--- a/src/main.js
|
--- a/src/main.js
|
||||||
+++ b/src/main.js
|
+++ b/src/main.js
|
||||||
@@ -18,2 +18,3 @@ perf.mark('code/didStartMain');
|
@@ -15,2 +15,3 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
+const { fileURLToPath } = require('url');
|
+const { fileURLToPath } = require('url');
|
||||||
const fs = require('fs');
|
const fs = require('original-fs');
|
||||||
@@ -149,2 +150,14 @@ app.once('ready', function () {
|
@@ -136,2 +137,14 @@ registerListeners();
|
||||||
|
|
||||||
+function resolveUserProduct() {
|
+function resolveUserProduct() {
|
||||||
+ const userDataPath = getUserDataPath({}, product.nameShort ?? 'code-oss-dev');
|
+ const userDataPath = getUserDataPath({}, product.nameShort ?? 'code-oss-dev');
|
||||||
@@ -21,12 +21,12 @@ index d986fee..1ad0ef0 100644
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
/**
|
/**
|
||||||
@@ -160,2 +173,3 @@ function startup(codeCachePath, nlsConfig) {
|
@@ -212,2 +225,3 @@ function startup(codeCachePath, nlsConfig) {
|
||||||
process.env['VSCODE_CODE_CACHE_PATH'] = codeCachePath || '';
|
process.env['VSCODE_CODE_CACHE_PATH'] = codeCachePath || '';
|
||||||
+ resolveUserProduct();
|
+ resolveUserProduct();
|
||||||
|
|
||||||
diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts
|
diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts
|
||||||
index 51a55e1..e2af375 100644
|
index 58278d9..3bd78c9 100644
|
||||||
--- a/src/vs/platform/product/common/product.ts
|
--- a/src/vs/platform/product/common/product.ts
|
||||||
+++ b/src/vs/platform/product/common/product.ts
|
+++ b/src/vs/platform/product/common/product.ts
|
||||||
@@ -29,2 +29,36 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) {
|
@@ -29,2 +29,36 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) {
|
||||||
|
|||||||
28
patches/osx/fix-codesign.patch
Normal file
28
patches/osx/fix-codesign.patch
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/build/darwin/sign.js b/build/darwin/sign.js
|
||||||
|
index f5913b7..100b950 100644
|
||||||
|
--- a/build/darwin/sign.js
|
||||||
|
+++ b/build/darwin/sign.js
|
||||||
|
@@ -53,5 +53,7 @@ async function main(buildDir) {
|
||||||
|
ignore: (filePath) => {
|
||||||
|
+ const ext = path.extname(filePath);
|
||||||
|
return filePath.includes(gpuHelperAppName) ||
|
||||||
|
filePath.includes(rendererHelperAppName) ||
|
||||||
|
- filePath.includes(pluginHelperAppName);
|
||||||
|
+ filePath.includes(pluginHelperAppName) ||
|
||||||
|
+ ext == '.asar' || ext == '.dat' || ext == '.gif' || ext == '.icns' || ext == '.ico' || ext == '.json' || ext == '.mp3' || ext == '.nib' || ext == '.pak' || ext == '.png' || ext == '.scpt' || ext == '.ttf' || ext == '.wasm' || ext == '.woff' || ext == '.woff2';
|
||||||
|
}
|
||||||
|
@@ -83,3 +85,3 @@ async function main(buildDir) {
|
||||||
|
'-string',
|
||||||
|
- 'An application in Visual Studio Code wants to use AppleScript.',
|
||||||
|
+ 'An application in VSCodium wants to use AppleScript.',
|
||||||
|
`${infoPlistPath}`
|
||||||
|
@@ -90,3 +92,3 @@ async function main(buildDir) {
|
||||||
|
'-string',
|
||||||
|
- 'An application in Visual Studio Code wants to use the Microphone.',
|
||||||
|
+ 'An application in VSCodium wants to use the Microphone.',
|
||||||
|
`${infoPlistPath}`
|
||||||
|
@@ -97,3 +99,3 @@ async function main(buildDir) {
|
||||||
|
'-string',
|
||||||
|
- 'An application in Visual Studio Code wants to use the Camera.',
|
||||||
|
+ 'An application in VSCodium wants to use the Camera.',
|
||||||
|
`${infoPlistPath}`
|
||||||
@@ -1,186 +0,0 @@
|
|||||||
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
|
||||||
index c2b81d0..4972cec 100644
|
|
||||||
--- a/build/gulpfile.reh.js
|
|
||||||
+++ b/build/gulpfile.reh.js
|
|
||||||
@@ -46,2 +46,3 @@ const BUILD_TARGETS = [
|
|
||||||
{ platform: 'linux', arch: 'arm64' },
|
|
||||||
+ { platform: 'linux', arch: 'ppc64le' },
|
|
||||||
{ platform: 'alpine', arch: 'arm64' },
|
|
||||||
diff --git a/build/gulpfile.scan.js b/build/gulpfile.scan.js
|
|
||||||
index 6f8144b..4479ae7 100644
|
|
||||||
--- a/build/gulpfile.scan.js
|
|
||||||
+++ b/build/gulpfile.scan.js
|
|
||||||
@@ -26,2 +26,3 @@ const BUILD_TARGETS = [
|
|
||||||
{ platform: 'linux', arch: 'arm64' },
|
|
||||||
+ { platform: 'linux', arch: 'ppc64le' },
|
|
||||||
];
|
|
||||||
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
|
||||||
index e1507e0..997b553 100644
|
|
||||||
--- a/build/gulpfile.vscode.js
|
|
||||||
+++ b/build/gulpfile.vscode.js
|
|
||||||
@@ -431,2 +431,3 @@ const BUILD_TARGETS = [
|
|
||||||
{ platform: 'linux', arch: 'arm64' },
|
|
||||||
+ { platform: 'linux', arch: 'ppc64le' },
|
|
||||||
];
|
|
||||||
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
|
||||||
index 8c2b62f..290f25e 100644
|
|
||||||
--- a/build/gulpfile.vscode.linux.js
|
|
||||||
+++ b/build/gulpfile.vscode.linux.js
|
|
||||||
@@ -30,3 +30,3 @@ const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
|
||||||
function getDebPackageArch(arch) {
|
|
||||||
- return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64' }[arch];
|
|
||||||
+ return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64', ppc64le: 'ppc64le' }[arch];
|
|
||||||
}
|
|
||||||
@@ -136,3 +136,3 @@ function getRpmBuildPath(rpmArch) {
|
|
||||||
function getRpmPackageArch(arch) {
|
|
||||||
- return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64' }[arch];
|
|
||||||
+ return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64', ppc64le: 'ppc64le' }[arch];
|
|
||||||
}
|
|
||||||
@@ -297,2 +297,3 @@ const BUILD_TARGETS = [
|
|
||||||
{ arch: 'arm64' },
|
|
||||||
+ { arch: 'ppc64le' },
|
|
||||||
];
|
|
||||||
diff --git a/build/linux/debian/calculate-deps.ts b/build/linux/debian/calculate-deps.ts
|
|
||||||
index 92f8065..c16687b 100644
|
|
||||||
--- a/build/linux/debian/calculate-deps.ts
|
|
||||||
+++ b/build/linux/debian/calculate-deps.ts
|
|
||||||
@@ -61,2 +61,8 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, chromi
|
|
||||||
break;
|
|
||||||
+ case 'ppc64le':
|
|
||||||
+ cmd.push(`-l${chromiumSysroot}/usr/lib/ppc64le-linux-gnu`,
|
|
||||||
+ `-l${chromiumSysroot}/lib/ppc64le-linux-gnu`,
|
|
||||||
+ `-l${vscodeSysroot}/usr/lib/ppc64le-linux-gnu`,
|
|
||||||
+ `-l${vscodeSysroot}/lib/ppc64le-linux-gnu`);
|
|
||||||
+ break;
|
|
||||||
}
|
|
||||||
diff --git a/build/linux/debian/dep-lists.ts b/build/linux/debian/dep-lists.ts
|
|
||||||
index 3d6c2eb..a4587bd 100644
|
|
||||||
--- a/build/linux/debian/dep-lists.ts
|
|
||||||
+++ b/build/linux/debian/dep-lists.ts
|
|
||||||
@@ -142,2 +142,41 @@ export const referenceGeneratedDepsByArch = {
|
|
||||||
'xdg-utils (>= 1.0.2)'
|
|
||||||
+ ],
|
|
||||||
+ 'ppc64le': [
|
|
||||||
+ 'ca-certificates',
|
|
||||||
+ 'libasound2 (>= 1.0.17)',
|
|
||||||
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
|
||||||
+ 'libatk1.0-0 (>= 2.2.0)',
|
|
||||||
+ 'libatspi2.0-0 (>= 2.9.90)',
|
|
||||||
+ 'libc6 (>= 2.17)',
|
|
||||||
+ 'libc6 (>= 2.28)',
|
|
||||||
+ 'libcairo2 (>= 1.6.0)',
|
|
||||||
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
|
||||||
+ 'libdbus-1-3 (>= 1.0.2)',
|
|
||||||
+ 'libdrm2 (>= 2.4.60)',
|
|
||||||
+ 'libexpat1 (>= 2.0.1)',
|
|
||||||
+ 'libgbm1 (>= 17.1.0~rc2)',
|
|
||||||
+ 'libglib2.0-0 (>= 2.16.0)',
|
|
||||||
+ 'libglib2.0-0 (>= 2.39.4)',
|
|
||||||
+ 'libgtk-3-0 (>= 3.9.10)',
|
|
||||||
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
|
||||||
+ 'libnspr4 (>= 2:4.9-2~)',
|
|
||||||
+ 'libnss3 (>= 2:3.22)',
|
|
||||||
+ 'libnss3 (>= 3.26)',
|
|
||||||
+ 'libpango-1.0-0 (>= 1.14.0)',
|
|
||||||
+ 'libsecret-1-0 (>= 0.18)',
|
|
||||||
+ 'libstdc++6 (>= 4.1.1)',
|
|
||||||
+ 'libstdc++6 (>= 5)',
|
|
||||||
+ 'libstdc++6 (>= 5.2)',
|
|
||||||
+ 'libstdc++6 (>= 6)',
|
|
||||||
+ 'libx11-6',
|
|
||||||
+ 'libx11-6 (>= 2:1.4.99.1)',
|
|
||||||
+ 'libxcb1 (>= 1.9.2)',
|
|
||||||
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
|
||||||
+ 'libxdamage1 (>= 1:1.1)',
|
|
||||||
+ 'libxext6',
|
|
||||||
+ 'libxfixes3',
|
|
||||||
+ 'libxkbcommon0 (>= 0.4.1)',
|
|
||||||
+ 'libxkbfile1',
|
|
||||||
+ 'libxrandr2',
|
|
||||||
+ 'xdg-utils (>= 1.0.2)'
|
|
||||||
]
|
|
||||||
diff --git a/build/linux/debian/types.ts b/build/linux/debian/types.ts
|
|
||||||
index e97485e..356027a 100644
|
|
||||||
--- a/build/linux/debian/types.ts
|
|
||||||
+++ b/build/linux/debian/types.ts
|
|
||||||
@@ -5,6 +5,6 @@
|
|
||||||
|
|
||||||
-export type DebianArchString = 'amd64' | 'armhf' | 'arm64';
|
|
||||||
+export type DebianArchString = 'amd64' | 'armhf' | 'arm64' | 'ppc64le';
|
|
||||||
|
|
||||||
export function isDebianArchString(s: string): s is DebianArchString {
|
|
||||||
- return ['amd64', 'armhf', 'arm64'].includes(s);
|
|
||||||
+ return ['amd64', 'armhf', 'arm64', 'ppc64le'].includes(s);
|
|
||||||
}
|
|
||||||
diff --git a/cli/src/update_service.rs b/cli/src/update_service.rs
|
|
||||||
index 4bec13d..5aa944d 100644
|
|
||||||
--- a/cli/src/update_service.rs
|
|
||||||
+++ b/cli/src/update_service.rs
|
|
||||||
@@ -216,2 +216,3 @@ pub enum Platform {
|
|
||||||
LinuxARM32Legacy,
|
|
||||||
+ LinuxPPC64LE
|
|
||||||
DarwinX64,
|
|
||||||
@@ -229,2 +230,3 @@ impl Platform {
|
|
||||||
Platform::LinuxARM32 => Some("linux-armhf".to_owned()),
|
|
||||||
+ Platform::LinuxPPC64LE => Some("linux-ppc64le".to_owned()),
|
|
||||||
Platform::DarwinX64 => Some("darwin".to_owned()),
|
|
||||||
@@ -247,2 +249,3 @@ impl Platform {
|
|
||||||
Platform::LinuxARM32Legacy => "server-linux-legacy-armhf",
|
|
||||||
+ Platform::LinuxPPC64LE => "server-linux-ppc64le",
|
|
||||||
Platform::DarwinX64 => "server-darwin",
|
|
||||||
@@ -266,2 +269,3 @@ impl Platform {
|
|
||||||
Platform::LinuxARM32Legacy => "cli-linux-armhf",
|
|
||||||
+ Platform::LinuxPPC64LE => "cli-linux-ppc64le",
|
|
||||||
Platform::DarwinX64 => "cli-darwin-x64",
|
|
||||||
@@ -298,2 +302,4 @@ impl Platform {
|
|
||||||
Some(Platform::LinuxARM64)
|
|
||||||
+ } else if cfg!(all(target_os = "linux", target_arch = "ppc64le")) {
|
|
||||||
+ Some(Platform::LinuxPPC64LE)
|
|
||||||
} else if cfg!(all(target_os = "macos", target_arch = "x86_64")) {
|
|
||||||
@@ -325,2 +331,3 @@ impl fmt::Display for Platform {
|
|
||||||
Platform::LinuxARM32Legacy => "LinuxARM32Legacy",
|
|
||||||
+ Platform::LinuxPPC64LE => "LinuxPPC64LE",
|
|
||||||
Platform::DarwinX64 => "DarwinX64",
|
|
||||||
diff --git a/cli/src/util/prereqs.rs b/cli/src/util/prereqs.rs
|
|
||||||
index 20a5bc9..1669bf7 100644
|
|
||||||
--- a/cli/src/util/prereqs.rs
|
|
||||||
+++ b/cli/src/util/prereqs.rs
|
|
||||||
@@ -75,2 +75,4 @@ impl PreReqChecker {
|
|
||||||
Platform::LinuxARM32
|
|
||||||
+ } else if cfg!(target_arch = "ppc64le") {
|
|
||||||
+ Platform::LinuxPPC64LE
|
|
||||||
} else {
|
|
||||||
diff --git a/src/main.js b/src/main.js
|
|
||||||
index 90de17b..80f5c47 100644
|
|
||||||
--- a/src/main.js
|
|
||||||
+++ b/src/main.js
|
|
||||||
@@ -435,2 +435,3 @@ function configureCrashReporter() {
|
|
||||||
} else if (isLinux) {
|
|
||||||
+
|
|
||||||
submitURL = appCenter['linux-x64'];
|
|
||||||
diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
|
||||||
index 9dae82e..64ad08b 100644
|
|
||||||
--- a/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
|
||||||
+++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
|
||||||
@@ -35,2 +35,3 @@ export function TargetPlatformToString(targetPlatform: TargetPlatform) {
|
|
||||||
case TargetPlatform.LINUX_ARMHF: return 'Linux ARM';
|
|
||||||
+ case TargetPlatform.LINUX_PPC64LE: return 'Linux PPC64LE';
|
|
||||||
|
|
||||||
@@ -58,2 +59,3 @@ export function toTargetPlatform(targetPlatform: string): TargetPlatform {
|
|
||||||
case TargetPlatform.LINUX_ARMHF: return TargetPlatform.LINUX_ARMHF;
|
|
||||||
+ case TargetPlatform.LINUX_PPC64LE: return TargetPlatform.LINUX_PPC64LE;
|
|
||||||
|
|
||||||
@@ -93,2 +95,5 @@ export function getTargetPlatform(platform: Platform | 'alpine', arch: string |
|
|
||||||
}
|
|
||||||
+ if (arch === 'ppc64le') {
|
|
||||||
+ return TargetPlatform.LINUX_PPC64LE;
|
|
||||||
+ }
|
|
||||||
return TargetPlatform.UNKNOWN;
|
|
||||||
diff --git a/src/vs/platform/extensions/common/extensions.ts b/src/vs/platform/extensions/common/extensions.ts
|
|
||||||
index 331aba1..57e01f2 100644
|
|
||||||
--- a/src/vs/platform/extensions/common/extensions.ts
|
|
||||||
+++ b/src/vs/platform/extensions/common/extensions.ts
|
|
||||||
@@ -305,2 +305,3 @@ export const enum TargetPlatform {
|
|
||||||
LINUX_ARMHF = 'linux-armhf',
|
|
||||||
+ LINUX_PPC64LE = 'linux-ppc64le',
|
|
||||||
|
|
||||||
@@ -1,39 +1,22 @@
|
|||||||
diff --git a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts
|
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
||||||
index 74f9939..341ef06 100644
|
index 87839a6..49727fc 100644
|
||||||
--- a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts
|
--- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
||||||
+++ b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts
|
+++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
||||||
@@ -79,3 +79,3 @@ ${this._data.issueDescription}
|
@@ -153,3 +153,3 @@ class ReportExtensionSlowAction extends Action {
|
||||||
${this.getExtensionVersion()}
|
- OS Version: \`${osVersion}\`
|
||||||
-VS Code version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion}
|
-- VS Code version: \`${this._productService.version}\`\n\n${message}`);
|
||||||
+VSCodium version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion}
|
+- VSCodium version: \`${this._productService.version}\`\n\n${message}`);
|
||||||
OS version: ${this._data.versionInfo && this._data.versionInfo.os}
|
|
||||||
diff --git a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts
|
|
||||||
index 96ec5f7..5c091d9 100644
|
|
||||||
--- a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts
|
|
||||||
+++ b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts
|
|
||||||
@@ -18,3 +18,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it
|
|
||||||
comment: [
|
|
||||||
- '{Locked="<a href=\"https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions\" target=\"_blank\">"}',
|
|
||||||
+ '{Locked="<a href=\"https://github.com/VSCodium/vscodium/wiki/Submitting-Bugs-and-Suggestions\" target=\"_blank\">"}',
|
|
||||||
'{Locked="</a>"}'
|
|
||||||
@@ -22,3 +22,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it
|
|
||||||
},
|
|
||||||
- 'Before you report an issue here please <a href="https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.'
|
|
||||||
+ 'Before you report an issue here please <a href="https://github.com/VSCodium/vscodium/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.'
|
|
||||||
);
|
|
||||||
diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
index d7f98f6..ed54042 100644
|
|
||||||
--- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
+++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts
|
|
||||||
@@ -517,5 +517,5 @@ export class IssueReporter extends Disposable {
|
|
||||||
|
|
||||||
- private searchVSCodeIssues(title: string, issueDescription?: string): void {
|
diff --git a/src/vs/workbench/contrib/issue/browser/baseIssueReporterService.ts b/src/vs/workbench/contrib/issue/browser/baseIssueReporterService.ts
|
||||||
+ private searchVSCodeIssues(title: string, _issueDescription?: string): void {
|
index ec21ac3..89fabe0 100644
|
||||||
|
--- a/src/vs/workbench/contrib/issue/browser/baseIssueReporterService.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/issue/browser/baseIssueReporterService.ts
|
||||||
|
@@ -630,3 +630,3 @@ export class BaseIssueReporterService extends Disposable {
|
||||||
if (title) {
|
if (title) {
|
||||||
- this.searchDuplicates(title, issueDescription);
|
- this.searchDuplicates(title, issueDescription);
|
||||||
+ this.searchGitHub('VSCodium/vscodium', title);
|
+ this.searchGitHub('VSCodium/vscodium', title);
|
||||||
} else {
|
} else {
|
||||||
@@ -611,33 +611,2 @@ export class IssueReporter extends Disposable {
|
@@ -722,33 +722,2 @@ export class BaseIssueReporterService extends Disposable {
|
||||||
|
|
||||||
- @debounce(300)
|
- @debounce(300)
|
||||||
- private searchDuplicates(title: string, body?: string): void {
|
- private searchDuplicates(title: string, body?: string): void {
|
||||||
@@ -67,17 +50,93 @@ index d7f98f6..ed54042 100644
|
|||||||
- }
|
- }
|
||||||
-
|
-
|
||||||
private displaySearchResults(results: SearchResult[]) {
|
private displaySearchResults(results: SearchResult[]) {
|
||||||
@@ -729,3 +698,3 @@ export class IssueReporter extends Disposable {
|
@@ -844,4 +813,4 @@ export class BaseIssueReporterService extends Disposable {
|
||||||
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
||||||
- sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false));
|
- sourceSelect.append(this.makeOption(IssueSource.VSCode, localize('vscode', "Visual Studio Code"), false));
|
||||||
+ sourceSelect.append(this.makeOption('vscode', localize('vscode', "VSCodium"), false));
|
- sourceSelect.append(this.makeOption(IssueSource.Extension, localize('extension', "A VS Code extension"), false));
|
||||||
sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false));
|
+ sourceSelect.append(this.makeOption(IssueSource.VSCode, localize('vscode', "VSCodium"), false));
|
||||||
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
+ sourceSelect.append(this.makeOption(IssueSource.Extension, localize('extension', "A VSCodium extension"), false));
|
||||||
index 87839a6..49727fc 100644
|
if (this.product.reportMarketplaceIssueUrl) {
|
||||||
--- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
@@ -905,3 +874,3 @@ export class BaseIssueReporterService extends Disposable {
|
||||||
+++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts
|
hide(descriptionTextArea);
|
||||||
@@ -153,3 +153,3 @@ class ReportExtensionSlowAction extends Action {
|
- reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VS Code"));
|
||||||
- OS Version: \`${osVersion}\`
|
+ reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VSCodium"));
|
||||||
-- VS Code version: \`${this._productService.version}\`\n\n${message}`);
|
reset(descriptionSubtitle, localize('elsewhereDescription', "The '{0}' extension prefers to use an external issue reporter. To be taken to that issue reporting experience, click the button below.", selectedExtension.displayName));
|
||||||
+- VSCodium version: \`${this._productService.version}\`\n\n${message}`);
|
diff --git a/src/vs/workbench/contrib/issue/browser/issueReporterModel.ts b/src/vs/workbench/contrib/issue/browser/issueReporterModel.ts
|
||||||
|
index 4394874..a9c3f57 100644
|
||||||
|
--- a/src/vs/workbench/contrib/issue/browser/issueReporterModel.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/issue/browser/issueReporterModel.ts
|
||||||
|
@@ -93,3 +93,3 @@ ${this._data.issueDescription}
|
||||||
|
${this.getExtensionVersion()}
|
||||||
|
-VS Code version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion}
|
||||||
|
+VSCodium version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion}
|
||||||
|
OS version: ${this._data.versionInfo && this._data.versionInfo.os}
|
||||||
|
diff --git a/src/vs/workbench/contrib/issue/browser/issueReporterPage.ts b/src/vs/workbench/contrib/issue/browser/issueReporterPage.ts
|
||||||
|
index 195857e..68163c0 100644
|
||||||
|
--- a/src/vs/workbench/contrib/issue/browser/issueReporterPage.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/issue/browser/issueReporterPage.ts
|
||||||
|
@@ -18,3 +18,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it
|
||||||
|
comment: [
|
||||||
|
- '{Locked="<a href=\"https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions\" target=\"_blank\">"}',
|
||||||
|
+ '{Locked="<a href=\"https://github.com/VSCodium/vscodium/wiki/Submitting-Bugs-and-Suggestions\" target=\"_blank\">"}',
|
||||||
|
'{Locked="</a>"}'
|
||||||
|
@@ -22,3 +22,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it
|
||||||
|
},
|
||||||
|
- 'Before you report an issue here please <a href="https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.'
|
||||||
|
+ 'Before you report an issue here please <a href="https://github.com/VSCodium/vscodium/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.'
|
||||||
|
);
|
||||||
|
diff --git a/src/vs/workbench/contrib/issue/electron-sandbox/issueReporterService.ts b/src/vs/workbench/contrib/issue/electron-sandbox/issueReporterService.ts
|
||||||
|
index b923388..043a8ac 100644
|
||||||
|
--- a/src/vs/workbench/contrib/issue/electron-sandbox/issueReporterService.ts
|
||||||
|
+++ b/src/vs/workbench/contrib/issue/electron-sandbox/issueReporterService.ts
|
||||||
|
@@ -555,3 +555,3 @@ export class IssueReporter extends Disposable {
|
||||||
|
if (title) {
|
||||||
|
- this.searchDuplicates(title, issueDescription);
|
||||||
|
+ this.searchGitHub('VSCodium/vscodium', title);
|
||||||
|
} else {
|
||||||
|
@@ -647,33 +647,2 @@ export class IssueReporter extends Disposable {
|
||||||
|
|
||||||
|
- @debounce(300)
|
||||||
|
- private searchDuplicates(title: string, body?: string): void {
|
||||||
|
- const url = 'https://vscode-probot.westus.cloudapp.azure.com:7890/duplicate_candidates';
|
||||||
|
- const init = {
|
||||||
|
- method: 'POST',
|
||||||
|
- body: JSON.stringify({
|
||||||
|
- title,
|
||||||
|
- body
|
||||||
|
- }),
|
||||||
|
- headers: new Headers({
|
||||||
|
- 'Content-Type': 'application/json'
|
||||||
|
- })
|
||||||
|
- };
|
||||||
|
-
|
||||||
|
- fetch(url, init).then((response) => {
|
||||||
|
- response.json().then(result => {
|
||||||
|
- this.clearSearchResults();
|
||||||
|
-
|
||||||
|
- if (result && result.candidates) {
|
||||||
|
- this.displaySearchResults(result.candidates);
|
||||||
|
- } else {
|
||||||
|
- throw new Error('Unexpected response, no candidates property');
|
||||||
|
- }
|
||||||
|
- }).catch(_ => {
|
||||||
|
- // Ignore
|
||||||
|
- });
|
||||||
|
- }).catch(_ => {
|
||||||
|
- // Ignore
|
||||||
|
- });
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
private displaySearchResults(results: SearchResult[]) {
|
||||||
|
@@ -769,4 +738,4 @@ export class IssueReporter extends Disposable {
|
||||||
|
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
||||||
|
- sourceSelect.append(this.makeOption(IssueSource.VSCode, localize('vscode', "Visual Studio Code"), false));
|
||||||
|
- sourceSelect.append(this.makeOption(IssueSource.Extension, localize('extension', "A VS Code extension"), false));
|
||||||
|
+ sourceSelect.append(this.makeOption(IssueSource.VSCode, localize('vscode', "VSCodium"), false));
|
||||||
|
+ sourceSelect.append(this.makeOption(IssueSource.Extension, localize('extension', "A VSCodium extension"), false));
|
||||||
|
if (this.configuration.product.reportMarketplaceIssueUrl) {
|
||||||
|
@@ -830,3 +799,3 @@ export class IssueReporter extends Disposable {
|
||||||
|
hide(descriptionTextArea);
|
||||||
|
- reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VS Code"));
|
||||||
|
+ reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VSCodium"));
|
||||||
|
reset(descriptionSubtitle, localize('elsewhereDescription', "The '{0}' extension prefers to use an external issue reporter. To be taken to that issue reporting experience, click the button below.", selectedExtension.displayName));
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts
|
diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts
|
||||||
index d45291e..74d4080 100644
|
index a2561be..a50958e 100644
|
||||||
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
|
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
|
||||||
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
|
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
|
||||||
@@ -55,3 +55,3 @@ export class Win32UpdateService extends AbstractUpdateService {
|
@@ -56,3 +56,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
|
||||||
get cachePath(): Promise<string> {
|
get cachePath(): Promise<string> {
|
||||||
- const result = path.join(tmpdir(), `vscode-${this.productService.quality}-${this.productService.target}-${process.arch}`);
|
- const result = path.join(tmpdir(), `vscode-${this.productService.quality}-${this.productService.target}-${process.arch}`);
|
||||||
+ const result = path.join(tmpdir(), `${this.productService.applicationName}-${this.productService.quality}-${this.productService.target}-${process.arch}`);
|
+ const result = path.join(tmpdir(), `${this.productService.applicationName}-${this.productService.quality}-${this.productService.target}-${process.arch}`);
|
||||||
return pfs.Promises.mkdir(result, { recursive: true }).then(() => result);
|
return fs.promises.mkdir(result, { recursive: true }).then(() => result);
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ set -e
|
|||||||
|
|
||||||
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
||||||
|
|
||||||
|
. ./utils.sh
|
||||||
|
|
||||||
npm install -g checksum
|
npm install -g checksum
|
||||||
|
|
||||||
sum_file() {
|
sum_file() {
|
||||||
@@ -18,33 +20,58 @@ sum_file() {
|
|||||||
mkdir -p assets
|
mkdir -p assets
|
||||||
|
|
||||||
if [[ "${OS_NAME}" == "osx" ]]; then
|
if [[ "${OS_NAME}" == "osx" ]]; then
|
||||||
if [[ "${CI_BUILD}" != "no" ]]; then
|
if [[ -n "${CERTIFICATE_OSX_P12_DATA}" ]]; then
|
||||||
cd "VSCode-darwin-${VSCODE_ARCH}"
|
if [[ "${CI_BUILD}" == "no" ]]; then
|
||||||
|
RUNNER_TEMP="${TMPDIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
CERTIFICATE_P12="${APP_NAME}.p12"
|
CERTIFICATE_P12="${APP_NAME}.p12"
|
||||||
KEYCHAIN="${RUNNER_TEMP}/build.keychain"
|
KEYCHAIN="${RUNNER_TEMP}/buildagent.keychain"
|
||||||
|
AGENT_TEMPDIRECTORY="${RUNNER_TEMP}"
|
||||||
|
# shellcheck disable=SC2006
|
||||||
|
KEYCHAINS=`security list-keychains | xargs`
|
||||||
|
|
||||||
echo "${CERTIFICATE_OSX_P12}" | base64 --decode > "${CERTIFICATE_P12}"
|
rm -f "${KEYCHAIN}"
|
||||||
|
|
||||||
|
echo "${CERTIFICATE_OSX_P12_DATA}" | base64 --decode > "${CERTIFICATE_P12}"
|
||||||
|
|
||||||
echo "+ create temporary keychain"
|
echo "+ create temporary keychain"
|
||||||
security create-keychain -p mysecretpassword "${KEYCHAIN}"
|
security create-keychain -p pwd "${KEYCHAIN}"
|
||||||
security set-keychain-settings -lut 21600 "${KEYCHAIN}"
|
security set-keychain-settings -lut 21600 "${KEYCHAIN}"
|
||||||
security unlock-keychain -p mysecretpassword "${KEYCHAIN}"
|
security unlock-keychain -p pwd "${KEYCHAIN}"
|
||||||
security list-keychains -s "$(security list-keychains | xargs)" "${KEYCHAIN}"
|
# shellcheck disable=SC2086
|
||||||
# security list-keychains -d user
|
security list-keychains -s $KEYCHAINS "${KEYCHAIN}"
|
||||||
# security show-keychain-info ${KEYCHAIN}
|
# security show-keychain-info "${KEYCHAIN}"
|
||||||
|
|
||||||
echo "+ import certificate to keychain"
|
echo "+ import certificate to keychain"
|
||||||
security import "${CERTIFICATE_P12}" -k "${KEYCHAIN}" -P "${CERTIFICATE_OSX_PASSWORD}" -T /usr/bin/codesign
|
security import "${CERTIFICATE_P12}" -k "${KEYCHAIN}" -P "${CERTIFICATE_OSX_P12_PASSWORD}" -T /usr/bin/codesign
|
||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k mysecretpassword "${KEYCHAIN}" > /dev/null
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k pwd "${KEYCHAIN}" > /dev/null
|
||||||
# security find-identity "${KEYCHAIN}"
|
# security find-identity "${KEYCHAIN}"
|
||||||
|
|
||||||
|
CODESIGN_IDENTITY="$( security find-identity -v -p codesigning "${KEYCHAIN}" | grep -oEi "([0-9A-F]{40})" | head -n 1 )"
|
||||||
|
|
||||||
echo "+ signing"
|
echo "+ signing"
|
||||||
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
export CODESIGN_IDENTITY AGENT_TEMPDIRECTORY
|
||||||
codesign --deep --force --verbose --sign "${CERTIFICATE_OSX_ID}" "${APP_NAME} - Insiders.app"
|
|
||||||
else
|
DEBUG="electron-osx-sign*" node vscode/build/darwin/sign.js "$( pwd )"
|
||||||
codesign --deep --force --verbose --sign "${CERTIFICATE_OSX_ID}" "${APP_NAME}.app"
|
# codesign --display --entitlements :- ""
|
||||||
fi
|
|
||||||
|
echo "+ notarize"
|
||||||
|
|
||||||
|
cd "VSCode-darwin-${VSCODE_ARCH}"
|
||||||
|
ZIP_FILE="./${APP_NAME}-darwin-${VSCODE_ARCH}-${RELEASE_VERSION}.zip"
|
||||||
|
|
||||||
|
zip -r -X -y "${ZIP_FILE}" ./*.app
|
||||||
|
|
||||||
|
xcrun notarytool store-credentials "${APP_NAME}" --apple-id "${CERTIFICATE_OSX_ID}" --team-id "${CERTIFICATE_OSX_TEAM_ID}" --password "${CERTIFICATE_OSX_APP_PASSWORD}" --keychain "${KEYCHAIN}"
|
||||||
|
# xcrun notarytool history --keychain-profile "${APP_NAME}" --keychain "${KEYCHAIN}"
|
||||||
|
xcrun notarytool submit "${ZIP_FILE}" --keychain-profile "${APP_NAME}" --wait --keychain "${KEYCHAIN}"
|
||||||
|
|
||||||
|
echo "+ attach staple"
|
||||||
|
xcrun stapler staple ./*.app
|
||||||
|
# spctl --assess -vv --type install ./*.app
|
||||||
|
|
||||||
|
rm "${ZIP_FILE}"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
@@ -59,8 +86,8 @@ if [[ "${OS_NAME}" == "osx" ]]; then
|
|||||||
if [[ "${SHOULD_BUILD_DMG}" != "no" ]]; then
|
if [[ "${SHOULD_BUILD_DMG}" != "no" ]]; then
|
||||||
echo "Building and moving DMG"
|
echo "Building and moving DMG"
|
||||||
pushd "VSCode-darwin-${VSCODE_ARCH}"
|
pushd "VSCode-darwin-${VSCODE_ARCH}"
|
||||||
npx create-dmg ./*.app ..
|
npx create-dmg ./*.app .
|
||||||
mv ../*.dmg "../assets/${APP_NAME}.${VSCODE_ARCH}.${RELEASE_VERSION}.dmg"
|
mv ./*.dmg "../assets/${APP_NAME}.${VSCODE_ARCH}.${RELEASE_VERSION}.dmg"
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -69,6 +96,13 @@ if [[ "${OS_NAME}" == "osx" ]]; then
|
|||||||
git archive --format zip --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.zip" HEAD
|
git archive --format zip --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.zip" HEAD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${CERTIFICATE_OSX_P12_DATA}" ]]; then
|
||||||
|
echo "+ clean"
|
||||||
|
security delete-keychain "${KEYCHAIN}"
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
security list-keychains -s $KEYCHAINS
|
||||||
|
fi
|
||||||
|
|
||||||
VSCODE_PLATFORM="darwin"
|
VSCODE_PLATFORM="darwin"
|
||||||
elif [[ "${OS_NAME}" == "windows" ]]; then
|
elif [[ "${OS_NAME}" == "windows" ]]; then
|
||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
@@ -185,6 +219,13 @@ if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
|
|||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
|
||||||
|
echo "Building and moving REH-web"
|
||||||
|
cd "vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
|
||||||
|
tar czf "../assets/${APP_NAME_LC}-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
cd assets
|
cd assets
|
||||||
|
|
||||||
for FILE in *; do
|
for FILE in *; do
|
||||||
|
|||||||
75
product.json
75
product.json
@@ -48,14 +48,13 @@
|
|||||||
],
|
],
|
||||||
"extensionEnabledApiProposals": {
|
"extensionEnabledApiProposals": {
|
||||||
"ms-vscode.vscode-selfhost-test-provider": [
|
"ms-vscode.vscode-selfhost-test-provider": [
|
||||||
"testObserver"
|
"testObserver",
|
||||||
|
"testRelatedCode",
|
||||||
|
"attributableCoverage"
|
||||||
],
|
],
|
||||||
"VisualStudioExptTeam.vscodeintellicode-completions": [
|
"VisualStudioExptTeam.vscodeintellicode-completions": [
|
||||||
"inlineCompletionsAdditions"
|
"inlineCompletionsAdditions"
|
||||||
],
|
],
|
||||||
"ms-toolsai.datawrangler": [
|
|
||||||
"debugFocus"
|
|
||||||
],
|
|
||||||
"ms-vsliveshare.vsliveshare": [
|
"ms-vsliveshare.vsliveshare": [
|
||||||
"contribMenuBarHome",
|
"contribMenuBarHome",
|
||||||
"contribShareMenu",
|
"contribShareMenu",
|
||||||
@@ -83,12 +82,12 @@
|
|||||||
"contribEditorContentMenu",
|
"contribEditorContentMenu",
|
||||||
"quickPickSortByLabel",
|
"quickPickSortByLabel",
|
||||||
"portsAttributes",
|
"portsAttributes",
|
||||||
"handleIssueUri",
|
|
||||||
"testObserver",
|
"testObserver",
|
||||||
"quickPickItemTooltip",
|
"quickPickItemTooltip",
|
||||||
"terminalDataWriteEvent",
|
"terminalDataWriteEvent",
|
||||||
"terminalExecuteCommandEvent",
|
"terminalExecuteCommandEvent",
|
||||||
"contribIssueReporter"
|
"contribIssueReporter",
|
||||||
|
"notebookReplDocument"
|
||||||
],
|
],
|
||||||
"ms-dotnettools.dotnet-interactive-vscode": [
|
"ms-dotnettools.dotnet-interactive-vscode": [
|
||||||
"notebookMessaging"
|
"notebookMessaging"
|
||||||
@@ -178,23 +177,27 @@
|
|||||||
],
|
],
|
||||||
"GitHub.vscode-pull-request-github": [
|
"GitHub.vscode-pull-request-github": [
|
||||||
"activeComment",
|
"activeComment",
|
||||||
|
"codiconDecoration",
|
||||||
|
"codeActionRanges",
|
||||||
"commentingRangeHint",
|
"commentingRangeHint",
|
||||||
|
"commentReactor",
|
||||||
|
"commentReveal",
|
||||||
"commentThreadApplicability",
|
"commentThreadApplicability",
|
||||||
|
"contribAccessibilityHelpContent",
|
||||||
|
"contribCommentEditorActionsMenu",
|
||||||
|
"contribCommentPeekContext",
|
||||||
"contribCommentThreadAdditionalMenu",
|
"contribCommentThreadAdditionalMenu",
|
||||||
"contribCommentsViewThreadMenus",
|
"contribCommentsViewThreadMenus",
|
||||||
"tokenInformation",
|
"contribEditorContentMenu",
|
||||||
"codeActionRanges",
|
"contribMultiDiffEditorMenus",
|
||||||
"commentReactor",
|
|
||||||
"contribShareMenu",
|
"contribShareMenu",
|
||||||
"fileComments",
|
|
||||||
"contribCommentPeekContext",
|
|
||||||
"codiconDecoration",
|
|
||||||
"diffCommand",
|
"diffCommand",
|
||||||
"contribCommentEditorActionsMenu",
|
"fileComments",
|
||||||
"treeViewMarkdownMessage",
|
"quickDiffProvider",
|
||||||
"tabInputTextMerge",
|
|
||||||
"shareProvider",
|
"shareProvider",
|
||||||
"quickDiffProvider"
|
"tabInputTextMerge",
|
||||||
|
"tokenInformation",
|
||||||
|
"treeViewMarkdownMessage"
|
||||||
],
|
],
|
||||||
"GitHub.copilot": [
|
"GitHub.copilot": [
|
||||||
"inlineCompletionsAdditions"
|
"inlineCompletionsAdditions"
|
||||||
@@ -203,15 +206,14 @@
|
|||||||
"inlineCompletionsAdditions"
|
"inlineCompletionsAdditions"
|
||||||
],
|
],
|
||||||
"GitHub.copilot-chat": [
|
"GitHub.copilot-chat": [
|
||||||
"handleIssueUri",
|
|
||||||
"interactive",
|
"interactive",
|
||||||
"terminalDataWriteEvent",
|
"terminalDataWriteEvent",
|
||||||
"terminalExecuteCommandEvent",
|
"terminalExecuteCommandEvent",
|
||||||
"terminalSelection",
|
"terminalSelection",
|
||||||
"terminalQuickFixProvider",
|
"terminalQuickFixProvider",
|
||||||
"chatParticipant",
|
|
||||||
"chatParticipantAdditions",
|
"chatParticipantAdditions",
|
||||||
"defaultChatParticipant",
|
"defaultChatParticipant",
|
||||||
|
"embeddings",
|
||||||
"chatVariableResolver",
|
"chatVariableResolver",
|
||||||
"chatProvider",
|
"chatProvider",
|
||||||
"mappedEditsProvider",
|
"mappedEditsProvider",
|
||||||
@@ -219,12 +221,22 @@
|
|||||||
"codeActionAI",
|
"codeActionAI",
|
||||||
"findTextInFiles",
|
"findTextInFiles",
|
||||||
"textSearchProvider",
|
"textSearchProvider",
|
||||||
|
"activeComment",
|
||||||
|
"commentReveal",
|
||||||
"contribSourceControlInputBoxMenu",
|
"contribSourceControlInputBoxMenu",
|
||||||
|
"contribCommentEditorActionsMenu",
|
||||||
|
"contribCommentThreadAdditionalMenu",
|
||||||
|
"contribCommentsViewThreadMenus",
|
||||||
"newSymbolNamesProvider",
|
"newSymbolNamesProvider",
|
||||||
"findFiles2",
|
"findFiles2",
|
||||||
"extensionsAny",
|
"extensionsAny",
|
||||||
"authLearnMore",
|
"authLearnMore",
|
||||||
"testObserver"
|
"testObserver",
|
||||||
|
"aiTextSearchProvider",
|
||||||
|
"documentFiltersExclusive",
|
||||||
|
"chatParticipantPrivate",
|
||||||
|
"lmTools",
|
||||||
|
"contribDebugCreateConfiguration"
|
||||||
],
|
],
|
||||||
"GitHub.remotehub": [
|
"GitHub.remotehub": [
|
||||||
"contribRemoteHelp",
|
"contribRemoteHelp",
|
||||||
@@ -248,8 +260,10 @@
|
|||||||
"notebookCellExecutionState"
|
"notebookCellExecutionState"
|
||||||
],
|
],
|
||||||
"ms-python.debugpy": [
|
"ms-python.debugpy": [
|
||||||
"portsAttributes",
|
"contribIssueReporter",
|
||||||
"contribIssueReporter"
|
"contribViewsWelcome",
|
||||||
|
"debugVisualization",
|
||||||
|
"portsAttributes"
|
||||||
],
|
],
|
||||||
"ms-toolsai.jupyter-renderers": [
|
"ms-toolsai.jupyter-renderers": [
|
||||||
"contribNotebookStaticPreloads"
|
"contribNotebookStaticPreloads"
|
||||||
@@ -268,7 +282,8 @@
|
|||||||
"quickPickItemTooltip",
|
"quickPickItemTooltip",
|
||||||
"notebookExecution",
|
"notebookExecution",
|
||||||
"notebookCellExecution",
|
"notebookCellExecution",
|
||||||
"notebookVariableProvider"
|
"notebookVariableProvider",
|
||||||
|
"notebookReplDocument"
|
||||||
],
|
],
|
||||||
"dbaeumer.vscode-eslint": [
|
"dbaeumer.vscode-eslint": [
|
||||||
"notebookCellExecutionState"
|
"notebookCellExecutionState"
|
||||||
@@ -279,18 +294,22 @@
|
|||||||
"ms-azuretools.vscode-azureappservice": [
|
"ms-azuretools.vscode-azureappservice": [
|
||||||
"terminalDataWriteEvent"
|
"terminalDataWriteEvent"
|
||||||
],
|
],
|
||||||
"ms-azuretools.vscode-azureresourcegroups": [
|
"ms-azuretools.vscode-azure-github-copilot": [
|
||||||
"authGetSessions"
|
"lmTools"
|
||||||
],
|
],
|
||||||
"ms-vscode.anycode": [
|
"ms-vscode.anycode": [
|
||||||
"extensionsAny"
|
"extensionsAny"
|
||||||
],
|
],
|
||||||
"ms-vscode.cpptools": [
|
"ms-vscode.cpptools": [
|
||||||
"terminalDataWriteEvent"
|
"terminalDataWriteEvent",
|
||||||
|
"lmTools"
|
||||||
],
|
],
|
||||||
"redhat.java": [
|
"redhat.java": [
|
||||||
"documentPaste"
|
"documentPaste"
|
||||||
],
|
],
|
||||||
|
"vscjava.vscode-java-pack": [
|
||||||
|
"lmTools"
|
||||||
|
],
|
||||||
"ms-dotnettools.csdevkit": [
|
"ms-dotnettools.csdevkit": [
|
||||||
"inlineCompletionsAdditions"
|
"inlineCompletionsAdditions"
|
||||||
],
|
],
|
||||||
@@ -305,9 +324,9 @@
|
|||||||
"fileSearchProvider",
|
"fileSearchProvider",
|
||||||
"textSearchProvider"
|
"textSearchProvider"
|
||||||
],
|
],
|
||||||
"apidev.azure-api-center": [
|
"TeamsDevApp.ms-teams-vscode-extension": [
|
||||||
"chatParticipant",
|
"chatParticipantAdditions",
|
||||||
"languageModels"
|
"languageModelSystem"
|
||||||
],
|
],
|
||||||
"jeanp413.open-remote-ssh": [
|
"jeanp413.open-remote-ssh": [
|
||||||
"resolvers",
|
"resolvers",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [[ -z "${GITHUB_TOKEN}" ]]; then
|
if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then
|
||||||
echo "Will not release because no GITHUB_TOKEN defined"
|
echo "Will not release because no GITHUB_TOKEN defined"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=@@NAME_LONG@@
|
Name=@@NAME_LONG@@
|
||||||
Comment=Code Editing. Redefined.
|
Comment=Code Editing. Redefined.
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Exec=@@EXEC@@ --unity-launch %F
|
Exec=@@EXEC@@ %F
|
||||||
Icon=@@ICON@@
|
Icon=@@ICON@@
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=@@NAME_LONG@@
|
Name=@@NAME_LONG@@
|
||||||
Comment=Code Editing. Redefined.
|
Comment=Code Editing. Redefined.
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Exec=@@EXEC@@ --unity-launch %F
|
Exec=@@EXEC@@ %F
|
||||||
Icon=@@ICON@@
|
Icon=@@ICON@@
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"tag": "1.88.1",
|
"tag": "1.93.1",
|
||||||
"commit": "e170252f762678dec6ca2cc69aba1570769a5d39"
|
"commit": "38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,10 +7,13 @@ export SHOULD_BUILD="no"
|
|||||||
export SHOULD_DEPLOY_TO_RELEASE="no"
|
export SHOULD_DEPLOY_TO_RELEASE="no"
|
||||||
export SHOULD_DEPLOY_TO_STORE="no"
|
export SHOULD_DEPLOY_TO_STORE="no"
|
||||||
|
|
||||||
|
# Support for GitHub Enterprise
|
||||||
|
GH_HOST="${GH_HOST:-github.com}"
|
||||||
|
|
||||||
if [[ "${GENERATE_ASSETS}" == "true" ]]; then
|
if [[ "${GENERATE_ASSETS}" == "true" ]]; then
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
else
|
else
|
||||||
wget --quiet "https://api.github.com/repos/${ASSETS_REPOSITORY}/releases" -O gh_latest.json
|
wget --quiet "https://api.${GH_HOST}/repos/${ASSETS_REPOSITORY}/releases" -O gh_latest.json
|
||||||
SNAP_URL=$( jq -r 'map(select(.tag_name == "'"${RELEASE_VERSION}"'"))|first.assets[].browser_download_url|select(endswith("'"_${ARCHITECTURE}.snap"'"))' gh_latest.json )
|
SNAP_URL=$( jq -r 'map(select(.tag_name == "'"${RELEASE_VERSION}"'"))|first.assets[].browser_download_url|select(endswith("'"_${ARCHITECTURE}.snap"'"))' gh_latest.json )
|
||||||
|
|
||||||
if [[ -z "${SNAP_URL}" ]]; then
|
if [[ -z "${SNAP_URL}" ]]; then
|
||||||
@@ -26,7 +29,7 @@ else
|
|||||||
SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 )
|
SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 )
|
||||||
echo "Snap version: ${SNAP_VERSION}"
|
echo "Snap version: ${SNAP_VERSION}"
|
||||||
|
|
||||||
if [[ "${SNAP_VERSION}" != "${RELEASE_VERSION}" ]]; then
|
if [[ -n "${SNAP_VERSION}" && "${SNAP_VERSION}" != "${RELEASE_VERSION}" ]]; then
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
export SHOULD_DEPLOY_TO_STORE="yes"
|
export SHOULD_DEPLOY_TO_STORE="yes"
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${GITHUB_TOKEN}" ]]; then
|
if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then
|
||||||
echo "Will not update ${VSCODE_QUALITY}.json because no GITHUB_TOKEN defined"
|
echo "Will not update ${VSCODE_QUALITY}.json because no GITHUB_TOKEN defined"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -8,11 +8,16 @@ if [[ "${SHOULD_BUILD}" != "yes" && "${FORCE_UPDATE}" != "true" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${GITHUB_TOKEN}" ]]; then
|
if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then
|
||||||
echo "Will not update version JSON because no GITHUB_TOKEN defined"
|
echo "Will not update version JSON because no GITHUB_TOKEN defined"
|
||||||
exit 0
|
exit 0
|
||||||
|
else
|
||||||
|
GITHUB_TOKEN="${GH_TOKEN:-${GITHUB_TOKEN:-${GH_ENTERPRISE_TOKEN:-${GITHUB_ENTERPRISE_TOKEN}}}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Support for GitHub Enterprise
|
||||||
|
GH_HOST="${GH_HOST:-github.com}"
|
||||||
|
|
||||||
if [[ "${FORCE_UPDATE}" == "true" ]]; then
|
if [[ "${FORCE_UPDATE}" == "true" ]]; then
|
||||||
. version.sh
|
. version.sh
|
||||||
fi
|
fi
|
||||||
@@ -22,8 +27,8 @@ if [[ -z "${BUILD_SOURCEVERSION}" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
if [[ "${VSCODE_ARCH}" == "ppc64le" ]] || [[ "${VSCODE_ARCH}" == "riscv64" ]] ; then
|
||||||
echo "Skip ppc64le since only reh is published"
|
echo "Skip PPC64LE since only reh is published"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -47,7 +52,7 @@ fi
|
|||||||
# `sha256hash` in <filename>.sha256
|
# `sha256hash` in <filename>.sha256
|
||||||
|
|
||||||
REPOSITORY_NAME="${VERSIONS_REPOSITORY/*\//}"
|
REPOSITORY_NAME="${VERSIONS_REPOSITORY/*\//}"
|
||||||
URL_BASE="https://github.com/${ASSETS_REPOSITORY}/releases/download/${RELEASE_VERSION}"
|
URL_BASE="https://${GH_HOST}/${ASSETS_REPOSITORY}/releases/download/${RELEASE_VERSION}"
|
||||||
|
|
||||||
generateJson() {
|
generateJson() {
|
||||||
local url name version productVersion sha1hash sha256hash timestamp
|
local url name version productVersion sha1hash sha256hash timestamp
|
||||||
@@ -115,12 +120,12 @@ updateLatestVersion() {
|
|||||||
|
|
||||||
# init versions repo for later commiting + pushing the json file to it
|
# init versions repo for later commiting + pushing the json file to it
|
||||||
# thank you https://www.vinaygopinath.me/blog/tech/commit-to-master-branch-on-github-using-travis-ci/
|
# thank you https://www.vinaygopinath.me/blog/tech/commit-to-master-branch-on-github-using-travis-ci/
|
||||||
git clone "https://github.com/${VERSIONS_REPOSITORY}.git"
|
git clone "https://${GH_HOST}/${VERSIONS_REPOSITORY}.git"
|
||||||
cd "${REPOSITORY_NAME}" || { echo "'${REPOSITORY_NAME}' dir not found"; exit 1; }
|
cd "${REPOSITORY_NAME}" || { echo "'${REPOSITORY_NAME}' dir not found"; exit 1; }
|
||||||
git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com"
|
git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com"
|
||||||
git config user.name "${GITHUB_USERNAME} CI"
|
git config user.name "${GITHUB_USERNAME} CI"
|
||||||
git remote rm origin
|
git remote rm origin
|
||||||
git remote add origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${VERSIONS_REPOSITORY}.git" &> /dev/null
|
git remote add origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@${GH_HOST}/${VERSIONS_REPOSITORY}.git" &> /dev/null
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if [[ "${OS_NAME}" == "osx" ]]; then
|
if [[ "${OS_NAME}" == "osx" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user