#5 RFE: comps translations on compose time
Closed: Fixed 6 years ago Opened 8 years ago 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)

6 years ago

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

6 years ago

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

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',
}

Login to comment on this ticket.

Metadata