Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 00:57:09 -0700 (PDT)
From:      Satoshi Asami <asami@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/Tools/portbuild/scripts dodistfiles
Message-ID:  <200008290757.AAA14102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
asami       2000/08/29 00:57:09 PDT

  Added files:
    Tools/portbuild/scripts dodistfiles 
  Log:
  A small script to copy distfiles from per-port directory to central
  location.
  
  This is done to avoid write-on-write race conditions, when two package
  builds try to write the same distfile back into the server.  To avoid
  this, the distfiles are first copied over to
  distfiles/.pbtmp/${PKGNAME}, and then a .done file is created in that
  
  directory.  This script runs on the server periodically to copy the
  files to the central location.  Since this script copies one distfile
  at a time, the race mentioned above doesn't exist.  Also, it will only
  copy files from directories where the .done file exists to avoid
  read-before-write race conditions.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008290757.AAA14102>