Commit Graph

124 Commits

Author SHA1 Message Date
Fabio Erculiani 76038453b1 [entropy.db] update searchNeeded requirements, "*" wildcard support is mandatory 2010-06-09 17:49:16 +02:00
Fabio Erculiani a1a8e09875 [equo/reagent] sort any query/search result 2010-06-08 13:08:09 +02:00
Fabio Erculiani e1e76d5b28 [entropy.db] first chunk of major entropy.db code updates, create abstract class, move logic there, update API 2010-06-07 17:56:05 +02:00
Fabio Erculiani bdcd37772d [equo] add new tool "equo query associate"
Given a file path (or multiple file paths) search applications able
to read mimetype belonging to it
2010-05-18 20:10:02 +02:00
Fabio Erculiani 216904c8c7 [entropy.client] fix reverse dependencies calculation in case of system packages 2010-05-03 18:26:51 +02:00
Fabio Erculiani c9790ce36a [entropy.client/equo] add "equo query mimetype" support
User can now search for packages providing a specific mimetype,
which means, telling the user what application can be used to
open his/her files.
Add two now entropy.client.interfaces.Client methods:
  - list search_installed_mimetype(string mimetype)
  - list search_available_mimetype(string mimetype)
2010-05-02 23:49:44 +02:00
Fabio Erculiani b7ad933a56 [equo] text_query: remove every \t evidence 2010-04-29 16:14:30 +02:00
Fabio Erculiani 0d4131645e [equo] cleanup text_query.print_package_info() 2010-04-28 18:53:13 +02:00
Fabio Erculiani 9e66587102 [equo] make print_package_info output localization independent 2010-04-26 23:14:19 +02:00
Fabio Erculiani 09a8b07b1b [equo] fix "equo match --installed" when used with "--multimatch" 2010-04-16 12:50:47 +02:00
Fabio Erculiani 87f1531876 [equo] add support for "equo match --installed" 2010-04-16 12:08:51 +02:00
Fabio Erculiani 37fb97de01 [entropy*] kill SystemSettings attribute of Entropy Client and Entropy Server instances 2010-04-14 14:56:17 +02:00
Fabio Erculiani 38c8f33f61 [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-13 22:19:44 +01:00
Fabio Erculiani bb9c02a7c8 [equo] fix "equo query revisions" information output (set clientSearch=True) 2010-03-05 15:25:35 +01:00
Fabio Erculiani f510cca108 [entropy.client.interfaces.dep] complete module refactoring 2010-03-03 15:26:52 +01:00
Fabio Erculiani d31273ffd8 [entropy.client] move Entropy Package Sets interface to separate class, update API 2010-02-05 11:50:51 +01:00
Fabio Erculiani 004d1055b2 [entropy.db] EntropyRepository: rename retrieveVersionTag to retrieveTag 2010-02-04 20:24:49 +01:00
Fabio Erculiani c001b35a2e [entropy.client] make possible to generate reverse dependencies for available packages, add recursive argument 2010-02-02 17:55:41 +01:00
Fabio Erculiani f34cb0136c [entropy.db] uniform EntropyRepository.search* API 2010-02-01 17:36:18 +01:00
Fabio Erculiani 5b6a67f5b1 [entropy.db] remove EntropyRepository.searchSlottedPackages(), uniform search methods, add searchSlotted() 2010-02-01 17:23:04 +01:00
Fabio Erculiani 547e3edef1 [entropy.db] drop searchLicenses(), uniform to other search methods, add searchLicense() 2010-02-01 17:19:56 +01:00
Fabio Erculiani f987640d5a [entropy.client] remove Client.validRepositories, provide Client.repositories() 2010-01-30 18:49:39 +01:00
Fabio Erculiani 06df34f41d [entropy.client] drop .clientDbconn in favour of installed_repository() 2010-01-30 18:37:39 +01:00
Fabio Erculiani f5b016a146 [entropy.db] make EntropyRepository process-safe and thread-safe at the same time
This is kinda experimental but it seems to work just fine and, at the moment
there are no multithreaded accesses to EntropyRepository.
This patch makes write mutex in EntropyRepository useless because EntropyRepository
will automatically allocate new connections and cursors for every new
thread/pid coming in, avoiding to leak open files around.
SQLite3 is thread-safe when using one connection per thread, so... here it is!
2010-01-29 23:39:42 +01:00
Fabio Erculiani 200a9e6efb [entropy] make use of entropy.db.exceptions classes 2010-01-29 20:46:17 +01:00
Fabio Erculiani df211456ec [equo] fix "equo query revisions", only search installed packages repo 2010-01-28 20:10:28 +01:00
Fabio Erculiani 477dd941e6 [equo] text_query: remove dead code 2010-01-28 20:00:03 +01:00
Fabio Erculiani 5630947ae0 [equo] add "equo query revisions" tool 2010-01-28 09:41:31 +01:00
Fabio Erculiani 09a51bedcd [equo] text_query: improve search_package function usability 2010-01-12 15:51:13 +01:00
Fabio Erculiani d5df42f981 [equo] fix short options support (for eg, "-qt" is not supported) 2010-01-08 16:44:54 +01:00
Fabio Erculiani 1aedb9fafb [entropy*] several code cleanup, tweakings and small API changes/polishing 2009-12-22 17:02:50 +01:00
Fabio Erculiani 7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani e1f7730d40 [equo] fix output text 2009-12-21 13:43:36 +01:00
Fabio Erculiani 32230aee42 [entropy] add support for build dependencies, entropy will now store them in repos (future task: make possible to install build deps too) 2009-12-20 22:32:28 +01:00
Fabio Erculiani 4c1fdc23b0 [entropy.*] rename generate_depends_tree, cleanup etpConst['dependency_type_ids'], fix code around 2009-12-16 21:27:10 +01:00
Fabio Erculiani af7357c6f6 [equo] fix graphing abilities (equo query graph, and equo query revgraph) and ease print_package_info output 2009-12-16 20:50:44 +01:00
Fabio Erculiani 0213735419 [equo] text_query: search_installed_package should print packages data sorted alphabetically 2009-12-15 16:11:47 +01:00
Fabio Erculiani 26001576e9 [equo] text_query: fix pkg_data dict handling in get_installed_packages 2009-12-15 16:08:52 +01:00
Fabio Erculiani d6bb675608 [entropy.*] several database size and performance improvements
:: implement developer-repo mode (aimed to developers who want to
   test stuff and can download the whole packages repository db).
   This results in 100% download size reduction for 99% of other users.
:: new "light" database versions now ship without packagechangelogs
   table content to improve speed, download time and size.
:: cleanup entropy.client.interfaces.repository code and add support
   for developer-repo feature
:: add warnings for users running "equo query changelog" without
   developer-repo mode enabled
2009-12-14 21:33:30 +01:00
Fabio Erculiani c674f0478a [equo] fix "equo query orphans", make it work with new db schema 2009-12-13 10:02:02 +01:00
Fabio Erculiani b5fb22d2f7 [equo] add "equo query graph" and "equo query revgraph" commands (see --help) 2009-12-12 17:00:22 +01:00
Fabio Erculiani bfd2e4499d [equo] query: code cleanup and polishing 2009-12-12 10:52:06 +01:00
Fabio Erculiani b6796b72cf [entropy.client.interfaces.dep] use Graph for inverse dependencies generation 2009-12-08 22:48:38 +01:00
Fabio Erculiani 36f4cc73a5 [equo] fix unicode strings used as arguments for install, search, match, remove, query 2009-11-25 17:13:26 +01:00
Fabio Erculiani 08f3ed297d [equo] if no matches are found for given "equo search" arguments, look inside client db 2009-11-09 19:03:11 +01:00
Fabio Erculiani 7a1e779977 [equo] retrieveSize now returns int 2009-10-05 14:23:01 +02:00
Fabio Erculiani 971d511295 [equo] bytes_into_human wants int type 2009-10-05 14:20:12 +02:00
Fabio Erculiani 33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani 116f43fe0c [equo] also import const_convert_to_rawstring 2009-10-04 18:35:55 +02:00