Commit Graph

600 Commits

Author SHA1 Message Date
Fabio Erculiani
e935acf577 Release Entropy 159 2012-12-26 19:01:59 +01:00
Fabio Erculiani
a10303c810 [entropy.spm] PortagePlugin: generated NEEDED.ELF.2 metadata if it's not available
This makes possible to use (untested) pkgcore server-side
2012-12-22 12:52:32 +01:00
Fabio Erculiani
139990a749 [entropy.spm] _extract_pkg_metadata_provided_libs: only scan "obj" entries 2012-12-22 12:47:32 +01:00
Fabio Erculiani
7473ff1c04 [tests] db: extend test_needed with another test pkg 2012-12-22 12:46:53 +01:00
Fabio Erculiani
51f80944ff Release Entropy 158 2012-12-21 00:54:31 +01:00
Fabio Erculiani
f9c9666158 [entropy.output] drop old cruft 2012-12-21 00:45:45 +01:00
Fabio Erculiani
ce64433a6c Release Entropy 157 2012-12-18 19:58:31 +01:00
Fabio Erculiani
6553cd398f [entropy.fetchers] catch socket.error exception (can be raised with "Connection reset by peer") 2012-12-16 20:04:22 +01:00
Fabio Erculiani
f4aef3c97d Release Entropy 156 2012-12-16 19:17:10 +01:00
Fabio Erculiani
224da38b28 Release Entropy 155 2012-12-16 18:42:22 +01:00
Fabio Erculiani
69cb8f53a3 [entropy.client.interfaces.dep] optimize get_package_action() usage 2012-12-09 22:46:12 +01:00
Fabio Erculiani
0352e97519 [entropy.client.interfaces.dep] cleanup _lookup_inverse_dependencies, add build deps support 2012-12-09 22:29:35 +01:00
Fabio Erculiani
409430de99 [entropy.client.interfaces.dep] refactor _lookup_library_breakages()
Optimize code, introduce weird bugs, make the code easier to read,
all this kind of stuff.
Also, make sure we never leave a system with unsatisfied soname dependencies
if possible.
2012-12-09 21:40:13 +01:00
Fabio Erculiani
c5f6dc8d46 [entropy.client] don't need a trailing \ 2012-12-09 19:18:35 +01:00
Fabio Erculiani
72aaaa4f3e [entropy.client.interfaces.dep] fix a key+slot matching bug in _lookup_library_drops
_lookup_library_drops was matching a key + slot string against the wrong
package and the result was that all the broken package matches were ignored
2012-12-09 12:22:13 +01:00
Fabio Erculiani
11d81f976b [entropy.client.interfaces.dep] cleanup _lookup_library_drops, add documentation 2012-12-09 12:19:37 +01:00
Fabio Erculiani
681e967bf3 [entropy.client] extend get_package_action() with installed_package_id
This allows some lookup speed improvements in case that such data is
already available in the caller.
2012-12-09 11:41:03 +01:00
Fabio Erculiani
69a337c5e4 [entropy.client.interfaces.dep] more code style related cleanups 2012-12-09 10:59:37 +01:00
Fabio Erculiani
051dde18cc [entropy.client.interfaces.dep] minor code style fixes 2012-12-09 10:49:48 +01:00
Fabio Erculiani
cc8b0b4143 [entropy.spm] PortagePlugin: guess modinfo in /sbin, /usr/bin, /bin
Upstream is idiot
2012-12-04 20:21:05 +01:00
Fabio Erculiani
3b27f40c20 Release Entropy 154 2012-12-02 09:23:46 +01:00
Fabio Erculiani
8e42f387ea Release Entropy 153 2012-12-01 19:26:21 +01:00
Fabio Erculiani
6576830df5 Release Entropy 152 2012-11-25 20:04:58 +01:00
Fabio Erculiani
0f20b74aae [entropy.client.interfaces.dep] add "quiet" keyword arg to calculate_updates() 2012-11-25 19:28:31 +01:00
Fabio Erculiani
db91ce20b4 [entropy.db] catch idiotic "no transaction is active" sqlite3 OperationalError 2012-11-25 18:33:21 +01:00
Fabio Erculiani
922bf6e0a7 Release Entropy 151 2012-11-23 22:58:43 +01:00
Fabio Erculiani
dc27835fd8 Release Entropy 150 2012-11-18 19:58:54 +01:00
Fabio Erculiani
4001e0f4b2 Release Entropy 149 2012-11-12 12:30:41 +01:00
Fabio Erculiani
8194608d2d Release Entropy 148 2012-11-11 09:41:15 +01:00
Fabio Erculiani
6d5762e985 Release Entropy 147 2012-11-10 16:29:58 +01:00
Fabio Erculiani
d5c1593f10 [entropy/Makefile] add missing variable: VARDIR 2012-11-09 22:43:55 +01:00
Fabio Erculiani
d09e11ccb6 Release Entropy 146 2012-11-09 22:34:26 +01:00
Fabio Erculiani
d42003ba94 Merge remote-tracking branch 'origin/solo'
Conflicts:
	client/po/bg.po
	client/po/ca.po
	client/po/cs.po
	client/po/da.po
	client/po/de.po
	client/po/entropy.pot
	client/po/es.po
	client/po/es_CL.po
	client/po/fr.po
	client/po/fr_CA.po
	client/po/it.po
	client/po/nl.po
	client/po/pl.po
	client/po/pt.po
	client/po/pt_BR.po
	client/po/ru.po
	client/po/sk.po
	client/po/sv.po
	client/po/uk.po
	client/po/zh_TW.po
	client/revision
	docs/ChangeLog
	docs/TODO
	lib/entropy/cache.py
	lib/entropy/client/interfaces/db.py
	lib/entropy/const.py
	lib/entropy/revision
	lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py
	server/revision
2012-11-06 22:35:01 +01:00
Fabio Erculiani
d1fa09ffb4 [entropy.*] remove etpUi imports 2012-11-06 21:24:41 +01:00
Fabio Erculiani
f713f65d2d [entropy.const] etpUi is gone, const_interactive_enabled() moved to is_interactive() 2012-11-06 21:22:23 +01:00
Fabio Erculiani
0deb4464e7 [entropy.const] kill etpUi['mute'] 2012-11-06 21:16:16 +01:00
Fabio Erculiani
977ec75a01 [entropy.const] drop any etpUi['debug'] reference 2012-11-06 20:51:00 +01:00
Fabio Erculiani
2512df68ad [lib/] drop etpUi['debug'] 2012-11-06 20:13:49 +01:00
Fabio Erculiani
15c6fc1b77 [entropy.const] drop etpUi['clean'] 2012-11-05 22:29:30 +01:00
Fabio Erculiani
9095f62f6b [entropy.const] drop etpUi['warn'] 2012-11-05 22:27:46 +01:00
Fabio Erculiani
aaf2b8eee8 [entropy.const] kill etpUi['quiet'] 2012-11-05 21:40:44 +01:00
Fabio Erculiani
df3c27deac [entropy*] drop etpUi usage where possible 2012-11-04 22:36:54 +01:00
Fabio Erculiani
280a7067b3 [entropy.cli] drop module, move code to client/ and server/
Even though it is a small code duplication, entropy.cli does make
much less sense.
2012-11-04 21:11:56 +01:00
Fabio Erculiani
b07beb1dcd [entropy.const] drop etpConst['errorstatus'] 2012-11-04 18:35:19 +01:00
Fabio Erculiani
49803e21b3 [entropy.server] reduce computational complexity of scan_package_changes() by using memoization 2012-11-04 18:27:02 +01:00
Fabio Erculiani
26b7d9cb54 [entropy.spm] PortagePlugin, xpaktools: drop append_xpak() 2012-11-04 10:36:55 +01:00
Fabio Erculiani
9e08b70113 [equo] migrate to Solo, drop old and crufty code, peace and love 2012-11-03 23:57:25 +01:00
Fabio Erculiani
c8ebc02890 [entropy.qa] add silent= keyword to test_shared_objects() 2012-11-02 18:39:57 +01:00
Fabio Erculiani
70bc4db1f2 [entropy.spm] PortagePlugin: strip /* from SLOT metadata
When generating Entropy metadata out of Portage xpak information,
strip /* from SLOT (a.k.a. the sub-slots part).
At the same time, rework get_installed_package_metadata() to return
stripped SLOT information to upper layers.

Sub-slots have little meaning for Entropy packages, since rebuilds are
not its business and soname bumps are already properly detected at
dependencies calculation time. However, implementing this feature in
future might have sense, for some currently unknown reasons.
2012-10-18 21:23:29 +02:00
Fabio Erculiani
2951b0486c [entropy.spm] PortagePlugin: promote kill_slot to class protected method 2012-10-17 23:37:53 +02:00