Ilya K
8656f3e07f
Replace ad-hoc command-not-found generation scripts with nix-index
...
This is much, MUCH faster than the existing solution, especially on large channels.
It can be made even faster if we actually reuse anything whatsoever, but this is
a massive improvement in itself.
2023-01-12 21:00:49 +03:00
Graham Christensen
d5c5417116
Merge pull request #63 from mweinelt/aarch64-linux-redirects
...
mirror-nixos-branch: Create redirects for aarch64-linux ISOs
2022-11-30 20:32:49 +01:00
hexa
5feab0d769
mirror-nixos-branch: Create redirects for aarch64-linux ISOs
2022-11-30 20:30:41 +01:00
Graham Christensen
8117c53e75
Merge pull request #60 from mweinelt/fix-ova-system-name
...
Fix typo in system name for ova image
2022-10-27 17:33:25 +02:00
hexa
f402c5c2fc
Fix typo in system name for ova image
2022-10-27 17:31:37 +02:00
Graham Christensen
4eb90a0854
Merge pull request #58 from mweinelt/restore-22.05-behavior
...
Restore old copy behavior for nixos-22.05
2022-10-25 21:39:37 +02:00
hexa
b603df8489
Restore old copy behavior for nixos-22.05
...
Was prematurely removed in the previous commit.
2022-10-13 21:58:52 +02:00
Domen Kožar
368edf64f9
Merge pull request #57 from mweinelt/aarch64-isos
...
Copy aarch64-linux ISO images unconditionally
2022-10-13 10:43:09 +01:00
hexa
c6046943ca
Copy aarch64-linux ISO images unconditionally
2022-10-01 03:44:32 +02:00
Eelco Dolstra
6d74f1a131
Update to the latest Nix
2022-09-08 14:21:15 +02:00
Eelco Dolstra
3ed896a90e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nix':
'github:NixOS/nix/1ab9da915422405452118ebb17b88cdfc90b1e10' (2020-07-07)
→ 'github:NixOS/nix/c8e8eea95e6d235ba0120bda5a8ff87b97f3e5a7' (2022-09-08)
• Added input 'nix/lowdown-src':
'github:kristapsdz/lowdown/d2c2b44ff6c27b936ec27358a2653caaef8f73b8' (2021-10-06)
• Updated input 'nix/nixpkgs':
'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09' (2020-06-08)
→ 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Added input 'nix/nixpkgs-regression':
'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2' (2022-01-24)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845' (2020-07-07)
→ follows 'nix/nixpkgs'
2022-09-08 14:04:44 +02:00
Vladimír Čunát
b2053e2a33
don't generate program index for i686 anymore ( #56 )
...
It doesn't seem useful. It takes some resources (time + RAM),
and most notably it sometimes block channel with harder-to-get logs.
2022-06-23 19:31:33 +02:00
Eelco Dolstra
46e717bce0
Merge pull request #55 from wamserma/cleanup-mirror-script
...
mirror-nixos-branch: remove special handling for old releases
2022-02-08 19:39:40 +01:00
Markus Wamser
648eb867a0
mirror-nixos-branch: remove special handling for old releases
2022-02-04 07:51:50 +01:00
Graham Christensen
af3570760b
Merge pull request #52 from helsinki-systems/aarch64-support
...
mirror-nixos-branch: Add aarch64 support
2021-11-22 07:31:53 -05:00
Janne Heß
fa2c4eae31
mirror-nixos-branches: Fix failing aarch64 downloads
2021-11-22 12:06:24 +01:00
Janne Heß
a961c8a6b9
mirror-nixos-branch: Add aarch64 support
2021-11-22 01:09:59 +01:00
Jonas Chevalier
20845261a3
s-maxage => maxage
...
Try this to see if it improves on
https://github.com/NixOS/nixos-org-configurations/issues/169
2021-10-21 15:02:40 +02:00
Jonas Chevalier
4587d77d92
Merge pull request #49 from NixOS/channels-cache-control
...
set cache-control on mutable objects
2021-09-08 20:49:15 +02:00
Jonas Chevalier
1a2b045d2c
mirror-nixos-branch: stop pushing to nixpkgs-channels
...
The channel has been archived and doesn't take updates anymore.
2021-09-08 19:41:17 +02:00
Jonas Chevalier
b05671cdb5
set cache-control on mutable objects
...
This allows to override the default TTL on Fastly. Let it know what
these objects should be refreshed more often.
Fixes NixOS/nixos-org-configurations#169
2021-09-08 19:29:17 +02:00
Graham Christensen
9213477d54
Merge pull request #47 from erincandescent/generate-aarch64-index
...
Generate indexes for aarch64 too
2021-04-26 09:12:53 -04:00
Erin Shepherd
69b5e374d9
Generate indexes for aarch64 too
2021-04-24 12:23:40 +02:00
Rok Garbas
575e6abf43
Merge pull request #46 from thequicksort/nixpkgs-channel-migration
...
Update github link to use nixpkgs instead of nixpkgs-channels.
2021-03-30 23:38:47 +02:00
Jessica Dunstan
c1b766ace2
Update github link to use nixpkgs instead of nixpkgs-channels.
2021-03-14 19:53:08 -07:00
Eelco Dolstra
8ecf042708
Remove edition field
2020-10-27 18:40:59 +01:00
Eelco Dolstra
f8db1d7bf9
Add Gnome ISO to the channel
...
Fixes #43 .
2020-10-07 08:45:39 +02:00
Eelco Dolstra
7c442a2f67
Stop updating nixpkgs-channels for NixOS >= 20.09
...
https://github.com/NixOS/nixpkgs/issues/99257
2020-10-02 22:20:28 +02:00
Eelco Dolstra
940d71c32d
Fix build
2020-07-08 13:25:30 +02:00
Eelco Dolstra
08e879c1fa
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/14a3a62bfca6c572b9a415cfa80cdbd7ad4326b3' -> 'github:NixOS/nix/1ab9da915422405452118ebb17b88cdfc90b1e10'
* Updated 'nix/nixpkgs': 'github:NixOS/nixpkgs/b88ff468e9850410070d4e0ccd68c7011f15b2be' -> 'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09'
* Updated 'nixpkgs': 'github:NixOS/nixpkgs/29eddfc36d720dcc4822581175217543b387b1e8' -> 'github:NixOS/nixpkgs/c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845'
2020-07-08 13:15:25 +02:00
Eelco Dolstra
f3aa3bae4c
Fix build
2020-05-12 15:54:37 +02:00
Eelco Dolstra
a37eefc59d
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/3aaceeb7e2d3fb8a07a1aa5a21df1dca6bbaa0ef' -> 'github:NixOS/nix/14a3a62bfca6c572b9a415cfa80cdbd7ad4326b3'
2020-05-12 15:54:37 +02:00
Graham Christensen
7a681103b2
Merge pull request #37 from NixOS/fixup-new-chan
...
curRelease: guard against missing channel
2020-04-12 21:40:26 -04:00
Graham Christensen
3e3304d0f7
curRelease: guard against missing channel
2020-04-12 21:38:18 -04:00
Rok Garbas
ed29118df9
Merge pull request #36 from tilpner/mirror-store-paths
...
mirror: add redirection for store-paths.xz
2020-04-09 22:48:17 +02:00
tilpner
7fd06f9d8d
mirror: add redirection for store-paths.xz
2020-04-09 22:42:56 +02:00
Eelco Dolstra
cd538a4286
Fix build
2020-04-09 17:28:32 +02:00
Eelco Dolstra
7ec2d94303
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/73769b28e376cf1fb3e7248bafaa17c35527925d' -> 'github:NixOS/nix/3aaceeb7e2d3fb8a07a1aa5a21df1dca6bbaa0ef'
* Updated 'nix/nixpkgs': 'github:edolstra/nixpkgs/43e283790fbe330b723ac44b584824cf6d85c1ee' -> 'github:NixOS/nixpkgs/b88ff468e9850410070d4e0ccd68c7011f15b2be'
* Updated 'nixpkgs': 'github:edolstra/nixpkgs/54a27fb2fc5fbd8927f9f6dc77fe1de1faa05266' -> 'github:NixOS/nixpkgs/29eddfc36d720dcc4822581175217543b387b1e8'
2020-04-09 17:27:41 +02:00
Eelco Dolstra
73cf003ecc
Fix dependency on nixos-channel-native-programs
2020-03-26 08:24:46 +01:00
Samuel Dionne-Riel
3cd3da04a1
mirror: Add content-type and content-encoding for .json.br
2020-03-25 15:40:00 -04:00
Samuel Dionne-Riel
7d46561471
mirror: Add redirects for json data files
2020-03-25 14:20:05 -04:00
Samuel Dionne-Riel
51104d8cde
mirror: Use shell-free calls when possible
...
Passing a list of parameters to `system` automatically gives us peace of
mind with regards to shell escaping. This is because it will not rely on
a shell invocation to run the given parameters, but directly exec to it.
The left-over shell invocations all use redirection.
2020-03-24 22:29:10 -04:00
Samuel Dionne-Riel
0568ef3c4a
mirror: Download packages.json.br and options.json.br
2020-03-24 22:24:29 -04:00
Samuel Dionne-Riel
badde7c674
mirror: allow downloadFile to select a specific product
2020-03-24 22:24:11 -04:00
Samuel Dionne-Riel
13154f8e86
mirror: Convert all system
use to run*
2020-03-24 20:05:59 -04:00
Samuel Dionne-Riel
877e989376
mirror: Cosmetic change to the release info output
2020-03-24 19:59:57 -04:00
Samuel Dionne-Riel
84c6a24dac
mirror: Add dry-run mode to better test script
2020-03-24 19:59:50 -04:00
Samuel Dionne-Riel
f5d04ea038
mirror: Use experimental "nix-command" feature.
2020-03-24 19:59:45 -04:00
Samuel Dionne-Riel
ab952e5863
mirror: Introduce two functions for running commands
...
They are thin wrappers over `system`, but two main points:
* They log the (unescaped) command.
* `run` will auto-die.
This removes the need to pepper `== 0 or die` in the script.
2020-03-24 19:59:39 -04:00
Samuel Dionne-Riel
f4d04077c6
Split native programs build from the main build for shell use
...
This way, we can fully run the mirror script in dry-run mode.
2020-03-24 19:59:30 -04:00