yarnpkg/yarn

Future enhancement idea: Easy way of making custom repositories

Open

#773 aperta il 12 ott 2016

Vedi su GitHub
 (3 commenti) (6 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-featurehelp wantedtriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

One of the things I love about Linux repositories (such as Debian and RPM repositories) is that it just consists of plain files and there's no custom server-side component at all. There's a few files that contain metadata about all the packages, along with the actual binaries themselves (eg. .deb for Debian, .rpm for CentOS). This makes it super easy to host a repository as long as the metadata is built correctly. You can even host a package repo on a plain basic webhost such as Github Pages.

It would be awesome to have something like this for Yarn too, a simple way of making a custom package server. "Throw these files onto a server somewhere" is a much easier deployment strategy than running some custom server software and having to worry about keeping it up-to-date with security patches etc.

Related: #547 (support for multiple servers), #606 (number of stars on this issue means a lot of people are using custom servers already)

Guida contributor