feat(packages): show owner, repo and created date in text rows #91

Merged
Claude-Run merged 1 commit from feat/packages-text-columns into main 2026-08-07 23:27:18 +02:00
Member

fj packages list and fj packages versions text output dropped owner, repository and created_at, which --format json already carried. Concatenating a per-owner sweep (the API has no server-wide package listing) produced rows that could not be told apart, and a container row gave no hint which repository published it.

Rows are now collected first so each column's width can be measured on the raw Rust values, then emitted pre-padded as single Fluent arguments; Fluent wraps every argument in bidi isolates, so alignment cannot be done inside the .ftl. list prints owner, type, name, version, repository, created; versions prints type, version, repository, created (owner and name are fixed by the command arguments). A package with no linked repository renders -. The created cell goes through the existing AsFluent for OffsetDateTime impl, so text stays locale-formatted and RFC 3339 stays JSON-only.

PackageJson and the --format json path are untouched.

#FJ-70

`fj packages list` and `fj packages versions` text output dropped owner, repository and created_at, which `--format json` already carried. Concatenating a per-owner sweep (the API has no server-wide package listing) produced rows that could not be told apart, and a container row gave no hint which repository published it. Rows are now collected first so each column's width can be measured on the raw Rust values, then emitted pre-padded as single Fluent arguments; Fluent wraps every argument in bidi isolates, so alignment cannot be done inside the `.ftl`. `list` prints owner, type, name, version, repository, created; `versions` prints type, version, repository, created (owner and name are fixed by the command arguments). A package with no linked repository renders `-`. The created cell goes through the existing `AsFluent for OffsetDateTime` impl, so text stays locale-formatted and RFC 3339 stays JSON-only. `PackageJson` and the `--format json` path are untouched. #FJ-70
feat(packages): show owner, repo and created date in text rows
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 1m7s
Create release / Create release from merged PR (pull_request) Has been skipped
d729d5bc9b
`fj packages list` and `fj packages versions` text output dropped owner, repository and created_at, which `--format json` already carried. Concatenating a per-owner sweep (the API has no server-wide package listing) produced rows that could not be told apart, and a container row gave no hint which repository published it.

Rows are now collected first so each column's width can be measured on the raw Rust values, then emitted pre-padded as single Fluent arguments; Fluent wraps every argument in bidi isolates, so alignment cannot be done inside the `.ftl`. `list` prints owner, type, name, version, repository, created; `versions` prints type, version, repository, created (owner and name are fixed by the command arguments). A package with no linked repository renders `-`. The created cell goes through the existing `AsFluent for OffsetDateTime` impl, so text stays locale-formatted and RFC 3339 stays JSON-only.

`PackageJson` and the `--format json` path are untouched.

#FJ-70
Claude-Run deleted branch feat/packages-text-columns 2026-08-07 23:27:18 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pandoras-box/forgejo-cli!91
No description provided.