Commit Graph

10578 Commits

Author SHA1 Message Date
Fabio Erculiani fc3dc5181a [Rigo] update translations and config 2013-11-03 15:47:21 +01:00
Fabio Erculiani 819ea31c59 [client] update translations 2013-11-03 15:46:43 +01:00
Fabio Erculiani 30d2a572bb [client] update entropy.pot and config 2013-11-03 15:46:34 +01:00
Fabio Erculiani b71ede2b25 [RigoDaemon] implement support for fetch_abort_function
This makes possible to immediately interrupt the download process
2013-11-03 15:39:43 +01:00
Fabio Erculiani 51e7e03c00 [entropy.client.interfaces.package] call fetch_abort_function early
This makes sure that the interruption will happen almost immediately
2013-11-03 15:39:11 +01:00
Fabio Erculiani c2feb6354d [entropy.fetchers] do not leak a fd if the abort function raises an exception 2013-11-03 15:38:45 +01:00
Fabio Erculiani 1ebbae17fd [Rigo] 1kB is 1000 bytes 2013-11-03 14:49:40 +01:00
Fabio Erculiani acc96f1ada [entropy.transceivers] 1kB is 1000 bytes 2013-11-03 14:49:22 +01:00
Fabio Erculiani 1b120b53ff [entropy.fetchers] 1kB is 1000 bytes 2013-11-03 14:47:36 +01:00
Fabio Erculiani c752b7775a [entropy.tools] 1kB is 1000 bytes 2013-11-03 14:47:10 +01:00
Fabio Erculiani a0f684b8ae [RigoDaemon] fix MultipleUrlFetcher stats computation
Also introduce stale data handling.
2013-11-03 14:41:21 +01:00
Fabio Erculiani 880ec0588a [entropy.fetchers] MultipleUrlFetcher: move stats calculation to separate method
_compute_progress_stats can now be used by subclasses to correctly compute
the aggregated statistics without code duplication
2013-11-03 14:38:50 +01:00
Fabio Erculiani 3fe20f1bd9 [entropy.fetchers] make url_path_list and transfer_data protected 2013-11-03 14:16:09 +01:00
Fabio Erculiani b1642ac2cb [RigoDaemon] *UrlFetcher: move class variables inside instance 2013-11-03 14:11:22 +01:00
Fabio Erculiani 898a200479 [RigoDaemon] always avoid transfer_output() signal floods 2013-11-03 13:59:18 +01:00
Fabio Erculiani 23e18a9dfe [entropy.fetchers] do not calculate any stats until all threads have computed theirs 2013-11-03 13:52:35 +01:00
Fabio Erculiani 0a7251bcbd [entropy.fetchers] remove unused variable update_step 2013-11-03 13:37:47 +01:00
Fabio Erculiani 246863357b [entropy.fetchers] MultipleUrlFetcher: protect __progress_data with a mutex
Stale information may be used to perform progress calculation.
The mutex ensures that stale data is not used to compute it.
2013-11-03 13:27:48 +01:00
Fabio Erculiani a71e59cd66 [Rigo] add --upgrade cmdline switch 2013-11-03 13:17:10 +01:00
Fabio Erculiani 747cfc9ad4 [Rigo] debug_rigo.sh: append argv at the end of exec() 2013-11-03 13:16:56 +01:00
Fabio Erculiani 60febda4f0 [RigoDaemon] add initial One Click Update notification support 2013-11-03 12:57:08 +01:00
Fabio Erculiani d91a8d7c9e [kswitch] fix _guess_kernel_package_file subdirs generation 2013-11-03 12:56:20 +01:00
Fabio Erculiani 91f6c24d9d [kswitch] add new method KernelSwitcher.running_kernel_package()
This public method can be used to determine the currently running
kernel package, if it comes from Entropy repositories.
2013-11-02 14:37:33 +01:00
Fabio Erculiani 5b9a5ee273 [RigoDaemon] extend updates_available() signal with "One Click Update" information 2013-11-02 14:17:33 +01:00
Fabio Erculiani e02c8da563 [RigoDaemon] fix xml indentation 2013-11-02 14:12:22 +01:00
Fabio Erculiani 82ca6450d9 Tagging Entropy version 224 224 2013-10-29 23:31:40 +01:00
Fabio Erculiani 3d2eb09213 Release Entropy 224 2013-10-29 23:31:40 +01:00
Fabio Erculiani fa71378cca [matter] fix typo in variable name 2013-10-28 21:03:45 +01:00
Fabio Erculiani 7680861cbb [matter] fix post_build execution wrt collected statistics 2013-10-28 20:56:45 +01:00
Fabio Erculiani d8a4b741a5 [matter.builder] fix needed_license_changes backtrack info handling 2013-10-28 20:51:03 +01:00
Fabio Erculiani fc56ba5be2 [matter.builder] execute post-build operations iff there has been vdb activity 2013-10-28 16:57:36 +01:00
Fabio Erculiani 964b8ad7cf Tagging Entropy version 223 223 2013-10-28 16:51:52 +01:00
Fabio Erculiani 28cb398069 Release Entropy 223 2013-10-28 16:51:52 +01:00
Fabio Erculiani 1c2b6d0153 [matter] fix function calls wrt dict expansion 2013-10-28 14:48:50 +01:00
Fabio Erculiani f66aee8ef5 Tagging Entropy version 222 222 2013-10-28 12:52:33 +01:00
Fabio Erculiani d7b9cd30b7 Release Entropy 222 2013-10-28 12:52:33 +01:00
Fabio Erculiani eeac4a7782 [matter.builder] use __str__ or __unicode__ instead of copy.deepcopy() when possible 2013-10-28 12:49:15 +01:00
Fabio Erculiani c2c4647c86 [matter.builder] regenerate dbapi.auxdb objects after calling close_caches() 2013-10-28 12:40:09 +01:00
Fabio Erculiani b427d09f67 Tagging Entropy version 221 221 2013-10-28 12:28:05 +01:00
Fabio Erculiani 93bc50c539 Release Entropy 221 2013-10-28 12:28:04 +01:00
Fabio Erculiani 5884c68bcd [matter] use PackageBuilder.clear_caches() 2013-10-28 12:24:46 +01:00
Fabio Erculiani 66db77935d [matter.builder] add PackageBuilder.clear_caches()
This method is now responsible of clearing all the Portage and
Binary PMS caches.
2013-10-28 12:23:58 +01:00
Fabio Erculiani ee4452ff31 [matter.builder] use copy.deepcopy to copy more objects, avoid circular references 2013-10-28 12:23:20 +01:00
Fabio Erculiani 47ea8c70ca [matter.builder] use vardb.match without cache, reduce memory usage 2013-10-28 12:22:30 +01:00
Fabio Erculiani 3ae112caae [matter] use collections.deque instead of lists, improve memory efficiency 2013-10-28 12:20:34 +01:00
Fabio Erculiani 274adb4c3e [matter.builder] acquire a file lock before calling PackageBuilder.sync() 2013-10-27 19:35:39 +01:00
Fabio Erculiani b5dadd905d [matter] add another example particle 2013-10-27 18:35:13 +01:00
Fabio Erculiani 6969da5a3e Tagging Entropy version 220 220 2013-10-27 18:35:00 +01:00
Fabio Erculiani c95955c1ae Release Entropy 220 2013-10-27 18:35:00 +01:00
Fabio Erculiani aa2a6520f4 [matter.builder] expand depstring to match all the available slots
If a particle contains the depstring "www-apps/bugzilla", do not
just match the best available, which would include only the latest
slotted version but rather go through all the slotted versions
available and apply filters from there. The net result is that
we will never leave slotted packages behind.
2013-10-27 18:28:54 +01:00