Commit graph

256 commits

Author SHA1 Message Date
Eelco Dolstra 65d629a2e2 * For the NixOS channel, use the ‘tested’ aggregate job instead of the
‘tested’ view.  Views are obsolete.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34755 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-08-13 12:11:54 +00:00
Eelco Dolstra 66526718f5 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34744 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2013-06-19 00:05:44 +00:00
Eelco Dolstra e840413799 * Rsync releases over to nixos.org.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34743 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 23:23:05 +00:00
Eelco Dolstra 297e7999a0 * Code to check whether all referenced NARs exist.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34742 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 23:10:59 +00:00
Eelco Dolstra 1720cb8877 * Fix manifest generation: changes to the NAR info structures in the
children need to be communicated back to the parent.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34739 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 19:28:59 +00:00
Eelco Dolstra b6d6feaef3 * Parallelize mirror-channel.pl by forking several worker processes to do
the compression / uploading.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34738 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 13:14:05 +00:00
Eelco Dolstra 9ff5956af0 * Handle .nar.xz.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34737 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 02:15:49 +00:00
Eelco Dolstra 1c233f0b23 * Upload binary cache data directly to S3.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34736 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-17 00:33:29 +00:00
Rob Vermaas b85d302137 Upload script binary cache to s3.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34735 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-06 10:07:04 +00:00
Eelco Dolstra d4873737b7 * Update binary cache URL.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34734 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-06-06 10:03:23 +00:00
Eelco Dolstra 9b874ad1f6 * Keep fewer old releases.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34728 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-05-23 20:24:14 +00:00
Eelco Dolstra e9f69209fc * Enable xz compression of NARs.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34727 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-05-23 20:23:58 +00:00
Eelco Dolstra 0ddda8e433 * Fix job names.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34701 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-04-02 11:55:37 +00:00
Eelco Dolstra 1ea3048b91 * As an optimisation, when mirroring a NAR, if the store path exists
locally, then use it directly instead of going through Hydra.  Since
  the mirror script currently runs on the Hydra server, this will
  always be the case.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34698 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-03-25 13:19:27 +00:00
Eelco Dolstra e468488a13 * Add a programs.sqlite to the NixOS channel (for missing
command suggestions in NixOS).


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34697 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-03-25 13:17:47 +00:00
Eelco Dolstra 13c9841c25 * Fix channel generation. I really shouldn't parse HTML...
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34690 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-02-24 21:05:32 +00:00
Eelco Dolstra 3055fa3adf * Generate nixexprs.tar.xz.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34685 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-02-05 14:55:24 +00:00
Eelco Dolstra 3aad07cee3 * Randomly permute the order in which we download NARs so that
mirror-nixos and mirror-nixpkgs don't download the same files at the
  same time.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34682 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-01-18 11:48:37 +00:00
Eelco Dolstra 163a3e591f * Cleanup scripts: handle the binary cache.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34661 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-12-10 18:22:46 +00:00
Eelco Dolstra 06b5457061 * Get rid of .hash.* files.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34660 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-12-10 11:38:45 +00:00
Eelco Dolstra cbfc30c73b * Integrate binary cache generation into the mirror-channel script.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34658 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-12-09 22:43:26 +00:00
Eelco Dolstra 8cc83aaa27 * Add a script to delete old NixOS/Nixpkgs releases.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34655 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-12-06 16:48:10 +00:00
Eelco Dolstra ed92520f7b * Move the NixOS/Nixpkgs channels to http://nixos.org/channels.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34648 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-11-09 12:40:10 +00:00
Eelco Dolstra 4f38e21136 * Rename badly named script.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34640 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-10-29 11:11:05 +00:00
Eelco Dolstra f64bd1231d * Export a binary-cache-url file.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34639 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-10-29 11:10:33 +00:00
Eelco Dolstra 6ef672d390 * Generate nix-cache-info.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34595 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-07-30 22:53:19 +00:00
Eelco Dolstra 616b63a54d git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34585 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2012-07-09 18:22:31 +00:00
Eelco Dolstra a550734488 * Slight improvements to the conversion script.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34584 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-07-09 18:20:39 +00:00
Eelco Dolstra 50d69c15f0 * Hacky script to create a binary cache from a set of manifests.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34575 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-07-02 22:54:26 +00:00
Eelco Dolstra 4d2e345db0 * Generate patches between NixOS releases.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34393 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-06-08 21:46:29 +00:00
Eelco Dolstra d6bbc1d9f5 * Update the /data/releases cleanup scripts.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34040 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-05-09 23:13:05 +00:00
Eelco Dolstra a00b5af18d * Urgh. Punishment for grepping info off a web page.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33816 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-04-17 15:54:06 +00:00
Eelco Dolstra daab27d850 * Generate a NixOS channel (http://nixos.org/releases/nixos/channels/nixos-unstable/).
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33728 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-04-10 16:00:32 +00:00
Eelco Dolstra d73ddef07c git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33658 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2012-04-06 20:17:13 +00:00
Eelco Dolstra d0e1a3c388 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33611 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2012-04-05 10:53:29 +00:00
Eelco Dolstra f4f15a619e * Move stuff around.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33593 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-04-04 21:18:57 +00:00
Eelco Dolstra 4d9d3a88a1 * Base the Nixpkgs channel on
http://hydra.nixos.org/view/nixpkgs/unstable/.  So now the Nixpkgs
  channel corresponds to exactly one revision of Nixpkgs (i.e. no more
  binaries from previous revisions), there is some minimal assurance
  that the channel is okay (because the builds in the "unstable" view
  need to succeed), and older Nixpkgs pre-releases are available under
  http://nixos.org/releases/nixpkgs/.  This means we've come full
  circle, because this is how the Nixpkgs channel used to work before
  we had Hydra :-)

  The downside is that it can take longer for the channel to catch up
  with the Nixpkgs repository.  But that's only a problem for people
  who build from the Nixpkgs repository.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33565 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-04-04 14:45:24 +00:00
Eelco Dolstra b847c5d809 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@30545 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2011-11-23 16:15:33 +00:00
Eelco Dolstra 50a70cd428 * Fix patch generation. It was broken because of the removal of the
"local paths" feature from NixManifests.pm.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@28026 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2011-07-31 23:24:08 +00:00
Eelco Dolstra c850f595bc * Verify whether downloaded NARs have the right hash. This prevents
propagating corrupt store paths.


git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@24985 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-12-06 00:53:36 +00:00
Eelco Dolstra 93e0016e7a * Backup the manifest.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@24937 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2010-11-30 13:05:32 +00:00
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