apache / apache/pulsar-client-node

node-pre-gyp setup

Offen
#97 2 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage/week-26
Vorherrschende Sprache
C++
Sterne
164
Forks
98
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The current node-pre-gyp setup is incorrect, the binary host points to the docs instead of a place where the built binaries are stored.

Things to do to improve the usage:
- [ ] Set up a CI on Mac OS and Linux (glibc and musl builds?) to build the binaries.
- [ ] Use [node-pre-gyp-github](https://github.com/bchr02/node-pre-gyp-github) tool to upload the built binaries to GitHub releases, so that users can download the binaries during install.
- [ ] This project uses N-API, so the default binary name can be optimised to not include node ABI version in it. This will allow to build a single binary per platform without the need of building it for every node version. `"{module_name}-{version}-{platform}-{libc}-{arch}.tar.gz"`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit der Überprüfung des aktuellen node-pre-gyp-Setups und wie dessen Binary-Host und Namensvorlage konfiguriert sind. Untersuche anschließend den vorgeschlagenen node-pre-gyp-github-Ablauf und bestimme die CI-Matrix für macOS-, Linux-glibc- und Linux-musl-Builds. Als erledigt gilt die Aufgabe, wenn Binaries erstellt, in GitHub-Releases hochgeladen und während der Installation mit dem N-API-kompatiblen Namen heruntergeladen werden können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nodejs
Bereich
build-system, ci-cd, release
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.