From cad366009045adaae0359b9d0c55d33d0f106d61 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 10 Nov 2015 22:36:52 +0900 Subject: Added gzip file support to lorry The new 'gzip' lorry file is practical for any gzipped single file repositories, this can be useful for some static blob resources, such as fonts. Change-Id: I931e15e4c1291d820db82d0fc764aa767d3df9ab --- README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README') diff --git a/README b/README index bcb8add..bfed0c4 100644 --- a/README +++ b/README @@ -217,6 +217,22 @@ will be tagged as 'docbook-xml-4.5') } +### Gzip + +Lorry can import a gzip file fetched from a URL. The file will be extracted in place +and committed directly to master after removing the .gz extension from the filename. + +The new commit will be tagged with the basename of the imported zip file (e.g. bkai00mp.ttf.gz +will be tagged as 'bkai00mp.ttf') + + { + "ttf-bkai00mp": { + "type": "gzip", + "url": "ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz" + } + } + + Tips ---- -- cgit v1.2.1