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 with Traveling Ruby #29

Closed
FooBarWidget opened this issue Jan 13, 2015 · 7 comments
Closed

Package with Traveling Ruby #29

FooBarWidget opened this issue Jan 13, 2015 · 7 comments

Comments

@FooBarWidget
Copy link
Contributor

Not all of your users are Ruby programmers, and those who are not Ruby programmers may have trouble installing Octodown. Maybe you can package Octodown with Traveling Ruby to solve this problem.

@ianks
Copy link
Owner

ianks commented Jan 13, 2015

@FooBarWidget Wow this looks very promising. I was actually researching ways to do this and could not come up with a solution I liked. Glad you brought this to my attention.

My main goal is releasing on Homebrew and other package managers. Have you had success doing that before with Traveling Ruby?

@FooBarWidget
Copy link
Contributor Author

It hasn't been done before but it should be relatively easy. With Traveling Ruby, your baseline would be to create binary tarballs for Linux and OS X. Once you have these, you can:

  1. Write a Homebrew recipe that simply downloads & extracts the OS X Octodown binary tarball and creates bin wrapper scripts.
  2. Create RPMs and DEBs that contain the contents of the Linux binary tarball (maybe in /opt/octodown), plus some wrapper scripts in /usr/bin. This approach would not comply to the Linux distributions' packaging guidelines at all, so you wouldn't be able to get them included into Debian/Ubuntu/Fedora/RHEL, but it would make your RPM/DEB packaging efforts literally 10 times easier. You no longer have to create different RPMs/DEBs for each distro: you just create a generic RPM/DEB that works on all Red Hat-based distros and all Debian-based distros.

@andrewhavens
Copy link

👍 I like this idea!

@ianks
Copy link
Owner

ianks commented Jan 15, 2015

Should have this PR within the next day or two. Then it is onto the Homebrew package, which I hope they approve of.

@ianks ianks added ready and removed in progress labels Jan 16, 2015
@ianks
Copy link
Owner

ianks commented Jan 16, 2015

PR is here: #38

@ches
Copy link

ches commented Feb 13, 2015

I think this could be closed since #38 is merged? 😁

@ianks
Copy link
Owner

ianks commented Feb 13, 2015

Yes @ches you are right. Thanks for the heads up.

@ianks ianks closed this as completed Feb 13, 2015
@ianks ianks removed the ready label Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants