fedpkg knows few branches epel, fedora etc.
However in dist-git there can be more branches.
For example in Copr we plan to have custom branches, Mageia etc.
Since fedpkg is in Copr used only for generating srpm, it is
better to create some disttag rather then raising error.
Other values are not used at all.
This RE will work for most values of dist-git branches.
And it is better than hardcoding new value every time we add new chroot
and dist-git branch.
fedpkg knows few branches epel, fedora etc.
However in dist-git there can be more branches.
For example in Copr we plan to have custom branches, Mageia etc.
Since fedpkg is in Copr used only for generating srpm, it is
better to create some disttag rather then raising error.
Other values are not used at all.
This RE will work for most values of dist-git branches.
And it is better than hardcoding new value every time we add new chroot
and dist-git branch.