Usage: binhost-snapshot [options] <src_pkg_dir> <snapshot_dir> <snapshot_uri> <binhos...
authorZac Medico <zmedico@gentoo.org>
Fri, 14 May 2010 03:17:02 +0000 (20:17 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 14 May 2010 03:17:02 +0000 (20:17 -0700)
commit85726a2bd9542d8424aaef60f764fefdb299527c
tree61ab5dd62b616aa52d1e1b0add5242e220572383
parent6133891d39f8fc5d1aa1650fd3c5ad2b2321c93b
Usage: binhost-snapshot [options] <src_pkg_dir> <snapshot_dir> <snapshot_uri> <binhost_dir>

This program will copy src_pkg_dir to snapshot_dir and inside
binhost_dir it will create a Packages index file which refers to
snapshot_uri. This is intended to solve race conditions on binhosts as
described at http://crosbug.com/3225.

Required Arguments:

  src_pkg_dir  - the source $PKGDIR
  snapshot_dir - destination snapshot directory (must not exist)
  snapshot_uri - URI which refers to snapshot_dir from the
                 client side
  binhost_dir  - directory in which to write Packages index with
                 snapshot_uri

Options:
  -h, --help            show this help message and exit
  --hardlinks=HARDLINKS
                        create hardlinks (y or n, default is y)
bin/binhost-snapshot [new file with mode: 0755]