nixpkgs/nixos/modules/services
Luflosi 0eb1d070c8 ipfs-migrator: 1.7.1 -> 2.0.2
https://github.com/ipfs/fs-repo-migrations/releases/tag/v2.0.2

This is pretty much a complete rewrite of the ipfs-migrator package.
In version 2.0.0 a major change was made to the way the migrator works. Before, there was one binary that contained every migration. Now every migration has its own binary. If fs-repo-migrations can't find a required binary in the PATH, it will download it off the internet. To prevent that, build every migration individually, symlink them all into one package and then wrap fs-repo-migrations so it finds the package with all the migrations.
The change to the IPFS NixOS module and the IPFS package is needed because without explicitly specifying a repo version to migrate to, fs-repo-migrations will query the internet to find the latest version. This fails in the sandbox, for example when testing the ipfs passthru tests.
While it may seem like the repoVersion and IPFS version are in sync and the code could be simplified, this is not the case. See https://github.com/ipfs/fs-repo-migrations#when-should-i-migrate for a table with the IPFS versions and corresponding repo versions.
Go 1.17 breaks the migrations, so use Go 1.16 instead. This is also the Go version used in their CI, see 3dc218e300/.github/workflows/test.yml (L4). See https://github.com/ipfs/fs-repo-migrations/pull/140#issuecomment-982715907 for a previous mention of this issue. The issue manifests itself when doing anything with a migration, for example `fs-repo-11-to-12 --help`:
```
panic: qtls.ClientHelloInfo doesn't match

goroutine 1 [running]:
github.com/marten-seemann/qtls-go1-15.init.0()
	github.com/marten-seemann/qtls-go1-15@v0.1.1/unsafe.go:20 +0x132
```
Also add myself as a maintainer for this package.
This fixes the test failure discovered in https://github.com/NixOS/nixpkgs/pull/160914.
See https://github.com/ipfs/fs-repo-migrations/issues/148 to read some of my struggles with updating this package.
2022-02-25 11:12:19 -08:00
..
admin nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
amqp nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
audio nixos/snapserver: fix argument handling. 2022-02-24 23:11:58 +01:00
backup nixos/mysqlBackup: set service Type 2022-02-18 18:35:55 +01:00
blockchain/ethereum nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cluster nixos/kubernetes: use kubectl from kubernetes 2022-02-25 19:22:30 +10:00
computing nixos/slurm: fix startup of slurmd 2022-01-31 23:08:55 +01:00
continuous-integration nixos/github-runner: use --disableupdate flag 2022-01-28 09:46:12 +01:00
databases nixos/virtuoso: drop 2022-02-16 01:01:13 +01:00
desktops nixos/pipewire: default to wireplumber 2022-02-19 19:52:55 +03:00
development nixos/rstudio-server: init 2022-01-17 10:24:38 +11:00
display-managers nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
editors nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
finance nixos/odoo: apply suggestions from review 2021-11-03 12:40:59 +01:00
games ArchiSteamFarm: 5.2.0.10 -> 5.2.1.5; ASF-ui: update 2022-01-09 20:26:03 -06:00
hardware nixos/undervolt: respect services.undervolt.package 2022-02-11 03:57:02 +08:00
home-automation nixos/home-assistant: update package option description 2022-02-22 12:07:02 +01:00
logging logrotate: prepend extraConfig instead of postpending it 2022-02-11 21:07:37 +09:00
mail treewide: use configured nginx package 2022-02-08 12:13:30 +01:00
matrix matrix-synapse-plugins.matrix-synapse-mjolnir-antispam: 1.2.1 -> 1.3.1 2022-02-10 10:50:41 +01:00
misc Merge pull request #158375 from afreakk/plex-example 2022-02-23 17:39:15 +01:00
monitoring nixos/smartctl-exporter: fix typo in rawio capab 2022-01-30 04:32:15 +01:00
network-filesystems ipfs-migrator: 1.7.1 -> 2.0.2 2022-02-25 11:12:19 -08:00
networking nixos/bird: improve systemd hardening / capability set 2022-02-25 11:39:34 +01:00
printing nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
scheduling nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
search Merge pull request #153596 from illustris/elasticsearch 2022-01-30 01:23:58 +01:00
security Merge pull request #161056 from dywedir/nixos/vaultwarden 2022-02-23 22:27:58 +01:00
system nixos/cloud-init: fix trivial error that prevents deploy 2022-02-08 08:15:27 -05:00
torrent Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
ttys nixos/getty: remove serialSpeed 2021-11-19 10:17:26 +01:00
video Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
wayland nixos/cage: log to journal 2021-12-16 23:55:15 +00:00
web-apps nixos/peertube: add python path 2022-02-24 22:34:01 +03:00
web-servers Merge pull request #159187 from martinetd/logrotate 2022-02-23 11:24:17 +01:00
x11 Merge pull request #158787: Pantheon: enable packagekit and drop appcenter patch 2022-02-10 12:56:27 +08:00