News for hackers. Stuff that matters.
Re:Apt 2.0 by linsomniac on Saturday March 07, 2020 @11:30PM (#22516350)
Perhaps, but as a counter example I'd compare it to RPM.

RPM is a solid, mature, heavily used package format. And the .spec file I've always found to be so much easier to work with than Debian packaging. I've made many debs, and my current work uses debs for deploying all our software, but I still find it so much harder to make them. I have a workflow for my current packages, but if I want to take a new piece of software and turn it into a .deb, it is always pretty painful. I usually have to ask a debian packager for help. They are always super nice and helpful, but I just wish I could package things myself.

Seems like if you package .debs all the time, it becomes easier. But as an infrequent packager, I find RPMs .spec to be much easier to manage than Debian's system.

Re:Apt 2.0 by CameronNemo on Sunday March 08, 2020 @12:42AM (#22516529)
I think spec files are asinine. Throwing it all in one specially formatted file and using weird macros to define the build steps. Deb is terrible too, but mostly just because they split everything up too much. The actual file formats are nice to work with. E.g. the rules file is just a make script and the install files are lists of files to install and their destinations.

Ports systems like alpine/arch/void are nice, but they also handle less (except for void maybe, that ports system has built in support for a lot of different build systems, so packaging a cmake or meson project is a breeze).

Re:Apt 2.0 by kelnos on Saturday March 07, 2020 @11:43PM (#22516391)
I agree; I do .deb packaging just infrequently enough that every time I go to do it, I have to re-learn it nearly from scratch. And it's not simple at all.
Re:Apt 2.0 by yjftsjthsd-h on Sunday March 08, 2020 @12:22AM (#22516480)
I'm fond of FPM for this kind of thing. It provides a usable interface over a bunch of package formats and explicitly aims to make the whole thing painless, and in my experience it succeeds.
Re:Apt 2.0 by Conan_Kudo on Monday March 09, 2020 @03:33PM (#22528869)
I prefer RPM packaging over all major styles of dsc (Debian Source Control) packaging as well, but...

It's actually possible to use RPM spec files to build Debian packages: https://github.com/debbuild/debbuild

And I've been going through and slowly porting much of the RPM ecosystem common macros to run on debbuild so that spec files can be reused to comply with Debian packaging policies as much as possible: https://github.com/debbuild/debbuild-macros

(Disclosure: I'm the current maintainer of debbuild)

Re:Apt 2.0 by taeric on Sunday March 08, 2020 @12:24AM (#22516487)
I suspect it is easier, per package. Is it easier for all of them, though? An odd spot where I suspect it is not a simple summation of effort.