Skip to content

tork: init at 0.5.0 - #540992

Merged
GaetanLepage merged 2 commits into
NixOS:masterfrom
melqtx:tork-init
Oct 27, 2026
Merged

GaetanLepage merged 2 commits into
NixOS:masterfrom
melqtx:tork-init

Conversation

@melqtx

@melqtx melqtx commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Adds tork, a terminal torrent search and download client.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • aarch64-darwin
  • Tested, as applicable:
    • [NixOS tests] in [nixos/tests].
    • [Package tests] at passthru.tests.
    • Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
  • Ran nixpkgs-review on this PR. See [nixpkgs-review usage].
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
  • Follows the [automation/AI policy].

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Jul 12, 2026
@melqtx
melqtx marked this pull request as ready for review July 12, 2026 09:26
@liberodark
liberodark requested a review from GaetanLepage July 12, 2026 09:27
@liberodark

Copy link
Copy Markdown
Contributor

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (71d8654)

Command: nixpkgs-review pr 540992
Commit: d8aaf439eac0a9fbce7a2cefe9a9ee7c0114b276 (subsequent changes)
Merge: 0c75bbe55f4865ca9650ad3e4d2c76fb729dd53c

Logs: https://github.com/liberodark/nixpkgs-review-gha/actions/runs/29187465750/attempts/1


x86_64-linux

✅ 1 package built:
  • tork

aarch64-linux

✅ 1 package built:
  • tork

x86_64-darwin

✅ No rebuilds


aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • tork

Comment thread pkgs/by-name/to/tork/package.nix Resolved
Comment thread pkgs/by-name/to/tork/package.nix Resolved
@Nadim147c

Copy link
Copy Markdown
Member

I've looked into the commit history and this repository is only 5 days old. I think it shouldn't be added.

@melqtx

melqtx commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

um fair enough, is there a specific threshold(on how old the repo is) you’d recommend before resubmitting, such as a stable release, a certain period of active development? i couldn’t find any repository age limit in the package guidelines.

@Nadim147c

Copy link
Copy Markdown
Member

um fair enough, is there a specific threshold(on how old the repo is) you’d recommend before resubmitting, such as a stable release, a certain period of active development? i couldn’t find any repository age limit in the package guidelines.

There isn't any fixed date threshold. The main concern is that nixpkgs don't want to add any software which is likely to be abandoned. My #540992 (comment) was for any committer reviewing the changes.

You should keep the PR. It's up to committers to decide whether they want to merge it.

@GaetanLepage
GaetanLepage marked this pull request as draft July 13, 2026 10:00
@GaetanLepage

Copy link
Copy Markdown
Contributor

No threshold indeed, but we need a minimal signal that the package is somewhat used by some people.
This one is a bit too early. Let's wait.

@melqtx melqtx changed the title tork: init at 0.2.0 tork: init at 0.5.0 Oct 26, 2026
@melqtx
melqtx marked this pull request as ready for review October 26, 2026 14:34
@melqtx
melqtx requested a review from Nadim147c October 26, 2026 14:35
@melqtx

melqtx commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

I think this is a good time to request another review. Tork has matured since the initial version I think. Updated the package and rebased onto current master.

@nixpkgs-ci nixpkgs-ci Bot added the 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! label Oct 26, 2026

@GaetanLepage GaetanLepage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the submission!

Also, please cleanup your git history. Just leave two commits:

  • maintainers: add melqtx
  • tork: init at 0.5.0

Comment thread pkgs/by-name/to/tork/package.nix Resolved
Comment thread pkgs/by-name/to/tork/package.nix Resolved
Comment thread pkgs/by-name/to/tork/package.nix Resolved
Comment thread pkgs/by-name/to/tork/package.nix Resolved
@melqtx

melqtx commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the submission!

Also, please cleanup your git history. Just leave two commits:

  • maintainers: add melqtx
  • tork: init at 0.5.0

cleaned up the git history, and resolved the issues with nix file

@melqtx
melqtx requested a review from GaetanLepage October 27, 2026 03:55
@nixpkgs-review-gha

Copy link
Copy Markdown

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (710407f)

Command: nixpkgs-review pr 540992
Commit: 47e0f028acb845d093f59b4e7d8949c7667b2c44 (subsequent changes)
Merge: 3a76f72dde34eecd4c8ecd74994dd411576ef881

Triggered by @Nadim147c (90786729)
Logs: https://github.com/Nadim147c/nixpkgs-review-gha/actions/runs/40456109139/attempts/1


x86_64-linux

✅ 1 package built:
  • tork

aarch64-linux

✅ 1 package built:
  • tork

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • tork

@liberodark

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 540992 --package tork
Commit: 47e0f028acb845d093f59b4e7d8949c7667b2c44


riscv64-linux

✅ 1 package built:
  • tork

@Nadim147c

Copy link
Copy Markdown
Member

This is the error for aarch darwin

  tork> --- FAIL: TestMaybeCheckHealthRunsWhenDue (0.01s)
  tork>     health_test.go:58: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestMaybeCheckHealthSkipsWhenNotDue (0.00s)
  tork>     health_test.go:86: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestMaybeCheckHealthRespectsDisabled (0.00s)
  tork>     health_test.go:102: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestMaybeCheckHealthCancelsDuringWarmup (0.01s)
  tork>     health_test.go:115: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestProbeEngine (0.00s)
  tork>     health_test.go:135: probeEngine: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestMaybeCheckHealthStopWaitsForTheProbe (0.00s)
  tork>     health_test.go:165: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestMaybeCheckHealthStopIsAlwaysSafeToCall (0.00s)
  tork>     health_test.go:188: start torrent client: first listen: listen tcp4 :0: bind: operation not permitted
  tork> --- FAIL: TestDownloadContinuesWithUIClosedAndSurvivesWorkerRestart (0.00s)
  tork> panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted [recovered, repanicked]

Comment thread pkgs/by-name/to/tork/package.nix Resolved
@GaetanLepage

Copy link
Copy Markdown
Contributor

Amend the commit and we should be good

@GaetanLepage

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 540992
Commit: b4aa41f868d80514b3ee0063a5861d77a664b102


x86_64-linux

✅ 1 package built:
  • tork

aarch64-linux

✅ 1 package built:
  • tork

aarch64-darwin

✅ 1 package built:
  • tork

@GaetanLepage GaetanLepage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 27, 2026
@GaetanLepage
GaetanLepage added this pull request to the merge queue Oct 27, 2026
Merged via the queue into NixOS:master with commit d0422fb Oct 27, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants