Skip to content

Add current-edition support to the CLI #737

Closed
Closed

Description

@waldoj

EditionAction states that making an edition current via the CLI is not implemented—this must be done via the admin web interface. And import --current doesn't work around this: ImportAction sets an edition_args['current'] key, but handle_editions() only honors make_current, so for an existing edition the "make current" update never runs.

Consequence: The annual new-edition run can create the edition and populate it, but a person must then use the admin web UI to promote it to current, after which permalinks must be rebuilt (the same rebuild the import already performs). Until then, the new edition is reachable at /<year>/ but the site root keeps serving the prior edition. In short, automated regular updates are impossible (or, anyway, without consequence). Fix this.

Activity

  1. self-assigned this
    on Jul 7, 2026
  2. added theissue type on Jul 7, 2026
  3. added a commit that references this issue on Jul 7, 2026
    9e734ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions