Commit Graph

147 Commits

Author SHA1 Message Date
Fabio Erculiani
82cdf227e2 [equo] when using "equo search --quiet" only print package keys (use --verbose for full atoms) 2011-08-13 15:29:59 +02:00
Fabio Erculiani
fb4eb3eb0a [client] print_package_info: add keyword arg "quiet" 2011-08-13 15:29:30 +02:00
Fabio Erculiani
f064788df9 [equo] text_query: improve list_packages() output 2011-08-04 11:43:11 +02:00
Fabio Erculiani
ae2ae9720c [equo] text_query.search_repository_packages: improve speed 2011-08-04 11:42:03 +02:00
Fabio Erculiani
32f4bf82f0 [equo] search_repository_packages: print something when no results are found 2011-07-26 08:58:14 +02:00
Fabio Erculiani
f2597a0834 [equo] text_query: make possible to provide a list of repository identifiers to graph_packages() 2011-07-17 21:55:04 +02:00
Fabio Erculiani
3740fb1231 [equo] text_query: make possible to provide a list of repository identifiers to revgraph_packages() 2011-07-17 21:52:51 +02:00
Fabio Erculiani
cfa7476f9d [equo] add "--by-user" support to "equo query list installed" to list packages installed by user 2011-06-25 20:01:34 +02:00
Fabio Erculiani
bf4dc1cd37 [entropy.graph] implement Graph.destroy() to free circular references (was causing interesting memleak) 2011-02-11 19:06:22 +01:00
Fabio Erculiani
f9226e6e3d [entropy] some python3.x fixes 2011-02-10 15:44:14 +01:00
Fabio Erculiani
7738f688a6 [entropy.db] introduce EntropyRepositoryBase.repository_id() 2011-02-10 11:42:19 +01:00
Fabio Erculiani
4a3d6b0792 [equo] complete text_query refactoring, API for text apps there should be almost stable 2011-02-10 11:34:47 +01:00
Fabio Erculiani
155accecba [equo] more refactoring work on text_query 2011-02-10 09:08:09 +01:00
Fabio Erculiani
ce2842258a [equo] first chunk of cleansing inside text_query module 2011-02-10 00:41:51 +01:00
Fabio Erculiani
4f563dd9c3 [entropy.db] rename EntropyRepositoryBase "reponame" attribute to "name", keeping backward compat. 2011-01-17 00:55:24 +01:00
Fabio Erculiani
07db7a904f [equo] query: make print_package_info more fault tolerant towards corrupted repository entries 2010-12-02 08:04:20 +01:00
Fabio Erculiani
f76ce71d83 [entropy.db] implement conditional dependencies support, break API on EntropyRepositoryBase 2010-11-23 21:13:41 +01:00
Fabio Erculiani
ec94cceacd [entropy.tools] start moving Entropy dependency handling functions to entropy.dep module 2010-09-14 09:49:34 +02:00
Fabio Erculiani
29ba1a71e6 [equo] fix _my_formatted_print(), make it work with frozenset and tuple objects 2010-09-09 07:45:48 +02:00
Fabio Erculiani
1198a24290 [entropy.*] remove "eclasses" metadata support
"eclasses" package metadata is not in use in Entropy and is too
tight with Portage. Dropping.
2010-09-04 15:26:16 +02:00
Fabio Erculiani
0fd5df5890 [equo] text_query.search_eclass: improve function reliability 2010-08-18 09:01:59 +02:00
Fabio Erculiani
0f7b648a5a [entropy.db] improve robustness of EntropyRepository code 2010-07-20 23:52:02 +02:00
Fabio Erculiani
d26b8f67db [equo] fix undefined reference in text_query.search_required_libraries() 2010-07-17 07:43:56 +02:00
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