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

Package fpm into self-sufficient system packages using travelling ruby and itself #1270

Open
djha-skin opened this issue Jan 10, 2017 · 4 comments

Comments

@djha-skin
Copy link
Contributor

I would like to start work on fpm which would add a script at the root, maybe called package.sh, which used travelling ruby and fpm itself to create system packages for different linux distributions. These packages would be self-sufficient, and would not need the ruby interpreter installed on the installation machine to work.

This would improve the distributability of fpm a lot, and perhaps would obviate the need to fix bugs bugs like #1264, since it would allow us to choose the ruby interpreter upon which fpm is run, even on old OS's. It makes a lot of sense to package the interpreter, since fpm is used primarily through the commandline.

The script would work something like this:

  1. Use travelling ruby to make a .tar.xz self-sufficent tarball containing fpm.
  2. Use fpm itself and some scripting to turn the .tar.xz into a debian, rpm, arch, os/x package.

I recently finished a project like this, except I was doing the same thing to a python package. I would like to do the same thing for fpm.

What do you guys think?

@nicobrevin
Copy link
Contributor

nicobrevin commented Jan 10, 2017 via email

@josegonzalez
Copy link
Collaborator

For whatever reason == time. There are 300+ issues, so for whatever reason, more than a few of them are in the backlog and not being worked on.

If you'd like to see this happen, feel free to submit a PR and we can discuss there. If it works and is easy to maintain, it might be considered.

@nicobrevin
Copy link
Contributor

nicobrevin commented Jan 10, 2017 via email

@jhermann
Copy link

Just linked this in another ticket – my solution is to reduce outside dependencies to a JVM, by using jruby-complete. See here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants