Comments (8)
@doowb we use https://github.com/LeoIannacone/npm2deb to create the debian package from a node module. We prefer github tarballs for 2 reasons,
- npm dist tarballs may have prebuilt files (minified, browserified, transpiled, etc). We should use the source code used by upstream for modification to create the debian package.
- npm dist tarballs may not include tests.
So when github repo is missing tags corresponding to npm release, npm2deb falls back to using npm dist tarballs, but gives a warning.
from capture-stream.
missing tags
Specifically which tags are missing?
from capture-stream.
from capture-stream.
@jonschlinkert npmjs.com has 0.1.2 version, but this repo has only 0.1.1 tag.
from capture-stream.
@pravi, thanks for the additional information. I added the tag here.
I'm curious about how Debian handles npm modules. Does something throw an error when a module is missing a tag on GitHub but is still available on npm?
We have an updater for git tags that we use now, but projects that haven't needed updating recently might still be missing tags.
from capture-stream.
Thanks!
Is there a place the debian packages are published?
Is it something that a developer does on their own or are these bundled with debian?
I know I've seen you post on other repositories about bundling for debian, but I haven't looked into how that works. I usually use ubuntu and mac osx, so I haven't had a chance to learn about debian.
from capture-stream.
Is there a place the debian packages are published?
You can find details of any package from tracker.debian.org. For example, https://tracker.debian.org/pkg/node-babylon shows the details of babylon node module (we add node- prefix to node modules).
Is it something that a developer does on their own or are these bundled with debian?
Our main aim for packaging these node modules are to make build tools (like grunt , gulp , webpack) available in debian so libraries like handlebars for applications like gitlab and diaspora (apt-get install gitlab will setup a gitlab instance for you) can be built from their source repos. So the end goal is to make it possible for people who are not specialized in nodejs, ruby or other languages to be able to setup web based services with just apt.
I know I've seen you post on other repositories about bundling for debian, but I haven't looked into how that works. I usually use ubuntu and mac osx, so I haven't had a chance to learn about debian.
Ubuntu is derived from debian and all packages that goes to debian gets pulled into Ubuntu as well.
from capture-stream.
Thanks for all the information! I don't put together that the debian packages are what apt-get
installs, but now I understand.
from capture-stream.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capture-stream.