Re: Release as Debian Package

Hugo Mills <[email protected]> Thu, 17 Mar 2022 22:55:17 +0000
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
On Thu, Mar 17, 2022 at 04:29:06PM -0600, Joseph Lloyd wrote:
> My team has written our first Erlang program.  Now, we are preparing for
> deployment.  I can see how to use rebar3 to create a .tar file, but are
> there tools or workflows out there that can help us easily create a .deb
> file instead?

   FPM ("Effing Package Management")[1] does the absolute minimum job
for building packages (in multiple formats -- .deb is one). It's not
pretty, and I suspect the resulting packages will never be accepted
into an upstream distribution, but if you're deploying internally
only, it should do the job nicely.

   If you're building for external consumption, then you should
probably learn to do the packaging properly. I can't help there, I'm
afraid.

   Hugo.

[1] https://github.com/jordansissel/fpm

-- 
Hugo Mills             | "Your problem is that you have a negative
hugo@... carfax.org.uk | personality."
http://carfax.org.uk/  | "No, I don't!"
PGP: E2AB1DE4          |                              Londo and Vir, Babylon 5