Commit Graph

2267 Commits

Author SHA1 Message Date
espie
9e48710b68 use a default watched that works,
redirect the init job (move that up to ::Task to reuse it)
default sf to 1 to avoid warnings
2010-03-23 09:57:45 +00:00
bernd
07518a3928 Correct spelling of sturm@'s name. 2010-03-22 20:58:58 +00:00
schwarze
99c03c9944 zap trailing white space 2010-03-22 20:30:43 +00:00
espie
abbf59d6e3 typo, noticed by Andreas Kähäri <ak@ebi.ac.uk> 2010-03-22 20:19:12 +00:00
espie
6f38966be3 this is outdated by several years, don't use this 2010-03-22 12:58:54 +00:00
espie
a2352610a4 forgot to commit that one 2010-03-22 12:55:07 +00:00
espie
ffd0e242f5 document sizefile 2010-03-22 12:53:58 +00:00
espie
65646f4cf7 watched for init jobs, in case they take long enough... 2010-03-21 20:09:42 +00:00
espie
c8394fba61 if terminal can clear to eol, use it. 2010-03-21 19:44:02 +00:00
espie
273cfbc702 make sure hosts have props, this fixes builds without hosts file 2010-03-21 19:43:38 +00:00
espie
a07ce53b70 use :Q to avoid any problem 2010-03-21 17:12:10 +00:00
espie
0a363398c3 ouch, pass TERM only if it's defined. Add TERMCAP while there. And do the same
thing to http_proxy/ftp_proxy, please...
2010-03-21 17:00:46 +00:00
ajacoutot
c4c7ece3ba Add a new APM_ARCHS variable.
comments from espie@ naddy@ jasper@
"looks good" jasper@
2010-03-21 11:34:38 +00:00
espie
cd50be5feb move to newer style -D for pkg_add. 2010-03-20 19:14:49 +00:00
espie
ae1f947e6d pass TERM to pkg_add so that Term::Cap will be able to use more capabilities 2010-03-20 19:14:06 +00:00
espie
feec1c7f7a introduce BROKEN-arch 2010-03-20 19:11:51 +00:00
espie
6b8c2c3025 typo 2010-03-20 18:30:04 +00:00
espie
74539029e0 changes that I worked on after lock.
- avoid logging incomplete builds.
- put stuff in more sane directories
- avoid exiting early
- create unique machine objects and use them
- allow for a script at init/auto ncpu determination
- global build size in /tmp for a given host.
- better terminal handling.
2010-03-20 18:29:18 +00:00
espie
44ae75fc67 handle modern dependencies. 2010-03-20 18:04:28 +00:00
ajacoutot
f0c18abbc3 Add missing _ups group. 2010-03-20 17:09:34 +00:00
espie
a4dad31c19 older code: use new methods code 2010-03-20 17:06:16 +00:00
espie
6a74e2e1de don't look at symlinks. if they point inside fake, then we get the file
anyways. if they point outside of it, they don't make sense until
installed, and we got the file anyways...
2010-03-20 17:05:44 +00:00
espie
40399089e7 actual timeouts 2010-03-05 09:05:46 +00:00
espie
198d43e5ad forgot the manpage 2010-03-05 09:05:30 +00:00
espie
a3ca1adf1f simpler fix: do the \n printing always for glitching terminals 2010-03-05 07:50:15 +00:00
espie
228149426e support for more stats in dpb, basically harmless 2010-03-05 07:49:29 +00:00
espie
a14f2a2255 fix newline handling. thanks naddy@ for the hint 2010-03-04 20:48:12 +00:00
espie
609847a7d3 slightly more evolved: run du twice,to get build size vs. fake size.
Yep, I should be able to use this information later on.
2010-03-04 14:23:01 +00:00
espie
6ccdda1670 log signature errors
move the logs/locks yet again: those are dpb logs, so they belong in
logs dir (note the s). Use one single option (-L) to move both.
remove old -t mode, use -t/-T for ssh/display timeouts
Change the "mem" option to "parse size file", dependent on show-size.
2010-03-04 13:56:09 +00:00
espie
ff14b4c7c3 pass host names around for comparison messages 2010-03-04 13:51:48 +00:00
espie
6fdf400298 add computation of workdir size on -s (assumes a patch to bsd.port.mk
that's not yet there)
2010-03-02 18:20:45 +00:00
espie
d2abbd61aa better control logic.
prepare to du port dir.
2010-03-02 02:33:15 +00:00
espie
9a2f0331f4 set random behavior after we parse the option, so this is actually more
random... problem noticed by naddy@
2010-03-01 18:11:11 +00:00
espie
a8e8acea0d fix for non-terminal 2010-03-01 18:01:11 +00:00
espie
61b975e3b2 tweak logic of run slightly, so that we actually check stuff in finalize,
as should be. This also simplifies infinite jobs slightly, since we build
the tasks we want directly
2010-03-01 17:59:49 +00:00
espie
a58639ad7a if make clean isn't enough, do it again with sudo, but log it.
(also, bug in notime, really don't take into account what we shouldn't)
2010-03-01 17:57:25 +00:00
espie
53d76dd037 less flickering: compute what to display, and do it at once 2010-02-28 11:49:45 +00:00
espie
f71d67db02 don't stop at the first error, report all 2010-02-27 10:05:42 +00:00
espie
0118b624ce let myprint work with -x 2010-02-27 09:53:44 +00:00
espie
d17585f86b activate library signature code. now we check that machines DO match 2010-02-27 09:53:09 +00:00
espie
c8942d3783 fix watch: if we use the offset too soon, it changes all the time, and we
never notice
2010-02-27 09:28:47 +00:00
espie
abbba7caf8 oops, fetch should not be accounted in the log either. 2010-02-27 08:30:44 +00:00
espie
81cdf2d3a4 do something sensible if run without any options 2010-02-27 08:30:01 +00:00
espie
a090480935 TRY_BROKEN, idea from FreeBSD (by popular demand, jasper + phessler) 2010-02-26 19:20:24 +00:00
espie
7a81866fd7 warn about FULLPKGNAME without FULLPKGPATH, as it is a bit difficult to spot
in complicated ports
2010-02-26 19:05:23 +00:00
espie
a435ac28e6 a few improvemennts:
- give more responsibility to tasks, so that they can time themselves without
any higher level support
- record errors the opposite way, so that more recent errors show up first
- better terminal display: use fullwidth, clamp to terminal height
- less logsize fuzz, always trim preparation stages
- dpb's pid - dependent ssh socket names, so that 2 dpb can talk to the same machine.
- pid display for dpb itself, and ssh masters.
2010-02-26 12:14:57 +00:00
espie
a0aa57c2e3 being clueless shouldn't fork-bomb.
featuring tedu@ as crash-test dummy ;-)
2010-02-26 12:11:55 +00:00
espie
61d822e8d5 work-in-progress: new distributed ports builder.
will replace old dpb once we're satisfied it works.
some features:
- no more waiting, starts building right away, the dependencies discovery
process is just another job,
- monitor display that makes it easy to know when jobs get stuck, or machines
get down.
- loads of logs,
- locks that stay around in case of error, and that you can remove when
the error has been fixed (dpb picks it up),
- smart choice of which package to build,
- can take into account previous build times,
- builds on machines of differing speed, offloading "lighter" jobs to slower
boxes.

(again, ports is still locked for most people)
2010-02-24 11:33:31 +00:00
espie
8461975175 band-aid for out-of-date, as noticed by various people
(there are probably nicer ways to do this now)
2010-02-16 20:50:32 +00:00
espie
9e0b3d6c97 don't iterate on IGNORE, this breaks java's jrl message 2010-02-13 21:11:35 +00:00