MelonBread.dev

MelonBread.dev

then again, maybe it's a good thing that nobody made a scripting mess like homebrew popular yet on linux so we have a chance to do this "multi-distro package manager" right from the start

@sn0w but distro is just a set of repositories... if you make a multi-distro package manager, what you're actually making is a distro

@wolf480pl the idea would not be to package every single thing, but rather make it a distro-agnostic AUR equivalent. See other thread at: https://mk.nixnet.social/notes/8tzvcy88xv

@sn0w there's so much wrong in that thread I don't even know where to start...

@wolf480pl i mean, some things yeah, but do you really think it would be a bad thing to have an AUR everyone can use? k3llythink

i mean it basically solves what appimage/snap/flatpak are trying to do, but in better, optionally customizable, without ignoring the system packages, and updatable

@sn0w ok, so literally like aur, just build scripts, automating the process of building from source on end user's machine?

@sn0w

Well, let's look at a random pkgbuild
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=timeshift

- dependencies - the exact names of packages listed there are distro-specific
- post-install hook - if you look inside that script, it assumes systemd
- prepare - patches the makefile, possibly in distro-specific / gcc-version-specific way though maybe not in this case
- package - puts glue-files in distro-specific paths

So you'd need to have a separate one for every distro-family at least.

@sn0w maybe a better idea would be to have a set of separate AURs, one for every distro, with a common search website or sth.

@sn0w @wolf480pl malware's rave party

@kogomi @wolf480pl oh yeah darn...
i hope other solutions fixed this somehow inaphonehmm

oh ... they don't inaphoneyay

@sn0w @kogomi
the malware argument is not for using Snap or Flatpak instead of "multi-distro-aur", it's an argument for not having either.

replies
0
announces
0
likes
0

@sn0w @wolf480pl
> do you really think it would be a bad thing to have an AUR everyone can use?

It's called pkgsrc.

@sn0w @lanodan @wolf480pl Having a reasonably high entry bar sounds like a good thing for this kind of project. The AUR is a horrible mess, and I still remember a package casually running rm -rf /usr. Imagine how often something would be done wrong if every idiot could contribute.

Additionally, version control is generally a good thing. If something happens to break, you can revert to a known-working version. If it has something like git branches, you can leverage this to also work with multiple release channels.

And mailing lists are a great tool for discussion, too. It’s free (as in freedom), and highly accessible. Additionally, not being owned by a big corpo gives it a better guarantee to stay open, and to have the history in a highly portable format.

@saitei @sn0w @lanodan
IMO the problem with CVS is not that it's version control, it's that it's an outdated version control system.

As for barrier to entry, in general I agree, but I don't think it'll be enough to prevent such repo from devolving into a Play Store.

@wolf480pl @saitei @lanodan i'd say most of this is out of scope for a project like this

it has the same security requirements as downloading and running some random exe on windows: the user needs to think before hitting enter and trust the source, which isn't really a bad thing imo given that this is a package manager exclusively for end-user non-system stuff, ideally as decentral as possible with a self-hosted repo for every software vendor/author

if sublime text decides to steal my .ssh folder that's on me for trusting them to not do shady stuff, and it doesn't matter if it got installed through a package, tar.gz, curl | bash, or whatever

@sn0w @saitei @lanodan
at which point you could just mojosetup and bundle libs like GoG does... or ship a static binary if you don't care about libgl

@sn0w @wolf480pl @lanodan If it has no security whatsoever, I don’t think this has any value. I don’t want GNU+Linux to be just as bad as Windows.

@saitei @sn0w @lanodan
there's a tradeoff between security (integrity, really) and availability and I think giving people the option to have the availability of windows at the cost of having the integrity of windows isn't necessarily bad.

@sn0w @saitei @wolf480pl One of the major point of using a distro for me is that the bullshit parts upstream does tends to be thrown away or disabled.

As for software were I have a lack of trust… it just makes me wish things like actual video game consoles (ie. NES; not some PC-incompatible) would still exists.
I currently just stash them in a chroot or with at least run them as a different user.

@lanodan @sn0w @saitei
speaking of running games as a different user, I had a pam module that puts a specific user in pidns upon logging in. Haven't used it much, but I remember it worked.