Commit graph

211 commits

Author SHA1 Message Date
deepak1556
7eae810d8a chore: disable sandbox on snap package
Fixes https://github.com/microsoft/vscode/issues/127081
Refs https://github.com/microsoft/vscode/issues/127140
2021-06-25 19:26:08 +09:00
Robo
92999c339e
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Benjamin Pasero
e2954beb4b
Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
Daniel Imms
1988caa627
Merge pull request #119160 from alexmyczko/patch-1
Improve debian control description
2021-03-30 06:56:07 -07:00
Daniel Imms
a23d2d40f3
Merge pull request #117994 from GitMensch/patch-1
rpm-spec: fix the wrong claim about working on EL7
2021-03-18 06:42:43 -07:00
Alex Myczko
2fbe092c9c
fix long description 50%
This should not be longer than 80 characters/line. The last two lines belong to /usr/share/doc/code/README.Debian

Also it should not start with "Visual Studio Code is" but rather with "This is" 
Please refer to the Debian Developer Manual.
2021-03-17 07:39:26 +01:00
XECDesign
3cca5540aa
Do no install repo on Raspberry Pi OS (#118826)
* Do no install repo on Raspberry Pi OS

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2021-03-15 08:53:13 -07:00
Rachel Macfarlane
79e2119c5e Revert "snap: set compression to lzo, #117852 (#118116)"
This reverts commit e22c2be14d.
2021-03-09 10:55:22 -08:00
soredake
e22c2be14d
snap: set compression to lzo, #117852 (#118116) 2021-03-08 16:23:35 +01:00
Simon Sobisch
08ceea18aa
rpm-spec: fix the wrong claim about working on EL7
fixes #115784
2021-03-02 21:27:12 +01:00
David Bailey
1da95321b1
RPM: Don't generate build_id links (#116105)
* Don't generate build_id links

* add comment explaining change
2021-02-08 16:07:55 +01:00
João Moreno
09bc6fc64b
Migrate to new deb repo (#114527)
* migrate to new deb repo

* improve deb migration
2021-01-18 14:43:24 +01:00
João Moreno
adb037b74d
fixes #114137 2021-01-13 11:11:00 +01:00
João Moreno
61995eab4a fix linux deb repo pointer 2020-12-10 14:59:33 +01:00
João Moreno
4250e343e0 use proper repos for linux arm 2020-12-07 16:15:57 +01:00
João Moreno
3de0ea500a
Merge branch 'joao/snap-arm' 2020-11-25 11:57:38 +01:00
Pablo Sebastian Greco
00eea33b23
More cleanup for armhfp and aarch64 rpm hardcoded dependencies (#111253)
* Adjust hardcoded rpm dependecies for aarch64 to what is minimally available in CentOS7 and CentOS8

* Cleanup some hardcoded rpm dependecies for armv7hl to what is minimally available in CentOS7 and CentOS8, may need more work

Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-25 09:14:38 +01:00
Pablo Sebastian Greco
de85ef3a20
Fix hardcoded rpm dependencies for armv7hl and aarch64 (#111198)
Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-24 09:59:00 +01:00
João Moreno
edf43e529a
build snap packages for linux arm 2020-11-18 10:04:55 +01:00
Daniel Imms
b0baa3a2d8
Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
Benjamin Pasero
3c8ed50bdb fix lint
cc @tyriar
2020-09-15 16:36:09 +02:00
João Moreno
bc38b0accb
argh 2020-09-11 13:55:29 +02:00
João Moreno
bea7a2334e
fix linux build 2020-09-11 13:13:08 +02:00
João Moreno
e75b1a6dcd
Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Benjamin Pasero
37a11b4314 try to fix build (linux) 2020-09-11 09:46:20 +02:00
Daniel Imms
65b4134965
Merge pull request #95637 from luqmana/workspace-mimetype
Register mimetype for *.code-workspace
2020-09-09 05:55:27 -07:00
João Moreno
034f6fc5ba
fix rpm 2020-09-08 20:57:07 +02:00
João Moreno
653a7af4aa
Merge branch 'master' into master 2020-06-23 11:02:40 +02:00
João Moreno
38e500687d
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:12:10 +02:00
João Moreno
1e06fc4859
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:11:57 +02:00
champignoom
e125e0a4d5
stage ibus-gtk3 to try to make ibus work (#100480)
try to address #96041
2020-06-21 17:05:58 +02:00
VoidNoire
c7ae20b401
Make POSIX-compliant to increase portability and remove bash dependency on Linux. Fix causes of shellcheck warnings. 2020-06-14 22:40:16 +00:00
Daniel Imms
145d6bf352
Merge pull request #97527 from 9at8/fix-linux-symlinks
Add "" around $0 in Linux starting script
2020-06-11 04:46:46 -07:00
Daniel Imms
d436dae4e9 Remove libnotify4 as deb dep
Fixes #99585
2020-06-08 10:48:25 -07:00
Aditya Thakral
69e491de68 Add "" around $0 in Linux starting script 2020-05-11 13:02:37 -04:00
Martin Aeschlimann
c6ce623191 code-insiders.sh prompts me for WSL although I do want to start the Linux version. Fixes #96555 2020-05-07 11:55:20 +02:00
Daniel Imms
10c24b0773 Add executable bit to code.desktop
Part of #95459
2020-04-25 05:38:58 -07:00
Luqman Aden
828389d890 Register mimetype for *.code-workspace 2020-04-19 04:57:06 -07:00
Sergio Schvezov
d4da28357f snap launcher: avoid exporting XDG_CACHE_HOME
Exporting XDG_CACHE_HOME affects applications launched from within
the context of code.

Rename it to GDK_CACHE_DIR and do not export it. Also test for
existence before creating to avoid shelling out to mkdir if not
needed.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:26:57 -03:00
Sergio Schvezov
a100802412 snap launcher: fix quoting in script
Avoid any potential issue with globbing or word splitting.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:23:26 -03:00
Benjamin Pasero
23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Jonas Platte
c109bf77ac
linux/bin/code.sh: use command -v instead of which 2019-10-08 14:02:44 +02:00
Benjamin Pasero
da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Benjamin Pasero
afde7913eb
build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00
João Moreno
ab10e26096
Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Sergio Schvezov
19526f4123 snap: add assets verbatim (#80585)
* snap: add assets verbatim

Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.

Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

* escape

* fix snapcraft.yml

* use @@EXEC@@ in desktop files

* fix bad path

* fix snap desktop file
2019-09-10 17:12:45 +02:00
navrkald
08580a4671
Skip WLS check if env var DONT_PROMPT_WSL_INSTALL is set. 2019-09-08 13:19:51 +02:00
Joao Moreno
a4e350f76f Merge commit 'refs/pull/66181/head' of github.com:microsoft/vscode into pr/66181 2019-08-07 11:56:18 +02:00
Robert Ancell
05ceb5e8ac snapcaft.yaml: Set the AppStream ID in the Snap metadata
This allows software store to recognise this snap matches Visual Studio Code in
other formats (.deb, .rpm, Flatpak etc). It also means reviews on ODRS are
grouped together.
2019-07-02 10:19:28 +12:00
Benjamin Pasero
73643c60a6
Update to Electron 4.0.x (#73119)
* Bump electron@4.0.0-beta.9

* electron 4 - temporarily warn about exploration change

* update to Electron 4.0.0 stable

* remove electron 4 notification

* bump to electron@4.0.1

* electron 4: adopt format change of "version" file

* build - set to use exploration image

* Revert "build - set to use exploration image"

This reverts commit 1bb280fc5e.

* electron@4.0.2

* fix electron.d.ts

* update distro

* bump electron@4.0.4

* debt - adopt new process.getProcessMemoryInfo()

* update electron@4.0.5

* electron@4.0.6

* electron 4.0.x - remove Linux 32bit build

* electron@4.0.7

* electron - update to 4.1.2

* bump electron@4.1.4

* update build (remove Linux32)

* electron@4.1.5

* electron 4 - remove linux 32bit warning

* Remove more 32-bit Linux build stuff

Fixes #66271

* electron@4.2.0

* electron@4.2.1

* electron@4.2.2

* electron@4.2.3

* Revert "electron@4.2.3"

This reverts commit ae375ef764.

* Revert "Revert "electron@4.2.3""

This reverts commit 513581ebc5.
2019-06-04 10:50:10 +02:00