Commit Graph

7277 Commits

Author SHA1 Message Date
Fabio Erculiani 460feed400 Release Entropy 1.0_alpha27 2011-03-05 13:19:04 +01:00
Fabio Erculiani 80d794ef9d [sulfur] acquire entropy write lock when loading in ANY case, avoid race condition with in-RAM data structures 2011-03-05 13:09:30 +01:00
Fabio Erculiani fb1e3d253c [entropy.client.interfaces.methods] handle possible race conditions in get_package_action() 2011-03-05 13:04:07 +01:00
Fabio Erculiani 58324c99eb [entropy.tools] move acquire_entropy_locks, release_entropy_locks from text_tools to entropy.tools 2011-03-05 12:58:00 +01:00
Fabio Erculiani 809f3f46fa Revert "[entropy.db] enforce inter-process concurrency, use SQLite3 db files with EXCLUSIVE locking mode."
This reverts commit 4b689cc619.
2011-03-05 12:38:38 +01:00
Fabio Erculiani 7d49974fcf Revert "[entropy.db] EntropyRepository: reduce lock acquisition timeout to 10 seconds"
This reverts commit 668f64a4ee.
2011-03-05 12:38:37 +01:00
Fabio Erculiani aba51202ff Revert "[entropy.exceptions] introduce RepositoryLocked exception, raised (and never caught) if EntropyRepository repository data structures are exclusively locked"
This reverts commit c3d5bbef4d.
2011-03-05 12:38:35 +01:00
Fabio Erculiani a89d9b3a09 Revert "[entropy.db] raise RepositoryLocked if repository is locked, on validate()"
This reverts commit f4648760ba.
2011-03-05 12:38:30 +01:00
Fabio Erculiani f4648760ba [entropy.db] raise RepositoryLocked if repository is locked, on validate() 2011-03-05 12:25:48 +01:00
Fabio Erculiani c3d5bbef4d [entropy.exceptions] introduce RepositoryLocked exception, raised (and never caught) if EntropyRepository repository data structures are exclusively locked 2011-03-05 12:15:16 +01:00
Fabio Erculiani cbbd8392ec [sulfur] drop ETP_NO_PID_HANDLING once entropy.const has been consumed 2011-03-05 11:50:09 +01:00
Fabio Erculiani 668f64a4ee [entropy.db] EntropyRepository: reduce lock acquisition timeout to 10 seconds 2011-03-05 11:47:07 +01:00
Fabio Erculiani 4b689cc619 [entropy.db] enforce inter-process concurrency, use SQLite3 db files with EXCLUSIVE locking mode. 2011-03-05 11:45:37 +01:00
Fabio Erculiani 36be4419a3 [sulfur] prefer ETP_NO_PID_HANDLING to --no-pid-handling to avoid having argv propagated to child process 2011-03-05 11:28:19 +01:00
Fabio Erculiani 828879dd9b [entropy.const] add support to ETP_NO_PID_HANDLING (which is the same of --no-pid-handling argv) 2011-03-05 11:27:48 +01:00
Fabio Erculiani ae32d736fc [entropy.server] make use of CachedRepository too, required in order to be 100% compliant with Entropy Client methods 2011-03-05 00:22:04 +01:00
Fabio Erculiani 96d8deb0d2 [entropy.client] avoid calling close() on cached repositories and make the cache explode, improve constraints on repository objects 2011-03-05 00:04:59 +01:00
Fabio Erculiani cdb8ee7e8b [sulfur] fix imports, do not use dep_getkey from entropy.tools 2011-03-05 00:03:45 +01:00
Fabio Erculiani 53d58728c7 [entropy.tools] drop deprecated functions that have been moved to entropy.dep several months ago 2011-03-04 22:16:09 +01:00
Fabio Erculiani dd6946a9bf [todo] update TODO 2011-03-04 21:18:05 +01:00
Fabio Erculiani 53a871ef0d [entropy.db] EntropyRepository, EntropyRepositoryBase: only return package_id from addPackage() and handlePackage() 2011-03-04 21:14:12 +01:00
Fabio Erculiani a416806047 [entropy.spm] ensure that 'needed' metadatum is always tuple 2011-03-04 21:12:22 +01:00
Fabio Erculiani 96d3513d9d [sulfur] improve speed of package file install 2011-03-04 18:38:34 +01:00
Fabio Erculiani 78851c478e [entropy.client] optimize Client.add_repository() and Client.remove_repository() 2011-03-04 18:37:25 +01:00
Fabio Erculiani e1da60c5f9 [sulfur] add several performance improvements, boot takes 3 seconds less average 2011-03-04 14:11:36 +01:00
Fabio Erculiani 12351fd33e [entropy.client.interfaces.dep] introduce calculate_masked_packages(), fixup calculate_available_packages() code 2011-03-04 13:13:50 +01:00
Fabio Erculiani 4755f8210a [po] update translations 2011-03-04 00:38:40 +01:00
Fabio Erculiani 8cb140e02c [todo] update TODO 2011-03-04 00:38:24 +01:00
Fabio Erculiani 038b601df4 [todo] update TODO 2011-03-04 00:36:14 +01:00
Fabio Erculiani 3664a79bca [sulfur] set default height to 600px 2011-03-04 00:36:04 +01:00
Fabio Erculiani 94bcf8000d [sulfur] cache package theme icon too, this avoids resize glitches 2011-03-04 00:29:25 +01:00
Fabio Erculiani 82c9859f65 [sulfur] EntropyPackage: fix __str__ function 2011-03-04 00:29:04 +01:00
Fabio Erculiani 521dcb9eba [todo] update TODO 2011-03-04 00:09:53 +01:00
Fabio Erculiani 5f0ba31657 [todo] update TODO 2011-03-04 00:34:51 +01:00
Fabio Erculiani d844f493dc [sulfur] remove security package updates highlighting, takes a lot to compute 2011-03-04 00:33:49 +01:00
Fabio Erculiani 5149e88027 [entropy.client] improve cache hash generation, general cache handling and updates calculation
This commit avoids package file repositories to be pulled in as
updates. These kind of repositories can't be used outside single or
multiple package installations (which metadata is provided by package
files).
2011-03-04 00:29:57 +01:00
Fabio Erculiani e5800553bd [entropy.db] EntropyRepositoryBase: add mtime() method (and implement it) 2011-03-04 00:29:01 +01:00
Fabio Erculiani 6cc360457c [entropy.server.interfaces.mirrors] when tidying mirrors, also remove .asc files 2011-03-03 17:50:34 +01:00
Fabio Erculiani af7750801b Tagging Entropy version 1.0_alpha26 1.0_alpha26 2011-03-03 09:14:08 +01:00
Fabio Erculiani d11ef3e70b Release Entropy 1.0_alpha26 2011-03-03 09:13:56 +01:00
Fabio Erculiani 2d4d67626b [sulfur] do not show orphaned packages dialog if no repositories are available 2011-03-03 09:13:35 +01:00
Fabio Erculiani 4a241f46c6 [services] repository-webinstall-generator: fix typo 2011-03-03 09:00:44 +01:00
Fabio Erculiani b5416d0a90 [services] repository-webinstall-generator: make possible to regenerate all the .etp package files through --regen 2011-03-03 08:55:30 +01:00
Fabio Erculiani a1229a2eb5 [services] repository-webinstall-generator: properly set .etp file repository architecture 2011-03-03 08:47:13 +01:00
Fabio Erculiani 7662b232d9 Tagging Entropy version 1.0_alpha25 1.0_alpha25 2011-03-02 22:54:40 +01:00
Fabio Erculiani e36896a5ad Release Entropy 1.0_alpha25 2011-03-02 22:54:29 +01:00
Fabio Erculiani ea7eab8bf6 [sulfur] tweak application startup behaviour 2011-03-02 22:53:07 +01:00
Fabio Erculiani 9dc9d5138f [entropy.client.interfaces.client] fix typo in ClientSystemSettingsPlugin._drop_package_repository 2011-03-02 22:22:25 +01:00
Fabio Erculiani 7c18fc2522 [entropy.client] make package repository metadata representation more robust 2011-03-02 20:37:27 +01:00
Fabio Erculiani 78c74c72c2 [entropy.client] make package repositories (.tbz2 and .etp) able to live across SystemSettings.clear()
The issue was that, if Sulfur asked for unmasking packages,
SystemSettings.clear() was called and package repository lost.
With this patch, package repositories can live across any clear()
call, like it should be.
2011-03-02 20:17:36 +01:00