Commit Graph

2651 Commits

Author SHA1 Message Date
Fabio Erculiani
e5977cc4c9 [entropy.misc] complete API documentation 2009-07-08 09:49:00 +02:00
Fabio Erculiani
2b21a6706b [entropy.misc] create docstrings for RSS class 2009-07-07 19:45:53 +02:00
Fabio Erculiani
d55feb2a79 [tests.misc] fix Lifo test 2009-07-07 19:36:12 +02:00
Fabio Erculiani
d2f47860b6 [entropy.misc] update API docstrings 2009-07-07 19:14:27 +02:00
Fabio Erculiani
47302238bb [entropy.server] beautify libraries_test output 2009-07-07 16:45:46 +02:00
Fabio Erculiani
8193d1cb4f [entropy.qa] add broken libraries masking support 2009-07-07 13:35:52 +02:00
Fabio Erculiani
2380227032 [entropy.qa] libraries_test: add regexp support broken symbols 2009-07-07 13:22:19 +02:00
Fabio Erculiani
983ba51ae7 [entropy.server] enable broken symbols check on server-side libraries_test 2009-07-07 13:11:59 +02:00
Fabio Erculiani
5ea368c570 [entropy.qa] implement sane broken symbols check on libraries_test 2009-07-07 13:11:19 +02:00
Fabio Erculiani
01e4aea66f [entropy.qa] slightly improve libraries_test
ldpaths set must be complete before dealing with reverse symlinks map
2009-07-07 12:43:42 +02:00
Fabio Erculiani
e26bdd3221 [entropy.const] remove unused constants 2009-07-07 12:39:50 +02:00
Fabio Erculiani
2cd628fd5d [entropy.client/entropy.qa] move libraries_test to entropy.qa 2009-07-07 12:38:01 +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
2b9479518b [entropy.misc] make sure to raise ValueError when Lifo is empty 2009-07-07 07:58:43 +02:00
Fabio Erculiani
7a62df2523 [entropy.dump] handle TypeError on loadobj 2009-07-06 14:21:11 +02:00
Fabio Erculiani
c640726e12 [entropy.services.auth_interfaces] block usernames with spaces 2009-07-06 13:57:58 +02:00
Fabio Erculiani
5e986ba55f [tests.misc] verify that Lifo raises ValueError when empty 2009-07-05 19:15:01 +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
98db97819e [entropy.misc] add docstrings (partial) 2009-07-05 19:12:42 +02:00
Fabio Erculiani
90c1445681 [entropy.i18n] complete docstrings 2009-07-01 14:42:18 +02:00
Fabio Erculiani
df6952f913 [entropy.exceptions] complete docstrings 2009-07-01 14:42:07 +02:00
Fabio Erculiani
faad4d166a [entropy.dump] complete docstrings 2009-07-01 14:41:56 +02:00
Fabio Erculiani
883fdd4ce9 [entropy.services.interfaces] improve client/server interaction reliability 2009-06-30 20:57:44 +02:00
Fabio Erculiani
976d59a63a [entropy.services.repository.interfaces] make generated hash visible 2009-06-29 18:17:46 +02:00
Fabio Erculiani
9a06a4f269 [entropy.services.repository.interfaces] fix indentation 2009-06-29 18:13:35 +02:00
Fabio Erculiani
5b93fd7a77 [entropy.services.repository.interfaces] avoid spamming logs, disable repo services for unavailable compressed databases 2009-06-29 18:11:47 +02:00
Fabio Erculiani
0644d31d63 [entropy.services.repository.interfaces] fix typo in lock_scan 2009-06-29 18:10:01 +02:00
Fabio Erculiani
6b0581a1c3 [entropy.services.repository.interfaces] make error output more verbose 2009-06-29 18:08:22 +02:00
Fabio Erculiani
568096fb2a [entropy.services.repository.interfaces] uncompress compressed database path rather than requiring an uncompressed one 2009-06-29 18:00:11 +02:00
Fabio Erculiani
1dd8792f56 [entropy.server.interfaces.mirrors] do not upload uncompressed repository database 2009-06-29 17:53:31 +02:00
Fabio Erculiani
839666c314 [entropy.server.interfaces.mirrors] remove deprecated repository db formats 2009-06-29 17:24:20 +02:00
Fabio Erculiani
61004dcbe4 [entropy.client.services.ugc.commands/entropy.services.repository.commands] remove deprecated EAPI3 commands 2009-06-29 17:14:55 +02:00
Fabio Erculiani
78bdd4389e [entropy.const] remove unused repository metadata (related to old branch scripts implementation) 2009-06-29 10:36:15 +02:00
Fabio Erculiani
e85f72d309 [entropy.client.interfaces.methods] implement branch upgrade/migration script hooks via client database 2009-06-29 10:35:37 +02:00
Fabio Erculiani
b1a1bf10e2 [entropy.client.interfaces.client] do not run branch upgrade/migration scripts at first SystemSettings Entropy Client Plugin iteration 2009-06-29 10:34:10 +02:00
Fabio Erculiani
882eb3cb12 [entropy.client.interfaces.cache/entropy.client.interfaces.dep] improve updates calculation cache item storage 2009-06-29 10:32:55 +02:00
Fabio Erculiani
576438323e [entropy.db] implement branch migration support script handling metadata in client db 2009-06-29 10:31:43 +02:00
Fabio Erculiani
c9a8736ba1 [entropy.*] 'branches' metadatum is dead, eventually.
This commit removes the quirk used mainly server-side to make
tidy working on branches sharing package files.
Since tidy function now uses a more intelligent technique, this
is not needed anymore.
2009-06-28 00:19:34 +02:00
Fabio Erculiani
dc61985276 [entropy.server.interfaces.mirrors] finalize tidy_mirrors method 2009-06-28 00:14:45 +02:00
Fabio Erculiani
f9ce68b223 [entropy.client.interfaces.client] ignore exceptions in __run_post_branch_upgrade_hooks() when calculating world updates 2009-06-27 23:54:56 +02:00
Fabio Erculiani
f81d46889e [entropy.server.mirrors] add two new methods + new tidy mechanism
Added methods:
- get_remote_branches()
- read_remote_file_in_branches()
Please read their docstrings.

Moreover, a new experimental technique to tidy expired packages
has been introduced. It uses the new metafile 'packages.db.pkglist'
to detect if specific package is used by other branches before
validating the removal.
2009-06-27 23:47:38 +02:00
Fabio Erculiani
35e133987f [entropy.transceivers] FtpInterface: tweak list_dir method 2009-06-27 23:09:31 +02:00
Fabio Erculiani
1a00709f4e [entropy.client.interfaces.client] SystemSettingsPlugin init changes
Initialization of Entropy Client SystemSettings plugin has been moved
at the bottom of the Entropy Client constructor and branch migration
support "triggers" have been moved to the new post_setup SystemSettingsPlugin
hook.
2009-06-27 19:02:45 +02:00
Fabio Erculiani
3e81791d5d [entropy.client.interfaces.methods] Entropy Client SystemSettings plugin is not mandatory 2009-06-27 19:01:56 +02:00
Fabio Erculiani
d37437a006 [entropy.client.interfaces.dep] add argument to calculate_world_updates to ignore critical updates check inside it 2009-06-27 19:00:49 +02:00
Fabio Erculiani
4e8d08f221 [entropy.core] improve plugins support, add post_setup method
It is now possible to run post SystemSettings setup stuff in
SystemSettingsPlugin instances. This could be handy to hook
code that needs SystemSettings complete metadata itself.
2009-06-27 18:58:42 +02:00
Fabio Erculiani
74dceaece1 [entropy.client.interfaces.client] add post-branch migration hooks execution into Entropy Client SystemSettings plugin 2009-06-27 17:42:26 +02:00
Fabio Erculiani
7313b19d24 [entropy.client.interfaces.methods] tweak run_repositories_post_branch_switch_hooks to return more information 2009-06-27 17:41:57 +02:00
Fabio Erculiani
cdc05dbf0c [entropy.const] create const file for storing previous branch value 2009-06-27 17:38:00 +02:00
Fabio Erculiani
3e48c695f8 [entropy.const] fix trigger_sh_interpreter, add ${ROOT} prefix 2009-06-27 17:20:39 +02:00