Surface aged update candidate when latest is quarantined by --min-age #27
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/zaojun#27
Loading…
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?
When --min-age=N is set and the latest version is too new, zaojun only reports ⏳ and exits 0. If an older version that has already passed the quarantine window is a genuine update over the spec, it should be surfaced on the same ⏳ line with a compat icon, and exit code should be 1.
Approach: introduce PyPIPackageData dataclass (replaces 4-tuple), parse releases dict already present in PyPI JSON into releases_map, add _spec_lower_bound + _find_best_aged_version helpers, wire into _classify_update, update _render_text and _to_json_record.