Commit Graph

163 Commits

Author SHA1 Message Date
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
Fabio Erculiani
f7149b7f9b [equo] port some other snippets to Python 3.x syntax 2009-10-04 18:30:53 +02:00
Fabio Erculiani
4152a88034 [equo] improve code quality in query module 2009-10-03 20:40:41 +02:00
Fabio Erculiani
0272b2abc4 [entropy] more Python 2.6/3.x compat fixes 2009-10-01 18:59:03 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
2fc1a5980f [equo] fix package files header 2009-09-20 14:44:41 +02:00
Fabio Erculiani
50e73203ac [text_query] fix possible unicode issues when inserting data in db on "orphans" module 2009-08-17 14:04:03 +02:00
Fabio Erculiani
89062bf8f3 [entropy.db] complete API docstring and refactoring work 2009-08-15 22:27:41 +02:00
Fabio Erculiani
d1cbb6add5 [entropy.db] entropy.db API break+docstring merge almost complete 2009-08-14 16:37:56 +02:00
Fabio Erculiani
f65a0e3541 [entropy.db] API docstring merge + code review + API changes 2009-08-11 13:33:18 +02:00
Fabio Erculiani
371b3f8041 [client.equo/client.text_query] implement new query command
Implement new equo query command for listing repository packages
$ equo query list available <repository>
2009-06-18 15:42:16 +02:00
Fabio Erculiani
588765795b make "equo query belongs" able to translate given paths using the reverse symlink map 2009-05-27 11:58:10 +02:00