Commit Graph

2785 Commits

Author SHA1 Message Date
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
Fabio Erculiani
50f86ec9bd [tests] add EntropyRepository contentDiff test 2009-08-06 15:47:02 +02:00
Fabio Erculiani
5754836b29 [entropy.client.interfaces.qa] fix ErrorReportInterface initialization 2009-08-06 09:10:53 +02:00
Fabio Erculiani
86183df541 [entropy.client.interfaces.repository] when syncing repo, make sure to commit after indexes creation 2009-08-05 22:56:06 +02:00
Fabio Erculiani
b5a51e5f20 [entropy.db] several docstrings and API updates
:: add more docstrings
:: add force argument to commitChanges to ignore read-only bit
:: add SQL index on mirrorlinks table, was missing
2009-08-05 22:55:03 +02:00
Fabio Erculiani
262c57489a [entropy.client] fix SystemSettings hooks triggering 2009-08-05 22:39:24 +02:00
Fabio Erculiani
f324711497 [entropy.output] update module header 2009-08-05 17:03:10 +02:00
Fabio Erculiani
01487606ee [entropy.db] add several docstrings, fine tune API of some methods 2009-08-05 16:46:24 +02:00
Fabio Erculiani
24875f027f [entropy.tools] ignore permission issues when saving repositories metadata to file 2009-08-05 16:46:24 +02:00
Fabio Erculiani
a32fd79f37 [entropy.const] make ETP_ARCH_CONST smarter 2009-08-05 16:46:24 +02:00
Fabio Erculiani
202a418a58 [entropy.dump] handle AttributeError exception on loadobj() 2009-08-05 16:46:24 +02:00
Fabio Erculiani
1dc3351dee [entropy.client.interfaces.dep] when client db is not available do not raise exceptions on calculate_available_packages 2009-08-05 16:46:24 +02:00
Fabio Erculiani
bc4fcc8a39 [entropy.db] remove ServiceInterface argument from constructor, not needed anymore 2009-08-04 08:22:01 +02:00
Fabio Erculiani
9ea147d0db [entropy.db] API docs + addPackage() API changes
:: add more reviewed API documentation
:: addPackage() now does not do anything else but adding packages
   to repository, which is the intended original behaviour.
2009-08-03 23:10:59 +02:00
Fabio Erculiani
f861532fd2 [entropy.db/entropy.server] reduce the usage of ServerInterface in EntropyRepository
ServerInterface instance variable inside entropy.db.EntropyRepository
will be soon dropped thanks to new code pushed during last months.
It was just a ugly hack to avoid using Singletons, which are now
the way to go.
Moreover, this commit improves per-repository RSS handling.
2009-08-03 13:09:33 +02:00
Fabio Erculiani
4acb81f808 [entropy.db] make use of the new entropy.spm features (esp. singleton) 2009-08-03 12:38:53 +02:00
Fabio Erculiani
406e26582f [entropy.spm] major module updates
:: Entropy Spm plugins are now singletons and must subclass SpmPlugin
:: added convenience function to return the currently configured Spm instance
2009-08-03 12:37:26 +02:00
Fabio Erculiani
e9f47ee6fd [entropy.client.interfaces] add missing import statements 2009-08-03 12:36:58 +02:00
Fabio Erculiani
24f14b9b63 [entropy.db/entropy.server] move runTreeUpdatesQuickpkgAction to entropy.server 2009-08-03 12:16:23 +02:00
Fabio Erculiani
10b89e9d5b [entropy.db] move client-related package name/slot updates to entropy.client 2009-08-02 18:49:37 +02:00