From 12fa13c108406612b03b44817c86d2e0db7eb042 Mon Sep 17 00:00:00 2001 From: dianyi Date: Fri, 3 Nov 2023 21:20:26 +1300 Subject: [PATCH 1/2] Update overview.md --- docs/overview.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/overview.md b/docs/overview.md index c9cceac..f06030e 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -35,7 +35,8 @@ The cache will be keyed by name, version, and optionally platform (x86, x64). {tool name} {semantic version} {platform} - {tool files} + bin + {tool files} ``` The downloader should guard against incomplete downloads. Therefore, the tool downloader adds a 0-byte file named `{platform}.complete` as a sibling of `{platform}` when it has completed the download. `azure-pipelines-tool-lib` will check for this file before retrieving the tool. @@ -47,7 +48,18 @@ $AGENT_TOOLSDIRECTORY/ Python/ 3.6.4/ x64/ - {tool files} + bin/ + {tool files} + x64.complete +``` + +``` +$AGENT_TOOLSDIRECTORY/ + Python/ + 3.6.4/ + x64/ + bin/ + {tool files} x64.complete ``` From 364b103ff3163423b498dfd92074b80e3cd81391 Mon Sep 17 00:00:00 2001 From: dianyi Date: Fri, 3 Nov 2023 21:24:30 +1300 Subject: [PATCH 2/2] Update overview.md --- docs/overview.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/overview.md b/docs/overview.md index f06030e..0220864 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -36,7 +36,7 @@ The cache will be keyed by name, version, and optionally platform (x86, x64). {semantic version} {platform} bin - {tool files} + {tool files} ``` The downloader should guard against incomplete downloads. Therefore, the tool downloader adds a 0-byte file named `{platform}.complete` as a sibling of `{platform}` when it has completed the download. `azure-pipelines-tool-lib` will check for this file before retrieving the tool. @@ -53,16 +53,6 @@ $AGENT_TOOLSDIRECTORY/ x64.complete ``` -``` -$AGENT_TOOLSDIRECTORY/ - Python/ - 3.6.4/ - x64/ - bin/ - {tool files} - x64.complete -``` - The downloader should also be robust to virus scanners. ## Setting up the environment