cvs commit: ports/Tools/portbuild/scripts dosetupnode

Kris Kennaway kris at FreeBSD.org
Sat Jul 26 15:00:37 UTC 2008


kris        2008-07-26 15:00:37 UTC

  FreeBSD ports repository

  Modified files:
    Tools/portbuild/scripts dosetupnode 
  Log:
  * Cleanup
  
  * Catch up to build ID directory changes
  
  * Support a meta-hostname of 'all' for setting up all clients at once.
    This is better than the old way of running one copy of the script
    for each client by hand, since it is easier and involves less
    duplicated work.
  
  * We copy in the per-build ports, src, and bindist .tbz files and .md5
    checksums, as well as refreshing the build scripts and
    bindist-$(hostname).tar customization tarball.
  
  * The -force switch forces copying of files and re-extraction of the
    tarballs on the client.  This is necessary in order to propagate
    local changes to the tarballs after the initial client setup
    (e.g. if you need to change a file in the ports tree, it must be
    recompressed, redistributed, and re-extracted on the client).
  
  * The -queue switch will poll the client's job queue after completion
    of the setup.  This is racy and should only be used when the machine
    is not currently accepting jobs.
  
  * For cleaning up a build the 'build cleanup' command should now be
    used instead.  It calls back into this command but also allows full
    clenaup of build-local files on the client.
  
  TODO: "all" setups are hard on the server since they may spawn dozens
  of rsyncs at once.  A better solution would be to have a worker pool
  of setup tasks to limit the maximum load.
  
  Revision  Changes    Path
  1.13      +154 -29   ports/Tools/portbuild/scripts/dosetupnode


More information about the cvs-ports mailing list