Scripts in this directory contains the files to the automatic choke distfiles repository. Requirements: wget >= 1.10 How does it work? There are two parts: First parser: Requesty mail gets to the source to tighten foo.spec in branchu BAR. Converts the spec file and throws a unique named to the spool /. The file contains: ... ERROR: ... ERROR: ... Format of the order, in the body of the following lines: X-Spec: foo.spec X-Branch: HEAD X-Login: foobar X-Flags: force-reply In the header: X-distfiles-request ... components: run-rh.sh request-handler.pl specparser.pl Second fetcher: components: run-ff.sh file-fetcher.pl Run from cron every minute. run-ff.sh cares that the time is not it was more than 10 such animals. Take the spool / one file reads and zapmiętuje, attempts to remove, if did not work out (race). Are then pulls the source, if have not yet been downloaded, md5 checks and transfers to ftp. finally send an email to the customer with a report, unless everything was recovered and there was no flag 'force-reply'. Directories: ~/distfiles/spool/ exchange of information fetcher <-> parser ~/distfiles/tmp/ temporary files ~/distfiles/ftp/ This should be a symlink to the root ftp