Open pypingou opened 5 years ago
Note this is valid for creating as well as editing the release.
I remember that when I added those two fields I had successfully tested editing the release with bodhi releases edit
command.
For example bodhi releases edit --name F31 --package-manager dnf --testing-repository updates-testing
should work.
I suppose I forgot to add those options in the documentation under the edit
subcommand (I've only added them to the create
subcommand)
So with python3-bodhi-client-4.0.2-2.fc30.noarch
installed, I do not see these options when I do: bodhi releases create --help
or bodhi releases edit --help
.
Is my version too old?
If I remember well, they were introduced in Bodhi 4.1
Checking the code in git, I see the options in the --help
of edit
and create
.
I'm just approved your PR (#3542) once it's in I think we can close this ticket.
Thanks!
@ryanlerch Can we close this?
We have two fields in the Releases DB model: packager_manager and testing_repository but bodhi's CLI doesn't seem to support editing them.
It would be nice to gain some sort of way to edit these fields that do not rely on running raw SQL queries :)