#17 bodhi download
Closed: Fixed None Opened 10 years ago by tflink.

One of the units of work for taskotron is bodhi updates and the runner needs to be able to download updates.

Example:
bodhi: action=download arch={{arch}} name={{update name}} dest={{workdir}}
bodhi: action=download arch={{arch}} id={{update id}} dest={{workdir}}

Either one of those examples would take an update id/name and download it to the {{workdir}}. This will end up in the same module as #46


I have one question. There are builds where only noarch packages are available (for example python-blivet). So when you try to download 64b packages from update with such build (for example anaconda,blivet) you will end with "NO RPMS URLS FOUND!!!" exception, because there are no x86_64 packages in blivet. Is this intended behaviour? Or should noarch be added to demanded packages automatically?

{{arch}} is specified manually, or is taken from somewhere? (sorry, I haven't yet studied the runner in detail).

Anyway, I think noarch should be downloaded automatically, unless {{arch}} == 'src'.

Also, we should support {{arch}} == 'all' and download everything (not sure about src in this case).

Closed by commit rLTRN9ae3d93aa4db (authored by @pschindl).

Login to comment on this ticket.

Metadata