- 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 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