From past few weeks, we have started producing Atomic composes
media during Fedora 28 bodhi updates and updates-testing run.
Media name of AH ISO are perfectly fine. But for cloud images
media name[1] looks something like
Fedora-AtomicHost-28_Update-20180620.1235.x86_64.qcow2 for qcow2.
It will be nice to have media name like
Fedora-AtomicHost-28-20180620.0.x86_64.qcow2 which
is what we get during regular atomic twoweek compose run [2].
This patch (available in email attachment) attempts to fix the media name.
Taken inspiration from releng issue [3] and ansible commit [4]. I am not
sure how to test it locally, any pointers will be useful.
[1]
https://kojipkgs.fedoraproject.org/compose/updates/Fedora-28-updates-2018...
[2]
https://kojipkgs.fedoraproject.org/compose/twoweek/Fedora-Atomic-28-20180...
[3]
https://pagure.io/releng/issue/7113
[4]
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=40c3...