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
Search Criteria
Package Details: vscodium-bin-marketplace 1.76.0-1
Package Actions
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: | 44 |
Popularity: | 0.38 |
First Submitted: | 2020-12-04 13:48 (UTC) |
Last Updated: | 2023-03-18 21:20 (UTC) |
Dependencies (2)
- python (python37AUR, python311AUR, python310AUR)
- vscodium-binAUR
Required by (0)
Sources (2)
silverhikari commented on 2021-12-22 18:42 (UTC) (edited on 2021-12-22 18:43 (UTC) by silverhikari)
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
}
ZorinArch commented on 2021-12-21 09:22 (UTC)
get this error
sed: can't read /usr/share/vscodium-bin/resources/app/product.json: No such file or directory
error: command failed to execute correctly
sperg512 commented on 2021-05-10 18:01 (UTC)
sorry for spamming releases but I think i've solved the problem where the package doesn't work
doesn't need to be updated with the package anymore as now the hook actually works
@sainnhe I got it working, there's now a vscodium-bin-features
package. Not sure if the feature adding works because idk how to test but yeah
sperg512 commented on 2021-05-10 17:18 (UTC)
ok fixed, in the future if this happens just updpkgsums
@GeBo thats what this package has always done, same with code-marketplace
.
GeBo commented on 2021-05-10 13:15 (UTC) (edited on 2021-05-10 13:27 (UTC) by GeBo)
I get the same error as ewertoni. md5sum of product.json.patch does not match.
When I open the patch, I see that https://open-vsx.org/ is being replaced by https://marketplace.visualstudio.com/ with a cache to https://vscode.blob.core.windows.net/.
ewertonl commented on 2021-05-10 11:11 (UTC)
I'm getting this when trying to install
==> Validating source files with md5sums...
vscodium-bin-marketplace.hook ... Passed
product.json.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build vscodium-bin-marketplace
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.