Commit Graph

315 Commits

Author SHA1 Message Date
Fabio Erculiani
dbd34912a2 [entropy.spm] PortagePlugin: remove _get_package_use_file, no longer used 2012-05-17 22:49:49 +02:00
Fabio Erculiani
38c5560b9a [entropy.const] initconfig_entropy_constants: always print dir creation warnings to stderr 2012-05-16 14:32:53 +02:00
Fabio Erculiani
91d85740a8 [entropy.const] use const_setup_directory() when creating pidfiledir 2012-05-16 14:32:53 +02:00
Fabio Erculiani
fafc598928 [entropy.const] always create /var/tmp/entropy if it doesn't exist 2012-05-16 14:32:52 +02:00
Fabio Erculiani
755b2612fe [entropy.const] dump_signal: add "stderr" keyword argument 2012-05-11 06:41:20 +02:00
Fabio Erculiani
111060eef4 Release Entropy 1.0_rc113 2012-05-09 16:44:25 +02:00
Fabio Erculiani
4cbb30f6c2 [entropy.client] catch OSError and IOError exceptions at chown(), see bug 3300 2012-05-06 15:10:06 +02:00
Fabio Erculiani
6c4ecffcd7 [entropy.spm] PortagePlugin: __source_env_get_var: return unicode, do not leak fds 2012-05-05 08:49:26 +02:00
Fabio Erculiani
990eac2911 [entropy.i18n] fixup change_language wrt Python3 2012-05-05 00:51:41 +02:00
Fabio Erculiani
be5df20352 [entropy.tools] apply_tarball_ownership: raise IOError, catch it 2012-05-02 20:18:29 +02:00
Fabio Erculiani
0d1905f7fa [entropy.security] Security: catch KeyError raised by get_key_metadata() 2012-04-30 09:59:16 +02:00
Fabio Erculiani
04b7c60eea Release Entropy 1.0_rc112 2012-04-29 18:50:12 +02:00
Fabio Erculiani
b00e29c89a [entropy.client] improve reliability of the dep conflict replacement routine
When an available conflict replacement is found, it is better to
enforce its installation before the actual conflicting pkg, in order
to avoid to have the conflict removed for some time during the
transaction phase. Moreover, if the transaction is interrupted
after the conflict removal but before the new pkg install, this
pkg won't be upgraded anymore, because it would become not installed.

Scenario:
net-tools conflicts with old sys-apps/openrc. sys-apps/openrc gets
removed during net-tools install phase. sys-apps/openrc is scheduled
for install a lot later. This also introduced a glitch with base-gcc,
triggering gcc-config, which complained about missing /etc/init.d/functions.sh
2012-04-29 18:33:14 +02:00
Fabio Erculiani
2ac29a5429 [entropy.client] fix broken soname dependencies runtime routine wrt virtual pkgs
Virtual are not directly owning sonames reverse dependencies need.
For this reason, when a virtual package is encountered, its direct
dependencies must be taken into consideration in the soname bump
routine.
Moreover, pkgs requiring newer (or older?) sonames, must be bound
to soname providers on the graph, as direct dependency. Not doing
so would lead pkg_* phases to fail.

Scenario:
dev-libs/glib wants newer libffi.so.x, but the pkg depends against
virtual/libffi. If virtual/libffi dependencies are not taken into
consideration, _lookup_library_breakages() would fail to detect
the need of a bump.
2012-04-29 17:37:16 +02:00
Fabio Erculiani
10f3a6577b [entropy.server] do not print about wildcard-based dep_rewrites 2012-04-29 17:36:46 +02:00
Fabio Erculiani
263f640ab0 Release Entropy 1.0_rc110 2012-04-25 20:32:20 +02:00
Fabio Erculiani
e8b5eb83dc [entropy.spm] PortagePlugin: rewrite StdoutSplitter
Rewrite StdoutSplitter in order to make possible to catch full Portage
stdout/stderr redirecting it to Entropy log file.
2012-04-25 18:04:02 +02:00
Fabio Erculiani
4c043b55e7 Release Entropy 1.0_rc109 2012-04-23 23:24:11 +02:00
Fabio Erculiani
a64f88b2a4 [entropy.db] atomMatch: fix disabled USE flags matching 2012-04-23 23:07:39 +02:00
Fabio Erculiani
3d52ee3c7d [entropy.spm] PortagePlugin.generate_package: prevent potential temp file leak 2012-04-23 14:09:26 +02:00
Fabio Erculiani
a66825d179 Release Entropy 1.0_rc108 2012-04-19 23:02:04 +02:00
Fabio Erculiani
b11f205315 Release Entropy 1.0_rc107 2012-04-19 22:29:14 +02:00
Fabio Erculiani
4fa3cae986 Release Entropy 1.0_rc106 2012-04-18 13:17:48 +02:00
Fabio Erculiani
8ec4415612 Release Entropy 1.0_rc105 2012-04-18 12:56:11 +02:00
Fabio Erculiani
9745fa37f7 Release Entropy 1.0_rc104 2012-04-18 10:45:43 +02:00
Fabio Erculiani
d397a174bd [entropy.client.interfaces.dep] filter out spmsync'd orphaned packages
If package has been installed from "spm-db" and Entropy revision
is set to "9999", do not consider it as orphaned
2012-04-16 22:49:04 +02:00
Fabio Erculiani
753195d15d [entropy.const] move spm magic strings and numbers to etpConst 2012-04-16 22:41:21 +02:00
Fabio Erculiani
79042c24e7 [entropy.server] add repository_metadata() method 2012-04-16 22:03:50 +02:00
Fabio Erculiani
6b79a46746 Release Entropy 1.0_rc103 2012-04-15 18:18:23 +02:00
Fabio Erculiani
ae3a431d84 [entropy.security] rename filter_advisories() to _filter_advisories() 2012-04-15 17:34:34 +02:00
Fabio Erculiani
4a8c53af08 [entropy.client] Repository: do not generate Security Advisories cache 2012-04-15 17:34:13 +02:00
Fabio Erculiani
728726128b Release Entropy 1.0_rc102 2012-04-15 12:31:22 +02:00
Fabio Erculiani
8f0c37323a [entropy.spm] PortagePlugin: introduce conditional deps support
Introduce Entropy conditional dependencies supoort if
ETP_PORTAGE_CONDITIONAL_DEPS_ENABLE is set in the environment.
This feature is disabled by default because it braks backward
compatibility and older Entropy Clients are broken wrt this.
2012-04-15 12:24:20 +02:00
Fabio Erculiani
58846f12ad [entropy.spm] PortagePlugin: use enumerate() instead of range(len()) 2012-04-15 12:13:45 +02:00
Fabio Erculiani
6dd6cb23cb [entropy.spm] PortagePlugin._usedeps_reduce: fix usage with conditional dependencies 2012-04-15 12:12:13 +02:00
Fabio Erculiani
d1a61e20c6 [entropy.spm] PortagePlugin._calculate_dependencies: return list for everything
Do not return strings for *DEPEND, LICENSE, PROVIDE and SRC_URI
2012-04-15 12:08:56 +02:00
Fabio Erculiani
5ba0b0771c [entropy.spm] PortagePlugin: fix ParseError exception initialization 2012-04-15 12:07:24 +02:00
Fabio Erculiani
736ee363bf [entropy.dep] fix DependencyStringParser usage by expand_dependencies() 2012-04-15 12:04:26 +02:00
Fabio Erculiani
cdf6be90be [tests] Spm: add PortageEntropyDepTranslator tests 2012-04-14 17:49:18 +02:00
Fabio Erculiani
b52a1bdde7 Release Entropy 1.0_rc101 2012-04-14 17:34:42 +02:00
Fabio Erculiani
292af94cf0 [entropy.spm] PortagePlugin: read CATEGORY, PF, C*FLAGS from environment if files are missing 2012-04-14 16:40:33 +02:00
Fabio Erculiani
d3aa4af5c4 [entropy.spm] move Portage bashism to external script
Portage stores package environment variables inside it's environment
file that has to be sourced in order to correctly retrieve the
variable value
2012-04-14 16:04:25 +02:00
Fabio Erculiani
ab832f1cf0 [entropy.misc] EINTR can be raised by both IOError and OSError 2012-04-14 13:52:35 +02:00
Fabio Erculiani
8a3c13183a [entropy.const] do not change entropy directory permissions on every library load
The logic has been moved to Makefile and upstream ebuilds.
2012-04-14 08:34:05 +02:00
Fabio Erculiani
a0d9458212 Release Entropy 1.0_rc100 2012-04-13 12:15:51 +02:00
Fabio Erculiani
437ac32ac8 Release Entropy 1.0_rc99 2012-04-12 19:58:28 +02:00
Fabio Erculiani
043a0aeeeb [entropy.misc] DirectoryMonitor: make possible to monitor multiple dirs 2012-04-12 12:48:43 +02:00
Fabio Erculiani
1f9c4fb720 [entropy.client] add installed_repository_path() public method 2012-04-12 12:48:43 +02:00
Fabio Erculiani
461ddc712f Release Entropy 1.0_rc98 2012-04-11 23:24:39 +02:00
Fabio Erculiani
7f273165be Release Entropy 1.0_rc97 2012-04-09 18:05:17 +02:00