apache / apache/pulsar-client-node
node-pre-gyp setup
- Langage dominant
- C++
- Étoiles
- 164
- Forks
- 98
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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"`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par examiner la configuration actuelle de node-pre-gyp et la manière dont sont configurés son hôte de binaires et son modèle de nommage. Examinez ensuite le flux node-pre-gyp-github proposé et déterminez la matrice CI pour les builds macOS, Linux glibc et Linux musl. Le travail est terminé lorsque les binaires sont construits, téléversés dans les releases GitHub et téléchargeables pendant l’installation avec le nom compatible avec N-API.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- nodejs
- Domaine
- build-system, ci-cd, release
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100