Commit graph

165 commits

Author SHA1 Message Date
Eelco Dolstra d715593122 * Enable asynchronous patch generation (i.e. it doesn't block
mirroring of the channel).


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@24922 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-11-29 16:14:43 +00:00
Rob Vermaas bf23243d12 mirror-channel.pl: check if file is a bzip2 file
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@24362 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-10-19 11:39:24 +00:00
Rob Vermaas b3d95b30d8 mirror-channel.pl: add binary patches option, set ENABLE_PATCHES env var
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@24132 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-10-07 12:19:46 +00:00
Eelco Dolstra 34d4018237 * Speed up the mirror script by reusing the file size / hash info
from the previous manifest (rather than reading all those .hash 
  files, which is rather I/O intensive).


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@23477 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-08-27 09:01:45 +00:00
Eelco Dolstra 412010e2dc * Disable binary patch generation, our poor server can't handle it.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@22974 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-08-05 20:17:17 +00:00
Eelco Dolstra 4deaf50ae6 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@22778 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2010-07-28 08:25:22 +00:00
Eelco Dolstra a621b5cf87 * Run generate-patches.pl.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@22524 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-07-08 09:09:28 +00:00
Eelco Dolstra 6d149f9253 * Store the NARs in a different directory.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@22396 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-06-23 14:07:47 +00:00
Eelco Dolstra b5ad42fd2b git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@19659 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2010-01-26 09:51:05 +00:00
Eelco Dolstra 1a16afabba * Do some locking.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@19658 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-01-26 09:38:13 +00:00
Eelco Dolstra 421313d9b0 * Don't show a progress bar.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@19657 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-01-26 09:17:50 +00:00
Eelco Dolstra 51e53116e9 * Put the NAR hash in the filename to prevent problems if Hydra
redoes a derivation.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@17852 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2009-10-16 11:33:48 +00:00
Eelco Dolstra a919ef0a9b git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@15277 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2009-04-23 13:58:06 +00:00
Eelco Dolstra cfdd333199 * Copy nixexprs.tar.bz2.
* Don't do anything if we get a server error.  Otherwise we might end
  up destroying the target channel.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@15115 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2009-04-17 13:48:30 +00:00
Eelco Dolstra a5c419b725 * Quick script to mirror Nix channels. Ideally it should be possible
to do this with a `wget -r' but the manifest contains absolute
  rather than relative URLs, so those have to be rewritten.  And since
  they have to be rewritten anyway, we can add size and hash fields to
  make the manifest compatible with older version of Nix (and make the
  download size estimate work).


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@15076 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2009-04-16 09:25:42 +00:00