Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add .rpm packages #12

Open
ddollar opened this Issue · 23 comments
@ddollar

Perhaps the install.sh script could detect the OS and install as appropriate. Should work for Fedora / Centos if possible.

@xleeled

+1

@roskoff

+1

@ddollar

Would any Fedora/CentOS user be interested in helping us to build/maintain this?

@kureikain

I'm an Arch(at home), Fedora(at work) user. I can hel to build and maintain this

@kalkin

I just discovered that you can just install heroku with gem install heroku, so i don't need an rpm package.

@kureikain

@kalkin Everybody can just run that to get hroku cli. But Toolbelt is more than that. What @ddollar meant is need to modify install.erb view, to add code for auto detect operating system (maybe use uname ), then sent to correct repo source and correct command to install package for that oprating system. For example, Arch Linux had sth like https://aur.archlinux.org/packages.php?O=0&K=heroku&do_Search=Go so we just need to get that AUR package then run corresponding command for Arch users. That's the idea.

@xleeled

@kalkin it is the heroku toolbelt that has an issue with .rpm package

@ddollar ddollar closed this
@ddollar ddollar reopened this
@kalkin

Ahh nice. I didn't know that. Just getting started with the whole Heroku and Rails stuff.

@technomancy

I'm unfamiliar with the rpm ecosystem, so I'm wondering if users would find it more convenient to offer an individual .rpm file for the heroku CLI and one for foreman or would it be better to offer a yum repository?

With a repository you would get automatic updates, but from what I gather there's not a single repository format that works across all rpm-based systems, right? So individual .rpm files would be more broadly compatible.

@kalkin

@ddollar I just switched from Gentoo to Fedora on desktop and notebook so i could test it, but rpm packages are still just some kind of magic to me. Had no time to look in to them.

@netpenthe

need redhat support. cmon, it's 2012, should be standard.

@sontek

+1 for redhat support, I was amazed when I found out this wasn't standard.

@technomancy

I have an experimental rpm build of the Heroku client generated using alien. It seems to work from my brief experiments, but I'm not very familiar with rpm-based systems and could use some feedback on it: http://p.hagelb.org/heroku-2.28.0-1.noarch.rpm

If it looks good, I can see about setting up a yum repository for updates, integrating with CI, and linking from https://toolbelt.herokuapp.com

heroku/heroku@c21078a

@lewislacook

Hey technomancy, your alien-generated rpm seems to work so far. New to Heroku, excited to see what I can do with it.

@technomancy

Glad to hear it. Hopefully soon I can work on getting a yum repository up then.

@silver2k

RPM worked well in OpenSuse 11 as well.

@pahnin

I tried heroku gem, but it said gem is deprecated and I have to use toolbelt. Then I found this link and tried rpm, it seems the rpm is working fine in my box, fedora 18, too. Thanks guys.

@silva96

The Aliened RPM works perfectly on Fedora 17,
Thanks

@MJmT

Thanks a lot :+1:

@thwarted

Here's a spec file that pretty much mirrors what the install.sh script does. Should work on all rh/fedora/centos.

I got the version from running heroku --version.

This spec file drops a file into /etc/profile.d that adds /usr/local/heroku/bin to the path.

https://gist.github.com/thwarted/8290071

@paladini

+1. I tried "Standalone" version but this don't works.

@cvorak

Works great on Fedora 21, thanks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.