Repository navigation
worktrunk: init at 0.29.0 - #496607
worktrunk: init at 0.29.0#496607
Conversation
|
|
|
||
| meta = { | ||
| description = "Git worktree manager for parallel AI agent workflows"; | ||
| homepage = "https://github.com/max-sixty/worktrunk"; |
There was a problem hiding this comment.
| homepage = "https://github.com/max-sixty/worktrunk"; | |
| homepage = "https://worktrunk.dev/"; |
There was a problem hiding this comment.
thank you, respun
ef70894 to
a169038
Compare
|
@delafthi can you please have a look at this ? |
| passthru = { | ||
| tests.version = testers.testVersion { package = worktrunk; }; | ||
| updateScript = nix-update-script { }; | ||
| }; |
There was a problem hiding this comment.
| passthru = { | |
| tests.version = testers.testVersion { package = worktrunk; }; | |
| updateScript = nix-update-script { }; | |
| }; | |
| passthru.updateScript = nix-update-script { }; |
versionCheckHook and this perform the same thing. However, versionCheckHook is generally considered better.
| stdenv, | ||
| fetchFromGitHub, | ||
| rustPlatform, | ||
| git, |
There was a problem hiding this comment.
| git, | |
| gitMinimal, |
Try if gitMinimal is enough.
a169038 to
4233ac3
Compare
|
4233ac3 to
bbab0c5
Compare
|
Upstream has released v0.29.0 — updated the package. |
Thanks for keeping this up to date, but please squash the commits and rename commit and PR to "worktrunk: init at 0.29.0". |
bbab0c5 to
6db1315
Compare
|
|
@siriobalmelli please also rename the title of the PR |
|
delafthi
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
| # Expects `which` on PATH | ||
| "--skip=output::commit_generation::tests::test_command_exists_known_command" |
There was a problem hiding this comment.
I'm curious, which package is it trying to find on PATH?
There was a problem hiding this comment.
The test being disabled (from https://github.com/max-sixty/worktrunk/blob/24905111239ad5aeb8f871863ad8e9e1ebcf1342/src/output/commit_generation.rs#L229) is:
#[test]
fn test_command_exists_known_command() {
// 'which' (Unix) or 'where' (Windows) should always exist
#[cfg(not(windows))]
assert!(command_exists("which"));
#[cfg(windows)]
assert!(command_exists("where"));
}And the command_exists function it calls (in https://github.com/max-sixty/worktrunk/blob/24905111239ad5aeb8f871863ad8e9e1ebcf1342/src/output/commit_generation.rs#L55) is:
/// Check if a command is available in PATH.
///
/// Uses platform-appropriate method: `where` on Windows, `which` on Unix.
fn command_exists(cmd: &str) -> bool {
#[cfg(windows)]
let check_cmd = "where";
#[cfg(not(windows))]
let check_cmd = "which";
std::process::Command::new(check_cmd)
.arg(cmd)
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.map(|s| s.success())
.unwrap_or(false)
}so on linux it's calling which which ... which is not in the sandbox by default. I could add it to nativeCheckInputs but the test itself is a bit absurd so I'm choosing to skip.
There was a problem hiding this comment.
Definitely, let's keep it skipped.
Signed-off-by: Sirio Balmelli <[email protected]> Co-authored-by: jan Lemata <[email protected]> Co-authored-by: Thierry Delafontaine <[email protected]>
6db1315 to
1cf2ec3
Compare
|
worktrunk is a git worktree manager designed for running parallel AI agent workflows.
The
wtCLI wrapsgit worktreewith a simpler interface and integrates with tools like Claude Code, Cursor, and Aider.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.