[ / / / / / / / / / / / / / ] [ dir / bestemma / doomer / faggotry / vichan / vietnam / voros / wmafsex ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.1008424>>1008693 >>1008799 >>1008853 >>1008932 [Watch Thread][Show All Posts]

Anons, I think we can agree that most package managers out there are at least in some degree bad, not allowing them to be universal. What features would you suggest for a new package manager I'm going to start writing soon?

My ideas:

> seamless integration between source based and binary packages

> package build scripts easy to modify to support newer versions

> written in C (because portage so slow that compiling most of its packages into binary form is an impossible task)

> modular and extensible, allowing you to e.g. easily modify the package manager to support SQLite for speeding dependency detection up

Your ideas of a perfect and universal package manager?

 No.1008450>>1009158

Portage rewritten in whatever language you like.


 No.1008692

>durrrrrhurrrrr i smart and all other package manager creators r two dum


 No.1008693>>1008799

>>1008424 (OP)

i might bother with the nix meme, since there's a few problems i have

>most package managers are autistic and have never seen a desktop using x11

>by default shit like vim has to be compiled from source if you want clipboard and have to install balot gvim for register support

>some autistic programs like st have an autistic idea of having a header file to configure the program


 No.1008700

If you are starting from scratch, consider making semantic versioning mandatory. The package manager should always be able to tell if two packages are compatible, period.


 No.1008799

>>1008424 (OP)

Functional package management is where it's at. Sadly the only choices we have for now are Nix and Guix, both have poor documentation. Guix is written in Scheme, so it's easy to tinker with and write your own Packages, but its developers are cucky soyboys who like to gobble tranny CoC all day. It's also slow as fuck to start up, because the Guile maintainer is also a cucky soyboy.

>>1008693

>by default shit like vim has to be compiled from source if you want clipboard and have to install balot gvim for register support

Shit like this is part of the reason why Neovim was created


 No.1008853

>>1008424 (OP)

Retard here. What does a package manager even supposed to do other than resolve dependencies? Because if we're talking about source packages, then aren't they at least in most cases just shell scripts that compile the program?


 No.1008868

It definitely needs to be like Nix

>functional (system gets "rebuilt" every boot; can go back to old configs if last one is borked

>package configuration (list of installed packages, system options, program options/default overrides) are described in a single file

This means no more updates overriding your global configs, for example, because they are rebuilt according to your parameters every update.

>building from source on update or adapting package compilation options (basically Portage overlays) is probably more obtuse than it should, but it is well supported

I can't go back to traditional package managers after this. All it would need to be perfect is: disregarding the userwise Nix store altogether and implement some permissions-based user-specific packages in a read-only directory (having writable binaries in a home directory is a huge security issue), and actually building a config file out of the user installed packages (which may be already the case, but I haven't found anything on the docs about it) in order to export it.

If you can also implement some sort of compatibility layer to register library "equivalents" between distroes, so your package manager can act as a package metamanager that can download stuff from different repos (probably with some limitations, obviously), you would probably hit gold.


 No.1008873

Why not just make guix better? From what I've seen it seems made to be modified


 No.1008932

>>1008424 (OP)

nice picture! :D


 No.1009158

>>1008450

this tbqh


 No.1009295

Why not just use xbps?




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
11 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / bestemma / doomer / faggotry / vichan / vietnam / voros / wmafsex ][ watchlist ]