GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Let user define branch to update from · Issue #2512 · pre-commit/pre-commit

Let user define branch to update from #2512

New issue
Copy link
New issue
Copy link
Closed
Closed
Let user define branch to update from#2512
Copy link
Labels
upstream-bug

Description

@finswimmer
finswimmer
opened on Sep 12, 2022
Issue body actions

This is a follow up of #2508, whose conversation was locked before any discussion could start.

Whenever there is a need for a project to support multiple versions, it is necessary to provide multiple branches e.g. 1.1, 1.2 which receives backports of fixes from the main development branch and also receive there own tags with each release. (Other examples beside Poetry, which uses this branching strategy: pandas, sqlalchemy, jupyter-notebook)

At the moment pre-commit autoupdate can only fetch the latest tag from the default branch. This is all good for the simple case, where the user always want to really get the latest version and the default branch always is the stable branch and not the main development branch. If users want to stay at a specific e.g minor version, there's currently no way to update to new tags in those branches.

This is why I suggest a new option for the .pre-commit-config.yaml, where users can define a branch they want to receive new tags from, for each repo.

Disclaimer: Every feature request is created due to a need for it by its author. In this case Poetry likes to see such an option.

Activity

  1. asottile
    closed this as completedon Sep 12, 2022
  2. pre-commit
    locked as off topic and limited conversation to collaborators on Sep 12, 2022
  3. asottile commented on Sep 12, 2022

    @asottile
    asottile
    on Sep 12, 2022
    Member
    More actions

    yes it was locked -- this is not happening -- the lock was a firm "no" -- please respect boundaries

    you can merge your tags into your primary branch and then they'll be detected -- you can even do a history-only merge (though I suspect you probably want your changelogs in your primary branch anyway)

  4. asottile
    added
    upstream-bug
    on Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.