This will try to show the package information by looking in
all repositories registered. The first one that has the package
info wins.
--HG--
extra : convert_revision : 33b93fd115a765d696af76ca20c1669ef277cd35
With these changes:
- Added 'sanitize-plist' action to xbps-pkgdb. It takes a plist
file as argument and writes another one "sanitized" by proplib.
Use it to sanitize the pkgindex plist file.
- Split xbps-pkgdb functions to be shared by other files.
- Split xbps-digest functions to be shared by other files.
- Rename the plist file to register/unregister installed pkgs to
regpkgdb.plist, and related stuff in shell scripts.
--HG--
extra : convert_revision : 37731b04c6b41aebac629dfa06106175b9b5e59c
That way we can make it extensible in future changes.
Now it looks like this:
<key>packages_installed</key>
<array>
<dict>
<key>pkgname</key>
<string>dash</string>
<key>short_desc</key>
<string>POSIX-compliant Unix shell ...</string>
<key>version</key>
<string>0.5.4</string>
</dict>
...
</array>
xbps list should be faster than before if a lot of packages
are installed.
--HG--
extra : convert_revision : 816e3e73a4fc72fd8e61f3825757d92ad9d5b511
With the -e flag those colors will be disabled. As bonus also
I removed blank lines in .xbps-filelist and other misc tweaks, fixes
I cannot remember now.
--HG--
extra : convert_revision : 5e481d0faa14518363eafc622633d645c335ed78