issue list: add --label, --search, --page filters #5
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
nagonag
nagonag/ignore
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
heiko/fj#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The mod-nag workflow in
workflows/.forgejo/workflows/mod-nag.yamlneeds to search issues by label + free-text query + walk pages to find existing/stale findings. Today these calls still need rawcurl, becausefj issue listonly takes--stateand--limit.To replace the remaining curl calls in mod-nag with
fj, the following flags would be needed onfj issue list(and theissuesalias):--label <name>(repeatable) — filter by one or more label names, forwarded aslabels=<id,id,...>after resolving names to IDs viaFetchLabels.--search <query>/-q <query>— full-text search forwarded asq=<urlencoded>.--page <n>— explicit page number, combined with the existing--limit, to walk all results.A
--jsonalready exists globally and is what mod-nag consumes; these new filters just need to flow into the query path.Context: workflows uses these for:
mod-naglabel for stale-cleanupEndpoint shape (forgejo
GET /repos/{owner}/{repo}/issues):AI attribution comment added per repository instruction for this open issue.\n\n(co)authored by ai:gpt-5-codex