From d25c8b8b60fbfabf7544a3a5a44c105f0bc5b4da Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 2 Jun 2024 13:24:45 +0200 Subject: Rename script into module and run module.download(). Instead of using a dedicated executable. There is too much code duplicate otherwise. --- config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.yml') diff --git a/config.yml b/config.yml index 5b6f842..029e60b 100644 --- a/config.yml +++ b/config.yml @@ -26,14 +26,14 @@ layers: # # error is raised when the payload size exceeds this value. # # (Default: 67108864, in other words 64MiB) # max-size: 1073741824 -# # source:download:script: Basename of the download script to use for -# # that layer. The entry is ignored when the main script doesn't match. -# script: webmap-download +# # source:download:module: Basename of the download module to use for +# # that layer. +# module: webmap-download # cache: # # source:cache:path: Local path (relative to --cachedir) where to # # (atomically) save the downloaded file. The same path can be used by # # multiple entries as long as their pairs (source:download:url, -# # source:download:script) match. Any parent directories are created if +# # source:download:module) match. Any parent directories are created if # # needed. # # If the path is empty or ends with a '/' character then it treated as a # # directory and the last component of source:download:url implicitly -- cgit v1.2.3