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
741f559536
plist.h: remove name arg from proto.
...
--HG--
extra : convert_revision : 5b0526d72d681bc636d1b944e9efe04e6c6b7a28
2008-12-20 06:31:01 +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
57c8baf7d7
plist.h: fix some comments.
...
--HG--
extra : convert_revision : 31268f9d3a29b5a0bb55cfa897a7ff4b061a7e6a
2008-12-20 04:05:07 +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