By default a package when is removed, its configuration files
and metadata files won't be removed unless the package is purged.
While here add two targets for xbps-bin:
* purge [<pkgname>|<all>], passing the "all" string (case insensitive)
will purge all packages that are in this state (XBPS_PKG_STATE_CONFIG_FILES).
* reconfigure [<pkgname>|<all>], reconfigures a package or "all"
if package hasn't been configured. Passing -f reconfigures it again
even if it's state is ok.
--HG--
extra : convert_revision : bd2d3913ca087a0565b05fa9ee3f9b6d5e3cb934
This function works by iterating an array in a dictionary
in reverse order, i.e from down to top.
--HG--
extra : convert_revision : 5e655c2edf3d42453f16830e2e944c7f6e2cd974
Some parts in the library related to findings pkgs in repositories
has been improved vastly by caching the dictionary once.
Duplicated code has been added in xbps-bin/install.c, but will
be fixed soon.
--HG--
extra : convert_revision : 2924012a8589a2a6ecaa3863b5091049006c0ef3
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
Add util funcs to get/set global values for them:
* xbps_[gs]et_rootdir()
* xbps_[gs]et_flags()
--HG--
extra : convert_revision : 2584b098e68a684e7b0eeac57c2b1df4aba6589d
New changes include a modified algorithm of the previous one, which
finally does not fail even with multiple repos, YAY!
Fixed some leaks as well, thanks to valgrind.
--HG--
extra : convert_revision : 3cffe1e9e9e9f7abf225ca3c6643377fc12a94bd
All xbps metadata files will go into <rootdir>/var/cache/xbps
and package data will go into <rootdir>/<data>.
--HG--
extra : convert_revision : 37007ac4f9b99b31465612a58749713b3164139b