Skip to content

Allow specifying version update mask using simplified syntax #2191

@rominf

Description

@rominf

Description

https://packit.dev/docs/configuration#version_update_mask is Python regex to filter upstream versions. In many cases, software use semantic versioning. In that case, it is possible to understand compatibility just from looking at the version (without the need of regular expressions). For example, Python packaging infrastructure leverage this fact: see hatch, poetry. I am not aware of the standard for version range specification, however it might exist. It would be great to have something similar as an additional option for version_update_mask.

Benefit

Simplify configuration, reduce boilerplate code, lower the entry level for packit users.

Importance

Somewhat important: the need of specifying regular expressions partially holds me back from using Packit for all possible branches (it's quite easy to mix up with them and it is not obvious how to check the correctness).

Workaround

  • There is an existing workaround that can be used until this feature is implemented.

Participation

  • I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Metadata

Metadata

Assignees

Labels

area/user-experienceRelated to the UXcomplexity/single-taskRegular task; should be done within daysgain/lowDoesn't bring much value to usersimpact/lowAffects only few of the userskind/featureA request, idea, or new functionalityworkaround-existsThere is a workaround that can be used in the meantime

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions