Package Details: vscodium-bin-marketplace 1.76.0-1

Git Clone URL: https://aur.archlinux.org/vscodium-bin-marketplace.git (read-only, click to copy)
Package Base: vscodium-bin-marketplace
Description: Enable vscode marketplace in vscodium-bin
Upstream URL: https://marketplace.visualstudio.com/vscode
Licenses: unknown
Submitter: sperg512
Maintainer: Icelk
Last Packager: Icelk
Votes: 41
Popularity: 1.39
First Submitted: 2020-12-04 13:48 (UTC)
Last Updated: 2023-03-18 21:20 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

Icelk commented on 2022-08-02 09:36 (UTC) (edited on 2023-02-13 15:26 (UTC) by Icelk)

This package should not be marked as out of date unless it stops working. If that's the case, proving a diff to get it working is hugely appreciated. See the latest comments for potential solutions and conversation regarding the issue.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

sperg512 commented on 2022-04-21 23:59 (UTC)

Yeah I'm generally not available anymore. At FRC worlds rn, and switched to Gentoo. You're a co maintainer, I'll disown now.

Icelk commented on 2022-04-21 16:25 (UTC)

I’d appreciate if you could provide a diff to the patch.sh file. I was added as a maintainer for my auto update script to vscodium-bin. sperg512 seems to be gone. This package should maybe be marked as an orphan?

silvan_rehm commented on 2022-04-21 06:51 (UTC) (edited on 2022-04-21 06:52 (UTC) by silvan_rehm)

after updating got the following error:

vscodium                                                                                                           [1]
node:internal/modules/cjs/loader:1186
    throw err;
    ^
SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token , in JSON at position 13940

needed to remove two } in the products.json:

diff product.json product.jsonBU                                                                 
137,138c137
<   
<   ,
---
>   },
156c155
<   ,
---
>   },
295c294
< }
---
> }
\ No newline at end of file

Icelk commented on 2022-01-15 11:04 (UTC)

Btw, this package is only updated when vscodium-bin contains breaking changes to the relevant files.

Icelk commented on 2022-01-15 11:03 (UTC)

I just tried to install this and the latest vscodium-bin and it worked.

The checksums worked.

Can you share the details of your problems, and steps on how to reproduce?

silverhikari commented on 2021-12-22 18:42 (UTC) (edited on 2021-12-22 18:43 (UTC) by silverhikari)

i do not know if this is intentional but when installing the newer version this message appears "/tmp/alpm_98q6wT/.INSTALL: line 6: /opt/vscodium-bin/resources/app/patch.sh: No such file or directory" "error: command failed to execute correctly" but it will continue to install the package

devourerOfBits80 commented on 2021-12-22 10:34 (UTC)

You can always install this package directly, skipping the integrity checking... yay -S --mflags --skipinteg vscodium-bin-marketplace.

Regards,

Mek101 commented on 2021-12-22 09:40 (UTC)

Both the patch and the hook fail the md5sum validation in 1.56.0-5

ddd commented on 2021-12-21 18:09 (UTC)

thanks for the usr/share->opt change, but you forgot to change the hook's checksum :)

wooque commented on 2021-12-21 12:17 (UTC)

patch for new vscodium-bin

diff --git a/.SRCINFO b/.SRCINFO
index d368ee8..78a3a11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,8 @@ pkgbase = vscodium-bin-marketplace
    depends = sed
    source = vscodium-bin-marketplace.hook
    source = patch.sh
-   md5sums = c021871847b6b57c373285243c155927
-   md5sums = 9953b36f67bee0466c28a07e1faf090e
+   md5sums = db795d7715e861919909e2fd726f6fed
+   md5sums = 5fa388d4430e1767eb9d58930c8ba9c0

 pkgname = vscodium-bin-marketplace

diff --git a/PKGBUILD b/PKGBUILD
index f9af131..028a1fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=vscodium-bin-marketplace
 pkgver=1.56.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Enable vscode marketplace in vscodium-bin'
 arch=('any')
 url='https://marketplace.visualstudio.com/vscode'
@@ -12,10 +12,10 @@ depends=('vscodium-bin' 'sed')
 install="${pkgname}.install"
 source=('vscodium-bin-marketplace.hook'
         'patch.sh')
-md5sums=('c021871847b6b57c373285243c155927'
-         '9953b36f67bee0466c28a07e1faf090e')
+md5sums=('db795d7715e861919909e2fd726f6fed'
+         '5fa388d4430e1767eb9d58930c8ba9c0')
 package() {
   install -Dm 644 "${srcdir}"/vscodium-bin-marketplace.hook "${pkgdir}"/usr/share/libalpm/hooks/vscodium-bin-marketplace.hook
-  install -Dm 755 "${srcdir}"/patch.sh "${pkgdir}"/usr/share/vscodium-bin/resources/app/patch.sh
+  install -Dm 755 "${srcdir}"/patch.sh "${pkgdir}"/opt/vscodium-bin/resources/app/patch.sh
 }

diff --git a/patch.sh b/patch.sh
index 2301516..5b2a14c 100755
--- a/patch.sh
+++ b/patch.sh
@@ -6,12 +6,12 @@ if [ "${1}" = "-R" ]; then
     -e 's/^[[:blank:]]*"itemUrl":.*/    "itemUrl": "https:\/\/open-vsx.org\/vscode\/item"/' \
     -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \
     -e '/^[[:blank:]]*"documentationUrl/i\  "linkProtectionTrustedDomains": ["https://open-vsx.org"],' \
-    /usr/share/vscodium-bin/resources/app/product.json
+    /opt/vscodium-bin/resources/app/product.json
 else
   sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/    "serviceUrl": "https:\/\/marketplace.visualstudio.com\/_apis\/public\/gallery",/' \
     -e '/^[[:blank:]]*"cacheUrl/d' \
     -e '/^[[:blank:]]*"serviceUrl/a\    "cacheUrl": "https:\/\/vscode.blob.core.windows.net\/gallery\/index",' \
     -e 's/^[[:blank:]]*"itemUrl":.*/    "itemUrl": "https:\/\/marketplace.visualstudio.com\/items"/' \
     -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \
-    /usr/share/vscodium-bin/resources/app/product.json
+    /opt/vscodium-bin/resources/app/product.json
 fi
diff --git a/vscodium-bin-marketplace.hook b/vscodium-bin-marketplace.hook
index bdc7cd9..8171f94 100644
--- a/vscodium-bin-marketplace.hook
+++ b/vscodium-bin-marketplace.hook
@@ -6,5 +6,5 @@ Target = vscodium-bin

 [Action]
 Description = [vscodium-bin-marketplace] Patching product.json...
-Exec = /usr/share/vscodium-bin/resources/app/patch.sh
+Exec = /opt/vscodium-bin/resources/app/patch.sh
 When = PostTransaction
diff --git a/vscodium-bin-marketplace.install b/vscodium-bin-marketplace.install
index 134c4e6..18253c7 100644
--- a/vscodium-bin-marketplace.install
+++ b/vscodium-bin-marketplace.install
@@ -1,15 +1,15 @@
 post_install() {
-  /usr/share/vscodium-bin/resources/app/patch.sh
+  /opt/vscodium-bin/resources/app/patch.sh
 }

 pre_upgrade() {
-  /usr/share/vscodium-bin/resources/app/patch.sh -R
+  /opt/vscodium-bin/resources/app/patch.sh -R
 }

 post_upgrade() {
-  /usr/share/vscodium-bin/resources/app/patch.sh
+  /opt/vscodium-bin/resources/app/patch.sh
 }

 pre_remove() {
-  /usr/share/vscodium-bin/resources/app/patch.sh -R
+  /opt/vscodium-bin/resources/app/patch.sh -R
 }