Package Details: vscodium 1.99.02289-1

Git Clone URL: https://aur.archlinux.org/vscodium.git (read-only, click to copy)
Package Base: vscodium
Description: Free/Libre Open Source Software Binaries of VSCode (git build from latest release).
Upstream URL: https://github.com/VSCodium/vscodium.git
Licenses: MIT
Conflicts: codium, vscodium, vscodium-bin, vscodium-git
Provides: codium, vscodium
Submitter: cedricroijakkers
Maintainer: cedricroijakkers (daiyam)
Last Packager: daiyam
Votes: 78
Popularity: 2.00
First Submitted: 2021-04-10 15:12 (UTC)
Last Updated: 2025-04-05 10:36 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

petronny commented on 2022-09-10 07:52 (UTC)

If you are building in a chroot, make sure package systemd-sysvcompat is installed on your system.

To be more clear, install systemd-sysvcompat in the chroot, which can also be done by adding it to makedepends.

BTW, the arch4edu repository starts to providing the prebuilt binary of vscodium.

cedricroijakkers commented on 2022-09-05 10:41 (UTC)

NOTE: If you are building in a chroot, make sure package systemd-sysvcompat is installed on your system, as this is required for nvm. This cannot be included in the dependencies, since it will break on non-systemd distributions.

buzo commented on 2022-09-05 09:57 (UTC)

Building in a clean chroot fails for me:

==> Extracting sources...
  -> Creating working copy of vscodium git repo...
Cloning into 'vscodium'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
Downloading and installing node v16.14.2...
Binary download failed, trying source.
==> ERROR: A failure occurred in build().
    Aborting...

MithicSpirit commented on 2022-08-23 18:59 (UTC)

Can confirm that making the package is working fine for me in a clean chroot (other than the nvm bug that requires /sbin/init to exist).

cedricroijakkers commented on 2022-08-23 07:36 (UTC)

The build issues should be fixed now. I've managed to build the package on a few test machines. You might have to clean your AUR helper (yay, paru, ...) in order to make sure the build succeeds.

MithicSpirit commented on 2022-08-22 22:39 (UTC)

Currently fails due to lack of npm. Please add it to makedepends.

==> Starting build()...
Release version: 1.70.2.22230
From https://github.com/Microsoft/vscode.git
Got the MS tag: 1.70.2 version: e4503b30fc78200f846c62cf8091b76ff5547662
From https://github.com/Microsoft/vscode
 * branch            e4503b30fc78200f846c62cf8091b76ff5547662 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e4503b3 Fix Debugger Restart Bug (#158184)
version.sh: line 7: npm: command not found
==> ERROR: A failure occurred in build().

(can send rest of logs if desired)

P.S.: please test making packages in a clean chroot or virtual machine before pushing to the AUR. The devtools package has some utilities to make doing so easier.

jonathon commented on 2022-08-19 09:36 (UTC)

One person's "nit picking" is another's "iterative improvement".

But here's another: in your linked diff you missed the .git from the end of the source repo urls.

svallinn commented on 2022-08-18 21:38 (UTC) (edited on 2022-08-19 14:10 (UTC) by svallinn)

Here's the "final version" of the patch

I say final because I'm personally not doing any more changes

There's a whole lot of nitpicking in the comments, but don't worry, I tried to appease all of you

(no need to be cautious, it's just a PrivateBin instance -> https://privatebin.info/directory)

NOTE: Don't copy the text, click the "Save Paste" instead; that way trailing whitespace is preserved (there's a new line at the end of the file that is not reflected in the browser)

https://0.0g.gg/?f91e383298836c80#4yBqasNd77rJzPvjsnB4W8Vhep2fk2x5BHBkg4BdibvS

jonathon commented on 2022-08-18 20:36 (UTC) (edited on 2022-08-18 20:36 (UTC) by jonathon)

There's no need to have a git repo URL as a separate variable - it can be included in the source array (as in my diff). In any event, local variables should be prepended with an underscore (so _microsoft_url rather than microsoft_url).

willemw commented on 2022-08-18 19:22 (UTC)

command -v does not need the 2>&1 part.

_pkgver is only used once. You might as well remove the _pkgver variable and do the substitution inline (in source).

url still ends on .git which should be removed (url points to an HTML page).

(Not really necessary: I have seen some packages that put the word "git" into the variable name to make it clear it points to a git repo. So here, for example, _microsoft_giturl, or something like that. Extra/user-defined variables usually start with an _.)