[AppStream] Console based multi-distro installer?
Sławomir Lach
slawek at lach.art.pl
Mon Jan 27 16:56:09 UTC 2020
I don't known is appstream already provided this, but...
Because appstream introduces application or other resources general names,
it's possible to use it to install thinks by single name on multiple systems.
Of couse, there's should exist graphical tool, like discover or gnome-
software, but I can't find console based.
Also, we could provide maintainer/author path, so user could install exactly
version they need.
For example:
<ids>
<fork><author>Sławomir Lach</author><id>org.slawek.pl.my_packages.evolution</
id></fork>
<fork><author>Lachu</author><id>org.lachu.pl.my_packages.evolution</id></fork>
<root><author>Gnoem Team</author><id>org.gnome.apps.evolution</id></root>
</ids>
By using this information, user (independend of distribution) could install my
version of evolution, which are fork of Lachu's evolution fork by:
appstream-installer install ( org.slawek.pl.my_packages.evolution
org.lachu.my_packages.evolution org.gnome.apps.evolution ) .
Maybe it's possible to made it simpler? Why not type only:
appstream-installer install org.slawek.pl.my_packages.evolution
Of course, appstream-installer will have many backends.
Why this solution? It's very onpleasant to see something like this on sides:
„To install wine, type apt install wine”. Appstream also allow to describe
component, which adds new repo, so using this utility to add a new repo should
also be possible.
--
Pozdrawiam,
Lach Sławomir.
More information about the AppStream
mailing list