#1688 Add variables representing "disc-type" for media_checksum_base_filename
Closed: Invalid by lsedlar. Opened by amedvede.

As a reaction to this ticket https://pagure.io/releng/issue/11089, I needed to change media_checksum_base_filename in pungi-fedora config. So I added a new variable in the format string but noticed that this variable doesn't exist for media checksum https://docs.pagure.org/pungi/configuration.html#media-checksums-settings.
How difficult will it be to add the new variable into config?


How would the variable work? What value do you expect?

The way Fedora is configured now, there's a single checksum file per directory.

For the server KVM and DVD it's not a problem as each directory only has the one image.
Spins have multiple images in the same location, but those are all isos, so not a problem either.
But what about Cloud? One directory and checksum file tracking three different image types.

Reading the source code, there should be variable dirname for the checksum file name that contains the directory name of the place where the checksum will land, so images or iso. Would that work?

I'll try it and let you know.

thank you, dirname is working there, it fixed

Metadata Update from @lsedlar:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1688

Please continue any further discussion there.

Metadata