#522 Allow fetching release from branch basename
Merged by onosek. Opened by pemensik.
pemensik/fedpkg branch-basename  into  master

Download 522.patch

In case fetching release information from the whole branch fails, retry
with just part of branch name delimited by '-'. This should allow
branches like rawhide-staging or f38-bz1234 to be recognized as a
a supported staging branches.

Those are expected to be non-production, feature-only branches. It
should not allow to build these branches as a production build.

Signed-off-by: Petr Menšík pemensik@redhat.com

I am not sure if fedpkg should save it is using feature branch and refuse to create production build from the client. It seems server is blocking this properly, so client checks seems unnecessary.

Commit 65189cc6 fixes this pull-request

Pull-Request has been merged by onosek

Hi,
thanks for the code. I just made some minor changes and I fixed the unittests before the merge.

Metadata