Commit graph

111 commits

Author SHA1 Message Date
Eelco Dolstra
d3d33d5b25 Store releases in S3
Fixes #7.
2016-09-26 18:06:51 +02:00
Eelco Dolstra
becf1f2ae3 Atomically update channels/.htaccess
Otherwise we might clobber the redirects if the disk is full, and in
any case there is a time window in which .htaccess is in an
inconsistent state.

Fixes https://github.com/NixOS/nixpkgs/issues/18544.
2016-09-12 23:20:12 +02:00
Eelco Dolstra
8a0ed20e6d Improve error message 2016-08-22 17:26:27 +02:00
Eelco Dolstra
76ca1da3ee Add $out/bin to $PATH 2016-08-22 17:18:44 +02:00
Eelco Dolstra
c981c37438 Add README 2016-08-22 17:18:29 +02:00
Eelco Dolstra
ab086b22ef Revive programs.sqlite generation
Fixes #4.
2016-08-11 14:41:26 +02:00
Eelco Dolstra
8f7fbdaff7 Die tabs die 2016-08-08 17:32:24 +02:00
Eelco Dolstra
72501d545d Remove obsolete binary patch generation scripts 2016-04-13 11:42:52 +02:00
Eelco Dolstra
852e1b6bf2 Drop 32-bit images (except iso-minimal) 2016-03-17 12:21:13 +01:00
Eelco Dolstra
000a9f2766 Workaround for https://github.com/NixOS/nix/issues/792 2016-03-07 11:12:24 +01:00
Eelco Dolstra
373d8b7b38 Fix NixOS 15.09 channel generation 2016-03-07 10:51:46 +01:00
Eelco Dolstra
f46cb14bb7 Handle nixpkgs-unstable channel updates 2016-03-04 20:45:35 +01:00
Eelco Dolstra
a6ab71c2f9 Update .htaccess redirects to latest NixOS ISOs 2016-03-04 20:27:15 +01:00
Eelco Dolstra
18af18f351 Fix Git path 2016-03-03 18:29:05 +01:00
Eelco Dolstra
a058826231 Record top-level store paths of each release
We need this to do garbage collection on cache.nixos.org now that
MANIFEST is gone.
2016-03-03 15:59:25 +01:00
Eelco Dolstra
f7beae78eb Rewrite mirror-nixos-branch in perl; handle new Hydra situation
We're no longer on a machine that contains the actual store paths of
the release, so we have to fetch them.
2016-03-01 20:03:10 +01:00
Eelco Dolstra
4de7a4a85c Remove tabs 2016-03-01 11:12:36 +01:00
Eelco Dolstra
0c75ea5ba5 Push nixpkgs-unstable branch to nixpkgs-channels
Fixes https://github.com/NixOS/nixpkgs/issues/11427.
2015-12-04 18:15:39 +01:00
Eelco Dolstra
5fd290852c Do a git update before doing rev-parse 2015-12-02 11:42:49 +01:00
Eelco Dolstra
97b39b07dc Check for errors when compressing NARs
Otherwise, an error (like disk full) will cause a truncated NAR file
to be uploaded to the binary cache.
2015-10-06 23:13:49 +02:00
Eelco Dolstra
e4b04c877f Package database: Support multiple outputs 2015-09-02 18:36:17 +02:00
Eelco Dolstra
0cd5fe7808 Prefer shorter attribute paths in the package database
E.g. "python" is better than "python27Packages.python".
2015-09-02 18:06:27 +02:00
Eelco Dolstra
bc1b2301df Use attribute paths in the package database 2015-09-02 17:39:05 +02:00
Eelco Dolstra
d528d56e2d Prevent concurrent access to the Git clone 2015-09-02 11:31:13 +02:00
Eelco Dolstra
a441c018e2 Ensure that the channel doesn't go back in time
This can happen when builds are restarted, causing the "latest
finished evaluation" to point to an older evaluation.
2015-09-02 11:16:51 +02:00
Eelco Dolstra
87ccf9de70 Fix updating releases/.htaccesss
Fixes https://github.com/NixOS/nixpkgs/issues/9228.
2015-08-13 14:17:25 +02:00
Eelco Dolstra
c76fc42d03 Script for signing existing .narinfo files in a binary cache 2015-06-03 16:23:36 +02:00
Eelco Dolstra
d84441483e Scripts for deleting garbage from the binary cache 2015-06-03 16:23:16 +02:00
Eelco Dolstra
bc8cce06a5 After updating the channel, update/push a corresponding Git branch
https://github.com/NixOS/nixpkgs/issues/3609
2015-03-05 17:40:48 +01:00
Eelco Dolstra
21d41d521e Remove unused script 2015-03-05 17:03:46 +01:00
Eelco Dolstra
8db0250c1f Sign cache.nixos.org 2015-02-19 14:26:33 +01:00
Eelco Dolstra
3218e8b885 * Remove tabs.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34869 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2015-02-03 10:19:59 +00:00
Eelco Dolstra
4c9ccbd775 * Remove obsolete script.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34868 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2015-02-03 10:09:21 +00:00
Eelco Dolstra
9ba38f8bdd * Use https for the Nixpkgs channel binary caches.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34867 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2015-01-12 11:05:39 +00:00
Eelco Dolstra
140bb432ae * Clean up small releases.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34864 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-12-09 12:42:06 +00:00
Eelco Dolstra
22ff163cca * Remove dead patch propagation code.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34858 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-09-10 12:16:36 +00:00
Eelco Dolstra
3481bfaf40 * Fix Nixpkgs manual mirroring.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34857 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-09-10 12:05:26 +00:00
Eelco Dolstra
30a6654bf2 * Fix mirroring Nixpkgs.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34856 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-09-09 09:50:56 +00:00
Eelco Dolstra
a0b1ad366a * Handle chunked manual.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34855 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-08-29 15:20:23 +00:00
Eelco Dolstra
48ddb3eec8 * Idem.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34854 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-08-29 15:20:05 +00:00
Eelco Dolstra
3ac156edb9 * Include .sha256 files.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34853 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-08-29 15:19:00 +00:00
Eelco Dolstra
1c063dced7 * Redirect to /releases instead of releases.nixos.org.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34848 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-08-05 10:52:18 +00:00
Eelco Dolstra
9f746c828f * Mirror multiple releases.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34818 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2014-04-25 09:25:59 +00:00
Eelco Dolstra
9dd6c6cf92 * Use releases.nixos.org.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34805 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-12-19 15:38:27 +00:00
Eelco Dolstra
58f2a2dc7c * Redirect to latest 13.10 release.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34798 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-11-01 15:56:40 +00:00
Eelco Dolstra
f4d7120ddd * Fix manual job name.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34797 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-11-01 15:56:22 +00:00
Eelco Dolstra
ba7e9f67e5 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34775 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2013-10-09 12:06:07 +00:00
Eelco Dolstra
ac8e525835 * Support multiple NixOS branches.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34774 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-10-09 12:04:29 +00:00
Eelco Dolstra
0a96d82417 git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34773 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb 2013-10-09 09:02:09 +00:00
Eelco Dolstra
0e0501a241 * Rename.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34772 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2013-10-09 09:01:54 +00:00