- Introduce package states: unpacked, broken, installed, etc.
Not yet finished, only unpacked and installed are used for now.
- Move package metadata files in binary packages directly to
the top directory, this speeds up some ops and makes easier to
continue working in future changes.
- xbps-bin: -C flag to check the hash of package files has been
superseded by the 'check' target, which verifies the integrity
of an installed package.
- Use the 'essential' object when upgrading packages, overwritting
current files. This is needed for critical packages like sh, libc
and others.
- Miscellaneous tweaks and improvements thorough the code.
--HG--
extra : convert_revision : 2073fcc123efc24b3e9327b5e22aa91752f20df6
This fixes an item from the TODO about 'xbps-bin -C files' not checking
configuration files.
--HG--
extra : convert_revision : bb661554a6b34a25066749844709b8cbaf5a4d6c
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
So you can do you now:
$ xbps-repo search '*'
and it will list all registered packages.
--HG--
extra : convert_revision : d65edb4be6a0d815410d215774acf9ebeb23fa49
Now it looks like this:
$ xbps-bin -r ~/blah install initscripts
Finding/sorting required binary packages...
Checking binary package file(s) integrity...
The following new packages will be installed:
xbps-base-files-0.8_1 gcc-libgcc-4.3.3 glibc-locales-2.9
ncurses-base-5.7 glibc-2.9 ncurses-libs-5.7 gawk-3.1.6 grep-2.5.4
coreutils-7.1 sed-4.1.5 ncurses-5.7 kbd-1.15 findutils-4.4.0_1
net-tools-1.60 rcorder-2009.01 minilogd-2009.01 dhcpcd-4.0.12
bash-4.0 procps-3.2.7 udev-140_2 initscripts-2009.03_2
Total download size: 16M
Total installed size: 48M
Do you want to continue? [y/N]
...
--HG--
extra : convert_revision : e32a136ee882160637c1930d998c0f5ae3a6b108
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
This version is 12x faster than current implementation in shell script.
To generate an index for 434 packages, current implementation took
5min and 56 seconds. New implementation only took 29 seconds!
New implementation also doesn't add duplicate packages, and updates
the package entry for new package versions.
--HG--
extra : convert_revision : 269d38ee18184b585877fd729bf95e07ce57dd50
Add util funcs to get/set global values for them:
* xbps_[gs]et_rootdir()
* xbps_[gs]et_flags()
--HG--
extra : convert_revision : 2584b098e68a684e7b0eeac57c2b1df4aba6589d