#3551 brew download-task filter by string
Closed: Fixed by tkopecek. Opened by jcupova.

Related to brew downloads over HTTP/HTTPS (RHELBLD-11154) I was also informed of this way to download from tasks via brew command:

brew download-task --arch=x86_64 XXX

However, this wants to download all files, including stuff we don't typically need like the -devel build and the debuginfo, which are huge.

It would be nice if download-task had options to filter based on filename regex, eg:

brew download-task -only="kernel([0-9]|core|headers|modules|modules-extra)?"

The logic could also be inverted to exclude some filenames, eg:

brew download-task --skip="bpf|perf|debug|tools"


Metadata Update from @jcupova:
- Custom field Size adjusted to None

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Commit c414f998 fixes this issue

Commit 4527c054 fixes this issue

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

Please continue any further discussion there.

Metadata
Related Pull Requests