Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Andrew Nesbitt
Andrew Nesbitt
@andrewnez@mastodon.social  ·  activity timestamp 3 weeks ago

An interesting theme I keep seeing popping but is that system package managers don’t need all the features that language package managers have, like lockfiles.

I suspect it’s more of a cultural thing but definitely needs more investigation into what’s really going on behind those comments.

  • Copy link
  • Flag this post
  • Block
Miroslav Suchý
Miroslav Suchý
@mirek@rodina-sucha.cz replied  ·  activity timestamp 3 weeks ago

@andrewnez Lockfiles for package managers are called repofiles. 😊 The entire distribution is a single lockfile. In #Fedora, we make a new compose every night. Compose can fail for many reasons. And successful compose does not yet means that every package is installable. Here is a good starting place for your rabbit hole https://github.com/osbuild/osbuild-composer

GitHub

GitHub - osbuild/osbuild-composer: An HTTP service for building bootable OS images.

An HTTP service for building bootable OS images. Contribute to osbuild/osbuild-composer development by creating an account on GitHub.
  • Copy link
  • Flag this comment
  • Block
Matthew Martin
Matthew Martin
@mistersql@mastodon.social replied  ·  activity timestamp 3 weeks ago

@andrewnez Don't think they can have many features? Take nano and make- they're both unaware of each other, unaware of who is packaging them, the distribution format is binary. With so much pre-dating modern package manager patterns, OS package managers can't get too fancy or the can't use package repo-unaware apps.

I did make this experimental tool for creating a lock-like file for my dependencies that weren't npm/pypi/etc. It only *audits*

https://github.com/matthewdeanmartin/cli_tool_audit

  • Copy link
  • Flag this comment
  • Block
d@nny disc@ mc²
d@nny disc@ mc²
@hipsterelectron@circumstances.run replied  ·  activity timestamp 3 weeks ago

@mistersql @andrewnez i had been developing similar representations of dependencies for a reliable shell environment and spack solves this conclusively for my purposes

  • Copy link
  • Flag this comment
  • Block
d@nny disc@ mc²
d@nny disc@ mc²
@hipsterelectron@circumstances.run replied  ·  activity timestamp 3 weeks ago

@andrewnez distro package managers are solving a completely different problem

  • Copy link
  • Flag this comment
  • Block
d@nny disc@ mc²
d@nny disc@ mc²
@hipsterelectron@circumstances.run replied  ·  activity timestamp 3 weeks ago

@andrewnez having exactly one global package version set at a time makes perfect sense when you are directly plugging into a global resource like the user's hardware. package managers like spack, cargo, pip are intended for the purposes of a development workflow shareable across machines and are frequently used to implement distro packaging

  • Copy link
  • Flag this comment
  • Block
Andrew Nesbitt
Andrew Nesbitt
@andrewnez@mastodon.social replied  ·  activity timestamp 3 weeks ago

Docker is hovering over my shoulder right now 😅

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct