Commit Graph

578 Commits

Author SHA1 Message Date
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
Fabio Erculiani
ba0252c152 [entropy.spm] PortagePlugin: kill /* from dependency slot substring 2012-10-17 23:01:08 +02:00
Fabio Erculiani
9c083b3aed [entropy.spm] PortagePlugin: add support for EAPI5 slot operator dependencies 2012-10-17 22:01:42 +02:00
Fabio Erculiani
a27d922cb4 Release Entropy 145 2012-09-30 21:53:40 +02:00
Fabio Erculiani
398379294f [entropy.{spm,client}] fix content generation for injected packages
Since Entropy Client migration to file iterator-based content metadata,
such information became unavailable to Entropy SPM's add_installed_package().
In the Portage SPM plugin implementation, such method was responsible of
reconstructing the XPAK CONTENTS file if missing. Injected packages are actually
missing that file (because it does not get created through "emerge -B").
The net result is that Portage vdb metadata for Entropy injected packages was
incomplete.
2012-09-30 21:33:09 +02:00
Fabio Erculiani
44e8d71550 [entropy.dep] create_package_filename: add revision keyword argument 2012-09-30 18:57:33 +02:00
Fabio Erculiani
34f3e248d2 Release Entropy 144 2012-09-21 16:45:54 +02:00
Fabio Erculiani
523d9783a6 [entropy.client.dep] force critical updates to be always pulled in. Avoids the Glibc effect 2012-09-21 15:31:09 +02:00
Fabio Erculiani
21e2251008 [entropy.server.mirrors] tidy_mirrors: make sure to clean the upload/ directory as well 2012-09-21 14:57:48 +02:00
Fabio Erculiani
505f664055 [entropy.client.db] fix typo in message string 2012-09-20 13:01:20 +02:00
Fabio Erculiani
050e700dcf [entropy.client.db] fallback to package URLs if the repository database URL is broken.
This commit introduces the ability for Entropy Client to fall back to
package URLs if the repository database URL is not responding as expected
(tested at the application level).
This improves fault-tolerance greatly.
2012-09-20 12:55:34 +02:00
Fabio Erculiani
4b0e7ee7d3 [entropy.tools] introduce expand_plain_database_mirror()
This follows the previously introduced expand_plain_package_mirror()
method. Now both methods can expand repository and package mirror URLs
read from Entropy repository configuration files adding product, arch
and branch information.
2012-09-20 12:53:49 +02:00
Fabio Erculiani
7cff01bbd5 [entropy.const] export "database" sub-directory constant through etpConst 2012-09-20 12:52:36 +02:00
Fabio Erculiani
fa006188f1 Release Entropy 143 2012-09-17 12:41:56 +02:00
Fabio Erculiani
58f1682c41 [entropy.misc] drop EntropyGeoIP, no longer used 2012-09-15 12:50:53 +02:00
Fabio Erculiani
724a4d7e87 Release Entropy 142 2012-09-09 18:07:21 +02:00
Fabio Erculiani
3ee803c2ba [entropy.const] implement a debug watchdog thread dumper thread.
If ETP_DEBUG_WATCHDOG env variable is set, entropy.const will create
a timer thread that prints to stderr the full application thread dump.
This is quite useful in case of hard to reproduce deadlocks at the library
level.
2012-09-09 18:04:52 +02:00
Fabio Erculiani
b25e2b8f03 [entropy.cache] replace fork() usage with multithreading.
Mixing multiprocessing with multithreading is bad and we all know that.
However, in this specific case there was nothing wrong in running tiny
functions in another process.
It seems that entropy.dump.dumpobj() is efficient enough nowadays to
have it running in the same process anyway.
2012-09-09 17:34:22 +02:00
Fabio Erculiani
316ef31dcd [entropy.const] do not alter etpConst['systemroot'] variable 2012-09-08 20:11:24 +02:00
Fabio Erculiani
6ddc4c2f14 [tests] fix Entropy Client tests (add affected_infofiles metadata) 2012-09-08 20:11:23 +02:00
Fabio Erculiani
9d1dd2f5b3 [entropy.const] move Entropy Resources Lock path to /var/lib/entropy
This commit moves the Entropy Resources Lock from:
> /var/lib/entropy/client/database/<arch>/.using_resources
to a simpler:
> /var/lib/entropy/.using_resources

The main reason for the move is to make such path more consistent across
architectures.
2012-09-08 20:11:23 +02:00
Fabio Erculiani
a659ac2f66 [entropy.const] remove hardcoded slashes, rewrite paths using os.path.join() 2012-09-08 20:11:23 +02:00
Fabio Erculiani
f675c5fdae Release Entropy 141 2012-09-08 20:11:23 +02:00