openSUSE / obs-service-download_files

An OBS source service: download files
GNU General Public License v2.0
8 stars 23 forks source link

Honour target file name specified in source tags separately #16

Closed e4t closed 3 years ago

e4t commented 7 years ago

Source-tags have the general syntax:

Source: [#/filename]

ie. the file name to use is separated by string '#/'. This patch adds support for this syntax on the download_files service as well. If the file is cached, pick filename from cache.

Signed-off-by: Egbert Eich eich@suse.com

andreasstieger commented 6 years ago

@e4t For the case of extracting the file from the spec, this is already working without this modification. Which use case is this diff targeting?

adrianschroeter commented 3 years ago

needed a rework for current code: https://github.com/openSUSE/obs-service-download_files/pull/35