You are not logged in.

#1 2015-12-30 16:06:31

jleclanche
Member
From: Brussels, Belgium
Registered: 2014-05-09
Posts: 7
Website

Custom repository: npmjs.com arch mirror

Hey guys. I just finished my weekend project: An arch linux mirror repository of the npmjs.com database.

https://leclan.ch/arch/

In there you will find the most popular npmjs.com packages, built for arch linux. Packages are signed with my TU key and should be trusted by pacman.

This is useful if you need a quick npm package and don't want to pollute your global filesystem.

The code to generate the builds and packages is available here: https://gist.github.com/jleclanche/50f0a0e34756679cb550

Disclaimers:

This is a proof of concept repository. It is not production-ready.  Feel free to use it but do not expect packages to work, to be up to date, or even the repository to still work tomorrow. Please feel free to discuss its limitations here. Let me know if there are filesystem conflicts as well (especially in /usr/bin).

Only the top 500 packages are built. I will ramp this up to the top 2000 soon.

Note that there are packages with duplicate names from the main repositories. Unless you specify "npmjs/<package name>" when installing them, the official version will be installed instead, as long as the repository is at the end of your pacman.conf file.
Some packages, such as less, have naming conflicts with completely different packages upstream. Do report those here, but I do not intend to do anything about them yet. This is an issue I believe should be fixed in pacman itself (repository namespacing).

Also this is all hosted from my home box and I don't have a great connection, so don't expect much and don't install too many packages at once, else I'll temporarily shut the repository off.

Last edited by jleclanche (2015-12-30 16:11:24)

Offline

Board footer

Powered by FluxBB