News for hackers. Stuff that matters.
Re:Disabling Snaps in Ubuntu 20.04 by zertrin on Saturday April 25, 2020 @12:15AM (#22975505)
I've been looking forward for this work to come to something working for some time already, but it's been already 3 years I've eyed on it, is it now coming to something working "soon"?
Re:Disabling Snaps in Ubuntu 20.04 by CameronNemo on Saturday April 25, 2020 @12:38AM (#22975608)
Debian is a bad choice if you want to package go applications (or rust apps, for that matter). Debian requires that all those little static dependencies be individually packaged. Common container software like lxd, podman, and umoci are not found in Debian.

The following distributions package LXD (that I know of):

* Void Linux

* Alpine Linux

* Arch Linux

* Gentoo

Some of those are more suitable for production installs than others, but if you know what you are doing and manage your deployments well, all of them could work.

Re:Disabling Snaps in Ubuntu 20.04 by francislavoie on Saturday April 25, 2020 @10:58AM (#22978600)
Do you happen to know _why_ Debian decided to require that for Go projects? It's so absurdly complicated.

I've been looking into .deb packaging for Caddy but it really feels like they require us to jump through too many hoops to make it happen. I'd much rather just ship a prebuilt binary.

Re:Disabling Snaps in Ubuntu 20.04 by Foxboron on Monday April 27, 2020 @09:24AM (#22995581)
>It's so absurdly complicated.

Security. Dynamically linking stuff is always going to be better than statically linking. Do you trust upstream to keep track of security issues and rebuild in the absurd dependency tree that is Golang software? Or the multi-year old effort which is the current Debian security team?

The reason why it's absurdly complicated is solely on the Golang team, not Debian.

Re:Disabling Snaps in Ubuntu 20.04 by tribaal on Saturday April 25, 2020 @02:58PM (#22980386)
I would love a deb-packaged Caddy as well :(
Re:Disabling Snaps in Ubuntu 20.04 by francislavoie on Monday April 27, 2020 @01:04AM (#22993033)
You'll be happy to know Caddy will have a deb package in the next release (albeit not part of official debian repos), see https://github.com/caddyserver/caddy/pull/3309
Re:Disabling Snaps in Ubuntu 20.04 by willtim on Saturday April 25, 2020 @02:37AM (#22976157)
I would add NixOS to that list. Especially if you value rolling back upgrades or pinning package versions.
Re:Disabling Snaps in Ubuntu 20.04 by CameronNemo on Saturday April 25, 2020 @05:38PM (#22981760)
I was not aware. Too late to edit now, but that is indeed a great option! Rolling release is a bit ambitious for a hyperlink without nixos like features.
Re:Disabling Snaps in Ubuntu 20.04 by Foxboron on Monday April 27, 2020 @09:25AM (#22995596)
Funny. I have been working on a blogpost detailing the silly things I encountered while packaging LXD properly for Arch Linux. Should probably finish it up one of these days.
Re:Disabling Snaps in Ubuntu 20.04 by rawoke083600 on Saturday April 25, 2020 @01:45AM (#22975901)
Ahh Gentoo :) I once build-from-source think it was called stage-1 install on a SBC(Single Board Computer) 486DX. I compiled well over 4 days :D
Re:Disabling Snaps in Ubuntu 20.04 by yrro on Saturday April 25, 2020 @03:21AM (#22976350)
Podman is in the NEW queue, and debs can be built from the packaging repo in the meantime., FYI.
Re:Disabling Snaps in Ubuntu 20.04 by CameronNemo on Saturday April 25, 2020 @12:04PM (#22979074)
Thanks for the info! Good to hear.