#5 RFE: comps translations on compose time
Closed: Fixed Opened by dmach.

fedora comps are not translated in the git repo
they need to be translated on compose time
we need a new phase that would do that (or make it part of init phase).


This is currently handled in the script wrapper before invoking pungi-koji.

If we are to implement this, it should be done in a generic way. Maybe adding a process_command key into the scm dict might work. Pungi would clone the git repo, run the command and only then copy the file.

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

Metadata Update from @lsedlar:
- Issue tagged with: 4.1.18

what PR fixed this issue? clues on how to take advantage of it and remove the 'git clone' from our releng scripts?

@dustymabe looks to be https://pagure.io/pungi/c/cae202c17b0a34419313d9fe5095311c8419c729?branch=master

Here's an example snippet that I'm using for testing in stage:

comps_file = {
    'scm': 'git',
    'repo': 'https://pagure.io/fedora-comps.git',
    'file': 'comps-f26.xml',
    'command': 'make comps-f26.xml',
}

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

Please continue any further discussion there.

Metadata