On 21 January 2011 16:15, Jerome Quelin <[email protected]> wrote: > note to packagers: it's now very easy to throttle in an adaptive way > (thanks to pascal terjean). just add the following before submitting a > package: > > sleep $( HEAD http://pkgsubmit.mageia.org/ | perl -nE '/X-BS-Throttle: > (\d+)/ && print $1' )
WOW! I'd use "HEAD http://pkgsubmit.mageia.org/ | fgrep X-BS-Throttle | cut -d: -f 2" instead (less I/O thanks to not loading perl?) Too sad nobody did that back at mdv in the old days Hurra Pascal!
