Commit Graph

9444 Commits

Author SHA1 Message Date
Fabio Erculiani 6b95cecfdb [entropy.db] uniform _createCompileFlagsIndex to others (catch OperationalError) 2012-07-26 22:05:05 +02:00
Fabio Erculiani 1de32aba7d [entropy.db] kill >80 columns rows 2012-07-26 22:04:34 +02:00
Fabio Erculiani 90458f80b6 [entropy.client.services,Rigo] add support for the new get_documents() WS API
The new WebService get_documents() is more efficient in terms of
server resources consumption since it doesn't force the WS engine
to calculate the full result set length, which had little use anyway
in Rigo.
This commit switches entropy.client.services' DocumentList to and
reverse dependencies to use the new WS API. The older WS API will be
kept alive for a while (6 months, roughly).
2012-07-25 22:30:38 +02:00
Fabio Erculiani 57535a32da [scripts] update tag-version.sh, provide tag to script 2012-07-23 19:27:56 +02:00
Fabio Erculiani 75e7fd7213 Tagging Entropy version 1.0_rc127 1.0_rc127 2012-07-23 19:23:14 +02:00
Fabio Erculiani 4b5c06177f Release Entropy 1.0_rc127 2012-07-23 19:23:12 +02:00
Fabio Erculiani 254c866702 [Rigo] update translations 2012-07-23 19:22:53 +02:00
Fabio Erculiani fa35eadf47 [entropy.fetchers] do not generate two separate requests per download
It has been discovered that each download() call (urllib handler)
caused the code to generate two separete HTTP requests for the same
URL. This commit hopefully fixes it without causing any regression
2012-07-23 19:20:29 +02:00
Fabio Erculiani 13b5bcd018 [Rigo] serialize MTed download to the same URLs (avoid flooding the WS) 2012-07-23 19:19:49 +02:00
Fabio Erculiani ef64634def [entropy.dump] dumpobj: use temporary files, fixes possible races when MT 2012-07-23 15:47:19 +02:00
Fabio Erculiani f301ae60c7 [entropy.graph] Graph: drop __del__ (just use destroy() instead) to help automatic GC 2012-07-23 13:10:49 +02:00
Fabio Erculiani 61950f3af0 [entropy.client.interfaces.db] sort added list to improve determinism (good for caches) 2012-07-23 13:08:25 +02:00
Fabio Erculiani e8c6af8331 [entropy.misc] LogFile: remove __del__ 2012-07-23 13:08:00 +02:00
Fabio Erculiani defb58574d [entropy.cache] EntropyCacher: remove __del__ 2012-07-23 13:07:51 +02:00
Fabio Erculiani 0dbc40777e [todo] update TODO 2012-07-23 00:30:07 +02:00
Fabio Erculiani db5265e3d5 [entropy.client.package] use retrieveContentIter() 2012-07-23 00:29:27 +02:00
Fabio Erculiani a1c5e2bc12 [entropy.db] introduce retrieveContentIter() 2012-07-23 00:29:11 +02:00
Fabio Erculiani ce4d28ef47 [entropy.client] if xcache=False, force EntropyCacher "stashing cache" to OFF 2012-07-22 19:59:37 +02:00
Fabio Erculiani 9472978e60 [entropy.cache] EntropyCacher: make possible to disable the "stashing cache" at runtime 2012-07-22 19:44:18 +02:00
Fabio Erculiani de52fdb453 [equo] fix undefined reference to installed_repo when --resume is used 2012-07-22 12:50:46 +02:00
Fabio Erculiani 574801e2f9 Tagging Entropy version 1.0_rc126 1.0_rc126 2012-07-20 12:59:21 +02:00
Fabio Erculiani ae94f49e79 Release Entropy 1.0_rc126 2012-07-20 12:59:20 +02:00
Fabio Erculiani dc27444749 [entropy.server] use Server.repositories() 2012-07-19 21:10:26 +02:00
Fabio Erculiani 499aee4feb [entropy.server] automatically cleanup the list of trashed SPM UIDs
This commit tries to safely reduce the amount of entries inside the
Trashed SPM UIDs table. At least, the entries are now kept under
control.
2012-07-19 21:09:10 +02:00
Fabio Erculiani 2f9fafc128 [entropy.db] EntropyRepository: create index for trashedcounters 2012-07-19 21:08:38 +02:00
Fabio Erculiani 3dc413e80f [entropy.server] fix typo in comment 2012-07-19 20:59:48 +02:00
Fabio Erculiani b9b5157817 [entropy.server] resolve_spm_package_uid() already returns int() 2012-07-19 20:49:31 +02:00
Fabio Erculiani c2c0787169 [entropy.spm] PortagePlugin: resolve_spm_package_uid() must return int 2012-07-19 20:48:53 +02:00
Fabio Erculiani 8b5606ea06 [entropy.server] use resolve_spm_package_uid() 2012-07-19 20:27:47 +02:00
Fabio Erculiani 00a3d87b7d [entropy.spm] PortagePlugin: add resolve_spm_package_uid() 2012-07-19 20:27:15 +02:00
Fabio Erculiani 5a0d8cf7f5 [entropy.db] add removeTrashedUids() and listAllTrashedSpmUids() methods 2012-07-19 20:10:52 +02:00
Fabio Erculiani 4d89935ef6 [Rigo] give Icons and Rating worker threads to collect more keys during a batch cycle 2012-07-19 13:27:43 +02:00
Fabio Erculiani 749e3ff29d [entropy.client] do not remove current repository database before download
As reported in bug #3495, do not remove the old repository database
file before validating the download outcome (UrlFetcher download
result)
2012-07-17 11:12:40 +02:00
Fabio Erculiani 60d4de50e7 [entropy.client] change error string
"repository does not exist online" is for some people confusing,
better saying "cannot download the repository".
2012-07-17 10:53:56 +02:00
Fabio Erculiani ece0b58858 [entropy.client] remove orphan function 2012-07-17 10:51:38 +02:00
Fabio Erculiani 4e3b5e6106 Tagging Entropy version 1.0_rc125 1.0_rc125 2012-07-16 10:40:37 +02:00
Fabio Erculiani 60fce6a94b Release Entropy 1.0_rc125 2012-07-16 10:40:35 +02:00
Fabio Erculiani 5189bf51bc [Rigo] update translations 2012-07-16 10:40:15 +02:00
Fabio Erculiani b504f4ce5f [Rigo] update rigo.pot 2012-07-16 10:38:31 +02:00
Fabio Erculiani 0c4d3a2b0a [Rigo] when App is updatable, show "Update" instead of "Remove"
This commit fixes bug #3417
2012-07-15 11:37:08 +02:00
Fabio Erculiani 09b8110790 [Rigo] Add "Black on White" and "White on Black" terminal colors support
This commit fixes bug #3433
2012-07-15 11:17:35 +02:00
Fabio Erculiani f573957172 [Rigo] avoid race with finally block and GC wrt file descriptors
It has been observed that subprocess.call() called by open_url()
might fail due to Error 9 (Bad File Descriptor) due to a race
between the garbage collector thread (run in the MainThread) and
our own subprocess.call() thread. For this reason, make sure to
call open_url() outside the try/finally block. This seems to be
enough.
2012-07-14 18:22:48 +02:00
Fabio Erculiani afd2608153 [Rigo] rewrite NoticeBoard TreeView behaviour
Previously, the Notice object was shown directly inside the
cell renderer, which made things a bit clumsy and buggy.
Now, notices are loaded through xdg-open in html format.
2012-07-14 18:19:59 +02:00
Fabio Erculiani 3912ca0471 [RigoDaemon] _noticeboards_available_signal: convert dbus.String() to Python unicode 2012-07-14 18:19:42 +02:00
Fabio Erculiani 7135ba3a01 [RigoDaemon] make sure to keep the Installed Packages Repository closed
This helps in case of uncommitted transactions that could cause
any sqlite3 db consumer to lock until timeout with "Database is locked".
2012-07-14 16:10:18 +02:00
Fabio Erculiani 0ce6633733 [entropy.client] add public method: close_installed_repository() 2012-07-14 16:05:50 +02:00
Fabio Erculiani 941bfaf1e8 [services] optimize execution time of _expand_cpvs() 2012-07-09 19:32:34 +02:00
Fabio Erculiani 9227b17744 [services] portage-repository-converter: add support to Portage md5 eclass cache 2012-07-09 19:32:10 +02:00
Fabio Erculiani 9b673fad9b [entropy.output] fix is_stdout_a_tty when sys.stdout has no fileno() 2012-07-07 18:15:34 +02:00
Fabio Erculiani bdcc0821fc Tagging Entropy version 1.0_rc124 1.0_rc124 2012-07-07 14:11:59 +02:00