Fabio Erculiani
ffd0c6b4c3
[entropy.tools] add new function split_indexable_into_chunks
2009-07-16 16:14:38 +02:00
Fabio Erculiani
44ffc1d8fc
[entropy.services.interfaces] fine tune watch dog
2009-07-16 14:54:17 +02:00
Fabio Erculiani
fe4631e46e
[entropy.services.interfaces] fix small bug with data_counter triggered by the previous commit
2009-07-16 14:35:28 +02:00
Fabio Erculiani
241190bedd
[entropy.services.interfaces] enforce data reception constraints
...
When receiving data through the ServerHost Request Handler, make sure
that the length of data sent matches matches the lenght information
provided. Do not consider reception done until this is true. To avoid
infinite loop issues, add a watchdog timer which raises an (handled)
ValueError exception.
2009-07-16 13:03:13 +02:00
Fabio Erculiani
25ddf16b50
[entropy.services.interfaces] log instance signature too
2009-07-16 12:31:18 +02:00
Fabio Erculiani
1e16e8d1ff
[entropy.services.interfaces] log more info when catching ValueError exceptions
2009-07-16 11:32:01 +02:00
Fabio Erculiani
5945636318
[entropy.services.interfaces] properly store traceback in case of ValueError exceptions
2009-07-16 10:51:52 +02:00
Fabio Erculiani
9c3c47e209
[docs] update API documentation
2009-07-16 09:23:50 +02:00
Fabio Erculiani
098bb818ae
[entropy.tools] trivial changes
2009-07-16 09:03:08 +02:00
Fabio Erculiani
1bd7a3ee5f
[entropy.qa] make get_missing_rdepends method "protected"
2009-07-16 08:57:05 +02:00
Fabio Erculiani
23987bdce4
[entropy.qa] move resolve_dynamic_library to entropy.tools
2009-07-16 08:55:11 +02:00
Fabio Erculiani
0c249b8d9b
[entropy.qa] rename scan_missing_dependencies to test_missing_dependencies
2009-07-16 08:52:32 +02:00
Fabio Erculiani
d391ec4bac
[entropy.qa] rename libraries_test method to test_shared_objects
2009-07-16 08:49:51 +02:00
Fabio Erculiani
80289324cb
[entropy.tools] make get_file_size working for unicode file_path strings too
2009-07-15 23:26:57 +02:00
Fabio Erculiani
fc4048464e
[entropy.client.interfaces.Client] tweak Client constructor init order again
2009-07-15 23:16:38 +02:00
Fabio Erculiani
5e018b5cb9
[entropy.client.interfaces.methods] no need to run world updates calculation on load_repository_database
2009-07-15 23:11:45 +02:00
Fabio Erculiani
054db055fa
[entropy.client.interfaces.Client] fix Entropy Client plugin init issue
...
When Client class is instantiated, validate_repositories() is called
before the Entropy SystemSettings Client plugin is effectively added.
This can cause world updates calculation method to raise KeyError
exception when referencing SystemSettings client plugin metadata.
2009-07-15 23:04:58 +02:00
Fabio Erculiani
def1c87cae
[entropy.output] add docstrings (partial)
2009-07-15 20:13:57 +02:00
Fabio Erculiani
698d9de48c
[entropy.security] add docstrings (incomplete)
2009-07-15 19:36:26 +02:00
Fabio Erculiani
9994d0dc62
[entropy.qa] add todo
2009-07-15 19:36:02 +02:00
Fabio Erculiani
c8df8f2a50
[entropy.qa] complete entropy.qa docstrings
2009-07-14 13:44:33 +02:00
Fabio Erculiani
269b787d95
[entropy.spm] backup ACCEPT_LICENSE Portage setting only when setting it
2009-07-13 19:23:21 +02:00
Fabio Erculiani
c13f3d1b29
[entropy.client.interfaces.methods] improve remove_repository
...
It happened that when a repository got removed through remove_repository
its entry in Client.validRepositories didn't get removed in time
to avoid printing a wrong error message to user.
2009-07-13 14:46:47 +02:00
Fabio Erculiani
d4f4684d5f
[entropy.output] fix xtermTitle
2009-07-13 13:51:41 +02:00
Fabio Erculiani
aaa8f7beba
[entropy.output] partially add docstrings to entropy.output
2009-07-13 13:49:45 +02:00
Fabio Erculiani
034fababe4
[entropy.client.interfaces.methods] fix wrong const_debug_write string formatting
2009-07-13 12:08:24 +02:00
Fabio Erculiani
c32a0b73f7
[entropy.spm] add more comments on portage.doebuild
2009-07-13 12:06:33 +02:00
Fabio Erculiani
bad861736d
[entropy.spm] doebuild: fix ebuild check_license's Portage pkg_setup bug
...
Portage, when used through its API, doesn't seem to source all the ebuild
variables, in our case, the triggering variable was "LICENSE" which was
not set properly when calling portage.doebuild("setup"). The buggy package
is "net-wireless/broadcom-sta" which contain check_license into pkg_setup.
2009-07-13 11:27:37 +02:00
Fabio Erculiani
d78a7142f7
[entropy.client.interfaces.trigger] show pkg_setup output when entropy is running in debug mode
2009-07-13 11:10:03 +02:00
Fabio Erculiani
646b7d33e6
[entropy.client.interfaces.package] force accept_license to Spm for config action too.
2009-07-12 21:54:29 +02:00
Fabio Erculiani
4472fef456
[entropy.client.interfaces.fetch] fix wrong plural string
2009-07-12 21:35:12 +02:00
Fabio Erculiani
7791be64ba
[entropy.tools] add very important function to detect April 1st day
2009-07-11 09:12:07 +02:00
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