News for hackers. Stuff that matters.
Re:Python Application Deployment with Native Packages by obtu on Thursday May 03, 2012 @12:23PM (#3924477)
I'm a bit wary of calling an fpm-generated deb a native package, those are about as well integrated as a checkinstall (make install -> deb) or an alien (rpm -> deb) package. fpm may still be useful for this use case, but it doesn't take me much more effort to get a proper source package.
Re:Python Application Deployment with Native Packages by mattyb on Thursday May 03, 2012 @12:32PM (#3924517)
How are FPM-generated debs any less integrated than native packages? You have the same control over the package metadata using its flags as you do with a Debian control file, and using `-s dir`, you have complete control over the package contents. You can ship rc/Upstart scripts, use pre/post-inst/rm scripts to add users and backup data, etc. These are all the same tasks that lots of Debian-maintained packages perform.

Please look at the FPM wiki, you'll see that it offers many more options for integration than checkinstall (which I used to use, and hated):

https://github.com/jordansissel/fpm/wiki

And why would you want to create source packages? One of the benefits to generating binary packages is that you compile once and roll it out to hundreds of servers. I'd rather not have to compile, say, Erlang on every target server.

Re:Python Application Deployment with Native Packages by hynek on Thursday May 03, 2012 @01:32PM (#3924824)
We used to use native tooling, the usage of fpm is rather new in fact. It simplified the code big time without compromising on anything.