espie
3081c4ac9a
remove "needed" debug log now that things work fine.
2011-12-05 21:27:53 +00:00
espie
c783276075
truly random mode shouldn't peek at most frequent dependencies !
2011-12-05 21:22:35 +00:00
espie
03c4aa3410
ouch, don't forget to lock at front of prepare (okay, we can avoid it
...
if no-depends but that's complicated)
also, two distinct critical sections: we don't need to stay locked at
the end of show-prepare-result.
Even though that's not really important, simplify logic a wee little bit
2011-12-05 21:18:55 +00:00
espie
b10178048d
move uninstall behavior to uninstall, unbreak !-J
...
as noticed by fgs@
2011-12-05 18:29:39 +00:00
espie
abb8ddf57d
turn -J into an option taking a number.
...
always run show-prepare-results, and always serialize
depends/prepare/show-prepare-results(/junk) on a single host.
2011-12-05 16:10:00 +00:00
ajacoutot
749308d3d5
Remove MODULE from .poison; it's too generic and breaks at least
...
sudoku-solver.
ok espie@
2011-12-04 16:31:52 +00:00
espie
a38035bd67
clean-up job running a bit: add methods to Grabber and PortBuilder objects
...
to access more stuff they need.
Remove distantshell->make, ask state instead.
Provide state with the program we run, and the parameters we pass it.
- same make for distant and local hosts
- pass BUILD_ONCE=Yes if -a.
2011-12-04 12:05:41 +00:00
espie
ddebaf6da6
not ideal, but will now stop at the end of a -F run.
2011-12-04 11:24:38 +00:00
espie
3858760dd5
cut up big method into smaller parts
2011-12-04 10:57:46 +00:00
espie
69df96b71c
properly forget old info when rescanning...
2011-12-04 10:39:52 +00:00
espie
0393f66f06
most important usage of dpb upfront, before the exhaustive description of
...
option.
Drop a few heavy hints regarding ssh usage.
2011-12-03 18:02:39 +00:00
espie
1674edcbbd
open needed just once.
2011-12-03 11:10:48 +00:00
espie
c1a46f71e8
faster NFS: if the missing file suddenly reappears, we don't need to rescan
...
the path, just put it back in the queue, and forget it ever happened.
2011-12-03 11:03:07 +00:00
espie
91b04a0eac
fix quick-start: the interface to grabber changed in a silent way.
...
explicitly move the main_loop near handle_non_waiting_jobs to try to
fix that mess (and finish all the time)
2011-12-03 11:01:47 +00:00
espie
0037a6f50e
little message tweak (to be changed anyways)
2011-12-03 09:29:41 +00:00
espie
4d52ff4e54
new -J option
...
- refactor redirect a bit to store multi-line results to a temporary file
- new show-prepare-results stage using that
- prepare and show-prepare-results shouldn't be NoTime, since they're
predictable.
- lock host thru depends -> junk in the junk case.
acquiring the lock is done thru polling in the child, so that it doesn't block
dpb proper.
- new "junk" stage that gathers dependencies and deletes them.
2011-12-02 22:37:36 +00:00
espie
2cfd4c615d
new junk option (to remove packages as they're no longer needed) to pass
...
around thru JobBuilder (along with locks since we need to write stuff into
that file)
2011-12-02 22:33:46 +00:00
espie
b5c447a355
don't buffer printing to locks, to be able to get dependencies early
...
gather needed=* lines from locks (may want to cache that info later,
but I don't think it has any actual performance impact)
2011-12-02 22:32:07 +00:00
espie
770bcd5b5a
methods required to be able to lock per-host
2011-12-02 22:29:28 +00:00
espie
1c7aab78c9
sort -u requires one parameter to not hang on stdin...
...
allow SUBDIR=archivers/arc make show-prepare-results to work
2011-12-02 15:14:20 +00:00
espie
18a4d6f4bf
remove dangerous optimization: have paths explicitly pass thru the depends
...
stages, even if the package is already there.
This could break EXTRA depends where the package would already be there,
and thus its dependency tree not really solved, and thus depends could
easily miss packages...
problem reported by nigel@... and not reported by ajacoutot@ :)
2011-12-02 11:52:06 +00:00
espie
f44c50300c
EXTRA should (partly) be handled like DEPENDS/BDEPENDS
2011-12-02 11:40:25 +00:00
edd
fc6c327b16
reserve a uid/gid for lcdproc
...
OK sebastia@
2011-12-01 18:43:32 +00:00
espie
5a04aafc13
zap old stuff, only read plist from stdin if -i was given
2011-12-01 11:20:19 +00:00
espie
ac5bbeeeae
rpath without libs, that's a fun one
2011-12-01 11:13:25 +00:00
espie
2a68fab763
thinko
2011-12-01 11:11:23 +00:00
dcoppa
f1ac9597b6
Reserve a seat for the redis user
2011-11-29 15:50:24 +00:00
naddy
4742472cb6
alpha uses gcc4 now, and so does hppa64
2011-11-29 15:11:18 +00:00
sthen
6a53633581
devel/quirks is important, enforce adding it to the plists in check-plist
...
as done with pkglocatedb. Adding it here suggested by naddy@ (I was originally
going to add it to all the plists).
2011-11-28 12:59:50 +00:00
jasper
5c15af4428
- move to bin and adjust paths where needed, manpages will follown soon
2011-11-28 10:30:22 +00:00
sthen
e7fe871f2c
replace "!defined(MASTER_SITE_OVERRIDE)" check for MASTER_SITES[0..9] with the
...
new ${MASTER_SITE_OVERRIDE:L} == "no" construct, problem reported by naddy@.
2011-11-27 21:04:34 +00:00
espie
48b9bf74ff
bug fix, don't forget to finish_scanning when reading from source !
2011-11-27 17:37:47 +00:00
espie
34c5369453
unconfuse naming
2011-11-27 17:31:54 +00:00
espie
03d1bfec7f
generate a tempfile, THEN move to saved_libs if things are okay
2011-11-27 17:21:44 +00:00
espie
51892d0631
explicitly ask for stdin
2011-11-27 16:52:04 +00:00
espie
0dd6bc04b7
document current changes
2011-11-27 16:50:34 +00:00
espie
adfd6c2aaf
flag error with -i and no source
2011-11-27 16:50:19 +00:00
espie
5c28768a5a
more sensible option combinations.
2011-11-27 16:40:58 +00:00
espie
e0c5221e97
add a bit of debug code that logs everything that's going on...
2011-11-27 16:15:52 +00:00
jasper
d435bb4bc0
whitespace nit
2011-11-27 14:59:21 +00:00
espie
bc6cc54b9b
move binary scanner into its own module
2011-11-27 14:49:42 +00:00
jasper
5a5c2e9e14
add a manpage
...
ok espie@
2011-11-27 13:52:10 +00:00
espie
961be0f72e
add a "quiet" option that doesn't say anything about extra libraries unless
...
there's also missing wantlibs.
2011-11-27 13:39:11 +00:00
espie
f57d8eb001
run objdump in batches, for a *huge* speed-up
2011-11-27 13:29:38 +00:00
jasper
953ca5dbf2
move to bin/ and ajust CPANTEST path
...
ok espie@
2011-11-27 13:29:35 +00:00
espie
061934ab66
prepare the non ldd parser to handle multiple files
2011-11-27 13:10:36 +00:00
espie
d1e36fa052
finish moving parts to the Runner object
2011-11-27 12:42:40 +00:00
espie
7a7321a0bb
rename a few things
2011-11-27 12:29:10 +00:00
espie
d80fe79869
explain source to runner
2011-11-27 12:24:06 +00:00
espie
63f57fae21
abstract running objdump/ldd a bit more into its own class
2011-11-27 12:09:17 +00:00