Commit Graph

127 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
a17aa4830f [entropy.tools] add is_valid_package_tag function 2010-03-30 14:27:53 +02:00
Fabio Erculiani
21faf38121 [entropy.db/entropy.spm] complete per-package mimetype support
Per package file association info are now stored inside the
repository database. This allows for instance, to query a
mimetype and get a list of applications able to handle it, or
to get a list of mimetypes a package is aware of.
2010-03-29 18:16:01 +02:00
Fabio Erculiani
9b25177b22 [tests] db: fix EntropyCacher status handling 2010-03-28 22:51:58 +02:00
Fabio Erculiani
c59edaffe0 [entropy.client.interfaces.methods] complete module refactoring 2010-03-23 20:46:38 +01:00
Fabio Erculiani
0fafa52dbc [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-14 15:54:41 +01:00
Fabio Erculiani
38c8f33f61 [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-13 22:19:44 +01:00
Fabio Erculiani
e6b841b02f [tests] update the way test scripts are executed when directly called 2010-03-07 22:15:50 +01:00
Fabio Erculiani
61ebb4013d [tests] security: open Entropy Client with noclientdb=True 2010-02-13 19:58:15 +01:00
Fabio Erculiani
a75c1a19b6 [tests] improve client module tests speed 2010-02-13 19:23:37 +01:00
Fabio Erculiani
d676b73f9e [tests] improve db module tests speed 2010-02-13 19:23:17 +01:00
Fabio Erculiani
23962962e5 [tests] fix wrong mkstemp() call in db.py test 2010-02-13 12:59:19 +01:00
Fabio Erculiani
9da7ad8cdd [tests] db: use mkstemp instead of trying to write to $PWD 2010-02-11 18:30:04 +01:00
Fabio Erculiani
365ee420e7 [tests] improve test_security_set_advisories_cache() test 2010-02-11 16:04:53 +01:00
Fabio Erculiani
b189f219a2 [tests] fix QA test 2010-02-11 14:59:36 +01:00
Fabio Erculiani
c5dd3a7a49 [entropy.db] remove more evidences of old branch management code 2010-02-05 14:20:12 +01:00
Fabio Erculiani
004d1055b2 [entropy.db] EntropyRepository: rename retrieveVersionTag to retrieveTag 2010-02-04 20:24:49 +01:00
Fabio Erculiani
62a5fb9a06 [tests] improve entropy.system ut: test_security_fetch_advisories 2010-02-04 18:12:05 +01:00
Fabio Erculiani
93b052d096 [tests] kill running threads before quitting 2010-02-04 17:45:23 +01:00
Fabio Erculiani
d7f9783ba6 [entropy.client/entropy.server] ditch any reference to sqlite ":memory:" connections, break API 2010-02-02 07:22:47 +01:00
Fabio Erculiani
91e49c96b6 [entropy.db] API change, methods names polishing 2010-02-01 14:50:12 +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
2fc1c3db17 [tests] fix test_db_insert_compare_match_tag test 2010-01-29 14:30:16 +01:00
Fabio Erculiani
b58be877a4 [tests] add tagged packages match test 2010-01-28 13:13:00 +01:00
Fabio Erculiani
5e04299ec8 [entropy.tools] more module API cleanup 2010-01-21 20:52:19 +01:00
Fabio Erculiani
02837597c6 [entropy.tools] more module API rework work done 2010-01-20 12:55:04 +01:00
Fabio Erculiani
18e91eeee1 [entropy.tools] another set of changes to entropy.tools module 2010-01-18 17:42:41 +01:00
Fabio Erculiani
707ee6008f [entropy.tools] some more module cleanup work 2010-01-18 17:24:07 +01:00
Fabio Erculiani
9b5aa1a2c5 [entropy.tools] more entropy.tools module cleanup work 2010-01-15 20:08:08 +01:00
Fabio Erculiani
ebdc53afd8 [tests] disable test_timesched, causes random lockups 2010-01-13 17:44:23 +01:00
Fabio Erculiani
eb84b60da4 [tests] remove bogus test (unreliable) 2010-01-11 17:04:05 +01:00
Fabio Erculiani
a2d6e75ad5 [tests] add EntropyRepository cache storage tests 2010-01-09 01:06:59 +01:00
Fabio Erculiani
ca32c9cbaa [tests] update txc standalone test 2010-01-04 14:09: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
7902b594aa [entropy.security] Repository: initial implementation of repository keys expiration support 2009-12-31 19:17:20 +01:00
Fabio Erculiani
94ce9ca30b [entropy.security] Repository: change API of verify_file, also return error message 2009-12-30 16:07:28 +01:00
Fabio Erculiani
eb6733d4a6 [unittest] security: use new keystore_dir argument 2009-12-28 17:21:30 +01:00
Fabio Erculiani
7999810be6 [unittest] fix client test using text_smart 2009-12-28 07:55:22 +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
65b3497981 [unittest] add security UT module 2009-12-18 22:00:37 +01:00
Fabio Erculiani
8244e414dd [unittest] add a new test to the suite, this will test PROVIDE metadata 2009-12-11 22:13:22 +01:00
Fabio Erculiani
34e7656e19 [tests] add entropy.graph.Graph test script 2009-12-07 23:52:55 +01:00
Fabio Erculiani
a89b13a49c [unittest] fix test_timesched 2009-11-30 10:51:09 +01:00
Fabio Erculiani
d26f1955dc [entropy.transceivers/entropy.fetchers] split entropy.transceivers (add entropy.fetchers), make EntropyTransceiver URI handlers use EntropyPluginFactory (thus add pluggable URI handlers support) 2009-11-26 20:11:45 +01:00
Fabio Erculiani
94867af2fe [entropy.server] remove etpConst['officialserverrepositoryid'] and handlers support (there is ssh URI support now) 2009-11-21 13:41:38 +01:00
Fabio Erculiani
998c7fd44e [unittest] fix test_ftp_urihandler path 2009-11-16 23:20:23 +01:00
Fabio Erculiani
4f80650685 [entropy.transceivers] migrate code to EntropyTransceiver infrastructure, w00t! 2009-11-15 23:46:49 +01:00
Fabio Erculiani
38d0f0fc4d [entropy.transceivers] more API work on EntropyTransceiver and EntropyUriHandler classes and subclasses 2009-11-15 16:36:50 +01:00
Fabio Erculiani
3b074c2daa [unittest] add entropy.core unittest module 2009-11-12 18:40:46 +01:00