Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b40a02dc7f | ||
|
|
bc41a76bd0 | ||
|
|
c84850f967 | ||
|
|
b407087e57 | ||
|
|
b5b89730a4 | ||
|
|
225fbb2dea | ||
|
|
344541b8fe | ||
|
|
d3373b16e8 | ||
|
|
c1bdb38d45 |
@@ -5,6 +5,9 @@ matrix:
|
||||
- os: linux
|
||||
sudo: required
|
||||
env: BUILDARCH=ia32
|
||||
# - os: linux
|
||||
# sudo: required
|
||||
# env: BUILDARCH=arm64
|
||||
- os: osx
|
||||
|
||||
language: node_js
|
||||
@@ -35,6 +38,7 @@ deploy:
|
||||
- vscode/.build/linux/rpm/i386/*.rpm
|
||||
- vscode/.build/linux/deb/amd64/deb/*.deb
|
||||
- vscode/.build/linux/rpm/x86_64/*.rpm
|
||||
- vscode/.build/linux/deb/arm64/deb/*.deb
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $SHOULD_BUILD = yes
|
||||
|
||||
46
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at vscodium@protonmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
||||
|
||||
[homepage]: http://contributor-covenant.org
|
||||
[version]: http://contributor-covenant.org/version/1/4/
|
||||
@@ -8,6 +8,7 @@
|
||||
## Table of Contents
|
||||
- [Download/Install](#download-install)
|
||||
- [Install with Brew](#install-with-brew)
|
||||
- [Install with Package Manager](#install-with-package-manager)
|
||||
- [Why Does This Exist](#why)
|
||||
- [Getting all the Telemetry Out](#disable-telemetry)
|
||||
- [Supported OS](#supported-os)
|
||||
@@ -17,7 +18,7 @@
|
||||
## <a id="download-install"></a>Download/Install
|
||||
:tada: :tada: [Download latest release here](https://github.com/VSCodium/vscodium/releases) :tada: :tada:
|
||||
|
||||
#### <a id="install-with-brew"></a>Install with Brew
|
||||
#### <a id="install-with-brew"></a>Install with Brew (Mac)
|
||||
If you are on a Mac and have [Homebrew](https://brew.sh/) installed:
|
||||
```bash
|
||||
brew cask install vscodium
|
||||
@@ -25,6 +26,9 @@ brew cask install vscodium
|
||||
|
||||
_Note: if you see "App can’t be opened because it is from an unidentified developer" when opening VSCodium the first time, you can right-click the application and choose Open. This should only be required the first time opening on a Mac._
|
||||
|
||||
#### <a id="install-with-package-manager"></a>Install with Package Manager (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. [@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.
|
||||
|
||||
## <a id="why"></a>Why Does This Exist
|
||||
This repository contains a build file to generate FLOSS release binaries of Microsoft's VSCode.
|
||||
|
||||
@@ -70,7 +74,7 @@ _(For example the C# extension `ms-vscode.csharp` sends tracking data to Microso
|
||||
- [ ] Windows
|
||||
- The plan is to build the Windows executable with [AppVeyor](https://appveyor.com). PRs are welcome :blue_heart:
|
||||
|
||||
The ARM architecture is not currently supported. If you know of a way to do this with Travis or any other free CI/CD platform please put in an issue or a PR.
|
||||
The ARM architecture is not currently supported but is actively being worked on.
|
||||
|
||||
## <a id="extensions-marketplace"></a>Extensions + Marketplace
|
||||
Until something more open comes around, we use the Microsoft Marketplace/Extensions in the `product.json` file. Those links are licensed under MIT as per [the comments on this issue.](https://github.com/Microsoft/vscode/issues/31168#issuecomment-317319063)
|
||||
|
||||
7
build.sh
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
cp -rp src/* vscode/
|
||||
cd vscode
|
||||
|
||||
if [[ "$BUILDARCH" == "ia32" ]]; then
|
||||
@@ -30,6 +31,10 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
npm run gulp vscode-linux-ia32-build-deb
|
||||
npm run gulp vscode-linux-ia32-build-rpm
|
||||
unset npm_config_arch
|
||||
elif [[ "$BUILDARCH" == "arm64" ]]; then
|
||||
npm run gulp vscode-linux-arm64-min
|
||||
npm run gulp vscode-linux-arm64-build-deb
|
||||
# npm run gulp vscode-linux-arm64-build-rpm
|
||||
else
|
||||
npm run gulp vscode-linux-x64-min
|
||||
npm run gulp vscode-linux-x64-build-deb
|
||||
@@ -37,4 +42,4 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
fi
|
||||
|
||||
cd ..
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/vscodium/vscodium/releases/tags/$LATEST_MS_TAG)
|
||||
REPOSITORY=${TRAVIS_REPO_SLUG:-"VSCodium/vscodium"}
|
||||
GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/$REPOSITORY/releases/tags/$LATEST_MS_TAG)
|
||||
echo "Github response: ${GITHUB_RESPONSE}"
|
||||
VSCODIUM_ASSETS=$(echo $GITHUB_RESPONSE | jq '.assets')
|
||||
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
|
||||
@@ -33,6 +34,25 @@ if [ "$GITHUB_TOKEN" != "" ]; then
|
||||
if [[ "$SHOULD_BUILD" != "yes" ]]; then
|
||||
echo "Already have all the Linux ia32 builds"
|
||||
fi
|
||||
elif [[ $BUILDARCH == "arm64" ]]; then
|
||||
# HAVE_ARM64_RPM=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["arm64.rpm"])')
|
||||
HAVE_ARM64_DEB=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["arm64.deb"])')
|
||||
HAVE_ARM64_TAR=$(echo $VSCODIUM_ASSETS | jq --arg suffix "arm64-$LATEST_MS_TAG.tar.gz" 'map(.name) | contains([$suffix])')
|
||||
# if [[ "$HAVE_ARM64_RPM" != "true" ]]; then
|
||||
# echo "Building on Linux arm64 because we have no RPM"
|
||||
# export SHOULD_BUILD="yes"
|
||||
# fi
|
||||
if [[ "$HAVE_ARM64_DEB" != "true" ]]; then
|
||||
echo "Building on Linux arm64 because we have no DEB"
|
||||
export SHOULD_BUILD="yes"
|
||||
fi
|
||||
if [[ "$HAVE_ARM64_TAR" != "true" ]]; then
|
||||
echo "Building on Linux arm64 because we have no TAR"
|
||||
export SHOULD_BUILD="yes"
|
||||
fi
|
||||
if [[ "$SHOULD_BUILD" != "yes" ]]; then
|
||||
echo "Already have all the Linux arm64 builds"
|
||||
fi
|
||||
else
|
||||
HAVE_64_RPM=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["x86_64.rpm"])')
|
||||
HAVE_64_DEB=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["amd64.deb"])')
|
||||
|
||||
@@ -7,6 +7,9 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
elif [[ "$BUILDARCH" == "ia32" ]]; then
|
||||
cd VSCode-linux-ia32
|
||||
tar czf ../VSCode-linux-ia32-${LATEST_MS_TAG}.tar.gz .
|
||||
elif [[ "$BUILDARCH" == "arm64" ]]; then
|
||||
cd VSCode-linux-arm64
|
||||
tar czf ../VSCode-linux-arm64-${LATEST_MS_TAG}.tar.gz .
|
||||
else
|
||||
cd VSCode-linux-x64
|
||||
tar czf ../VSCode-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
||||
|
||||
@@ -12,5 +12,10 @@ else
|
||||
sudo apt-get update
|
||||
sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib
|
||||
sudo apt-get install libx11-dev:i386 libxkbfile-dev:i386
|
||||
elif [[ $BUILDARCH == "arm64" ]]; then
|
||||
# Use the default C / C++ compilers,
|
||||
# because some makefiles default to CC:=gcc:
|
||||
export CC=/usr/bin/cc
|
||||
export CXX=/usr/bin/c++
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
BIN
src/resources/darwin/bat.icns
Normal file
BIN
src/resources/darwin/bower.icns
Normal file
BIN
src/resources/darwin/c.icns
Normal file
BIN
src/resources/darwin/code.icns
Normal file
BIN
src/resources/darwin/config.icns
Normal file
BIN
src/resources/darwin/cpp.icns
Normal file
BIN
src/resources/darwin/csharp.icns
Normal file
BIN
src/resources/darwin/css.icns
Normal file
BIN
src/resources/darwin/default.icns
Normal file
BIN
src/resources/darwin/html.icns
Normal file
BIN
src/resources/darwin/jade.icns
Normal file
BIN
src/resources/darwin/java.icns
Normal file
BIN
src/resources/darwin/javascript.icns
Normal file
BIN
src/resources/darwin/json.icns
Normal file
BIN
src/resources/darwin/less.icns
Normal file
BIN
src/resources/darwin/markdown.icns
Normal file
BIN
src/resources/darwin/php.icns
Normal file
BIN
src/resources/darwin/powershell.icns
Normal file
BIN
src/resources/darwin/python.icns
Normal file
BIN
src/resources/darwin/react.icns
Normal file
BIN
src/resources/darwin/ruby.icns
Normal file
BIN
src/resources/darwin/sass.icns
Normal file
BIN
src/resources/darwin/shell.icns
Normal file
BIN
src/resources/darwin/sql.icns
Normal file
BIN
src/resources/darwin/typescript.icns
Normal file
BIN
src/resources/darwin/vue.icns
Normal file
BIN
src/resources/darwin/xml.icns
Normal file
BIN
src/resources/darwin/yaml.icns
Normal file
BIN
src/resources/linux/code.png
Normal file
|
After Width: | Height: | Size: 227 KiB |
4341
src/resources/linux/rpm/code.xpm
Normal file
BIN
src/resources/win32/bower.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/c.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/code.ico
Normal file
|
After Width: | Height: | Size: 335 KiB |
BIN
src/resources/win32/code_150x150.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
src/resources/win32/code_70x70.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
src/resources/win32/config.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/cpp.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/csharp.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/css.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/default.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/go.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/html.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/inno-big.bmp
Normal file
|
After Width: | Height: | Size: 201 KiB |
BIN
src/resources/win32/inno-small.bmp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
src/resources/win32/jade.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/java.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/javascript.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/json.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/less.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/markdown.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/php.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/powershell.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/python.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/react.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/ruby.png.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/shell.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/sql.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/typescript.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/vue.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/xml.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
src/resources/win32/yaml.ico
Normal file
|
After Width: | Height: | Size: 361 KiB |