Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mirror tags for new patch releases of older major/minor release series #123

@dokempf

Description

@dokempf

The current mirror implementation restricts only adds new versions if their version is higher than the newest version already present on the mirror (code here: https://github.com/pre-commit/pre-commit-mirror-maker/blob/master/pre_commit_mirror_maker/make_repo.py#L80). This is a good solution if assuming that people will always want to update to the latest version.

In https://github.com/ssciwr/clang-format-wheel and its mirror in https://github.com/pre-commit/mirrors-clang-format we are supporting multiple major/minor versions (after all upgrading to a newer version of clang-format might rewrite your code base). I have released versions 10.0.1.1, 11.0.1.1, 11.1.0.1and12.0.1.1` last week that fix two packaging issues on Windows, but these releases are not picked up by the mirror.

I propose to either unconditionally or via an additional flag have pre-commit-mirror take into account the entire list of releases. What do you think?

Metadata

Metadata

Assignees

No one assigned

    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