Commit graph

12 commits

Author SHA1 Message Date
Juan RP
e7cf222ac9 Reorganize the tree splitting stuff on its own dir.
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00
Juan RP
169e38313d xbps-bin: implemented "search" target.
It will look for the specified string in all repositories
registered and will report "$pkgname-$version - $short_desc":

juan@sasha:~/xbps/utils$ ./xbps-bin search kernel
From /home/juan/repo2 repository ...
From /home/juan/repo3 repository ...
From /storage/xbps/binpkgs repository ...
	kernel-headers-2.6.27.9 - The Linux kernel headers
	module-init-tools-3.5 - Tools for managing kernel modules
juan@sasha:~/xbps/utils$

--HG--
extra : convert_revision : a589c4c641d033e6030f121704a55c1c94c22f0e
2008-12-21 05:32:13 +01:00
Juan RP
716d9b9e7c xbps-{bin,pkgdb}: use strcasecmp() to parse argv.
--HG--
extra : convert_revision : deb4624c3f6d031925f3fcea0461d68d37703f89
2008-12-21 03:45:39 +01:00
Juan RP
e3a5509442 xbps-bin: handle a case where sanitize_localpath() failed.
--HG--
extra : convert_revision : f762239729644494ea9305079d0386b807ecedfc
2008-12-21 03:24:52 +01:00
Juan RP
2b70f95033 xbps-bin: improve an error message.
--HG--
extra : convert_revision : 320c701425920003c1eaf498515c32f5d46c57aa
2008-12-21 02:20:21 +01:00
Juan RP
5722c8aca1 Replace some if conditionals with asserts where appropiate.
--HG--
extra : convert_revision : 991989e77b31d84f9aab2e27a5366c18a78407ae
2008-12-21 01:50:19 +01:00
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
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
e992ee5c83 Introduce xbps_callback_array_iter_in_dict().
--HG--
extra : convert_revision : e0696de04df785d99ae1748a2d972a74e04c774f
2008-12-20 00:55:48 +01:00
Juan RP
edc4a572bb xbps-bin: simplify previous.
--HG--
extra : convert_revision : 30d4433b86c4a60fe56a98cb011f3534273818b3
2008-12-19 23:36:30 +01:00
Juan RP
db0484ae6e xbps-bin: add new action "repo-list".
--HG--
extra : convert_revision : e0d5fce9503c6544e8ceec56864560b170c0e8c8
2008-12-19 23:10:24 +01:00
Juan RP
6a16f41237 Add WIP xbps-bin utility to handle binpkgs/repos.
--HG--
extra : convert_revision : 8bfa759a11b09cfe1ebc45f9357e6e942552ed32
2008-12-19 10:31:53 +01:00