summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-11-10 22:36:52 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-11-10 22:39:40 +0900
commitcad366009045adaae0359b9d0c55d33d0f106d61 (patch)
treeb99e5040af611a8df4e52fc23d4aff13b18f8f63 /README
parent5b315c4d7119666a207bcf09624be3ea52750a82 (diff)
downloadlorry-cad366009045adaae0359b9d0c55d33d0f106d61.tar.gz
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
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 16 insertions, 0 deletions
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
----