Skip to content

Commit

Permalink
Merge branch 'master' into insider
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Oct 4, 2023
2 parents 2523267 + 75e7f71 commit fca50b1
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/insider-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Clone VSCode repo
run: ./get_repo.sh

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-qemu-action@v3
if: matrix.vscode_arch == 'arm64' || matrix.vscode_arch == 'ppc64le'

- name: Install remote dependencies
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
run: ./stores/snapcraft/check_version.sh

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-qemu-action@v3
if: env.SHOULD_DEPLOY == 'yes'

- uses: diddlesnaps/snapcraft-multiarch-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/insider-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
vscode_arch: arm64

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_BRANCH }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/insider-spearhead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
VSCODE_QUALITY: insider

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: insider

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/insider-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_BRANCH }}

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_BRANCH }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Clone VSCode repo
run: ./get_repo.sh

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-qemu-action@v3
if: matrix.vscode_arch == 'arm64' || matrix.vscode_arch == 'ppc64le'

- name: Install remote dependencies
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
run: ./stores/snapcraft/check_version.sh

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-qemu-action@v3
if: env.SHOULD_DEPLOY == 'yes'

- uses: diddlesnaps/snapcraft-multiarch-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
vscode_arch: arm64

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check version
run: ./stores/winget/check_version.sh
Expand Down
51 changes: 43 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,38 @@

## <a id="download-install"></a>Download/Install

:tada: :tada: [Download latest release here](https://github.com/VSCodium/vscodium/releases) :tada: :tada:
:tada: :tada:
Download latest release here:
[stable](https://github.com/VSCodium/vscodium/releases) or
[insiders](https://github.com/VSCodium/vscodium-insiders/releases)
:tada: :tada:

[More info / helpful tips are here.](https://github.com/VSCodium/vscodium/blob/master/DOCS.md)


#### <a id="install-with-brew"></a>Install with Brew (Mac)

If you are on a Mac and have [Homebrew](https://brew.sh/) installed:
```bash
# stable
brew install --cask vscodium

# insiders
brew tap homebrew/cask-versions
brew install --cask vscodium-insiders
```

*Note for macOS users: if you can't open the App, please read [the following troubleshooting](https://github.com/VSCodium/vscodium/wiki/Troubleshooting#macos).*

#### <a id="install-with-winget"></a>Install with Windows Package Manager (WinGet)

If you use Windows and have [Windows Package Manager](https://github.com/microsoft/winget-cli) installed:
```bash
winget install vscodium
```cmd
:: stable
winget install -e --id VSCodium.VSCodium
:: insider
winget install -e --id VSCodium.VSCodium.Insiders
```

#### <a id="install-with-choco"></a>Install with Chocolatey (Windows)
Expand All @@ -76,26 +90,47 @@ scoop install vscodium

#### <a id="install-with-snap"></a>Install with snap (GNU/Linux)

VSCodium is available in the [Snap Store](https://snapcraft.io/) as [Codium](https://snapcraft.io/codium), thanks to the help of the [Snapcrafters](https://github.com/snapcrafters/codium) community.
VSCodium is available in the [Snap Store](https://snapcraft.io/) as [Codium](https://snapcraft.io/codium),
thanks to the help of the [Snapcrafters](https://github.com/snapcrafters/codium) community.
If your GNU/Linux distribution has support for [snaps](https://snapcraft.io/docs/installing-snapd):
```bash
snap install codium --classic
```

#### <a id="install-with-package-manager"></a>Install with Package Manager (GNU/Linux)

You can always install using the downloads (deb, rpm, tar) on the [releases page](https://github.com/VSCodium/vscodium/releases), but you can also install using your favorite package manager and get automatic updates. [@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo). Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker.
You can always install using the downloads (deb, rpm, tar) on the releases page for
[stable](https://github.com/VSCodium/vscodium/releases) or
[insiders](https://github.com/VSCodium/vscodium-insiders/releases), but you can also
install using your favorite package manager and get automatic updates.

[@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions
for `apt`, `dnf` and `zypper` [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo).

Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker.

#### <a id="install-on-arch-linux"></a>Install on Arch Linux

VSCodium is available in [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository) as package [vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/), maintained by [@binex-dsk](https://github.com/binex-dsk). An alternative package [vscodium-git](https://aur.archlinux.org/packages/vscodium-git/), maintained by [@cedricroijakkers](https://github.com/cedricroijakkers), is also available should you wish to compile from source yourself.
VSCodium is available in [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository),
maintained by [@binex-dsk](https://github.com/binex-dsk)
as package [vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/) (stable) and
as [vscodium-insiders-bin](https://aur.archlinux.org/packages/vscodium-insiders-bin).

If you want to save disk space by having VSCodium use the Electron system-wide, you also have
[vscodium-electron](https://aur.archlinux.org/packages/vscodium-electron),
maintained by [@m00nw4tch3r](https://aur.archlinux.org/account/m00nw4tch3r).

An alternative package [vscodium-git](https://aur.archlinux.org/packages/vscodium-git/),
maintained by [@cedricroijakkers](https://github.com/cedricroijakkers),
is also available should you wish to compile from source yourself.

#### <a id="flatpak"></a>Flatpak Option (GNU/Linux)

VSCodium is (unofficially) available as a Flatpak app [here](https://flathub.org/apps/details/com.vscodium.codium) and the build repo is [here](https://github.com/flathub/com.vscodium.codium). If your distribution has support for [flatpak](https://flathub.org), and you have enabled the [flathub repo](https://flatpak.org/setup/):
VSCodium is (unofficially) available as a Flatpak app [here](https://flathub.org/apps/details/com.vscodium.codium)
and the build repo is [here](https://github.com/flathub/com.vscodium.codium).
If your distribution has support for [flatpak](https://flathub.org), and you have enabled the [flathub repo](https://flatpak.org/setup/):
```bash
flatpak install flathub com.vscodium.codium

flatpak run com.vscodium.codium
```

Expand Down
13 changes: 7 additions & 6 deletions check_tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,13 @@ if [[ "${ASSETS}" != "null" ]]; then
export SHOULD_BUILD_TAR="no"
fi

if [[ -z $( contains "x86_64.AppImage" ) ]]; then
echo "Building on Linux x64 because we have no AppImage"
export SHOULD_BUILD="yes"
else
export SHOULD_BUILD_APPIMAGE="no"
fi
# if [[ -z $( contains "x86_64.AppImage" ) ]]; then
# echo "Building on Linux x64 because we have no AppImage"
# export SHOULD_BUILD="yes"
# else
# export SHOULD_BUILD_APPIMAGE="no"
# fi
export SHOULD_BUILD_APPIMAGE="no"

if [[ -z $( contains "${APP_NAME_LC}-reh-linux-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
echo "Building on Linux x64 because we have no REH archive"
Expand Down
4 changes: 2 additions & 2 deletions patches/fix-build-linux.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ index 0d7d3c5..90f75cc 100644
+ const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, task.series(prepareRpmTask, buildRpmPackage(arch)));
gulp.task(buildRpmTask);
diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js
index 0ea6699..c4524de 100644
index 381539d..0f26614 100644
--- a/build/linux/dependencies-generator.js
+++ b/build/linux/dependencies-generator.js
@@ -22,3 +22,3 @@ const types_2 = require("./rpm/types");
Expand All @@ -24,7 +24,7 @@ index 0ea6699..c4524de 100644
+const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false;
// Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/114.0.5735.199:chrome/installer/linux/BUILD.gn;l=64-80
diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts
index c0d8112..3bb0366 100644
index 5c4b9d2..a2c629a 100644
--- a/build/linux/dependencies-generator.ts
+++ b/build/linux/dependencies-generator.ts
@@ -23,3 +23,3 @@ import { isRpmArchString, RpmArchString } from './rpm/types';
Expand Down
16 changes: 8 additions & 8 deletions prepare_assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ else
yarn gulp "vscode-linux-${VSCODE_ARCH}-build-rpm"
fi

if [[ "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
. ../build/linux/appimage/build.sh
fi
# if [[ "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
# . ../build/linux/appimage/build.sh
# fi

cd ..

Expand All @@ -156,12 +156,12 @@ else
mv vscode/.build/linux/rpm/*/*.rpm assets/
fi

if [[ "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
echo "Moving AppImage"
mv build/linux/appimage/out/*.AppImage* assets/
# if [[ "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
# echo "Moving AppImage"
# mv build/linux/appimage/out/*.AppImage* assets/

find assets -name '*.AppImage*' -exec bash -c 'mv $0 ${0/_-_/-}' {} \;
fi
# find assets -name '*.AppImage*' -exec bash -c 'mv $0 ${0/_-_/-}' {} \;
# fi

VSCODE_PLATFORM="linux"
fi
Expand Down
16 changes: 9 additions & 7 deletions product.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
],
"extensionEnabledApiProposals": {
"ms-vscode.vscode-selfhost-test-provider": [
"testObserver"
"testObserver",
"testMessageContextValue"
],
"VisualStudioExptTeam.vscodeintellicode-completions": [
"inlineCompletionsAdditions"
Expand Down Expand Up @@ -84,9 +85,7 @@
"envShellEvent",
"quickPickItemTooltip",
"terminalDataWriteEvent",
"envCollectionWorkspace",
"saveEditor",
"envCollectionOptions"
"saveEditor"
],
"ms-dotnettools.dotnet-interactive-vscode": [
"notebookMessaging",
Expand Down Expand Up @@ -146,7 +145,6 @@
"ms-vscode.remote-server": [
"resolvers",
"tunnels",
"tunnelFactory",
"contribViewsWelcome"
],
"ms-vscode.remote-explorer": [
Expand Down Expand Up @@ -196,10 +194,14 @@
"handleIssueUri",
"interactive",
"interactiveUserActions",
"semanticSimilarity",
"terminalContextMenu",
"terminalDataWriteEvent",
"terminalSelection",
"terminalQuickFixProvider"
"terminalQuickFixProvider",
"chatSlashCommands",
"readonlyMessage",
"mappedEditsProvider",
"aiRelatedInformation"
],
"GitHub.remotehub": [
"contribRemoteHelp",
Expand Down

0 comments on commit fca50b1

Please sign in to comment.