packit / packit.dev

packit.dev website content
https://packit.dev/
MIT License
9 stars 50 forks source link

Bump flag behavior not consistent with documentation #570

Open majamassarini opened 1 year ago

majamassarini commented 1 year ago

Packit has a --no-bump flag, since bump should mean increase the number of version, a user could expect that omitting the --no-bump flag would result in a increased release number. Moreover we deal with releases and not versions, this also can be not easily understandable when talking about bumping.

We have to update the documentation and explain to our users that:

A table with many examples on how to use the flags related with the release_suffix is here: https://gist.github.com/majamassarini/f2ebf6a78ca8af189208e77074a16dff

lachmanfrantisek commented 1 year ago

Thanks Maja for the detailed description.

Is this just about the documentation or we should improve the tool as well (e.g. the man pages, CLI option names...)?

majamassarini commented 1 year ago

I would say at least the documentation.

If we had time I would change the --no-bump flag and choose another name, something like --no-update-spec-release. But then we need to change the code, the CLI, the man pages...

lachmanfrantisek commented 1 year ago

We can add a new CLI argument and deprecate the old one. Or, at least update the help for the old one...

So we can leave the issue in this repository. (I've been thinking about moving it to packit.dev but it looks like some changes would be nice here as well.)

mfocko commented 1 year ago

Related to packit/packit-service#1760