Commit Graph

976 Commits

Author SHA1 Message Date
Fabio Erculiani
efeefa1d7c Release Entropy 234 2013-11-21 13:05:33 +01:00
Fabio Erculiani
14f4b7b8c5 [entropy.spm] PortagePlugin: drop the old license setup code, fix portage >=2.2.0_alpha189 support
The old license setup code is no longer needed since 2009. EAPI < 3
use ACCEPT_PROPERTIES="* -interactive", which is now set in the environment
(note that we may want to reduce the scope of the variable to portage.config
in the future). EAPI >= 3 use ACCEPT_LICENSE. check_license() in
eutils.eclass is gone as well.
2013-11-21 12:39:05 +01:00
Fabio Erculiani
96ef5868f4 [entropy.db] initial repository database support for preserved libraries 2013-11-20 17:09:48 +01:00
Fabio Erculiani
66f1463488 Release Entropy 233 2013-11-20 12:34:41 +01:00
Fabio Erculiani
d089978b74 Revert "[entropy.db.cache] add timed expiration support for cached elements"
This reverts commit 8b7c48c2d9.
2013-11-20 11:42:51 +01:00
Fabio Erculiani
d786c403c8 [entropy.db.sqlite] fix the retrieveDependencies cache invalidation paths 2013-11-20 11:38:53 +01:00
Fabio Erculiani
8b7c48c2d9 [entropy.db.cache] add timed expiration support for cached elements 2013-11-20 11:25:02 +01:00
Fabio Erculiani
47657d6285 [entropy.misc] ParallelTask: code style update 2013-11-20 11:15:53 +01:00
Fabio Erculiani
8124d071d6 Release Entropy 232 2013-11-19 22:10:36 +01:00
Fabio Erculiani
275f4d4c74 [entropy.server] validate missing dependency string using searchPackageIdFromDependencyId() 2013-11-19 22:08:34 +01:00
Fabio Erculiani
650a462632 [€ntropy.client] s/idpackage/package_id/ 2013-11-19 21:46:27 +01:00
Fabio Erculiani
8ce1f920e0 [entropy.server] s/idpackage/package_id 2013-11-19 21:38:24 +01:00
Fabio Erculiani
435b75effa Release Entropy 231 2013-11-19 21:21:12 +01:00
Fabio Erculiani
b1d0c40153 [entropy.server.interfaces.db] do not pull packages.db.light.bz2
There is no need to download this particular file because it will
be re-created from scratch by push.
2013-11-19 16:57:16 +01:00
Fabio Erculiani
0a1c08b1e8 [entropy.server] simplify _deps_tester(), improve speed 2013-11-19 14:51:10 +01:00
Fabio Erculiani
7eb0687ba9 [entropy.db] make listAllDependencies() public 2013-11-19 14:48:20 +01:00
Fabio Erculiani
1834dbe55d [entropy.db.sqlite] retrieveDependencies: final performance tweaks 2013-11-19 13:31:01 +01:00
Fabio Erculiani
66c01f339b [entropy.db.sqlite] simplify retrieveDependencies() code 2013-11-19 13:20:12 +01:00
Fabio Erculiani
a8d2ae3313 [entropy.db.sqlite] add in-RAM cache support for retrieveDependencies()
This seems to give 15% speed boost in certain scenarios
2013-11-19 13:06:52 +01:00
Fabio Erculiani
8e600c39ea [entropy.client] code style updates to dependencies_test() 2013-11-19 12:03:26 +01:00
Fabio Erculiani
016573701c [entropy.db.sql] fix retrieveDependencies() usage of resolve_conditional_deps 2013-11-19 11:18:05 +01:00
Fabio Erculiani
1c6fd47776 Release Entropy 230 2013-11-18 15:34:01 +01:00
Fabio Erculiani
9e2a324e83 [entropy.server.db] use revision from package data if none is forced
this avoids the generation of packages with lesser revisions during
package moves from a repo to another.
If we inherit the revision number, we should try to keep it as long
as there are no packages with greater revision number in the target
repository.
2013-11-18 15:20:02 +01:00
Fabio Erculiani
08e4b487bf [entropy.db] API change, handlePackage(forcedRevision -> revision) 2013-11-18 15:09:28 +01:00
Fabio Erculiani
7f6def42e7 Release Entropy 229 2013-11-17 18:39:52 +01:00
Fabio Erculiani
1f0750a183 [entropy.server] add another QA test, guard against revision downgrades 2013-11-15 12:39:49 +01:00
Fabio Erculiani
e5226d2d76 Release Entropy 228 2013-11-13 13:23:52 +01:00
Fabio Erculiani
51c77c1378 [kswitch] fix undefined reference "kernel_atom" in PreparedSwitch.post() 2013-11-13 13:13:02 +01:00
Fabio Erculiani
4fbfdaea76 [kswitch] improve API usability by external components (RigoDaemon) 2013-11-13 12:44:27 +01:00
Fabio Erculiani
6b3d4d9978 [kswitch] add virtual/linux-binary-lts variable string 2013-11-13 11:45:57 +01:00
Fabio Erculiani
e18b93a8ff [entropy.tools] add is_author_bday method
The cake is a lie!
2013-11-13 09:46:38 +01:00
Fabio Erculiani
2bbeae69e1 Release Entropy 227 2013-11-11 09:12:13 +01:00
Fabio Erculiani
939367dec8 [entropy.client.interfaces.dep] introduce rewrite_selected_matches fixup code
See Sabayon bug #4475
2013-11-10 17:20:03 +01:00
Fabio Erculiani
c54a6e54ad [entropy.client.interfaces.dep] use set type for internal selected_matches
Given the current use cases, this is faster.
2013-11-10 17:14:54 +01:00
Fabio Erculiani
220e550453 Release Entropy 226 2013-11-08 22:04:30 +01:00
Fabio Erculiani
7a24bbc39b [conf] protect /var/tmp/entropy from systemd-tmpfiles.d
See Gentoo bug #490676
2013-11-07 21:26:33 +01:00
Fabio Erculiani
ce8498a1fb Release Entropy 225 2013-11-03 17:00:01 +01:00
Fabio Erculiani
5f93a73f46 [tests] update bytes_into_human() test case 2013-11-03 16:59:20 +01:00
Fabio Erculiani
51e7e03c00 [entropy.client.interfaces.package] call fetch_abort_function early
This makes sure that the interruption will happen almost immediately
2013-11-03 15:39:11 +01:00
Fabio Erculiani
c2feb6354d [entropy.fetchers] do not leak a fd if the abort function raises an exception 2013-11-03 15:38:45 +01:00
Fabio Erculiani
acc96f1ada [entropy.transceivers] 1kB is 1000 bytes 2013-11-03 14:49:22 +01:00
Fabio Erculiani
1b120b53ff [entropy.fetchers] 1kB is 1000 bytes 2013-11-03 14:47:36 +01:00
Fabio Erculiani
c752b7775a [entropy.tools] 1kB is 1000 bytes 2013-11-03 14:47:10 +01:00
Fabio Erculiani
880ec0588a [entropy.fetchers] MultipleUrlFetcher: move stats calculation to separate method
_compute_progress_stats can now be used by subclasses to correctly compute
the aggregated statistics without code duplication
2013-11-03 14:38:50 +01:00
Fabio Erculiani
3fe20f1bd9 [entropy.fetchers] make url_path_list and transfer_data protected 2013-11-03 14:16:09 +01:00
Fabio Erculiani
23e18a9dfe [entropy.fetchers] do not calculate any stats until all threads have computed theirs 2013-11-03 13:52:35 +01:00
Fabio Erculiani
0a7251bcbd [entropy.fetchers] remove unused variable update_step 2013-11-03 13:37:47 +01:00
Fabio Erculiani
246863357b [entropy.fetchers] MultipleUrlFetcher: protect __progress_data with a mutex
Stale information may be used to perform progress calculation.
The mutex ensures that stale data is not used to compute it.
2013-11-03 13:27:48 +01:00
Fabio Erculiani
d91a8d7c9e [kswitch] fix _guess_kernel_package_file subdirs generation 2013-11-03 12:56:20 +01:00
Fabio Erculiani
91f6c24d9d [kswitch] add new method KernelSwitcher.running_kernel_package()
This public method can be used to determine the currently running
kernel package, if it comes from Entropy repositories.
2013-11-02 14:37:33 +01:00