Fabio Erculiani
3695655e66
[entorpy.client] fix Logger.log() usage in entropy.client.interfaces.package
2013-02-17 19:04:20 +00:00
Fabio Erculiani
e66ec77a67
[entropy.qa] warn_missing_dependencies: stop using get_deep_dependency_list, too slow and unwanted
2013-02-10 19:01:35 +00:00
Fabio Erculiani
a0037bfe76
[entropy.qa] test_missing_dependencies: only consider direct dependencies
...
Any missing ELF level dependency should be always satisfied by direct
dependencies.
2013-02-10 18:47:12 +00:00
Fabio Erculiani
c5e1908a89
[entropy.server] fix undefined reference in drained_dependencies_test
2013-02-09 16:46:51 +00:00
Fabio Erculiani
dffebc80dd
[entropy.server] drained_dependencies_test: improve readability of the output
2013-02-09 16:33:12 +00:00
Fabio Erculiani
8c5113743f
[entropy.server] tweak output of injected_library_dependencies_test
2013-02-09 16:30:14 +00:00
Fabio Erculiani
bc9db04990
[entropy.qa] test_missing_dependencies: cosmetic changes to the generated output
2013-02-09 16:19:11 +00:00
Fabio Erculiani
860e791635
[entropy.qa] fix typo in test_missing_dependencies()
2013-02-09 15:32:11 +00:00
Fabio Erculiani
b9347cc181
[entropy.qa] improve output of test_missing_dependencies()
2013-02-09 15:29:19 +00:00
Fabio Erculiani
0002f75982
[entropy.qa] split test_missing_dependencies, move ldd-based scan to warn_missing_dependencies
2013-02-09 15:08:09 +00:00
Fabio Erculiani
ddff9fde6a
[entropy.server] add QA test for library linking of injected packages
...
This test must pass before being able to push new packages and it ensures
that injected packages are kept consistent.
2013-02-09 14:38:57 +00:00
Fabio Erculiani
f15efc018d
[entropy.qa] remove unwanted output message from test_missing_dependencies.
...
The message heavily depends on the context in where test_missing_dependencies
is executed.
2013-02-09 14:27:01 +00:00
Fabio Erculiani
d2babac662
[entropy.qa] _get_missing_libraries: cache the list of system packages
2013-02-09 13:54:03 +00:00
Fabio Erculiani
952c361c5a
[entropy.db] add listAllSystemPackageIds() method
2013-02-09 13:53:11 +00:00
Fabio Erculiani
a499cf0de5
[entropy.qa] rewrite _get_missing_rdepends, now _get_missing_libraries
...
This commit dramatically improves the speed of _get_missing_libraries,
by using provided_libs metadata instead of content, removing any live
system dependencies (collect_linker_paths()), and improving method
readability.
2013-02-09 13:30:23 +00:00
Fabio Erculiani
fa3f2df372
[entropy.qa] _get_missing_rdepends: if package does not need any library, return straight away
2013-02-09 11:04:08 +00:00
Fabio Erculiani
28ce290999
[entropy.db] add listAllInjectedPackageIds
2013-02-09 10:50:11 +00:00
Fabio Erculiani
877cf926d8
Release Entropy 175
2013-02-08 17:14:22 +01:00
Fabio Erculiani
172fe3a2ea
[entropy.client] Trigger: _trigger_env_update must return an integer
2013-02-08 17:12:49 +01:00
Fabio Erculiani
88ac77e8a9
[entropy.spm] PortagePlugin: environment_update() must return an execution status int
2013-02-08 17:12:04 +01:00
Fabio Erculiani
c028464ebe
Release Entropy 174
2013-02-07 08:43:33 +01:00
Fabio Erculiani
10fbf275e6
[entropy.spm] rework SpmPlugin.execute_package_phase API specifications
...
This makes phase execution and error handling more fine grained and on the
long run more robust as well.
Any exception raised by SPM is now considered fatal, while phase execution
failures (execution with error code != 0) are still considered non-fatal for now.
2013-02-07 08:33:29 +01:00
Fabio Erculiani
88c0e7ef6c
[entropy.spm] create SpmPlugin.Error base exception class for all SPM issues
2013-02-07 08:33:29 +01:00
Fabio Erculiani
9c5ec4c7cb
[entropy.fetchers] drop UrlFetcher.output, deprecated in 2010
2013-02-06 07:44:33 +00:00
Fabio Erculiani
69a2e0e8c0
[entropy.client] drop get_file_permissions, deprecated
2013-02-06 07:44:33 +00:00
Fabio Erculiani
8807ff8ba7
[entropy.tools] drop get_random_temp_file, deprecated
2013-02-06 07:44:33 +00:00
Fabio Erculiani
86821d408b
[entropy.client] drop deprecated methods
2013-02-06 07:44:33 +00:00
Fabio Erculiani
e34ee97cdc
[entropy.db] drop deprecated methods closeDB() and commitChanges()
2013-02-06 07:44:32 +00:00
Fabio Erculiani
c2f82543fc
[entropy.i18n] try recover from invalid filesystem encoding
...
This should also help with invalid UTF-8 characters returned by _()
2013-02-06 07:44:32 +00:00
Fabio Erculiani
4f8205323f
[entropy.i18n] try recover from invalid filesystem encoding
...
This should also help with invalid UTF-8 characters returned by _()
2013-02-05 08:29:37 +00:00
Fabio Erculiani
cf4b066dbf
[entropy.server] cleanup _move_package and fix a potential variable name collision
2013-02-04 13:46:00 +00:00
Fabio Erculiani
2b4b258e8f
Release Entropy 173
2013-02-04 08:53:43 +00:00
Fabio Erculiani
c9977d1244
[entropy.server] fix dep_rewrites package additions handling
2013-01-29 09:03:16 +00:00
Fabio Erculiani
4426b93254
Release Entropy 172
2013-01-24 22:18:43 +00:00
Fabio Erculiani
b40c10af3d
Release Entropy 171
2013-01-24 00:40:21 +00:00
Fabio Erculiani
9a2f4c00cd
Release Entropy 170
2013-01-21 09:12:37 +00:00
Fabio Erculiani
7afc6979e1
[entropy.spm] _extract_pkg_metadata_provided_libs: consider symlinks valid
...
This has caused a meltdown of the metadata and QA failures all around
2013-01-21 09:11:09 +00:00
Fabio Erculiani
7050ccad0f
[entropy.client.interfaces.dep] _lookup_library_packages_available: do not pull in conflicting slots
...
This could happen because of the shallow checks that were done inside
this method.
2013-01-21 08:59:27 +00:00
Fabio Erculiani
86bd948b61
Release Entropy 169
2013-01-15 22:22:55 +00:00
Fabio Erculiani
cf8d217fe4
[entropy.server] drop one more useless output()
2013-01-14 23:11:21 +00:00
Fabio Erculiani
5a7a6a7289
[entropy.server] other tweaks to drained_dependencies_test()
2013-01-14 23:08:44 +00:00
Fabio Erculiani
36f5412de5
[entropy.server] last output tweaks to drained_repositories_test()
2013-01-14 23:01:04 +00:00
Fabio Erculiani
8dd13a5f09
[entropy.server] tweak output() in merged_dependencies_test()
2013-01-14 22:56:34 +00:00
Fabio Erculiani
15a27a0efd
[entropy.server] tweak merged_repositories_test() a bit more
2013-01-14 22:54:03 +00:00
Fabio Erculiani
b4092de36b
[entropy.server] improve output of drained_dependencies_test() even more
2013-01-14 22:48:15 +00:00
Fabio Erculiani
d6adf4e81e
[entropy.server] improve output of drained_dependencies_test()
2013-01-14 22:35:24 +00:00
Fabio Erculiani
8fdd06cbd9
[entropy.server] fix reversed() usage
2013-01-14 22:24:00 +00:00
Fabio Erculiani
2d2c6a8c60
[entropy.server] add drained and merged repositories dependencies testing
...
It happens that during our workflow, we bump packages into overlay repositories
like sabayon-limbo and sabayon-hell. However, potential dependencies issues
may pop up only when repositories are merged (their content drained) into
others. This features assumes that repositories are listed in order of priority,
where the first one is the base repo and others are layers on top of the first one.
2013-01-14 22:19:23 +00:00
Fabio Erculiani
7d9e76db1c
Release Entropy 168
2013-01-14 00:50:27 +00:00
Fabio Erculiani
c2829066e2
Release Entropy 167
2013-01-12 14:37:03 +00:00