Commit Graph

227 Commits

Author SHA1 Message Date
Fabio Erculiani
4cc4407eaa [entropy.server] drop etpConst['community']['mode'], move setting into server.conf 2011-10-17 11:26:46 +02:00
Fabio Erculiani
cd8d70728d [entropy] simplify entropy locks management code, drop non-atomic functions 2011-10-05 10:44:42 +02:00
Fabio Erculiani
9725e74266 [entropy.const] rewrite const_setup_entropy_pid() to not use pid information
Use a full blown lock file instead of a random file serially accessed
and containing unreliable pid information. Of course, pids can be
reused across fork()s, even if this is unlikely (but not impossible).
2011-10-04 22:37:22 +02:00
Fabio Erculiani
f0ade6f50e [matter] rework ve_string_open_file_read parser method to return file path instead of handle 2011-09-25 11:02:13 +02:00
Fabio Erculiani
c0868cf6e2 [matter] fix usage of buildfail, pkgpre and pkgpost file data 2011-09-25 10:40:43 +02:00
Fabio Erculiani
c087c5c096 [matter] wrap tempfile.mkstemp(), write to /var/tmp/matter, avoid issues with /tmp mounted with noexec 2011-09-18 11:38:08 +02:00
Fabio Erculiani
cbefc70042 [matter] fix indentation 2011-09-08 13:22:20 +02:00
Fabio Erculiani
f7de86a6cc [matter] respect Portage AUTOCLEAN setting before spawning unmerge() 2011-09-08 13:20:05 +02:00
Fabio Erculiani
c042ab8627 [matter] inform about post-build operations execution 2011-09-08 13:05:13 +02:00
Fabio Erculiani
f678dcb888 [matter] use Portage Scheduler directly, improve speed 2011-09-08 13:02:55 +02:00
Fabio Erculiani
6269a771d2 [matter] use Portage --resume feature to resume dependency calculation 2011-09-08 12:12:37 +02:00
Fabio Erculiani
fcee11c19b [matter] catch KeyError on match_installed_package() 2011-09-07 21:55:45 +02:00
Fabio Erculiani
55770c4172 [matter] make sure etc-update is always called 2011-09-05 08:52:14 +02:00
Fabio Erculiani
f1098717ec [matter] cleanup code, fix PORT_LOGDIR usage regression 2011-09-04 23:21:56 +02:00
Fabio Erculiani
cf2894a62b [matter] rewrite Portage usage, avoid using fork(), fix portage/emerge object usage, thanks to zmedico@gentoo.org 2011-09-04 22:48:59 +02:00
Fabio Erculiani
ac77c49e65 [matter] drop calls to queue inside _run_builder(), not needed 2011-09-04 21:22:58 +02:00
Fabio Erculiani
966b35311e [matter] add handy bugzilla bug generator tool (sendfail) 2011-09-04 10:19:26 +02:00
Fabio Erculiani
313c2ccfa7 [matter] correct wording about "downgrade" warning messages 2011-08-30 10:41:46 +02:00
Fabio Erculiani
a1e5714490 [matter] make "downgrade" directive affect the whole merge queue 2011-08-30 10:36:10 +02:00
Fabio Erculiani
7ead04fa01 [kernel-switcher] catch KeyboardInterrupt and don't throw traceback to user 2011-08-25 09:52:17 +02:00
Fabio Erculiani
1d29a15e05 [matter] remove temp file in buildfail-tinderbox.sh 2011-08-24 13:45:11 +02:00
Fabio Erculiani
2fca783425 [matter] add simple buildfail example script 2011-08-24 13:43:35 +02:00
Fabio Erculiani
7b5d009149 [matter] add bugzilla submit buildfail hook 2011-08-24 12:32:35 +02:00
Fabio Erculiani
3a9cbb6341 [matter] add "buildfail" directive support 2011-08-24 09:57:58 +02:00
Fabio Erculiani
9b22ff5613 [matter] add support for "not-installed" directive 2011-08-24 08:48:29 +02:00
Fabio Erculiani
32c6dc7a01 [matter] add FEATURES="split-log" and CMAKE_NO_COLOR="yes" to builder env 2011-08-24 08:25:43 +02:00
Fabio Erculiani
247e6fcc10 [services] call env-update with full path 2011-08-21 10:55:10 +02:00
Fabio Erculiani
ff23cadda8 [matter-scheduler] do not use "source" but rather "." 2011-08-20 13:44:03 +02:00
Fabio Erculiani
15e11cc4ef [matter-scheduler] also do env-update && source /etc/profile 2011-08-20 13:43:30 +02:00
Fabio Erculiani
02fc5a5656 [matter] make Entropy colorized output settings affect Portage as well 2011-08-20 13:42:57 +02:00
Fabio Erculiani
ac83742c98 [matter] fixup emerge spinner setup 2011-08-20 13:27:31 +02:00
Fabio Erculiani
c64a0d19a0 [matter] drop workaround for broken sys-apps/portage's post_emerge(), not needed anymore 2011-08-19 21:52:22 +02:00
Fabio Erculiani
db0a4143ed [matter] be more explicit when printing about packages moving across SPM repos 2011-08-14 12:50:28 +02:00
Fabio Erculiani
398ebb2a6e [matter] fine tune output 2011-08-14 11:38:17 +02:00
Fabio Erculiani
fb4eb3eb0a [client] print_package_info: add keyword arg "quiet" 2011-08-13 15:29:30 +02:00
Fabio Erculiani
8fcb3e1162 [matter] remove debug output 2011-08-13 11:42:49 +02:00
Fabio Erculiani
eb2d47a7c4 [matter] update example files 2011-08-13 11:42:42 +02:00
Fabio Erculiani
8fd355d2a4 [matter] implement "spm-repository-change" statement support, move default statements values to parser 2011-08-13 11:40:42 +02:00
Fabio Erculiani
e73ccf24cc [matter] do not account built packages more than once 2011-08-13 11:00:20 +02:00
Fabio Erculiani
928c94ad24 [matter] fix typo in for loop 2011-08-13 11:00:19 +02:00
Sławomir Nizio
8fe39be3a4 [matter] clarify a bit var. documentation in example .particle files 2011-08-11 16:31:23 +02:00
Fabio Erculiani
0da68cf44f [matter] update example files 2011-08-11 07:25:07 +02:00
Fabio Erculiani
3ae8e6ae93 [entropy.server] make possible to split package file into multiple "extra" package files
This introduces a backward-compatible feature (server-side in this commit)
that makes possible to associate more than one package file to a single
package_id. This opens the door to a wide range of future opportunities
but also makes possible to decouple debuginfo files from the rest.
2011-08-08 18:16:54 +02:00
Fabio Erculiani
e6b257251f [matter] implement lock file handling, useful for other apps interaction 2011-08-07 18:13:07 +02:00
Fabio Erculiani
7cb3a46817 [matter] move the main app code to matter_main() 2011-08-07 17:47:39 +02:00
Fabio Erculiani
022c66d14e [matter] keep track of packages not able to build properly 2011-08-07 12:40:38 +02:00
Fabio Erculiani
4695682fb3 [matter] catch KeyboardInterrupt separately when using os.fork() 2011-08-07 11:52:50 +02:00
Fabio Erculiani
8102b6efad [matter] improve reliability of multiprocessing.Queue usage 2011-08-07 11:37:36 +02:00
Fabio Erculiani
da4e202489 [matter] fix typo 2011-08-07 11:19:50 +02:00
Fabio Erculiani
f041332b41 [matter] rewrite multiprocessing.Queue usage 2011-08-06 22:58:06 +02:00