Here is a proof-of-concept one-liner (split up a bit for readability purposes):

```fish
#!/usr/bin/fish

function get_dependent_pkgs
    dnf -q repoquery --repo=koji --qf='%{sourcerpm}' --whatrequires $argv[1]
end

function parse_names
    get_dependent_pkgs | rev | cut -d/ -f1 | cut -d- -f3- | rev
end

# https://src.fedoraproject.org/rpms/fbrnch
function topo_sort_and_sidetag_build
    fbrnch parallel --sidetag rawhide (parse_names)
end
```

May an actual proven packager or infrastructure people adapt the three lines 
above in a workable program.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to