Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish a npm buffrs package / integration #159

Open
mara-schulke opened this issue Oct 30, 2023 · 2 comments · May be fixed by #162
Open

Publish a npm buffrs package / integration #159

mara-schulke opened this issue Oct 30, 2023 · 2 comments · May be fixed by #162
Labels
integration Changes and ideas related to integrating buffrs with 3rd-party software or tools priority::high Urgent change or idea, please review quickly type::epic An epic change. This is going to make a big difference to buffrs as a product. type::feature Shipping or drafting a new feature for this product type::idea Rough idea or proposal for buffrs

Comments

@mara-schulke
Copy link
Contributor

While prototyping the javascript / typescript integration we discovered, that the existing build tooling can do sufficient task scheduling (e.g. it can invoke a code generator for protocol buffers after installing them). What we discovered is that a) the installation of Buffrs and b) the invocation of protoc is pretty cumbersome and repetitive.

A potential solution could be, to package buffrs and distribute it as npm package (making the installation happen in the background) and provide node scripts for installation and code generation.

@mara-schulke mara-schulke added priority::high Urgent change or idea, please review quickly integration Changes and ideas related to integrating buffrs with 3rd-party software or tools type::epic An epic change. This is going to make a big difference to buffrs as a product. type::feature Shipping or drafting a new feature for this product type::idea Rough idea or proposal for buffrs labels Oct 30, 2023
@mara-schulke mara-schulke added this to the User Experience milestone Oct 30, 2023
@mara-schulke
Copy link
Contributor Author

#101 is related

@mara-schulke
Copy link
Contributor Author

mara-schulke commented Nov 3, 2023

So tasks are:

  • Publish prebuild binaries for an array of architectures
  • Somehow vendor them using npx
  • Provide a shell script to do the code compilation and add the protoc npm deps in the npm pkg
  • Create a helsing service account for npm
  • Publish buffrs to npm

WIP @ https://github.com/helsing-ai/buffrs/tree/mara/npx

@mara-schulke mara-schulke linked a pull request Nov 3, 2023 that will close this issue
@mara-schulke mara-schulke linked a pull request Nov 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Changes and ideas related to integrating buffrs with 3rd-party software or tools priority::high Urgent change or idea, please review quickly type::epic An epic change. This is going to make a big difference to buffrs as a product. type::feature Shipping or drafting a new feature for this product type::idea Rough idea or proposal for buffrs
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant