callowayproject/bump-my-version

Read configuration from remote URL

Opened this issue · 0 comments

Description

I'd love to have bump-my-version read configuration file from an URL.

I.e. I'd like to be able to do that:

$ bump-my-version --config-file https://raw.githubusercontent.com/kdeldycke/workflows/main/pyproject.toml bump minor

This would help me tremendously to build up generic bump-my-version reusable workflows with GitHub actions.

This feature is similar to pip, or the upcoming uv:

  • pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
  • astral-sh/uv#1481

What I Did

For reference and inspiration, I implemented this feature in my generic configuration parser for Click: