Skip to content

feat(nixpkgs-pr-watch): add urls output format for piping to lazypr#1

Merged
vdemeester merged 1 commit intomainfrom
feature/urls-only-output
Jan 30, 2026
Merged

feat(nixpkgs-pr-watch): add urls output format for piping to lazypr#1
vdemeester merged 1 commit intomainfrom
feature/urls-only-output

Conversation

@vdemeester
Copy link
Copy Markdown
Owner

Summary

  • Add new output format urls (-o urls) that prints one PR URL per line
  • Enables easy piping to lazypr: nixpkgs-pr-watch -o urls | xargs lazypr
  • Also fixes non-constant format string warnings in printMatch

Test plan

  • Unit tests added for outputURLs function
  • go test ./... passes

Add a new output format "urls" (-o urls) that prints one PR URL per
line with no other output. This enables easy piping to lazypr:

  nixpkgs-pr-watch -o urls | xargs lazypr

Also fixes non-constant format string warnings in printMatch.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vdemeester vdemeester merged commit d21b0b0 into main Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant