|
|
|
|
|
by ilyt
1303 days ago
|
|
>I think what's missing is some standardization around what an installer is allowed to do and flags to tell it when to make certain changes as well as explicit logging for what exactly was changed or added where, but that's not going to be solved if everybody has their own bespoke bash script for installation. YOU ARE RIGHT! What's more, we can make common installer code so everyone could just use same rules and documentation to customize it to their liking. And once we have many apps using it might even be integrated into system so you don't have to download as much, and all the bugfixes are in one place so we don't have thousand different install scripts Once we have that we can just make a very simple data file format, say just a data.tar.gz for data and control.tar.gz for telling installer what to do. As for metadata, just write simple file, say Package: my-tools
Version: 0.0.1
Section: base
Priority: optional
Architecture: all
Maintainer: Someuser <some@email>
If you need to run something after installer just put it in control.tar.gz as postinst script and it will do thatAnd if that's one format, we can it manage uninstalls too! Just put a simple text database of those files. OH WAIT THAT'S A FUCKING DEBIAN PACKAGE MANAGER |
|