Commit graph

257 commits

Author SHA1 Message Date
raito d6e2bc96a5 feat(*): init Rust port
This is a Rust port of the original Perl script, legacy cruft is removed
and it focuses on a modern Hydra deployment.

Nonetheless, it knows how to perform migrations based on the channel
versions.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-31 16:58:43 +02:00
hexa 809d960f49 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f88df4bf25b729d78712c441fb0910f7085e9395' (2024-05-20)
  → 'github:NixOS/nixpkgs/d1930fa7524da1d320d00eecba84e81810477f3a' (2024-06-06)
2024-06-07 15:05:34 +02:00
hexa f7b94cc8b2
Drop nix-index overlay and upgrade to 24.05 2024-06-07 15:05:22 +02:00
Martin Weinelt 063e77c4d1
Merge pull request #73 from NixOS/remove-old-scripts
remove the scripts we're not using
2024-05-30 22:31:37 +02:00
Jonas Chevalier 5b70d5e022 remove the scripts we're not using
I did a quick search in the infra repo. And also assuming that anything
that is 4y+ old is probably not maintained.
2024-05-30 19:06:02 +02:00
Martin Weinelt df7a9c1ba7
Merge pull request #71 from K900/plasma-6-isos
Ship Plasma 6 ISOs
2024-05-22 00:53:39 +02:00
Ilya K e427972875 Update nix-index to latest git to fix https shenanigans 2024-05-21 21:46:24 +03:00
Ilya K 3f573cb3b6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/526d051b128b82ae045a70e5ff1adf8e6dafa560' (2024-02-20)
  → 'github:NixOS/nixpkgs/f88df4bf25b729d78712c441fb0910f7085e9395' (2024-05-20)
2024-05-21 21:42:43 +03:00
Ilya K 6eac9547ea Ship Plasma 6 ISOs 2024-05-20 19:00:05 +03:00
Martin Weinelt 7b22f478d8
Merge pull request #70 from K900/https
fix: use unwrapped nix-index, patch it for https (for now)
2024-04-17 10:26:16 +02:00
Ilya K 3f72581cba fix: use unwrapped nix-index, patch it for https (for now) 2024-04-17 11:10:51 +03:00
Martin Weinelt 0913471839
Merge pull request #69 from K900/download-more-fast
Parallelize xz by default
2024-02-22 17:11:44 +01:00
Ilya K b7ece44d13 Parallelize xz by default
🚀
2024-02-22 19:03:58 +03:00
Pierre Bourdon 50daba62af
index-debuginfo: support building with Nix >= 2.19 2024-02-21 00:26:10 +01:00
Pierre Bourdon c09f3125d5
flake: bump nixpkgs to 23.11, fix deprecated pkgconfig usage 2024-02-21 00:00:26 +01:00
Pierre Bourdon 919045560c
mirror-nixos-branch: fetch channel artifacts from S3 directly (#68)
The channel scripts hit into NixOS/nixos-org-configurations#212
sometimes when fetching ISOs from cache.nixos.org to copy to the
channels bucket. This makes runs take hours when they should take
minutes.

There is no benefit gained from going through cache.nixos.org for this
use case. As noticed by @K900, the .iso nar.xz files on the cache are
unlikely to be touched by anyone other than the channel scripts, so we
don't even end up pre-warming the cache or anything along those lines -
if anything, we just waste cache bytes that could be used by other
paths.

Fixes #67.
2024-01-28 19:40:32 +01:00
Vladimír Čunát 074f417efa
mirror-nixos-branch.pl: drop i686 for > 23.11 2024-01-01 17:49:21 +01:00
hexa e2c8b9f483
mirror-nixos-branch.pl: Prune special handling for NixOS 22.05 2023-12-25 00:30:28 +01:00
Vladimír Čunát f37d5e1545
mirror-nixos-branch.pl: avoid deprecated nix sub-commands
warning: 'cat-store' is a deprecated alias for 'store cat'
warning: 'hash-file' is a deprecated alias for 'hash file'
2023-11-14 10:09:26 +01:00
Graham Christensen 035a2d539b
Merge pull request #62 from K900/the-nix-index-thing
Replace ad-hoc command-not-found generation scripts with nix-index
2023-01-30 14:08:08 +00:00
Graham Christensen 2fb68d4782
Update index-debuginfo.cc 2023-01-26 08:33:36 -05:00
Ilya K cda466b04a fix: fix debuginfo paths 2023-01-26 10:11:34 +03:00
Ilya K 1b0aa5e0d1 Use nix and nix-index from nixpkgs instead of their own flakes 2023-01-12 21:00:49 +03:00
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