Commit Graph

163 Commits

Author SHA1 Message Date
Fabio Erculiani
b5a0edbab6 [equo] "equo query orphans": rework encoding usage, now use "raw_unicode_escape"
This because retrieveContent() returns files encoded using
"raw_unicode_escape". In this way, we can use simple set intersection
afterwards.
2012-05-28 15:42:01 +02:00
Fabio Erculiani
0de9f11990 [equo] "equo query orphans": correctly print unicode strings 2012-05-28 15:14:28 +02:00
Fabio Erculiani
b91fcfdbac [equo] fix again "equo query orphans", make sure xdir is unicode instead 2012-05-28 15:04:29 +02:00
Fabio Erculiani
12f550037d [equo] "equo query orphans": avoid UnicodeDecodeError in os.walk() 2012-05-20 13:35:48 +02:00
Fabio Erculiani
361302c48e [equo] add "equo query list installed <repository>" as per bug 3324 2012-05-14 14:49:35 +02:00
Fabio Erculiani
d02d4e9356 [equo] use blocking mode when acquiring the shared lock
This avoids tainting stdout with "please wait" messages
2012-02-15 20:07:33 +01:00
Fabio Erculiani
91dd06b168 [equo] implement shared Entropy Resources locking where required 2012-02-15 19:36:29 +01:00
Fabio Erculiani
affcf20425 [entropy.i18n] rename P_() into ngettext().
intltool-update doesn't understand ngettext function exposed as
P_().
2012-02-13 14:14:45 +01:00
Sławomir Nizio
a8420b5ad5 [i18n] use ngettext in some places where it's most useful 2012-02-12 15:47:58 +01:00
Fabio Erculiani
7b7ff9c82e [equo] if equo match finds nothing, return exit status 1 2011-11-03 14:25:13 +01:00
Fabio Erculiani
9a012ce2cd [entropy.const] drop another global variable, etpConst['repositoriesconf'] 2011-10-26 17:28:31 +02:00
Fabio Erculiani
d9ebffa786 [text_query] move graph, revgraph drawing functions to entropy.cli 2011-10-18 22:24:33 +02:00
Fabio Erculiani
57a25ff512 [entropy.cli] move print_package_info to entropy.cli module 2011-10-18 17:26:45 +02:00
Fabio Erculiani
fc4452ff0a [entropy] move text_tools module from client/ to entropy package (entropy.cli) 2011-10-18 17:09:48 +02:00
Fabio Erculiani
7ee8f75552 [eit.commands.{graph,revgraph}] drop etpUi usage from eit code 2011-10-18 06:29:27 +02:00
Fabio Erculiani
21ec99b70d [equo] fix trivial output issue 2011-09-11 09:57:03 +02:00
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