| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: apply nixfmt 1.2.0 | Dyego Aurélio | 2026-01-22 | 1 | -1/+1 |
| * | tests.fetchtorrent: don't run these tests on Hydra, take 2•••As reported in https://github.com/NixOS/nixpkgs/pull/464999#issuecomment-3593574707, I landed this on the wrong attrset and didn't check it.
Now validated with `nix-instantiate --strict --json --eval -A tests.fetchtorrent.http-link.meta.hydraPlatforms`
| Philip Taron | 2025-12-03 | 1 | -8/+13 |
| * | tests.fetchtorrent: don't run these tests on Hydra | Philip Taron | 2025-11-25 | 1 | -0/+5 |
| * | tests.fetchtorrent: avoid builtins.convertHash•••This function wasn't added until Nix 2.19, so we shouldn't (yet) be
relying on it.
| Adam Dinwoodie | 2025-11-12 | 1 | -11/+1 |
| * | tests.fetchtorrent: verify and delete in postFetch (#458193) | Robert Hensing | 2025-11-09 | 3 | -25/+76 |
| |\ |
|
| | * | tests.fetchtorrent: store torrent file locally•••Avoid being unnecessarily dependent on webtorrent.io being available.
| Adam Dinwoodie | 2025-11-08 | 2 | -1/+1 |
| | * | tests.fetchtorrent: verify and delete in postFetch•••The Sintel torrent used for testing fetchtorrent is about 124MB, which
is downloaded and cached for every test every time the test inputs
change. Avoid that by instead validating the file hashes in the
postFetch stage, then deleting the downloaded files, so the only thing
that needs to be stored is an empty directory.
| Adam Dinwoodie | 2025-11-03 | 2 | -24/+75 |
| * | | fetchtorrent: use Transmission 4•••I don’t know why setting `--config-dir` breaks the finish script
with Transmission 4, but I don’t really feel like spending more
time investigating than I already did. It does still respect the
passed settings, since we were passing the default location anyway.
| Emily | 2025-10-28 | 1 | -3/+2 |
| |/ |
|
| * | fetchtorrent: add flatten argument for rqbit•••Currently, the output from fetchtorrent will be different depending on
whether the default "transmission" backend or the "rqbit" backend is
used, because "rqbit" changed its behaviour in v6.0.0 to create
subdirectories.
Restore the old behaviour for the rqbit backend of flattening the
directory structure, but add a "flatten" argument to allow users to
explicitly request the behaviour without this change.
Because fetchtorrent produces fixed-output derivations, it's possible
that people won't notice the changes in behaviour here, so add a warning
that the behaviour might be unexpected (in either direction!) if the
flatten argument isn't specified for the rqbit backend, and -- to avoid
needing to support it indefinitely -- a warning that `flatten = false`
will be deprecated in future.
Update the fetchtorrent tests to check all the relevant combinations,
and to mark all tests as now working.
Update the release notes to advertise this breaking change.
Fixes #432001.
| Adam Dinwoodie | 2025-08-09 | 2 | -26/+133 |
| * | fetchtorrent: check JSON config usage correctly•••The arguments to `fetchtorrent` are supposed to throw an error if the
user attempts to specify JSON configuration when they're not using the
transmission backend, however a logic error means the error will never
be thrown.
Move the test to somewhere where the behaviour will actually be checked.
| Adam Dinwoodie | 2025-08-09 | 1 | -5/+4 |
| * | fetchtorrent: run hooks when using rqbit•••The postFetch and postUnpack hooks ought to be run in fetchtorrent
regardless of the backend in use. Ensure that's the case, rather than
only running them if the transmission backend is being used.
| Adam Dinwoodie | 2025-08-09 | 1 | -2/+11 |
| * | fetchtorrent: test using Sintel torrent•••The current torrent used for testing fetchtorrent isn't free, which
prevents the tests running in a lot of environments. Swap for a torrent
of the Sintel film, which has a free license.
This unfortunately increases the closure size of the tests: Sintel is
124MB, compared to 54MB for the Wired CD. This was the smallest torrent
I could find that both had a free license and was sufficiently well
seeded to be useful for testing.
| Adam Dinwoodie | 2025-08-08 | 1 | -29/+36 |
| * | fetchtorrent: record rqbit tests as broken•••See #432001
| Adam Dinwoodie | 2025-08-08 | 1 | -2/+6 |
| * | treewide: run nixfmt 1.0.0 | Wolfgang Walther | 2025-07-24 | 1 | -10/+11 |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -43/+71 |
| * | treewide: remove unused lib (and other) arguments | Sigmanificient | 2024-07-26 | 1 | -1/+1 |
| * | transmission_3: rename from transmission | Doron Behar | 2024-06-21 | 1 | -2/+2 |
| * | tests.fetchtorrent: add watched-cd license•••This marks the tests unfree, shuold be fixed in a follow up.
| Peder Bergebakken Sundt | 2023-12-02 | 1 | -2/+24 |
| * | fetchtorrent: add `meta` support | Peder Bergebakken Sundt | 2023-12-02 | 1 | -0/+2 |
| * | fetchFromBittorrent: Rename to fetchtorrent | Eirik Wittersø | 2023-10-28 | 2 | -0/+85 |