[arch-commits] Commit in code/trunk (PKGBUILD)

2020-12-19 Thread Filipe Laíns via arch-commits
Date: Saturday, December 19, 2020 @ 15:00:55
  Author: ffy00
Revision: 779978

upgpkg: code 1.52.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-19 14:40:22 UTC (rev 779977)
+++ PKGBUILD2020-12-19 15:00:55 UTC (rev 779978)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron9
-pkgver=1.52.0
+pkgver=1.52.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-12-13 Thread Filipe Laíns via arch-commits
Date: Monday, December 14, 2020 @ 02:34:16
  Author: ffy00
Revision: 774743

upgpkg: code 1.52.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-14 01:50:34 UTC (rev 774742)
+++ PKGBUILD2020-12-14 02:34:16 UTC (rev 774743)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron9
-pkgver=1.51.1
+pkgver=1.52.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-11-12 Thread Filipe Laíns via arch-commits
Date: Thursday, November 12, 2020 @ 10:56:59
  Author: ffy00
Revision: 751557

upgpkg: code 1.51.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 10:48:46 UTC (rev 751556)
+++ PKGBUILD2020-11-12 10:56:59 UTC (rev 751557)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron9
-pkgver=1.50.1
+pkgver=1.51.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-10-16 Thread Filipe Laíns via arch-commits
Date: Friday, October 16, 2020 @ 14:28:25
  Author: ffy00
Revision: 724626

upgpkg: code 1.50.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-16 14:27:00 UTC (rev 724625)
+++ PKGBUILD2020-10-16 14:28:25 UTC (rev 724626)
@@ -12,8 +12,8 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron9
-pkgver=1.49.3
-pkgrel=2
+pkgver=1.50.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -21,7 +21,7 @@
 optdepends=('bash-completion: Bash completions'
 'zsh-completions: ZSH completitons'
 'x11-ssh-askpass: SSH authentication')
-makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
+makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-erbium')
 provides=('vscode')
 source=("$pkgname::git+$url.git#tag=$pkgver"
 'code.js'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-10-07 Thread Filipe Laíns via arch-commits
Date: Thursday, October 8, 2020 @ 01:23:19
  Author: ffy00
Revision: 721671

use electron9 (1.49.3-2)

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-08 00:49:50 UTC (rev 721670)
+++ PKGBUILD2020-10-08 01:23:19 UTC (rev 721671)
@@ -11,9 +11,9 @@
 #   - ?: 11 (not in repos)
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-_electron=electron
+_electron=electron9
 pkgver=1.49.3
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-10-03 Thread Filipe Laíns via arch-commits
Date: Saturday, October 3, 2020 @ 17:06:54
  Author: ffy00
Revision: 716654

upgpkg: code 1.49.3-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-03 17:06:45 UTC (rev 716653)
+++ PKGBUILD2020-10-03 17:06:54 UTC (rev 716654)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron
-pkgver=1.49.2
+pkgver=1.49.3
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-10-01 Thread Filipe Laíns via arch-commits
Date: Thursday, October 1, 2020 @ 22:36:34
  Author: ffy00
Revision: 714522

upgpkg: code 1.49.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-01 22:36:07 UTC (rev 714521)
+++ PKGBUILD2020-10-01 22:36:34 UTC (rev 714522)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron
-pkgver=1.49.1
+pkgver=1.49.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD product_json.diff)

2020-09-24 Thread Filipe Laíns via arch-commits
Date: Thursday, September 24, 2020 @ 19:37:45
  Author: ffy00
Revision: 711871

upgpkg: code 1.49.1-1

Switch marketplace to OpenVSX.

Modified:
  code/trunk/PKGBUILD
  code/trunk/product_json.diff

---+
 PKGBUILD  |6 +++---
 product_json.diff |   10 ++
 2 files changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-24 19:36:10 UTC (rev 711870)
+++ PKGBUILD2020-09-24 19:37:45 UTC (rev 711871)
@@ -12,8 +12,8 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron
-pkgver=1.49.0
-pkgrel=2
+pkgver=1.49.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -30,7 +30,7 @@
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
-
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40')
+
'b1aa0d7c5b3e3e8ba1172822d75ea38e90efc431b270e0b4ca9e45bf9c0be0f60922c8618969ef071b5b6dbd9ac9f030294f1bf49bcc28c187b46d113dca63a7')
 
 # Even though we don't officially support other archs, let's
 # allow the user to use this PKGBUILD to compile the package

Modified: product_json.diff
===
--- product_json.diff   2020-09-24 19:36:10 UTC (rev 711870)
+++ product_json.diff   2020-09-24 19:37:45 UTC (rev 711871)
@@ -1,13 +1,15 @@
 --- product.json   2019-04-06 13:26:49.879655883 +0100
 +++ product.json   2019-04-06 13:26:37.399656243 +0100
-@@ -1,4 +1,17 @@
+@@ -1,4 +1,19 @@
  {
 +  "quality": "stable",
 +  "extensionsGallery": {
-+  "serviceUrl": 
"https://marketplace.visualstudio.com/_apis/public/gallery;,
-+  "cacheUrl": 
"https://vscode.blob.core.windows.net/gallery/index;,
-+  "itemUrl": "https://marketplace.visualstudio.com/items;
++  "serviceUrl": "https://open-vsx.org/vscode/gallery;,
++  "itemUrl": "https://open-vsx.org/vscode/item;
 +  },
++  "linkProtectionTrustedDomains": [
++  "https://open-vsx.org;
++  ],
 +  "documentationUrl": "https://code.visualstudio.com/docs;,
 +  "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues;,
 +  "introductoryVideosUrl": 
"https://go.microsoft.com/fwlink/?linkid=832146;,


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-09-11 Thread Filipe Laíns via arch-commits
Date: Friday, September 11, 2020 @ 15:43:15
  Author: ffy00
Revision: 702806

switch to electron 9 (1.49.0-2)

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-11 15:30:05 UTC (rev 702805)
+++ PKGBUILD2020-09-11 15:43:15 UTC (rev 702806)
@@ -11,9 +11,9 @@
 #   - ?: 11 (not in repos)
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-_electron=electron7
+_electron=electron
 pkgver=1.49.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-09-10 Thread Filipe Laíns via arch-commits
Date: Thursday, September 10, 2020 @ 23:16:37
  Author: ffy00
Revision: 702583

upgpkg: code 1.49.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-10 23:16:16 UTC (rev 702582)
+++ PKGBUILD2020-09-10 23:16:37 UTC (rev 702583)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.48.2
+pkgver=1.49.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-08-25 Thread Filipe Laíns via arch-commits
Date: Tuesday, August 25, 2020 @ 19:17:24
  Author: ffy00
Revision: 688653

upgpkg: code 1.48.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-25 19:16:46 UTC (rev 688652)
+++ PKGBUILD2020-08-25 19:17:24 UTC (rev 688653)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.48.0
+pkgver=1.48.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-08-13 Thread Filipe Laíns via arch-commits
Date: Thursday, August 13, 2020 @ 20:29:07
  Author: ffy00
Revision: 678041

upgpkg: code 1.48.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-13 20:28:14 UTC (rev 678040)
+++ PKGBUILD2020-08-13 20:29:07 UTC (rev 678041)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.47.3
+pkgver=1.48.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-07-30 Thread Filipe Laíns via arch-commits
Date: Thursday, July 30, 2020 @ 18:22:51
  Author: ffy00
Revision: 665940

upgpkg: code 1.47.3-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-30 18:20:49 UTC (rev 665939)
+++ PKGBUILD2020-07-30 18:22:51 UTC (rev 665940)
@@ -12,8 +12,8 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.47.2
-pkgrel=2
+pkgver=1.47.3
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -22,6 +22,7 @@
 'zsh-completions: ZSH completitons'
 'x11-ssh-askpass: SSH authentication')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
+provides=('vscode')
 source=("$pkgname::git+$url.git#tag=$pkgver"
 'code.js'
 'code.sh'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-07-18 Thread Filipe Laíns via arch-commits
Date: Saturday, July 18, 2020 @ 19:19:29
  Author: ffy00
Revision: 664455

upgpkg: code 1.47.2-2

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-18 19:03:01 UTC (rev 664454)
+++ PKGBUILD2020-07-18 19:19:29 UTC (rev 664455)
@@ -13,7 +13,7 @@
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
 pkgver=1.47.2
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -74,7 +74,7 @@
   s|@@NAME_SHORT@@|Code|g
   s|@@NAME_LONG@@|Code - OSS|g
   s|@@NAME@@|code-oss|g
-  s|@@ICON@@|code-oss|g
+  s|@@ICON@@|com.visualstudio.code.oss|g
   s|@@EXEC@@|/usr/bin/code-oss|g
   s|@@LICENSE@@|MIT|g
   s|@@URLPROTOCOL@@|vscode|g
@@ -139,7 +139,7 @@
   install -Dm 644 $pkgname/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code-oss.appdata.xml
   install -Dm 644 $pkgname/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code-oss.desktop
   install -Dm 644 $pkgname/resources/linux/code-url-handler.desktop 
"$pkgdir"/usr/share/applications/code-oss-url-handler.desktop
-  install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code-oss.png
+  install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/com.visualstudio.code.oss.png
 
   # Install bash and zsh completions
   install -Dm 644 $pkgname/resources/completions/bash/code 
"$pkgdir"/usr/share/bash-completion/completions/code


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-07-17 Thread Filipe Laíns via arch-commits
Date: Friday, July 17, 2020 @ 15:07:53
  Author: ffy00
Revision: 664287

upgpkg: code 1.47.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-17 14:24:43 UTC (rev 664286)
+++ PKGBUILD2020-07-17 15:07:53 UTC (rev 664287)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.47.1
+pkgver=1.47.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-07-14 Thread Filipe Laíns via arch-commits
Date: Tuesday, July 14, 2020 @ 22:13:25
  Author: ffy00
Revision: 663815

upgpkg: code 1.47.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-14 22:12:45 UTC (rev 663814)
+++ PKGBUILD2020-07-14 22:13:25 UTC (rev 663815)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.47.0
+pkgver=1.47.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-07-09 Thread Filipe Laíns via arch-commits
Date: Thursday, July 9, 2020 @ 23:08:22
  Author: ffy00
Revision: 663039

upgpkg: code 1.47.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-09 22:31:05 UTC (rev 663038)
+++ PKGBUILD2020-07-09 23:08:22 UTC (rev 663039)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.46.1
+pkgver=1.47.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-06-19 Thread Filipe Laíns via arch-commits
Date: Friday, June 19, 2020 @ 17:39:36
  Author: ffy00
Revision: 647797

upgpkg: code 1.46.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-19 17:29:08 UTC (rev 647796)
+++ PKGBUILD2020-06-19 17:39:36 UTC (rev 647797)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.46.0
+pkgver=1.46.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-06-11 Thread Filipe Laíns via arch-commits
Date: Thursday, June 11, 2020 @ 16:16:52
  Author: ffy00
Revision: 642058

upgpkg: code 1.46.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-11 16:11:03 UTC (rev 642057)
+++ PKGBUILD2020-06-11 16:16:52 UTC (rev 642058)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.45.1
+pkgver=1.46.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-05-17 Thread Filipe Laíns via arch-commits
Date: Sunday, May 17, 2020 @ 22:33:48
  Author: ffy00
Revision: 629091

upgpkg: code 1.45.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-17 22:33:42 UTC (rev 629090)
+++ PKGBUILD2020-05-17 22:33:48 UTC (rev 629091)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.44.2
+pkgver=1.45.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-04-23 Thread Filipe Laíns via arch-commits
Date: Thursday, April 23, 2020 @ 19:43:41
  Author: ffy00
Revision: 618319

upgpkg: code 1.44.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 18:50:43 UTC (rev 618318)
+++ PKGBUILD2020-04-23 19:43:41 UTC (rev 618319)
@@ -12,8 +12,8 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.44.1
-pkgrel=2
+pkgver=1.44.2
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-04-16 Thread Filipe Laíns via arch-commits
Date: Thursday, April 16, 2020 @ 21:44:08
  Author: ffy00
Revision: 615382

upgpkg: code 1.44.1-2 (add missing scheme)

Fixes FS#65753

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 21:20:52 UTC (rev 615381)
+++ PKGBUILD2020-04-16 21:44:08 UTC (rev 615382)
@@ -13,7 +13,7 @@
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
 pkgver=1.44.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -80,6 +80,8 @@
   s|@@URLPROTOCOL@@|vscode|g
   s|inode/directory;||' 
resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}
 
+  sed -i 's|MimeType=.*|MimeType=x-scheme-handler/code-oss;|' 
resources/linux/code-url-handler.desktop
+
   # Add completitions for code-oss
   cp resources/completions/bash/code resources/completions/bash/code-oss
   cp resources/completions/zsh/_code resources/completions/zsh/_code-oss


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-04-16 Thread Filipe Laíns via arch-commits
Date: Thursday, April 16, 2020 @ 21:14:16
  Author: ffy00
Revision: 615372

upgpkg: code 1.44.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 21:10:19 UTC (rev 615371)
+++ PKGBUILD2020-04-16 21:14:16 UTC (rev 615372)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.44.0
+pkgver=1.44.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-04-14 Thread Filipe Laíns via arch-commits
Date: Tuesday, April 14, 2020 @ 11:44:50
  Author: ffy00
Revision: 614065

fix removing proposed APIs

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 
 1 file changed, 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-14 11:39:56 UTC (rev 614064)
+++ PKGBUILD2020-04-14 11:44:50 UTC (rev 614065)
@@ -65,10 +65,6 @@
   local _datestamp=$(date -u -Is | sed 's/\+00:00/Z/')
   sed -e "s/@COMMIT@/$_commit/" -e "s/@DATE@/$_datestamp/" -i product.json
 
-  # See https://github.com/MicrosoftDocs/live-share/issues/262 for details
-  # Also, https://github.com/microsoft/vscode/issues/48946
-  patch -p1 < ../enable-proposed-apis.diff
-
   # Build native modules for system electron
   local _target=$(

[arch-commits] Commit in code/trunk (PKGBUILD enable-proposed-apis.diff)

2020-04-14 Thread Filipe Laíns via arch-commits
Date: Tuesday, April 14, 2020 @ 11:39:56
  Author: ffy00
Revision: 614064

don't enable proposed APIs

Modified:
  code/trunk/PKGBUILD
Deleted:
  code/trunk/enable-proposed-apis.diff

---+
 PKGBUILD  |6 ++
 enable-proposed-apis.diff |   13 -
 2 files changed, 2 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-14 11:34:36 UTC (rev 614063)
+++ PKGBUILD2020-04-14 11:39:56 UTC (rev 614064)
@@ -25,13 +25,11 @@
 source=("$pkgname::git+$url.git#tag=$pkgver"
 'code.js'
 'code.sh'
-'product_json.diff'
-'enable-proposed-apis.diff')
+'product_json.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
-
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
-
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
+
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40')
 
 # Even though we don't officially support other archs, let's
 # allow the user to use this PKGBUILD to compile the package

Deleted: enable-proposed-apis.diff
===
--- enable-proposed-apis.diff   2020-04-14 11:34:36 UTC (rev 614063)
+++ enable-proposed-apis.diff   2020-04-14 11:39:56 UTC (rev 614064)
@@ -1,13 +0,0 @@
-diff --git a/product.json b/product.json
-index b250c66fc4..8a9befcfbb 100644
 a/product.json
-+++ b/product.json
-@@ -19,6 +19,8 @@
-   "reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new;,
-   "urlProtocol": "code-oss",
-   "extensionAllowedProposedApi": [
-+  "ms-vsliveshare.vsliveshare",
-+  "ms-vscode-remote.remote-ssh",
-   "ms-vscode.references-view"
-   ],
-   "quality": "stable",


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-04-08 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 8, 2020 @ 20:01:35
  Author: ffy00
Revision: 612714

upgpkg: code 1.44.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-08 19:04:07 UTC (rev 612713)
+++ PKGBUILD2020-04-08 20:01:35 UTC (rev 612714)
@@ -12,8 +12,8 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.43.2
-pkgrel=2
+pkgver=1.44.0
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-03-30 Thread Filipe Laíns via arch-commits
Date: Monday, March 30, 2020 @ 22:30:27
  Author: ffy00
Revision: 607418

upgpkg: code 1.43.2-2

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-30 22:30:04 UTC (rev 607417)
+++ PKGBUILD2020-03-30 22:30:27 UTC (rev 607418)
@@ -13,13 +13,14 @@
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
 pkgver=1.43.2
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
 depends=($_electron 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'
-'zsh-completions: ZSH completitons')
+'zsh-completions: ZSH completitons'
+'x11-ssh-askpass: SSH authentication')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
 source=("$pkgname::git+$url.git#tag=$pkgver"
 'code.js'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-03-24 Thread Filipe Laíns via arch-commits
Date: Wednesday, March 25, 2020 @ 01:49:15
  Author: ffy00
Revision: 603970

upgpkg: code 1.43.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-25 01:48:38 UTC (rev 603969)
+++ PKGBUILD2020-03-25 01:49:15 UTC (rev 603970)
@@ -12,7 +12,7 @@
 #   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron7
-pkgver=1.43.1
+pkgver=1.43.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-03-21 Thread Filipe Laíns via arch-commits
Date: Saturday, March 21, 2020 @ 22:19:50
  Author: ffy00
Revision: 603112

upgpkg: code 1.43.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-21 22:18:10 UTC (rev 603111)
+++ PKGBUILD2020-03-21 22:19:50 UTC (rev 603112)
@@ -8,9 +8,11 @@
 # NodeJS versioning cheatsheet:
 #   - carbon: 8
 #   - dubnium: 10
+#   - ?: 11 (not in repos)
+#   - erbium: 12
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-_electron=electron6
-pkgver=1.42.1
+_electron=electron7
+pkgver=1.43.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-02-17 Thread Filipe Laíns via arch-commits
Date: Monday, February 17, 2020 @ 09:35:02
  Author: ffy00
Revision: 573890

upgpkg: code 1.42.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-17 09:26:18 UTC (rev 573889)
+++ PKGBUILD2020-02-17 09:35:02 UTC (rev 573890)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.42.0
+pkgver=1.42.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2020-02-13 Thread Filipe Laíns via arch-commits
Date: Thursday, February 13, 2020 @ 18:31:56
  Author: ffy00
Revision: 570775

upgpkg: code 1.42.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-13 18:27:33 UTC (rev 570774)
+++ PKGBUILD2020-02-13 18:31:56 UTC (rev 570775)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.41.1
+pkgver=1.42.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-12-20 Thread Filipe Laíns via arch-commits
Date: Friday, December 20, 2019 @ 11:13:17
  Author: ffy00
Revision: 538476

upgpkg: code 1.41.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-20 10:55:15 UTC (rev 538475)
+++ PKGBUILD2019-12-20 11:13:17 UTC (rev 538476)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.41.0
+pkgver=1.41.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-12-13 Thread Filipe Laíns via arch-commits
Date: Friday, December 13, 2019 @ 22:04:34
  Author: ffy00
Revision: 537589

upgpkg: code 1.41.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-13 21:30:14 UTC (rev 537588)
+++ PKGBUILD2019-12-13 22:04:34 UTC (rev 537589)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.40.2
+pkgver=1.41.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-11-27 Thread Filipe Laíns via arch-commits
Date: Wednesday, November 27, 2019 @ 08:46:27
  Author: ffy00
Revision: 533964

upgpkg: code 1.40.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-27 08:42:02 UTC (rev 533963)
+++ PKGBUILD2019-11-27 08:46:27 UTC (rev 533964)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.40.1
+pkgver=1.40.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-11-15 Thread Filipe Laíns via arch-commits
Date: Friday, November 15, 2019 @ 23:00:45
  Author: ffy00
Revision: 529457

upgpkg: code 1.40.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-15 21:47:05 UTC (rev 529456)
+++ PKGBUILD2019-11-15 23:00:45 UTC (rev 529457)
@@ -10,8 +10,8 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
-pkgver=1.40.0
-pkgrel=3
+pkgver=1.40.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-11-10 Thread Filipe Laíns via arch-commits
Date: Sunday, November 10, 2019 @ 18:44:20
  Author: ffy00
Revision: 526483

upgpkg: code 1.40.0-3

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |   22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-10 18:25:06 UTC (rev 526482)
+++ PKGBUILD2019-11-10 18:44:20 UTC (rev 526483)
@@ -11,7 +11,7 @@
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 _electron=electron6
 pkgver=1.40.0
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -19,7 +19,7 @@
 optdepends=('bash-completion: Bash completions'
 'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
-source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
+source=("$pkgname::git+$url.git#tag=$pkgver"
 'code.js'
 'code.sh'
 'product_json.diff'
@@ -83,12 +83,14 @@
   s|@@URLPROTOCOL@@|vscode|g
   s|inode/directory;||' 
resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}
 
-  # Add missing exectable name to bash completion
-  sed -i 's|complete -F _code code|complete -F _code code code-oss|' 
resources/completions/bash/code
-  # Create new zsh completion file for our binary
+  # Add completitions for code-oss
+  cp resources/completions/bash/code resources/completions/bash/code-oss
   cp resources/completions/zsh/_code resources/completions/zsh/_code-oss
-  sed -i 's|#compdef code|#compdef code code-oss|' 
resources/completions/zsh/_code-oss
 
+  # Patch completitions with correct names
+  sed -i 's|@@APPNAME@@|code|g' resources/completions/{bash/code,zsh/_code}
+  sed -i 's|@@APPNAME@@|code-oss|g' 
resources/completions/{bash/code-oss,zsh/_code-oss}
+
   # Fix bin path
   sed -i "s|return path.join(path.dirname(execPath), 'bin', 
\`\${product.applicationName}\`);|return '/usr/bin/code';|g
   s|return path.join(appRoot, 'scripts', 'code-cli.sh');|return 
'/usr/bin/code';|g" \
@@ -108,7 +110,7 @@
   # The default memory limit may be too low for current versions of node
   # to successfully build vscode. Change it if this number still doesn't
   # work for your system.
-  mem_limit="--max_old_space_size=4096"
+  mem_limit="--max_old_space_size=6144"
 
   if ! /usr/bin/node $mem_limit /usr/bin/gulp vscode-linux-$_vscode_arch-min
   then
@@ -141,8 +143,9 @@
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code-oss.png
 
   # Install bash and zsh completions
-  install -Dm 644 $pkgname/resources/completions/bash/code 
"$pkgdir"/usr/share/bash-completion/completions/code-oss
-  ln -s code-oss "$pkgdir"/usr/share/bash-completion/completions/code
+  install -Dm 644 $pkgname/resources/completions/bash/code 
"$pkgdir"/usr/share/bash-completion/completions/code
+  install -Dm 644 $pkgname/resources/completions/bash/code-oss 
"$pkgdir"/usr/share/bash-completion/completions/code-oss
+  install -Dm 644 $pkgname/resources/completions/zsh/_code 
"$pkgdir"/usr/share/zsh/site-functions/_code
   install -Dm 644 $pkgname/resources/completions/zsh/_code-oss 
"$pkgdir"/usr/share/zsh/site-functions/_code-oss
 
   # Install license files
@@ -149,3 +152,4 @@
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt 
"$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt
 }
+


[arch-commits] Commit in code/trunk (PKGBUILD code.sh)

2019-11-09 Thread Filipe Laíns via arch-commits
Date: Saturday, November 9, 2019 @ 18:50:08
  Author: ffy00
Revision: 524865

fix electron version (1.40.0-2)

Fixes FS#64432

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

--+
 PKGBUILD |   15 ---
 code.sh  |2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-09 18:23:59 UTC (rev 524864)
+++ PKGBUILD2019-11-09 18:50:08 UTC (rev 524865)
@@ -9,12 +9,13 @@
 #   - carbon: 8
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
+_electron=electron6
 pkgver=1.40.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
-depends=('electron4' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
+depends=($_electron 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'
 'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
@@ -25,7 +26,7 @@
 'enable-proposed-apis.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
-
'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'
+
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
 
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
 
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
 
@@ -51,8 +52,8 @@
 prepare() {
   cd $pkgname
 
-  # Change electron binary name to electron4
-  sed -i 's|exec electron |exec electron4 |' ../code.sh
+  # Change electron binary name to the target electron
+  sed -i "s|exec electron |exec $_electron |" ../code.sh
 
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
@@ -68,7 +69,7 @@
   patch -p1 < ../enable-proposed-apis.diff
 
   # Build native modules for system electron
-  local _target=$(

[arch-commits] Commit in code/trunk (PKGBUILD)

2019-11-08 Thread Filipe Laíns via arch-commits
Date: Saturday, November 9, 2019 @ 02:47:03
  Author: ffy00
Revision: 524780

upgpkg: code 1.40.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-09 02:14:36 UTC (rev 524779)
+++ PKGBUILD2019-11-09 02:47:03 UTC (rev 524780)
@@ -9,7 +9,7 @@
 #   - carbon: 8
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-pkgver=1.39.2
+pkgver=1.40.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
@@ -51,6 +51,9 @@
 prepare() {
   cd $pkgname
 
+  # Change electron binary name to electron4
+  sed -i 's|exec electron |exec electron4 |' ../code.sh
+
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
   patch -p0 < ../product_json.diff


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-10-18 Thread Filipe Laíns via arch-commits
Date: Friday, October 18, 2019 @ 11:08:57
  Author: ffy00
Revision: 516739

upgpkg: code 1.39.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-18 10:19:53 UTC (rev 516738)
+++ PKGBUILD2019-10-18 11:08:57 UTC (rev 516739)
@@ -9,8 +9,8 @@
 #   - carbon: 8
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-pkgver=1.39.1
-pkgrel=2
+pkgver=1.39.2
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-10-15 Thread Filipe Laíns via arch-commits
Date: Tuesday, October 15, 2019 @ 08:34:38
  Author: ffy00
Revision: 516105

fix not starting when launched by the desktop file (1.39.1-2)

Fixes FS#64129

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-15 08:01:32 UTC (rev 516104)
+++ PKGBUILD2019-10-15 08:34:38 UTC (rev 516105)
@@ -10,7 +10,7 @@
 #   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
 pkgver=1.39.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -74,6 +74,7 @@
   s|@@NAME_LONG@@|Code - OSS|g
   s|@@NAME@@|code-oss|g
   s|@@ICON@@|code-oss|g
+  s|@@EXEC@@|/usr/bin/code-oss|g
   s|@@LICENSE@@|MIT|g
   s|@@URLPROTOCOL@@|vscode|g
   s|inode/directory;||' 
resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-10-14 Thread Filipe Laíns via arch-commits
Date: Monday, October 14, 2019 @ 13:02:48
  Author: ffy00
Revision: 515695

upgpkg: code 1.39.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-14 13:01:16 UTC (rev 515694)
+++ PKGBUILD2019-10-14 13:02:48 UTC (rev 515695)
@@ -5,8 +5,11 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Important: Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
+# NodeJS versioning cheatsheet:
+#   - carbon: 8
+#   - dubnium: 10
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-pkgver=1.38.1
+pkgver=1.39.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-09-16 Thread Filipe Laíns via arch-commits
Date: Monday, September 16, 2019 @ 10:26:56
  Author: ffy00
Revision: 510866

upgpkg: code 1.38.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-16 09:56:03 UTC (rev 510865)
+++ PKGBUILD2019-09-16 10:26:56 UTC (rev 510866)
@@ -6,7 +6,7 @@
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Important: Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
 # Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
-pkgver=1.38.0
+pkgver=1.38.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-09-05 Thread Filipe Laíns via arch-commits
Date: Thursday, September 5, 2019 @ 15:20:14
  Author: ffy00
Revision: 508207

upgpkg: code 1.38.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-05 15:19:53 UTC (rev 508206)
+++ PKGBUILD2019-09-05 15:20:14 UTC (rev 508207)
@@ -19,7 +19,7 @@
 'code.js'
 'code.sh'
 'product_json.diff'
-'enable-proposed-apis.diff'
+'enable-proposed-apis.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-09-05 Thread Filipe Laíns via arch-commits
Date: Thursday, September 5, 2019 @ 15:19:53
  Author: ffy00
Revision: 508206

upgpkg: code 1.38.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-05 15:06:44 UTC (rev 508205)
+++ PKGBUILD2019-09-05 15:19:53 UTC (rev 508206)
@@ -20,13 +20,11 @@
 'code.sh'
 'product_json.diff'
 'enable-proposed-apis.diff'
-
"fix-zsh-completions.patch::$url/commit/280be12a3a90f40949d345d94894d4af6b782c6d.patch")
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'
 
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
-
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664'
-
'c37f8a57bde580daba491449c56c1b5b4a83189cafafbd3984542702b117d08b04574db1951eefe676f303e84fcc9ce3d0a28192ad2321fb5903e7ca7f069a52')
+
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
 
 # Even though we don't officially support other archs, let's
 # allow the user to use this PKGBUILD to compile the package
@@ -53,7 +51,6 @@
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
   patch -p0 < ../product_json.diff
-  patch -p1 < ../fix-zsh-completions.patch
 
   # Set the commit and build date
   local _commit=$(git rev-parse HEAD)


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-09-05 Thread Filipe Laíns via arch-commits
Date: Thursday, September 5, 2019 @ 10:26:24
  Author: ffy00
Revision: 508176

upgpkg: code 1.38.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-05 10:18:38 UTC (rev 508175)
+++ PKGBUILD2019-09-05 10:26:24 UTC (rev 508176)
@@ -4,9 +4,10 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-# Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.37.1
-pkgrel=2
+# Important: Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
+# Important: Remember to check 
https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) 
for target electron version
+pkgver=1.38.0
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-08-19 Thread Filipe Laíns via arch-commits
Date: Monday, August 19, 2019 @ 07:46:04
  Author: ffy00
Revision: 500153

fix zsh completitions and vscode:// urls (1.37.1-2)

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-19 07:30:32 UTC (rev 500152)
+++ PKGBUILD2019-08-19 07:46:04 UTC (rev 500153)
@@ -6,7 +6,7 @@
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
 pkgver=1.37.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -18,12 +18,14 @@
 'code.js'
 'code.sh'
 'product_json.diff'
-'enable-proposed-apis.diff')
+'enable-proposed-apis.diff'
+
"fix-zsh-completions.patch::$url/commit/280be12a3a90f40949d345d94894d4af6b782c6d.patch")
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'
 
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
-
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
+
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664'
+
'c37f8a57bde580daba491449c56c1b5b4a83189cafafbd3984542702b117d08b04574db1951eefe676f303e84fcc9ce3d0a28192ad2321fb5903e7ca7f069a52')
 
 # Even though we don't officially support other archs, let's
 # allow the user to use this PKGBUILD to compile the package
@@ -50,6 +52,7 @@
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
   patch -p0 < ../product_json.diff
+  patch -p1 < ../fix-zsh-completions.patch
 
   # Set the commit and build date
   local _commit=$(git rev-parse HEAD)
@@ -71,6 +74,7 @@
   s|@@NAME@@|code-oss|g
   s|@@ICON@@|code-oss|g
   s|@@LICENSE@@|MIT|g
+  s|@@URLPROTOCOL@@|vscode|g
   s|inode/directory;||' 
resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}
 
   # Add missing exectable name to bash completion


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-08-16 Thread Filipe Laíns via arch-commits
Date: Friday, August 16, 2019 @ 08:30:00
  Author: ffy00
Revision: 499816

upgpkg: code 1.37.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-16 08:27:22 UTC (rev 499815)
+++ PKGBUILD2019-08-16 08:30:00 UTC (rev 499816)
@@ -5,8 +5,8 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.37.0
-pkgrel=2
+pkgver=1.37.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-08-15 Thread Eli Schwartz via arch-commits
Date: Thursday, August 15, 2019 @ 21:56:36
  Author: eschwartz
Revision: 499639

upgpkg: code 1.37.0-2

fix shell completions

- bash-completion should be symlinked with relative paths
- zsh completion should not be installed to Debian-specific vendor-completions,
  which does not exist on Arch and won't be used
- instead of making two copies of zsh completion, tell zsh to use that
  completion service for both command names via "#compdef code code-oss"

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-15 20:11:32 UTC (rev 499638)
+++ PKGBUILD2019-08-15 21:56:36 UTC (rev 499639)
@@ -6,7 +6,7 @@
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
 pkgver=1.37.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
@@ -77,7 +77,7 @@
   sed -i 's|complete -F _code code|complete -F _code code code-oss|' 
resources/completions/bash/code
   # Create new zsh completion file for our binary
   cp resources/completions/zsh/_code resources/completions/zsh/_code-oss
-  sed -i 's|#compdef code|#compdef code-oss|' 
resources/completions/zsh/_code-oss
+  sed -i 's|#compdef code|#compdef code code-oss|' 
resources/completions/zsh/_code-oss
 
   # Fix bin path
   sed -i "s|return path.join(path.dirname(execPath), 'bin', 
\`\${product.applicationName}\`);|return '/usr/bin/code';|g
@@ -132,9 +132,8 @@
 
   # Install bash and zsh completions
   install -Dm 644 $pkgname/resources/completions/bash/code 
"$pkgdir"/usr/share/bash-completion/completions/code-oss
-  ln -sf /usr/share/bash-completion/completions/code-oss 
"$pkgdir"/usr/share/bash-completion/completions/code
-  install -Dm 644 $pkgname/resources/completions/zsh/_code-oss 
"$pkgdir"/usr/share/zsh/vendor-completions/_code-oss
-  install -Dm 644 $pkgname/resources/completions/zsh/_code 
"$pkgdir"/usr/share/zsh/vendor-completions/_code
+  ln -s code-oss "$pkgdir"/usr/share/bash-completion/completions/code
+  install -Dm 644 $pkgname/resources/completions/zsh/_code-oss 
"$pkgdir"/usr/share/zsh/site-functions/_code-oss
 
   # Install license files
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-08-14 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 14, 2019 @ 12:17:16
  Author: ffy00
Revision: 499195

upgpkg: code 1.37.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-14 09:47:32 UTC (rev 499194)
+++ PKGBUILD2019-08-14 12:17:16 UTC (rev 499195)
@@ -5,7 +5,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.36.1
+pkgver=1.37.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-07-22 Thread Filipe Laíns via arch-commits
Date: Monday, July 22, 2019 @ 07:54:33
  Author: ffy00
Revision: 492545

upgpkg: code 1.36.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-22 06:23:31 UTC (rev 492544)
+++ PKGBUILD2019-07-22 07:54:33 UTC (rev 492545)
@@ -5,7 +5,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.36.0
+pkgver=1.36.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-07-09 Thread Filipe Laíns via arch-commits
Date: Tuesday, July 9, 2019 @ 11:36:40
  Author: ffy00
Revision: 487769

upgpkg: code 1.36.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-09 06:36:13 UTC (rev 487768)
+++ PKGBUILD2019-07-09 11:36:40 UTC (rev 487769)
@@ -5,8 +5,8 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.35.1
-pkgrel=2
+pkgver=1.36.0
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD code.sh)

2019-06-28 Thread Eli Schwartz via arch-commits
Date: Friday, June 28, 2019 @ 21:25:50
  Author: eschwartz
Revision: 485687

upgpkg: code 1.35.1-2

rebuild for electron 5 migration; code is not ready, so use electron4 compat 
package

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

--+
 PKGBUILD |9 -
 code.sh  |2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-28 18:15:02 UTC (rev 485686)
+++ PKGBUILD2019-06-28 21:25:50 UTC (rev 485687)
@@ -6,11 +6,11 @@
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
 pkgver=1.35.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
-depends=('electron' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
+depends=('electron4' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'
 'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
@@ -21,7 +21,7 @@
 'enable-proposed-apis.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
-
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
+
'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'
 
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
 
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
 
@@ -61,7 +61,7 @@
   patch -p1 < ../enable-proposed-apis.diff
 
   # Build native modules for system electron
-  local _target=$(

[arch-commits] Commit in code/trunk (PKGBUILD)

2019-06-14 Thread Filipe Laíns via arch-commits
Date: Friday, June 14, 2019 @ 22:47:34
  Author: ffy00
Revision: 481581

update upstream url

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-14 22:45:37 UTC (rev 481580)
+++ PKGBUILD2019-06-14 22:47:34 UTC (rev 481581)
@@ -8,7 +8,7 @@
 pkgver=1.35.1
 pkgrel=1
 arch=('x86_64')
-url='https://github.com/Microsoft/vscode'
+url='https://github.com/microsoft/vscode'
 license=('MIT')
 depends=('electron' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-06-14 Thread Filipe Laíns via arch-commits
Date: Friday, June 14, 2019 @ 22:45:21
  Author: ffy00
Revision: 481579

upgpkg: code 1.35.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-14 22:27:15 UTC (rev 481578)
+++ PKGBUILD2019-06-14 22:45:21 UTC (rev 481579)
@@ -10,7 +10,7 @@
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
-depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
+depends=('electron' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'
 'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')


[arch-commits] Commit in code/trunk (PKGBUILD enable-proposed-apis.diff)

2019-06-14 Thread Filipe Laíns via arch-commits
Date: Friday, June 14, 2019 @ 20:53:06
  Author: ffy00
Revision: 481503

upgpkg: code 1.35.1-1

Added:
  code/trunk/enable-proposed-apis.diff
Modified:
  code/trunk/PKGBUILD

---+
 PKGBUILD  |   11 ++-
 enable-proposed-apis.diff |   13 +
 2 files changed, 19 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-14 20:46:54 UTC (rev 481502)
+++ PKGBUILD2019-06-14 20:53:06 UTC (rev 481503)
@@ -5,8 +5,8 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
-pkgver=1.35.0
-pkgrel=2
+pkgver=1.35.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -18,12 +18,12 @@
 'code.js'
 'code.sh'
 'product_json.diff'
-'code-liveshare.diff')
+'enable-proposed-apis.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
 
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
-
'0bd10ca06dea22854e47fc45d833756ee8d7bf714c88f63feef44e0b0b5da052fba3c27d001865e3389f391cd7b888d92dc0ba44029fa5c736225da3cf2f9a46')
+
'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
 
 # Even though we don't officially support other archs, let's
 # allow the user to use this PKGBUILD to compile the package
@@ -57,7 +57,8 @@
   sed -e "s/@COMMIT@/$_commit/" -e "s/@DATE@/$_datestamp/" -i product.json
 
   # See https://github.com/MicrosoftDocs/live-share/issues/262 for details
-  patch -p1 < ../code-liveshare.diff
+  # Also, https://github.com/microsoft/vscode/issues/48946
+  patch -p1 < ../enable-proposed-apis.diff
 
   # Build native modules for system electron
   local _target=$(https://github.com/Microsoft/vscode/issues/new;,
+   "urlProtocol": "code-oss",
+   "extensionAllowedProposedApi": [
++  "ms-vsliveshare.vsliveshare",
++  "ms-vscode-remote.remote-ssh",
+   "ms-vscode.references-view"
+   ],
+   "quality": "stable",


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-06-05 Thread Filipe Laíns via arch-commits
Date: Wednesday, June 5, 2019 @ 22:30:39
  Author: ffy00
Revision: 477378

upgpkg: code 1.35.0-2

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-05 22:22:37 UTC (rev 477377)
+++ PKGBUILD2019-06-05 22:30:39 UTC (rev 477378)
@@ -4,7 +4,8 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.34.0
+# Remember to check 
https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for 
target node version
+pkgver=1.35.0
 pkgrel=2
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-05-21 Thread Filipe Laíns via arch-commits
Date: Tuesday, May 21, 2019 @ 12:35:07
  Author: ffy00
Revision: 468182

upgpkg: code 1.34.0-2

- add code-oss-url-handler.desktop
- add bash and zsh completions

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-21 12:21:52 UTC (rev 468181)
+++ PKGBUILD2019-05-21 12:35:07 UTC (rev 468182)
@@ -5,11 +5,13 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.34.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
 depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
+optdepends=('bash-completion: Bash completions'
+'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
 'code.js'
@@ -67,8 +69,14 @@
   s|@@NAME@@|code-oss|g
   s|@@ICON@@|code-oss|g
   s|@@LICENSE@@|MIT|g
-  s|inode/directory;||' resources/linux/code.{appdata.xml,desktop}
+  s|inode/directory;||' 
resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}
 
+  # Add missing exectable name to bash completion
+  sed -i 's|complete -F _code code|complete -F _code code code-oss|' 
resources/completions/bash/code
+  # Create new zsh completion file for our binary
+  cp resources/completions/zsh/_code resources/completions/zsh/_code-oss
+  sed -i 's|#compdef code|#compdef code-oss|' 
resources/completions/zsh/_code-oss
+
   # Fix bin path
   sed -i "s|return path.join(path.dirname(execPath), 'bin', 
\`\${product.applicationName}\`);|return '/usr/bin/code';|g
   s|return path.join(appRoot, 'scripts', 'code-cli.sh');|return 
'/usr/bin/code';|g" \
@@ -115,10 +123,17 @@
   ln -sf /usr/bin/code-oss "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file
-  install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code-oss.appdata.xml
-  install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code-oss.desktop
+  install -Dm 644 $pkgname/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code-oss.appdata.xml
+  install -Dm 644 $pkgname/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code-oss.desktop
+  install -Dm 644 $pkgname/resources/linux/code-url-handler.desktop 
"$pkgdir"/usr/share/applications/code-oss-url-handler.desktop
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code-oss.png
 
+  # Install bash and zsh completions
+  install -Dm 644 $pkgname/resources/completions/bash/code 
"$pkgdir"/usr/share/bash-completion/completions/code-oss
+  ln -sf /usr/share/bash-completion/completions/code-oss 
"$pkgdir"/usr/share/bash-completion/completions/code
+  install -Dm 644 $pkgname/resources/completions/zsh/_code-oss 
"$pkgdir"/usr/share/zsh/vendor-completions/_code-oss
+  install -Dm 644 $pkgname/resources/completions/zsh/_code 
"$pkgdir"/usr/share/zsh/vendor-completions/_code
+
   # Install license files
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt 
"$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-05-21 Thread Filipe Laíns via arch-commits
Date: Tuesday, May 21, 2019 @ 10:43:56
  Author: ffy00
Revision: 468178

upgpkg: code 1.34.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-21 10:41:20 UTC (rev 468177)
+++ PKGBUILD2019-05-21 10:43:56 UTC (rev 468178)
@@ -4,14 +4,12 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.33.1
+pkgver=1.34.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
 depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
-# doesn't build without old nodejs: 
https://github.com/Microsoft/vscode/issues/49292
-# makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
 'code.js'
@@ -74,7 +72,7 @@
   # Fix bin path
   sed -i "s|return path.join(path.dirname(execPath), 'bin', 
\`\${product.applicationName}\`);|return '/usr/bin/code';|g
   s|return path.join(appRoot, 'scripts', 'code-cli.sh');|return 
'/usr/bin/code';|g" \
-   src/vs/platform/environment/node/environmentService.ts
+  src/vs/platform/environment/node/environmentService.ts
 }
 
 build() {
@@ -125,3 +123,4 @@
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt 
"$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt
 }
+


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-04-12 Thread Filipe Laíns via arch-commits
Date: Friday, April 12, 2019 @ 09:04:30
  Author: ffy00
Revision: 451221

upgpkg: code 1.33.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-12 08:44:38 UTC (rev 451220)
+++ PKGBUILD2019-04-12 09:04:30 UTC (rev 451221)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.33.0
+pkgver=1.33.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
@@ -70,6 +70,11 @@
   s|@@ICON@@|code-oss|g
   s|@@LICENSE@@|MIT|g
   s|inode/directory;||' resources/linux/code.{appdata.xml,desktop}
+
+  # Fix bin path
+  sed -i "s|return path.join(path.dirname(execPath), 'bin', 
\`\${product.applicationName}\`);|return '/usr/bin/code';|g
+  s|return path.join(appRoot, 'scripts', 'code-cli.sh');|return 
'/usr/bin/code';|g" \
+   src/vs/platform/environment/node/environmentService.ts
 }
 
 build() {


[arch-commits] Commit in code/trunk (PKGBUILD product_json.diff)

2019-04-06 Thread Filipe Laíns via arch-commits
Date: Saturday, April 6, 2019 @ 15:57:10
  Author: ffy00
Revision: 449994

upgpkg: code 1.33.0-1

Modified:
  code/trunk/PKGBUILD
  code/trunk/product_json.diff

---+
 PKGBUILD  |6 +++---
 product_json.diff |   20 
 2 files changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-06 15:41:45 UTC (rev 449993)
+++ PKGBUILD2019-04-06 15:57:10 UTC (rev 449994)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.32.3
+pkgver=1.33.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
@@ -21,7 +21,7 @@
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
-
'f9520fa3978e8cc994d3ab2cc0154a7a0e499a841afa67ef2f31c941fb30c5ff8a2dbcb8dc8b3a187fb43c21c8b3ddb299f31dd62e65e381c264b2b01caa404a'
+
'8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
 
'0bd10ca06dea22854e47fc45d833756ee8d7bf714c88f63feef44e0b0b5da052fba3c27d001865e3389f391cd7b888d92dc0ba44029fa5c736225da3cf2f9a46')
 
 # Even though we don't officially support other archs, let's
@@ -48,7 +48,7 @@
 
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
-  patch -p1 < ../product_json.diff
+  patch -p0 < ../product_json.diff
 
   # Set the commit and build date
   local _commit=$(git rev-parse HEAD)

Modified: product_json.diff
===
--- product_json.diff   2019-04-06 15:41:45 UTC (rev 449993)
+++ product_json.diff   2019-04-06 15:57:10 UTC (rev 449994)
@@ -1,13 +1,7 @@
-diff --git a/product.json b/product.json
-index eb6526c2d8..7753d2c5eb 100644
 a/product.json
-+++ b/product.json
-@@ -20,5 +20,18 @@
-   "urlProtocol": "code-oss",
-   "extensionAllowedProposedApi": [
-   "ms-vscode.references-view"
--  ]
-+  ],
+--- product.json   2019-04-06 13:26:49.879655883 +0100
 product.json   2019-04-06 13:26:37.399656243 +0100
+@@ -1,4 +1,17 @@
+ {
 +  "quality": "stable",
 +  "extensionsGallery": {
 +  "serviceUrl": 
"https://marketplace.visualstudio.com/_apis/public/gallery;,
@@ -20,5 +14,7 @@
 +  "tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118;,
 +  "keyboardShortcutsUrlLinux": 
"https://go.microsoft.com/fwlink/?linkid=832144;,
 +  "commit": "@COMMIT@",
-+  "date": "@DATE@"
- }
++  "date": "@DATE@",
+   "nameShort": "Code - OSS",
+   "nameLong": "Code - OSS",
+   "applicationName": "code-oss",


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-03-21 Thread Filipe Laíns via arch-commits
Date: Thursday, March 21, 2019 @ 22:54:23
  Author: ffy00
Revision: 443115

upgpkg: code 1.32.3-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-21 22:49:35 UTC (rev 443114)
+++ PKGBUILD2019-03-21 22:54:23 UTC (rev 443115)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.32.2
+pkgver=1.32.3
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-03-14 Thread Filipe Laíns via arch-commits
Date: Thursday, March 14, 2019 @ 11:19:58
  Author: ffy00
Revision: 440991

upgpkg: code 1.32.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-14 10:59:49 UTC (rev 440990)
+++ PKGBUILD2019-03-14 11:19:58 UTC (rev 440991)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.32.1
+pkgver=1.32.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD product_json.diff)

2019-03-08 Thread Thore Bödecker via arch-commits
Date: Friday, March 8, 2019 @ 09:52:40
  Author: foxxx0
Revision: 438047

upgpkg: code 1.32.1-1

update to 1.32.1
add missing URLs to product.json

Modified:
  code/trunk/PKGBUILD
  code/trunk/product_json.diff

---+
 PKGBUILD  |7 ---
 product_json.diff |7 +--
 2 files changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-08 09:45:17 UTC (rev 438046)
+++ PKGBUILD2019-03-08 09:52:40 UTC (rev 438047)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.31.1
+pkgver=1.32.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
@@ -11,7 +11,8 @@
 license=('MIT')
 depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
 # doesn't build without old nodejs: 
https://github.com/Microsoft/vscode/issues/49292
-makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
+# makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
+makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
 'code.js'
 'code.sh'
@@ -20,7 +21,7 @@
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
 
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
-
'3c4bf0942ba9f1ba33937cc08e87caa8d6c030b862f99b2bac9ce6665739dd6a5f5a255b617c3f27ffd49df35563efa32f2c1a6240f9e19f16356bb12edac891'
+
'f9520fa3978e8cc994d3ab2cc0154a7a0e499a841afa67ef2f31c941fb30c5ff8a2dbcb8dc8b3a187fb43c21c8b3ddb299f31dd62e65e381c264b2b01caa404a'
 
'0bd10ca06dea22854e47fc45d833756ee8d7bf714c88f63feef44e0b0b5da052fba3c27d001865e3389f391cd7b888d92dc0ba44029fa5c736225da3cf2f9a46')
 
 # Even though we don't officially support other archs, let's

Modified: product_json.diff
===
--- product_json.diff   2019-03-08 09:45:17 UTC (rev 438046)
+++ product_json.diff   2019-03-08 09:52:40 UTC (rev 438047)
@@ -2,7 +2,7 @@
 index eb6526c2d8..7753d2c5eb 100644
 --- a/product.json
 +++ b/product.json
-@@ -20,5 +20,15 @@
+@@ -20,5 +20,18 @@
"urlProtocol": "code-oss",
"extensionAllowedProposedApi": [
"ms-vscode.references-view"
@@ -14,8 +14,11 @@
 +  "cacheUrl": 
"https://vscode.blob.core.windows.net/gallery/index;,
 +  "itemUrl": "https://marketplace.visualstudio.com/items;
 +  },
-+  "documentationUrl": "https://github.com/microsoft/vscode-docs;,
++  "documentationUrl": "https://code.visualstudio.com/docs;,
 +  "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues;,
++  "introductoryVideosUrl": 
"https://go.microsoft.com/fwlink/?linkid=832146;,
++  "tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118;,
++  "keyboardShortcutsUrlLinux": 
"https://go.microsoft.com/fwlink/?linkid=832144;,
 +  "commit": "@COMMIT@",
 +  "date": "@DATE@"
  }


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-02-17 Thread Filipe Laíns via arch-commits
Date: Sunday, February 17, 2019 @ 19:41:10
  Author: ffy00
Revision: 434203

upgpkg: code 1.31.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-17 19:13:38 UTC (rev 434202)
+++ PKGBUILD2019-02-17 19:41:10 UTC (rev 434203)
@@ -4,8 +4,8 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.31.0
-pkgrel=2
+pkgver=1.31.1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD code.sh)

2019-02-13 Thread Eli Schwartz via arch-commits
Date: Wednesday, February 13, 2019 @ 19:01:18
  Author: eschwartz
Revision: 432103

upgpkg: code 1.31.0-2

upstream now supports electron 3.x

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

--+
 PKGBUILD |8 
 code.sh  |2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-13 18:49:08 UTC (rev 432102)
+++ PKGBUILD2019-02-13 19:01:18 UTC (rev 432103)
@@ -5,11 +5,11 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.31.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
-depends=('electron2' 'libsecret' 'libxkbfile' 'ripgrep')
+depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
 # doesn't build without old nodejs: 
https://github.com/Microsoft/vscode/issues/49292
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
@@ -19,7 +19,7 @@
 'code-liveshare.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
-
'3cccafe4ba72efe5583c7afdae5099e8efd4c98a072fedc40209f6ec5070e71dfd37f53ed67fc0f093be21b7fc4cd114475ef1772cdb99c31d925bab6a7f6714'
+
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
 
'3c4bf0942ba9f1ba33937cc08e87caa8d6c030b862f99b2bac9ce6665739dd6a5f5a255b617c3f27ffd49df35563efa32f2c1a6240f9e19f16356bb12edac891'
 
'0bd10ca06dea22854e47fc45d833756ee8d7bf714c88f63feef44e0b0b5da052fba3c27d001865e3389f391cd7b888d92dc0ba44029fa5c736225da3cf2f9a46')
 
@@ -58,7 +58,7 @@
   patch -p1 < ../code-liveshare.diff
 
   # Build native modules for system electron
-  local _target=$(

[arch-commits] Commit in code/trunk (PKGBUILD)

2019-02-09 Thread Filipe Laíns via arch-commits
Date: Saturday, February 9, 2019 @ 14:28:44
  Author: ffy00
Revision: 430834

upgpkg: code 1.31.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-09 14:24:57 UTC (rev 430833)
+++ PKGBUILD2019-02-09 14:28:44 UTC (rev 430834)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.30.2
+pkgver=1.31.0
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2019-01-08 Thread Filipe Laíns via arch-commits
Date: Wednesday, January 9, 2019 @ 00:19:40
  Author: ffy00
Revision: 421083

upgpkg: code 1.30.2-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-09 00:19:08 UTC (rev 421082)
+++ PKGBUILD2019-01-09 00:19:40 UTC (rev 421083)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.30.1
+pkgver=1.30.2
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-12-18 Thread Filipe Laíns via arch-commits
Date: Tuesday, December 18, 2018 @ 22:47:21
  Author: ffy00
Revision: 416746

upgpkg: code 1.30.1-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-18 22:08:59 UTC (rev 416745)
+++ PKGBUILD2018-12-18 22:47:21 UTC (rev 416746)
@@ -4,7 +4,7 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.30.0
+pkgver=1.30.1
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-12-16 Thread Filipe Laíns via arch-commits
Date: Sunday, December 16, 2018 @ 21:31:05
  Author: ffy00
Revision: 416467

upgpkg: code 1.30.0-1

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-16 19:17:20 UTC (rev 416466)
+++ PKGBUILD2018-12-16 21:31:05 UTC (rev 416467)
@@ -4,8 +4,8 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.29.1
-pkgrel=4
+pkgver=1.30.0
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')


[arch-commits] Commit in code/trunk (PKGBUILD code.sh)

2018-12-06 Thread Eli Schwartz via arch-commits
Date: Thursday, December 6, 2018 @ 23:16:31
  Author: eschwartz
Revision: 412004

upgpkg: code 1.29.1-4

rebuild with electron2 due to electron 3.x upgrade

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

--+
 PKGBUILD |8 
 code.sh  |2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-06 23:09:31 UTC (rev 412003)
+++ PKGBUILD2018-12-06 23:16:31 UTC (rev 412004)
@@ -5,11 +5,11 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.29.1
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
-depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
+depends=('electron2' 'libsecret' 'libxkbfile' 'ripgrep')
 # doesn't build without old nodejs: 
https://github.com/Microsoft/vscode/issues/49292
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
@@ -19,7 +19,7 @@
 'code-liveshare.diff')
 sha512sums=('SKIP'
 
'814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
-
'0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
+
'3cccafe4ba72efe5583c7afdae5099e8efd4c98a072fedc40209f6ec5070e71dfd37f53ed67fc0f093be21b7fc4cd114475ef1772cdb99c31d925bab6a7f6714'
 
'3c4bf0942ba9f1ba33937cc08e87caa8d6c030b862f99b2bac9ce6665739dd6a5f5a255b617c3f27ffd49df35563efa32f2c1a6240f9e19f16356bb12edac891'
 
'0bd10ca06dea22854e47fc45d833756ee8d7bf714c88f63feef44e0b0b5da052fba3c27d001865e3389f391cd7b888d92dc0ba44029fa5c736225da3cf2f9a46')
 
@@ -58,7 +58,7 @@
   patch -p1 < ../code-liveshare.diff
 
   # Build native modules for system electron
-  local _target=$(

[arch-commits] Commit in code/trunk (PKGBUILD)

2018-11-28 Thread Eli Schwartz via arch-commits
Date: Thursday, November 29, 2018 @ 03:38:02
  Author: eschwartz
Revision: 410498

upgpkg: code 1.29.1-3

use system ripgrep

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-29 02:07:37 UTC (rev 410497)
+++ PKGBUILD2018-11-29 03:38:02 UTC (rev 410498)
@@ -5,11 +5,11 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.29.1
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
-depends=('electron' 'libsecret' 'libxkbfile')
+depends=('electron' 'libsecret' 'libxkbfile' 'ripgrep')
 # doesn't build without old nodejs: 
https://github.com/Microsoft/vscode/issues/49292
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-carbon')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
@@ -102,6 +102,9 @@
   install -dm 755 "$pkgdir"/usr/lib/$pkgname
   cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/app/* "$pkgdir"/usr/lib/$pkgname/
 
+  # replace statically included binary with system copy
+  ln -sf /usr/bin/rg 
"$pkgdir"/usr/lib/code/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
+
   # Install binary
   install -Dm 755 code.sh "$pkgdir"/usr/bin/code-oss
   install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/code.js


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-11-28 Thread Eli Schwartz via arch-commits
Date: Thursday, November 29, 2018 @ 02:07:15
  Author: eschwartz
Revision: 410496

upgpkg: code 1.29.1-2

electron 3 rebuild

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-29 01:33:23 UTC (rev 410495)
+++ PKGBUILD2018-11-29 02:07:15 UTC (rev 410496)
@@ -5,7 +5,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.29.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -116,4 +116,3 @@
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt 
"$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt
 }
-


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-09-14 Thread Filipe Laíns via arch-commits
Date: Friday, September 14, 2018 @ 16:59:29
  Author: ffy00
Revision: 380925

fix NAME/NAME_SHORT

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-14 16:58:42 UTC (rev 380924)
+++ PKGBUILD2018-09-14 16:59:29 UTC (rev 380925)
@@ -62,8 +62,8 @@
 
   # Patch appdata and desktop file
   sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
-  s|@@NAME_SHORT@@|Code - OSS|g
-  s|@@NAME_LONG@@|Code|g
+  s|@@NAME_SHORT@@|Code|g
+  s|@@NAME_LONG@@|Code - OSS|g
   s|@@NAME@@|code-oss|g
   s|@@ICON@@|code-oss|g
   s|@@LICENSE@@|MIT|g


[arch-commits] Commit in code/trunk (PKGBUILD code.js code.sh product_json.patch)

2018-09-13 Thread Filipe Laíns via arch-commits
Date: Friday, September 14, 2018 @ 00:46:03
  Author: ffy00
Revision: 380754

upgpkg: code 1.27.2-1

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.js
  code/trunk/code.sh
  code/trunk/product_json.patch

+
 PKGBUILD   |   56 +--
 code.js|   13 +--
 code.sh|2 -
 product_json.patch |6 +
 4 files changed, 50 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-13 23:22:47 UTC (rev 380753)
+++ PKGBUILD2018-09-14 00:46:03 UTC (rev 380754)
@@ -4,8 +4,8 @@
 
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.27.1
-pkgrel=7
+pkgver=1.27.2
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -13,11 +13,13 @@
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn')
 source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
 'code.js'
+'code.sh'
 'product_json.patch'
 'code-liveshare.patch')
 sha512sums=('SKIP'
-
'6f729b01e81d5cba31ee9e7e0275810410bcdbd3514b3956e9c19f4cbe849056fdc6267680cae6f9b28bf85b6b5b09130cf7bdf0db9ae651701efd3b480a22aa'
-
'dcf52fa373a787cd94ce7ad216a269de3ca90b3f02cea1d635016d980e765a9cc040776ce4b4ef83721ab6f0d74efb7a3a9ca02fbdf3daa06653c766d36cde08'
+
'd6d76d745372466936e516af7cacd146e7c90def5bba2eb03223b740675b810de00fff79a3f1cc8d29277f1d215ead5096aebb5ebeb52d25d8055e9c0d802bb9'
+
'a857b52b5075bed2df9860da4a9a7772351a1f4226e1bcac4578c31801caec61c785d30f49785c8816709a8d0b11c12696a49c4942c26d130a10618ce2c73d6b'
+
'7f85387542987c45a6d0e23424eda9e702dc9c6a789cde96ed6e5d386bd294eae8a6c7b32c7ae18d8071063e83a1033c215d0f5f5e0b1040466ce4b7c3969f2c'
 
'6080b9d30b2c852a831d4fa98be94e42eb7d94dfd5813bbe28410d031191c20563e4288d6b0062c74b635a962c3eba3533fcebeff1f67b4a8005a167c2f7fbf2')
 
 # Even though we don't officially support other archs, let's
@@ -44,7 +46,7 @@
 
   # This patch no longer contains proprietary modifications.
   # See https://github.com/Microsoft/vscode/issues/31168 for details.
-  patch -p1 < ../product_json.patch
+  patch -p0 < ../product_json.patch
 
   # Set the commit and build date
   local _commit=$(git rev-parse HEAD)
@@ -51,15 +53,6 @@
   local _datestamp=$(date -u -Is | sed 's/\+00:00/Z/')
   sed -e "s/@COMMIT@/$_commit/" -e "s/@DATE@/$_datestamp/" -i product.json
 
-  # Prepare appdata and desktop file
-  sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
-  s|@@NAME_SHORT@@|Code - OSS|g
-  s|@@NAME_LONG@@|Code|g
-  s|@@NAME@@|code|g
-  s|@@ICON@@|code|g
-  s|@@LICENSE@@|MIT|g
-  s|inode/directory;||' resources/linux/code.{appdata.xml,desktop}
-
   # See https://github.com/MicrosoftDocs/live-share/issues/262 for details
   patch -p1 < ../code-liveshare.patch
 
@@ -66,6 +59,15 @@
   # Build native modules for system electron
   local _target=$(https://ro-che.info/articles/2017-03-26-increase-open-files-limit;
+  exit 1
+  fi
 }
 
 package() {
@@ -81,12 +97,14 @@
   cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/app/* "$pkgdir"/usr/lib/$pkgname/
 
   # Install binary
-  install -Dm 755 code.js "$pkgdir"/usr/bin/code
+  install -Dm 755 code.sh "$pkgdir"/usr/bin/code-oss
+  install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/code.js
+  ln -sf /usr/bin/code-oss "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file
-  install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code.appdata.xml
-  install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code.desktop
-  install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code.png
+  install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code-oss.appdata.xml
+  install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code-oss.desktop
+  install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code-oss.png
 
   # Install license files
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE

Modified: code.js
===
--- code.js 2018-09-13 23:22:47 UTC (rev 380753)
+++ code.js 2018-09-14 00:46:03 UTC (rev 380754)
@@ -1,15 +1,22 @@
 #!/usr/bin/electron
 
-const name = 'code'
+const name = 'code';
+
 const app = require('electron').app;
 const path = require('path');
 
-// Remove first command line argument (/usr/bin/electron).
+// Remove first command line argument (/usr/lib/code/code.js). - We call the 
CLI file first
 process.argv.splice(0, 1);
 
 // Set application paths.
-const 

[arch-commits] Commit in code/trunk (PKGBUILD code.js)

2018-09-13 Thread Balló György via arch-commits
Date: Thursday, September 13, 2018 @ 15:14:56
  Author: bgyorgy
Revision: 380305

upgpkg: code 1.27.1-7

Fix versioned source, remove unneeded variables from the launcher script

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.js

--+
 PKGBUILD |   39 +--
 code.js  |   19 +--
 2 files changed, 14 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-13 15:13:32 UTC (rev 380304)
+++ PKGBUILD2018-09-13 15:14:56 UTC (rev 380305)
@@ -5,18 +5,18 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.27.1
-pkgrel=6
+pkgrel=7
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
 depends=('electron' 'libsecret' 'libxkbfile')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn')
-source=("$pkgname::git+https://github.com/Microsoft/vscode#tag=$_pkgver;
+source=("$pkgname::git+https://github.com/Microsoft/vscode.git#tag=$pkgver;
 'code.js'
 'product_json.patch'
 'code-liveshare.patch')
 sha512sums=('SKIP'
-
'8ce619714da6b243ce831a0932266841142c8d88c41b383237e7081a0098a4bee3d9fc80c97bb72bea68edfd9120cca8bacd4aea38694f392aa937e3b79c8c0a'
+
'6f729b01e81d5cba31ee9e7e0275810410bcdbd3514b3956e9c19f4cbe849056fdc6267680cae6f9b28bf85b6b5b09130cf7bdf0db9ae651701efd3b480a22aa'
 
'dcf52fa373a787cd94ce7ad216a269de3ca90b3f02cea1d635016d980e765a9cc040776ce4b4ef83721ab6f0d74efb7a3a9ca02fbdf3daa06653c766d36cde08'
 
'6080b9d30b2c852a831d4fa98be94e42eb7d94dfd5813bbe28410d031191c20563e4288d6b0062c74b635a962c3eba3533fcebeff1f67b4a8005a167c2f7fbf2')
 
@@ -51,6 +51,15 @@
   local _datestamp=$(date -u -Is | sed 's/\+00:00/Z/')
   sed -e "s/@COMMIT@/$_commit/" -e "s/@DATE@/$_datestamp/" -i product.json
 
+  # Prepare appdata and desktop file
+  sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
+  s|@@NAME_SHORT@@|Code - OSS|g
+  s|@@NAME_LONG@@|Code|g
+  s|@@NAME@@|code|g
+  s|@@ICON@@|code|g
+  s|@@LICENSE@@|MIT|g
+  s|inode/directory;||' resources/linux/code.{appdata.xml,desktop}
+
   # See https://github.com/MicrosoftDocs/live-share/issues/262 for details
   patch -p1 < ../code-liveshare.patch
 
@@ -63,21 +72,7 @@
   cd $pkgname
 
   yarn install --arch=$_vscode_arch
-
-  # The default memory limit may be too low for current versions of node
-  # to successfully build vscode. Change it if this number still doesn't
-  # work for your system.
-  mem_limit="--max_old_space_size=4096"
-
-  if ! /usr/bin/node $mem_limit /usr/bin/gulp vscode-linux-$_vscode_arch-min
-  then
-  echo
-  echo "*** NOTE: If the build failed due to running out of file handles 
(EMFILE),"
-  echo "*** you will need to raise your max open file limit."
-  echo "*** You can check this for more information on how to increase 
this limit:"
-  echo "***
https://ro-che.info/articles/2017-03-26-increase-open-files-limit;
-  exit 1
-  fi
+  node --max_old_space_size=4096 /usr/bin/gulp vscode-linux-$_vscode_arch-min
 }
 
 package() {
@@ -89,14 +84,6 @@
   install -Dm 755 code.js "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file
-  sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
-  s|@@NAME_SHORT@@|Code - OSS|g
-  s|@@NAME_LONG@@|Code|g
-  s|@@NAME@@|code|g
-  s|@@ICON@@|code|g
-  s|@@LICENSE@@|MIT|g
-  s|inode/directory;||' code/resources/linux/code.{appdata.xml,desktop}
-
   install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code.appdata.xml
   install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code.desktop
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code.png

Modified: code.js
===
--- code.js 2018-09-13 15:13:32 UTC (rev 380304)
+++ code.js 2018-09-13 15:14:56 UTC (rev 380305)
@@ -1,32 +1,15 @@
 #!/usr/bin/electron
 
 const name = 'code'
-
 const app = require('electron').app;
 const path = require('path');
-const fs = require("fs");
-const Module = require("module");
-const {join} = require("path");
-const vm = require("vm");
 
-// Change command name.
-const fd = fs.openSync('/proc/self/comm', fs.constants.O_WRONLY);
-fs.writeSync(fd, name);
-fs.closeSync(fd);
-
 // Remove first command line argument (/usr/bin/electron).
 process.argv.splice(0, 1);
 
 // Set application paths.
 const appPath = path.join(path.dirname(__dirname), 'lib', name);
-const packageJson = require(path.join(appPath, 'package.json'));
-const productName = 'code-oss'
-app.setAppPath(appPath);
-app.setDesktopName(name + '.desktop');
-app.setName(productName);
-app.setPath('userCache', path.join(app.getPath('cache'), productName));
-app.setPath('userData', 

[arch-commits] Commit in code/trunk (PKGBUILD)

2018-09-11 Thread Balló György via arch-commits
Date: Tuesday, September 11, 2018 @ 19:42:32
  Author: bgyorgy
Revision: 379767

Don't remove the assigment of text files, just the directories

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-11 19:04:26 UTC (rev 379766)
+++ PKGBUILD2018-09-11 19:42:32 UTC (rev 379767)
@@ -95,7 +95,7 @@
   s|@@NAME@@|code|g
   s|@@ICON@@|code|g
   s|@@LICENSE@@|MIT|g
-  /MimeType/d' code/resources/linux/code.{appdata.xml,desktop}
+  s|inode/directory;||' code/resources/linux/code.{appdata.xml,desktop}
 
   install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code.appdata.xml
   install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code.desktop


[arch-commits] Commit in code/trunk (PKGBUILD code.js)

2018-09-11 Thread Filipe Laíns via arch-commits
Date: Tuesday, September 11, 2018 @ 18:41:06
  Author: ffy00
Revision: 379764

upgpkg: code 1.27.1-6

Fix bug where vscode was overwriting the default file manager.

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.js

--+
 PKGBUILD |   14 ++
 code.js  |   26 --
 2 files changed, 30 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-11 17:51:25 UTC (rev 379763)
+++ PKGBUILD2018-09-11 18:41:06 UTC (rev 379764)
@@ -6,7 +6,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.27.1
-pkgrel=5
+pkgrel=6
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -13,13 +13,11 @@
 depends=('electron' 'libsecret' 'libxkbfile')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn')
 source=("$pkgname::git+https://github.com/Microsoft/vscode#tag=$_pkgver;
-'code.sh'
 'code.js'
 'product_json.patch'
 'code-liveshare.patch')
 sha512sums=('SKIP'
-
'75c105270080ed28d556b801c5f9d096cc7b0638d331cb8ca4814d9dcb436c2b1aa8772bf6d137503c2f13c3796ce7fe4b9ae83034831cb61bc36474e6ec'
-
'3d58a4e26767d2a29ff36f6cb41f9ca3c5a3f2608450917bc45db8901fc2b18f38b01e9725c7c381617d284eaaaeb969f531b96bcc48f839bda61bbc36cf6e68'
+
'8ce619714da6b243ce831a0932266841142c8d88c41b383237e7081a0098a4bee3d9fc80c97bb72bea68edfd9120cca8bacd4aea38694f392aa937e3b79c8c0a'
 
'dcf52fa373a787cd94ce7ad216a269de3ca90b3f02cea1d635016d980e765a9cc040776ce4b4ef83721ab6f0d74efb7a3a9ca02fbdf3daa06653c766d36cde08'
 
'6080b9d30b2c852a831d4fa98be94e42eb7d94dfd5813bbe28410d031191c20563e4288d6b0062c74b635a962c3eba3533fcebeff1f67b4a8005a167c2f7fbf2')
 
@@ -86,11 +84,10 @@
 package() {
   # Install resource files
   install -dm 755 "$pkgdir"/usr/lib/$pkgname
-  cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/* "$pkgdir"/usr/lib/$pkgname/
+  cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/app/* "$pkgdir"/usr/lib/$pkgname/
 
   # Install binary
-  install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/app/code.js
-  install -Dm 755 code.sh "$pkgdir"/usr/bin/code
+  install -Dm 755 code.js "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file
   sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
@@ -98,7 +95,8 @@
   s|@@NAME_LONG@@|Code|g
   s|@@NAME@@|code|g
   s|@@ICON@@|code|g
-  s|@@LICENSE@@|MIT|g' code/resources/linux/code.{appdata.xml,desktop}
+  s|@@LICENSE@@|MIT|g
+  /MimeType/d' code/resources/linux/code.{appdata.xml,desktop}
 
   install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code.appdata.xml
   install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code.desktop

Modified: code.js
===
--- code.js 2018-09-11 17:51:25 UTC (rev 379763)
+++ code.js 2018-09-11 18:41:06 UTC (rev 379764)
@@ -1,11 +1,33 @@
 #!/usr/bin/electron
 
-const {app} = require('electron');
+const name = 'code'
+
+const app = require('electron').app;
 const path = require('path');
+const fs = require("fs");
+const Module = require("module");
+const {join} = require("path");
+const vm = require("vm");
 
+// Change command name.
+const fd = fs.openSync('/proc/self/comm', fs.constants.O_WRONLY);
+fs.writeSync(fd, name);
+fs.closeSync(fd);
+
 // Remove first command line argument (/usr/bin/electron).
 process.argv.splice(0, 1);
 
+// Set application paths.
+const appPath = path.join(path.dirname(__dirname), 'lib', name);
+const packageJson = require(path.join(appPath, 'package.json'));
+const productName = 'code-oss'
+app.setAppPath(appPath);
+app.setDesktopName(name + '.desktop');
+app.setName(productName);
+app.setPath('userCache', path.join(app.getPath('cache'), productName));
+app.setPath('userData', path.join(app.getPath('appData'), productName));
+app.setVersion(packageJson.version);
+
 // Run the application.
-require('module')._load(__dirname, module, true);
+require('module')._load(appPath, module, true);
 


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-09-10 Thread Filipe Laíns via arch-commits
Date: Tuesday, September 11, 2018 @ 04:13:02
  Author: ffy00
Revision: 379432

upgpkg: code 1.27.1-5

Fix loader path.

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-11 03:16:15 UTC (rev 379431)
+++ PKGBUILD2018-09-11 04:13:02 UTC (rev 379432)
@@ -6,7 +6,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.27.1
-pkgrel=4
+pkgrel=5
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -89,7 +89,7 @@
   cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/* "$pkgdir"/usr/lib/$pkgname/
 
   # Install binary
-  install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/code.js
+  install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/app/code.js
   install -Dm 755 code.sh "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file


[arch-commits] Commit in code/trunk (PKGBUILD code.js code.sh)

2018-09-10 Thread Filipe Laíns via arch-commits
Date: Tuesday, September 11, 2018 @ 01:59:52
  Author: ffy00
Revision: 379428

upgpkg: code 1.27.1-4

Fix bug where the app would always start in the electron app folder.

Added:
  code/trunk/code.js
Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

--+
 PKGBUILD |   19 +++
 code.js  |   11 +++
 code.sh  |2 +-
 3 files changed, 23 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-11 00:53:35 UTC (rev 379427)
+++ PKGBUILD2018-09-11 01:59:52 UTC (rev 379428)
@@ -6,7 +6,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.27.1
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -14,10 +14,12 @@
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn')
 source=("$pkgname::git+https://github.com/Microsoft/vscode#tag=$_pkgver;
 'code.sh'
+'code.js'
 'product_json.patch'
 'code-liveshare.patch')
 sha512sums=('SKIP'
-
'dfca36cf30eeab786c38feb320dcec09764dcaa912d9587a959ce5a4273f6a4af7de3a01b963beedc1ec64782b459aa8491d9b808b9c6ce98f847e80d618d272'
+
'75c105270080ed28d556b801c5f9d096cc7b0638d331cb8ca4814d9dcb436c2b1aa8772bf6d137503c2f13c3796ce7fe4b9ae83034831cb61bc36474e6ec'
+
'3d58a4e26767d2a29ff36f6cb41f9ca3c5a3f2608450917bc45db8901fc2b18f38b01e9725c7c381617d284eaaaeb969f531b96bcc48f839bda61bbc36cf6e68'
 
'dcf52fa373a787cd94ce7ad216a269de3ca90b3f02cea1d635016d980e765a9cc040776ce4b4ef83721ab6f0d74efb7a3a9ca02fbdf3daa06653c766d36cde08'
 
'6080b9d30b2c852a831d4fa98be94e42eb7d94dfd5813bbe28410d031191c20563e4288d6b0062c74b635a962c3eba3533fcebeff1f67b4a8005a167c2f7fbf2')
 
@@ -87,15 +89,16 @@
   cp -r --no-preserve=ownership --preserve=mode 
VSCode-linux-$_vscode_arch/resources/* "$pkgdir"/usr/lib/$pkgname/
 
   # Install binary
+  install -Dm 755 code.js "$pkgdir"/usr/lib/$pkgname/code.js
   install -Dm 755 code.sh "$pkgdir"/usr/bin/code
 
   # Install appdata and desktop file
   sed -i 's|/usr/share/@@NAME@@/@@NAME@@|@@NAME@@|g
-  s/@@NAME_SHORT@@/Code - OSS/g
-  s/@@NAME_LONG@@/Code/g
-  s/@@NAME@@/code/g
-  s/@@ICON@@/code/g
-  s/@@LICENSE@@/MIT/g' code/resources/linux/code.{appdata.xml,desktop}
+  s|@@NAME_SHORT@@|Code - OSS|g
+  s|@@NAME_LONG@@|Code|g
+  s|@@NAME@@|code|g
+  s|@@ICON@@|code|g
+  s|@@LICENSE@@|MIT|g' code/resources/linux/code.{appdata.xml,desktop}
 
   install -Dm 644 code/resources/linux/code.appdata.xml 
"$pkgdir"/usr/share/metainfo/code.appdata.xml
   install -Dm 644 code/resources/linux/code.desktop 
"$pkgdir"/usr/share/applications/code.desktop
@@ -102,7 +105,7 @@
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/resources/linux/code.png 
"$pkgdir"/usr/share/pixmaps/code.png
 
   # Install license files
-  install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+  install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 
VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt 
"$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt
 }
 

Added: code.js
===
--- code.js (rev 0)
+++ code.js 2018-09-11 01:59:52 UTC (rev 379428)
@@ -0,0 +1,11 @@
+#!/usr/bin/electron
+
+const {app} = require('electron');
+const path = require('path');
+
+// Remove first command line argument (/usr/bin/electron).
+process.argv.splice(0, 1);
+
+// Run the application.
+require('module')._load(__dirname, module, true);
+

Modified: code.sh
===
--- code.sh 2018-09-11 00:53:35 UTC (rev 379427)
+++ code.sh 2018-09-11 01:59:52 UTC (rev 379428)
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-electron /usr/lib/code/app/ "$@"
+electron /usr/lib/code/app/code.js "$@"


[arch-commits] Commit in code/trunk (PKGBUILD)

2018-09-10 Thread Balló György via arch-commits
Date: Tuesday, September 11, 2018 @ 00:52:41
  Author: bgyorgy
Revision: 379426

upgpkg: code 1.27.1-3

- Set Electron version in .yarnrc to build native modules for system electron. 
This value is used by the build system of vscode.
- Enlarge nodejs memory limit to 4 GB. 2 GB is too small sometimes.

Modified:
  code/trunk/PKGBUILD

--+
 PKGBUILD |   22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-10 23:19:52 UTC (rev 379425)
+++ PKGBUILD2018-09-11 00:52:41 UTC (rev 379426)
@@ -6,7 +6,7 @@
 pkgname=code
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 pkgver=1.27.1
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://github.com/Microsoft/vscode'
 license=('MIT')
@@ -54,6 +54,10 @@
 
   # See https://github.com/MicrosoftDocs/live-share/issues/262 for details
   patch -p1 < ../code-liveshare.patch
+
+  # Build native modules for system electron
+  local _target=$(https://electronjs.org/docs/tutorial/using-native-node-modules for 
details
-  sed -i '/postinstall/d' node_modules/vscode-ripgrep/package.json
-  npm rebuild \
-  --arch=$_vscode_arch \
-  --runtime=electron \
-  --target=$(https://atom.io/download/electron \
-  --build-from-source
-
   # The default memory limit may be too low for current versions of node
-  # to successfully build vscode.  Uncomment this to set it to 2GB, or
-  # change it if this number still doesn't work for your system.
-  mem_limit="--max_old_space_size=2048"
+  # to successfully build vscode. Change it if this number still doesn't
+  # work for your system.
+  mem_limit="--max_old_space_size=4096"
 
   if ! /usr/bin/node $mem_limit /usr/bin/gulp vscode-linux-$_vscode_arch-min
   then