Commit Graph

168 Commits

Author SHA1 Message Date
Fabio Erculiani a7b2ff1301 [entropy.db] _migrateBaseinfoExtrainfo: fix foreign_keys usage, and drop all indexes
Using pragma inside executescript() won't work and foreign_keys were
kept enabled, resulting in extrainfo table being wiped.
At the same time, dropping all the indexes before starting dramatically
improves the execution speed.
2012-01-24 18:33:33 +01:00
Fabio Erculiani 7170a1e13c [entropy.db] fix baseinfo indexes creation for baseinfo_extrainfo_2010 schema 2012-01-24 17:10:07 +01:00
Fabio Erculiani e480256b33 Release Entropy 1.0_rc84 2012-01-24 16:40:57 +01:00
Fabio Erculiani 9e7055f6be [entropy.server,eit] split push from pull (in repo sync)
From now on, any push request will not have the side effect of
pulling new repo metadata if required, and vice versa.
2012-01-24 15:08:32 +01:00
Fabio Erculiani c169f0e4b2 [entropy.graph] Graph.get_adjacency_map: hold the original data
Graph caching must hold copies of cache objects instead of giving
them away for free and risk of having them polluted or even completely
cleared out under its own chair.

Example:
$ equo remove linux-sabayon:3.1 [--deep]

The --deep version doesn't pull in all the reverse deps due to
Graph.solve() being called twice in
entropy.client.interfaces.dep's _generate_reverse_dependency_tree()
when deep = True.

Fixes bug #2989
2012-01-23 12:50:26 +01:00
Fabio Erculiani 1a83081f0d Release Entropy 1.0_rc83 2012-01-15 18:25:07 +01:00
Fabio Erculiani e3622615af [entropy.tools] add /etc/ld.so.conf.d support
Packages started to install files inside /etc/ld.so.conf.d/, this
commit adds support for reading files in the above mentioned
directory.
2012-01-15 18:18:33 +01:00
Fabio Erculiani b481a2338a [entropy.qa] /etc/ld.so.conf can be unavailable, do not check for it 2012-01-15 18:18:00 +01:00
Fabio Erculiani 52640c1be3 Release Entropy 1.0_rc82 2012-01-12 11:08:00 +01:00
Fabio Erculiani c6795d3cf8 [entropy.spm] PortagePlugin: always discard FEATURES=ccache when calling doebuild() 2012-01-12 10:55:24 +01:00
Fabio Erculiani 970978ee97 [entropy.i18n] add P_(), for supporting gettext plural forms 2012-01-02 19:45:11 +01:00
Fabio Erculiani 217ae14345 Release Entropy 1.0_rc81 2011-12-28 10:07:06 +01:00
Fabio Erculiani e6ecf02ee3 [entropy.server] _run_package_files_qa_checks is I/O bound, no need for parallelization 2011-12-27 08:23:09 +01:00
Fabio Erculiani bf327ce01e [entropy.const] install debug signal handler on SIGUSR1, thread dump on SIGQUIT 2011-12-27 08:03:05 +01:00
Fabio Erculiani 146343107d [entropy.const] make possible to override ROOT from env using ETP_ROOT 2011-12-23 16:21:16 +01:00
Fabio Erculiani bb008eaa22 [entropy.spm] PortagePlugin: vardb._plib_registry might be None (Portage 2.1) 2011-12-21 21:58:09 +01:00
Fabio Erculiani 769638eb60 Release Entropy 1.0_rc80 2011-12-21 13:54:25 +01:00
Fabio Erculiani 8958f947d5 [entropy.const] rework automatic ARM architecture and keywords detection (will be moved to repositories.conf) 2011-12-12 15:21:52 +01:00
Fabio Erculiani 86db7bc8f5 [entropy.spm] PortagePlugin: add support for NEEDED.ELF.2 2011-12-02 17:54:33 +01:00
Fabio Erculiani 790fe3b1e1 [entropy.spm] PortagePlugin: keep INHERITED and FEATURES metadata entries (used by portage-repository-converter) 2011-12-02 17:39:47 +01:00
Fabio Erculiani e5da3c3063 [entropy.spm] PortagePlugin: INHERITED is not used 2011-12-02 12:06:10 +01:00
Fabio Erculiani 5fa3e58679 [entropy.spm] PortagePlugin: drop FEATURES usage completely
Removing "splitdebug" from FEATURES if splitdebug is disabled is
pointless and not really needed. Better leave FEATURES untouched.
Moreover, pkgcore doesn't provide FEATURES at all.
2011-12-02 12:03:18 +01:00
Fabio Erculiani 6e0396aa03 [entropy.core.settings.base] spit more user-friendly error messages 2011-12-02 11:36:35 +01:00
Fabio Erculiani 8756ccc65f [entropy.transceivers] use os.EX_OK 2011-12-02 11:36:19 +01:00
Fabio Erculiani 7c4a7a2cc6 Release Entropy 1.0_rc79 2011-11-30 19:11:18 +01:00
Fabio Erculiani 906e7781ea [entropy.spm] PortagePlugin: make sure to always filter out FEATURES=noauto before calling doebuild() 2011-11-29 17:42:16 +01:00
Fabio Erculiani 54de559224 [entropy.server] fix undefined reference in _update_rss 2011-11-28 23:13:13 +01:00
Fabio Erculiani 2c55308018 Release Entropy 1.0_rc78 2011-11-24 16:33:38 +01:00
Fabio Erculiani fd96d36a71 [entropy.client.interfaces.dep] fix dependency calculation when ASAP scheduling is enabled (default)
internal levels dict must be reinitialized every time deptree object
is actually modified. At the same time, when making room on a certain
deptree key (moving the entries to another key), make sure to always
drop the dep item that is going to be written back.

"equo install --empty --pretend lighttpd" triggered the issue.
Thanks to micia for reporting.
2011-11-24 16:09:30 +01:00
Fabio Erculiani 563cf65ed6 [entropy.client.interface.dep] fix typo in comment 2011-11-24 16:08:05 +01:00
Fabio Erculiani 5dec2edb5d Release Entropy 1.0_rc77 2011-11-23 22:37:50 +01:00
Fabio Erculiani 1d46c240e3 [entropy.server] initialize_repository: make sure to have all the repository directories in place 2011-11-23 22:35:08 +01:00
Fabio Erculiani 98f33451b4 [entropy.core.settings.base] catch any possible exception when calling generic_file_content_parser 2011-11-18 16:27:18 +01:00
Fabio Erculiani f436f65f53 [entropy.server] fix typo in codecs_fdopen() usage 2011-11-14 12:02:48 +01:00
Fabio Erculiani f41ee1e413 Release Entropy 1.0_rc76 2011-11-13 07:52:00 +01:00
Fabio Erculiani 1e60fa9890 [entropy.spm] PortagePlugin: do not pass use_cache to doebuild() 2011-11-13 07:43:35 +01:00
Fabio Erculiani ccb18bcb6f [entropy.spm] fixup doebuild() call 2011-11-13 07:43:10 +01:00
Fabio Erculiani c5bbde02f6 Release Entropy 1.0_rc75 2011-11-12 22:22:42 +01:00
Fabio Erculiani 8f98f35022 Release Entropy 1.0_rc74 2011-11-12 20:49:02 +01:00
Fabio Erculiani 4d343233dc [entropy.*] drop usage of another_entropy_running(), wait_resources() or similar methods should be used 2011-11-12 16:10:33 +01:00
Fabio Erculiani 032fb24740 [entropy.client.interfaces.package] handle dump_entropy_metadata() errors properly 2011-11-12 13:05:54 +01:00
Fabio Erculiani bda1c3c4cc [entropy.tools] dump_entropy_metadata: check against None rather than using "not" 2011-11-12 13:05:25 +01:00
Fabio Erculiani d123f7c58a [entropy.tools] raise _locate_edb() size threshold to 500Mb (due to xonotic-data) 2011-11-11 18:04:38 +01:00
Fabio Erculiani 389c30ed24 [entropy.client.interfaces.dep] do not pull in a random package only matched by the key if key+slot is not available in repos 2011-11-11 14:59:45 +01:00
Fabio Erculiani 7bd5694b91 [entropy.client.interfaces.methods] fix undefined reference "accomplished" 2011-11-09 10:31:04 +01:00
Fabio Erculiani cc72585bab Release Entropy 1.0_rc73 2011-11-06 19:09:35 +01:00
Fabio Erculiani e527cc7e2e [entropy.client.interfaces.methods] _create_pid_file_lock: handle ENOENT & EACCES correctly, close bug 2835 2011-11-06 19:08:35 +01:00
Fabio Erculiani 6d1ff06c9c Release Entropy 1.0_rc72 2011-11-05 11:27:00 +01:00
Fabio Erculiani b43adff637 [entropy.client.interfaces.dep] introduce the "Slot intersection" feature
Certain dependency strings could have
cross-SLOT scope (multiple slots for same package are valid)
causing unwanted dependencies to be pulled in.
For example: if dependency is "dev-lang/python"
and we have dev-lang/python-2 installed, python-3
should be filtered out (if possible) by checking if
the installed best dependency match slot is still
available in repositories.
If it is, restrict the dependency scope to the intersection
between available SLOTs and installed SLOT.
2011-11-05 11:01:18 +01:00
Fabio Erculiani 039fea49c0 [entropy.server.mirrors] use atomic lock()-ing mechanism when locking a mirror 2011-11-01 13:41:37 +01:00