From a6239d5100eff74e9358bbd51029bd2810d19f54 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 10 Apr 2020 10:10:10 -0400 Subject: wrap: Add fallback urls It can happen that a server is temporaly down, tarballs often have many mirrors available so we should be able to add at least one fallback mirror in wrap files. --- docs/markdown/Wrap-dependency-system-manual.md | 2 ++ docs/markdown/snippets/wrap_fallback.md | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/wrap_fallback.md (limited to 'docs/markdown') diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index caad9b0..6e47d58 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -72,9 +72,11 @@ revision = head ### Specific to wrap-file - `source_url` - download url to retrieve the wrap-file source archive +- `source_fallback_url` - fallback URL to be used when download from `source_url` fails *Since: 0.55.0* - `source_filename` - filename of the downloaded source archive - `source_hash` - sha256 checksum of the downloaded source archive - `patch_url` - download url to retrieve an optional overlay archive +- `patch_fallback_url` - fallback URL to be used when download from `patch_url` fails *Since: 0.55.0* - `patch_filename` - filename of the downloaded overlay archive - `patch_hash` - sha256 checksum of the downloaded overlay archive - `lead_directory_missing` - for `wrap-file` create the leading diff --git a/docs/markdown/snippets/wrap_fallback.md b/docs/markdown/snippets/wrap_fallback.md new file mode 100644 index 0000000..9b71143 --- /dev/null +++ b/docs/markdown/snippets/wrap_fallback.md @@ -0,0 +1,4 @@ +## Wrap fallback URL + +Wrap files can now define `source_fallback_url` and `patch_fallback_url` to be +used in case the main server is temporaly down. -- cgit v1.1