Codebase appears to be missing... ;) #1

Closed
proffalken opened this Issue May 3, 2012 · 8 comments

Projects

None yet

2 participants

@proffalken

Hi,

I'd love to see the code behind this if possible - is there any chance it can be uploaded?

Thanks,

PF

@crohr
Owner

Well, I've got all the pieces working (for DEB) but they're scattered across a few projects and I never got around to put them together and package them. The project's README was a tentative in Readme Driven Development, but it stopped there ;) What's the part that interests you? Do you think this could be useful?

@proffalken

Definitely, the ability to package a rails app as a .deb file from within the app itself would be awesome.

CI is a big interest of mine and the idea that the final steps of my sucessful jenkins test run could be:

  • Create a .deb file
  • Upload to repos

There are tools out there such as jordansissel/fpm however I don't believe you can run this as a rake task easily.

@crohr
Owner

FPM is not really targeted at apps. It works quite well for gems though. The process you describe is exactly the one I put in place at my previous work, and this is indeed a great convenience. Let me see if I can produce a stripped down version shortly.

@proffalken

awesome, thanks :)

@crohr
Owner

I spent a few hours on this, and I'm now able to package a brand new Rails 3.2 app as a .deb with a few commands! I updated the README, and I hope it is enough to get you started. Please let me know how it goes.

@crohr
Owner

Note that I just renamed the project to 'pkgr'. It is now available at https://github.com/crohr/pkgr

@proffalken

wow, thanks, that's a lot of work! :)

I'll test it out and let you know what happens.

Bug Closed - Source is now online... ;)

@proffalken proffalken closed this May 4, 2012
@crohr
Owner

And a proper website is now up at http://crohr.me/pkgr/. Don't hesitate to share it, I'm eager to see if people find it useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment