The library is only responsible now to find all binary packages
from repositories, sort them and create a dictionary with all
details. The frontend (xbps-bin) provides support for this,
and this allows for more flexibility and removes some stuff
that didn't belong in the library.
While here implemented support to show total download/installed
size for all packages that are going to be installed.
Next step will be to implement user interactivity before
installing/removing/updating packages.
--HG--
extra : convert_revision : 858e9a89bc6a60b348435f2416a8af3ebb6ea5c9
A new target has been added to xbps-bin: autoremove. It works in
the same way than 'apt-get', but there's no stdin input. By default
it will list you all orphaned packages, and -f flag must be set
to really remove them.
The following is a real example for the git package, which requires
directly perl and curl-libs, and indirectly libidn and openssl.
$ xbps-bin -r ~/testing-xbps remove git
Removing package git-1.6.1.3 ... done.
$
$ xbps-bin -r ~/testing-xbps autoremove
The following packages were installed automatically
(as dependencies) and aren't needed anymore:
perl-5.10.0 curl-libs-7.19.0 libidn-1.10 openssl-0.9.8j
If you are really sure you don't need them, use -f to confirm.
$
--HG--
extra : convert_revision : 70eebaa3d99be27753b94f580c8ec86330c7c2d3
This algorithm works for all packages currently usable on xbps.
Previous code didn't take into account the correct order between
indirect and direct deps.
--HG--
extra : convert_revision : c49a20ce300e6e9dfa565325b40745b5a78b78ed
This implementation will be faster and resolv the dependency chain
correctly taking into account indirect/direct deps and priority.
--HG--
extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
- Remove lib/info.c that doesn't belong in the lib and add it into the
bins.
- Every binary now uses its own directory on bin/.
This is in preparation for future changes for correct behaviour of
the library and binaries.
--HG--
extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
At least now dependencies are tracked, not sure it will be
enough for real life :-)
--HG--
extra : convert_revision : 962de22d515efa5599c148f918c14d32b5d9496d