Skip to content

list-overrides: surface source: config in details output #1402

Closed

Description

@rd4398

Part of #1294 (Phase 8 of epic #1254). Branch: new-resolver-config.

What needs to Happen

Update src/fromager/commands/list_overrides.py. Note that inclusion is already done: a source: block sets has_config = True, which settings.list_overrides() already picks up. The gap is the details view:

  1. Add a source column/field (provider name, blank for legacy) to the table / CSV / JSON exporters.
  2. min_release_age is currently read only from ps.resolver_dist.min_release_age; for a source-config package read it from pbi.source_resolver.min_release_age when present.

Tests

  • list-overrides --details includes the source field for a source:-config package (e.g. provider: github-tag-git)
  • Legacy rows unchanged

Notes

Independent of the other #1294 sub-issues; can be worked on in any order.

Activity

  1. self-assigned this
    on Oct 28, 2026
  2. LalatenduMohanty commented on Oct 30, 2026

    @LalatenduMohanty
    Member

    Expanding this issue to also cover package list-versions (was #1411, closed in favor of this one). Both commands ignore source: settings:

    • list-overrides: no source column, and min_release_age is read only from resolver_dist.
    • list-versions: it calls the get_resolver_provider hook directly instead of sources.get_source_provider(), so it lists versions from the wrong provider. Its cooldown status also reads min_release_age only from resolver_dist.

    Both can use one helper for the min_release_age value. Extra tests for list-versions:

    • A source: package lists versions from its configured provider.
    • The cooldown status uses the profile's min_release_age, including 0 and --ignore-per-package-overrides.
  3. LalatenduMohanty commented on Oct 30, 2026

    @LalatenduMohanty
    Member

    Done in #1413, merged into new-resolver-config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions