Juan RP
56f1c09da8
xbps-bin: implemented 'repo-rm' target.
...
Also I changed the code to sanitize passed path, and make
the repo targets consistent with accepting the dir that contains
the packages.
--HG--
extra : convert_revision : 877ce4b1a6ad0d72e4a81094bbfe00ddea3baac3
2008-12-20 23:55:15 +01:00
Juan RP
b24db2af76
plist.c: fix showing pkginfo with multiple repos.
...
--HG--
extra : convert_revision : 6c4d3b17e5fd6ea6d08ba9d697f2557ef11d8b37
2008-12-20 07:50:58 +01:00
Juan RP
fea830f2b4
xbps-bin: apply some indentation when printing array object values.
...
--HG--
extra : convert_revision : bdb070f76cafed9faf69b7cd3769edae0d96b05a
2008-12-20 06:27:16 +01:00
Juan RP
c3c632e387
xbps-bin: implement full support for the 'show' target.
...
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
2008-12-20 05:49:41 +01:00
Juan RP
6698f3a1ff
Make xbps_callback_array_in_dict() return a bool.
...
The func cb accepted also returns a bool now.
--HG--
extra : convert_revision : 1adf9a54e111f5d7f3dd78a829c3cf680d15f769
2008-12-20 04:53:56 +01:00
Juan RP
835d4e7b7c
Fixup xbps_register_repository().
...
--HG--
extra : convert_revision : 57fc23f8066038b2ff71ba580d3bd5c73616f079
2008-12-20 04:35:47 +01:00
Juan RP
256b562770
Make xbps_add_array_to_dict accept any object, not just arrays.
...
Thus it's now named xbps_add_obj_to_dict().
--HG--
extra : convert_revision : 81a53b615cd7578a2c99f40f9b8550e2ee7fa426
2008-12-20 03:55:09 +01:00
Juan RP
00e90663af
Use a common key for all arrays of pkgdicts.
...
--HG--
extra : convert_revision : cab30e527b438afb266f4e6084af7c51357efd17
2008-12-20 03:45:35 +01:00
Juan RP
894c0903c6
Rename some C utils.
...
--HG--
extra : convert_revision : 35b27fcbc85ad9f6466cef02759cc0142e6bfafd
2008-12-20 03:07:46 +01:00