describe sources file --- https://www.pld-linux.org/infrastructure/distfiles?rev=1396985174 +++ https://www.pld-linux.org/infrastructure/distfiles @@ -4,8 +4,18 @@ The files are stored under ''/distfiles/by-md5/X/Y/HASH/FILENAME'', for example: ''/distfiles/by-md5/8/1/81348932d5da294953e15d4814c74dd1/bash-4.3.tar.gz''. files in distfiles itself are accessible by ''http'' and ''ftp'' protocols. + ===== Using sources file ===== + + Besides indicating with ''# SourceX-md5'' that source should be stored in distfiles, + a combination of distfiles handler and builder macros, allow to use ''sources'' file. + + ''sources'' file format: ''MD5-HASH *FILENAME'', the asterisk is ignored. for example: + <code - sources> + bf8d53d227829d67235927689a03cc7a bash43-004 + c0c00935c8b8ffff76e8ab77e7be7d15 *bash43-005 + </code> ===== Manually forcing distfiles fetch ===== use ''make-request'' ''-df'' paramter: @@ -26,6 +36,5 @@ * Stale files get deleted after 30 days by tmpwatch. * The scripts responsible for sending the files from dropin to distfiles (and then deleting them from dropin) are in ''~dfadm/distfiles''. * ''run-ff.sh'' is run from dfadm's crontab every minute. * ''chmodd.sh'' is a simple inotifywait-based script that always runs in the background (started from ''rc.local'' on system boot) and does a proper chmod on all uploaded files. -
Diff URL: https://www.pld-linux.org/infrastructure/distfiles?do=diff&r1=1396985174&r2=1396985704 -- This mail was generated by DokuWiki at https://www.pld-linux.org/ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit