Fabio Erculiani
3fc976718a
[entropy.cache] EntropyCacher: deal with EntropyCacher shutdown
2010-01-31 13:14:38 +01:00
Fabio Erculiani
ae3a2432d3
[entropy.cache] EntropyCacher: do not crash when pid is already gone
2010-01-12 21:07:41 +01:00
Fabio Erculiani
a7cde7b08a
[entropy.cache] EntropyCacher: grow cache sync object chunk size by 3x
2010-01-09 18:15:38 +01:00
Fabio Erculiani
80545362a8
[entropy.cache] EntropyCacher: sync() method will run synchronously
2010-01-09 01:05:56 +01:00
Fabio Erculiani
5cb088e8c9
[entropy.cache] introduce new class, MtimePingus :-)
2010-01-06 20:55:03 +01:00
Fabio Erculiani
da5fe28b71
[entropy.cache] EntropyCacher: reset excepthook when running inside child process
2010-01-06 10:39:51 +01:00
Fabio Erculiani
372a906982
[entropy.cache] disable some debugging output for now
2010-01-05 22:20:28 +01:00
Fabio Erculiani
9350594954
[entropy.cache] EntropyCacher: avoid threading issues when dealing with the list of current child processes
2010-01-05 16:52:59 +01:00
Fabio Erculiani
ee458d5de5
[entropy.cache] EntropyCacher now uses multi-processing (on modern CPUs, performances skyrocket)
2010-01-05 14:53:57 +01:00
Fabio Erculiani
ab7ab22029
[entropy.cache] add --debug support to EntropyCacher
2010-01-05 12:46:20 +01:00
Fabio Erculiani
be13e5eee4
[entropy.cache] remove debugging output
2010-01-05 12:41:44 +01:00
Fabio Erculiani
b284a39b04
[entropy.cache] improve EntropyCacher, make it working over multiple processes, do not use thread locks, change API
2010-01-05 12:39:46 +01:00
Fabio Erculiani
5b45d6cf65
[entropy.cache] add new static method "clear_cache"
2010-01-03 12:50:50 +01:00
Fabio Erculiani
ec2293f240
[entropy.const] move etpConst['cache_ids'] to EntropyCacher
2010-01-02 23:51:27 +01:00
Fabio Erculiani
4c3d9fef60
[entropy.cache] EntropyCacher: make possible to specify an alternative cache directory
2010-01-02 17:10:15 +01:00
Fabio Erculiani
8f45d18dcf
[entropy.cache] do not use etpConst directly but rather use entropy.dump values
2010-01-02 16:25:38 +01:00
Fabio Erculiani
6e65a7a88e
[entropy*] move cache functions to EntropyCacher, remove spaghetti code around
2010-01-02 15:36:27 +01:00
Fabio Erculiani
7f0af8d874
[entropy.cache] code style update
2009-12-29 19:35:05 +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
7a967cd873
[entropy.cache] handle TypeError exceptions when copy.deepcopy() raises it
2009-10-27 21:28:08 +01:00
Fabio Erculiani
33c005e668
[entropy] fix common idioms
2009-10-05 14:08:34 +02:00
Fabio Erculiani
85e92ea500
[entropy] start to port to >=Python2.6/3, remove with statement import
2009-09-30 19:35:08 +02:00
Fabio Erculiani
6bd17f04de
[entropy.cache] make sure to filter out interpreter shutdown issues on EntropyCacher
2009-07-07 08:01:20 +02:00
Fabio Erculiani
312d83eea5
[entropy.cache/entropy.client.interfaces.dep/entropy.qa] Lifo now raises ValueError when empty
2009-07-05 19:14:22 +02:00
Fabio Erculiani
8f867309b7
[entropy.cache/entropy.const/entropy.core] trivial docstrings update
2009-06-17 14:06:28 +02:00
Fabio Erculiani
41143f873c
update documentation, complete entropy.const and fix entropy.cache
2009-06-06 13:08:01 +02:00
Fabio Erculiani
c35e34043c
complete docstrings for entropy.cache
2009-06-06 09:12:25 +02:00
Fabio Erculiani
5e88ceb760
fix stop method of EntropyCacher to not make use of the watchdog timer
2009-06-05 19:37:07 +02:00
Fabio Erculiani
52362f8d64
fix apidocs for epydoc
2009-06-01 10:10:29 +02:00
Fabio Erculiani
8c9d574765
enforce EntropyCacher discard method
2009-05-29 17:06:37 +02:00
Fabio Erculiani
636781b4d5
add discard method to EntropyCacher
2009-05-29 17:04:51 +02:00
Fabio Erculiani
351cb904a8
entropy.cache: EntropyCacher improvements
...
this is an optimized version of EntropyCacher.
2009-04-17 22:26:33 +02:00
lxnay
e2a6451c29
Entropy/Cache:
...
- add docstrings
- code style updates
- pylint test passed
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3194 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 10:03:45 +00:00
lxnay
7b0deacfb2
Entropy/Cache:
...
- add is_started method to EntropyCacher class
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3159 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:33:14 +00:00
lxnay
8165dafa9a
Entropy:
...
- move all the code inside the entropy package
- add compat modules outside
Entropy/Transceivers/FtpInterface:
- fix is_file_available to work on more systems
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3146 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:10:08 +00:00
lxnay
2f70ebdd21
Entropy/TODO:
...
- update TODO
Entropy/Core/Cache:
- EntropyCacher, fix stop(), non-working hasattr calls due to private class attributes
Entropy/Core:
- Singleton, delete object reference if instance has been destroyed
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3139 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 18:49:12 +00:00
lxnay
715421089b
Entropy/MELTDOWN :-):
...
- entropy modules is now a python package, kept backward compatibility for now
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00