[Mageia-dev] Packaging for Mageia
Thierry Vignaud
thierry.vignaud at gmail.com
Fri Jan 21 18:17:16 CET 2011
On 21 January 2011 16:15, Jerome Quelin <jquelin at gmail.com> 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!
More information about the Mageia-dev
mailing list