Commit Graph

2804 Commits

Author SHA1 Message Date
Fabio Erculiani
702791c03d [entropy.client.interfaces.package] improve output when printing collision info 2009-08-18 05:50:51 +02:00
Fabio Erculiani
73cf948d69 [entropy.db] introduce _cur2list function and replace _fetchall2list 2009-08-18 05:41:55 +02:00
Fabio Erculiani
3f4e7d6607 [entropy.db] optimize fetchall2list 2009-08-18 05:39:55 +02:00
Fabio Erculiani
7021e45e58 [entropy.db] migrate _fetchall2set calls to _cur2set 2009-08-18 05:37:51 +02:00
Fabio Erculiani
d7d1464dc2 [entropy.db] make every db write of addPackage run under mutex 2009-08-18 05:34:24 +02:00
Fabio Erculiani
ce1d9c303b [entropy.core] use identity comparison instead of __cmp__ on Singleton instance __new__ 2009-08-18 03:46:34 +02:00
Fabio Erculiani
54ef503149 [entropy.client] append repository critical updates file for download 2009-08-17 15:15:25 +02:00
Fabio Erculiani
56af1807cd [entropy.server] append repository critical updates file for upload/download too (forgotten) 2009-08-17 15:10:19 +02:00
Fabio Erculiani
0c847888b8 [entropy.client.interfaces.loaders] update Spm() function 2009-08-17 15:09:57 +02:00
Fabio Erculiani
acc398d907 [tests] add i18n test 2009-08-16 16:59:25 +02:00
Fabio Erculiani
59357bd92c [entropy.i18n] make change_language overwriting already loaded "_" functions 2009-08-16 16:35:02 +02:00
Fabio Erculiani
4da85079e0 [entropy.i18n] add change_language method to change language on the fly 2009-08-16 16:26:35 +02:00
Fabio Erculiani
26241f8c20 [entropy.i18n] add support for env. variable TEXTDOMAINDIR 2009-08-16 15:49:51 +02:00
Fabio Erculiani
3645d0f460 [entropy.i18n] remove useless gettext calls 2009-08-16 15:39:20 +02:00
Fabio Erculiani
8b6cb66bd0 [entropy.i18n] do not enforce text domain 2009-08-16 15:38:20 +02:00
Fabio Erculiani
53c2571680 [entropy.const] also handle TypeError exceptions in const_handle_exception 2009-08-16 14:57:38 +02:00
Fabio Erculiani
509f8ba015 [entropy.output] fix print_generic, make it working better with files 2009-08-16 14:14:47 +02:00
Fabio Erculiani
89062bf8f3 [entropy.db] complete API docstring and refactoring work 2009-08-15 22:27:41 +02:00
Fabio Erculiani
ec3e35ed54 [entropy.core/entropy.spm] remove unused code 2009-08-15 22:27:16 +02:00
Fabio Erculiani
d2f092ddfe [entropy.services.*] remove unused code 2009-08-15 22:26:47 +02:00
Fabio Erculiani
d1cbb6add5 [entropy.db] entropy.db API break+docstring merge almost complete 2009-08-14 16:37:56 +02:00
Fabio Erculiani
35a439e192 [entropy.client.services.ugc] correctly setup auth. store file permissions 2009-08-14 08:24:19 +02:00
Fabio Erculiani
98541c4438 [entropy*] complete header migration 2009-08-13 15:11:56 +02:00
Fabio Erculiani
c06b708800 [entropy*] introduce new module headers codewide 2009-08-13 14:58:55 +02:00
Fabio Erculiani
d68f3cfd1c [tests.misc] disable debugging output 2009-08-13 13:43:28 +02:00
Fabio Erculiani
5c576a88aa [entropy.spm] workaround weird eutils.eclass check_license() behaviour 2009-08-13 13:42:23 +02:00
Fabio Erculiani
b9d55a17df [entropy.db] fix getNewNegativeSpmUid() when query returns None 2009-08-13 13:11:29 +02:00
Fabio Erculiani
0cea79d0c2 [entropy.spm] do not override file object "f" in _portage_doebuild causing stale files to be left open 2009-08-13 12:58:36 +02:00
Fabio Erculiani
889fbd3c6e [entropy.misc] Lifo: do not deal with buffer if it's None in discard() 2009-08-13 09:16:47 +02:00
Fabio Erculiani
47c400ecc4 [entropy.db] fix various typos occured during code review
:: retrieveLicensedata(): do not strip license name
:: retrieveLicensedataKeys(): generate data correctly
2009-08-12 15:24:13 +02:00
Fabio Erculiani
24181d4bd9 [entropy.db] fix possible issues with stripping license name in retrieveLicensedataKeys 2009-08-12 15:10:52 +02:00
Fabio Erculiani
f65a0e3541 [entropy.db] API docstring merge + code review + API changes 2009-08-11 13:33:18 +02:00
Fabio Erculiani
0f40ce99a8 [entropy.server] remove SpmService instance attribute, create Spm() method 2009-08-11 10:12:13 +02:00
Fabio Erculiani
52ecc48012 [entropy.server.interfaces] remove package tag from atom in _run_packages_spm_sync_quickpkg during atoms collection 2009-08-11 10:01:18 +02:00
Fabio Erculiani
e9bc77bd0e [entropy.services.ugc] trivial code style update 2009-08-11 10:00:43 +02:00
Fabio Erculiani
8ea6e2972b [entropy.db] more API documentation and polishing for reviewed code
:: API breakages and polishing (still under work)
:: imported docstrings for trusted (and stable) methods
2009-08-10 23:55:46 +02:00
Fabio Erculiani
d484822f57 [tests] fix ParallelTask test 2009-08-10 23:55:46 +02:00
Fabio Erculiani
28ef4feb7a [entropy.client.interfaces.repository] various bugfixes
:: when running SPM triggers, catch RepositoryError exceptions
:: improve database file availability prior to removal check
2009-08-08 16:44:25 +02:00
Fabio Erculiani
ea2c7c1d87 [entropy.client.interfaces.methods] code style + api (backward compat) change
:: validate_repositories(): code style update
:: validate_repositories(): add quiet keyword argument
2009-08-08 16:42:57 +02:00
Fabio Erculiani
3124f117b8 [tests] add more standalone tests 2009-08-08 16:09:41 +02:00
Fabio Erculiani
1f2c4d7bc6 [entropy.db] many fixes due to sqlite3 bugs with generators 2009-08-08 15:50:02 +02:00
Fabio Erculiani
385583a03f [entropy.client.interfaces.client] handle RepositoryError to allow clean branch hopping 2009-08-08 15:26:24 +02:00
Fabio Erculiani
293bb928a0 [entropy.db] fix rss status dict 2009-08-08 08:00:24 +02:00
Fabio Erculiani
73ee752d28 [entropy.client.interfaces.package] translate missing strings 2009-08-07 23:38:16 +02:00
Fabio Erculiani
4708b386d3 [entropy.db] dbapi2.executescript does not support two args 2009-08-07 23:37:10 +02:00
Fabio Erculiani
b147aa4f85 [entropy.i18n] fix _ function, revert previous changes 2009-08-07 23:36:50 +02:00
Fabio Erculiani
c7a7f9a96b [entropy.server.interfaces.mirrors] fix unbound local var 2009-08-07 21:46:25 +02:00
Fabio Erculiani
93467e4b34 [entropy.qa] __analyze_package_edb, do not crash when tmp_path is not avail 2009-08-07 21:23:54 +02:00
Fabio Erculiani
26755615c4 [entropy.db] add more docstrings and fix typo 2009-08-07 16:15:59 +02:00
Fabio Erculiani
baba5ce2e7 [entropy.db] more API & polishing work, almost done 2009-08-07 14:34:57 +02:00