From b99505bd333bb911c8de522a1eff6e94e46acbc8 Mon Sep 17 00:00:00 2001 From: Timur Mustafin Date: Fri, 9 Jul 2021 20:07:43 +0300 Subject: [PATCH 1/2] Update format.py user instruction --- src/tests/Common/scripts/format.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/tests/Common/scripts/format.py b/src/tests/Common/scripts/format.py index 1ba1ecc7ce63a..96c37d24e7716 100644 --- a/src/tests/Common/scripts/format.py +++ b/src/tests/Common/scripts/format.py @@ -232,12 +232,13 @@ def main(argv): print("1. From the GitHub 'Checks' page on the Pull Request, with the failing Formatting") print(" job selected (e.g., 'Formatting Linux x64'), click the 'View more details on") print(" Azure Pipelines' link.") - print("3. Select the 'Summary' tab.") - print("4. Open the 'Build artifacts published' entry.") - print("5. Find the link to the OS/architecture appropriate format patch file.") - print("6. Click on the link to download it.") - print("7. Unzip the patch file.") - print("8. git apply format.patch") + print("2. Select the '1 artifact produced' at the end of the log.") + print("3. Artifacts are located in alphabetical order, target artifact name is") + print(" 'format...patch.'. Find appropriate format patch artifact.") + print("4. On the rigth side of the artifact there is a 'More actions' menu drawed by") + print(" vertical three-dot symbol. Click on it and select 'Download artifacts' option.") + print("5. Unzip the patch file.") + print("6. git apply format.patch") if (returncode != 0) and (os.environ.get("TF_BUILD") == "True"): print("##vso[task.logissue type=error](NETCORE_ENGINEERING_TELEMETRY=Build) Format job found errors, please apply the format patch.") From 85ae33742184666f28aeaff1b216c59d6841b622 Mon Sep 17 00:00:00 2001 From: t-mustafin <66252296+t-mustafin@users.noreply.github.com> Date: Fri, 9 Jul 2021 20:28:41 +0300 Subject: [PATCH 2/2] Update src/tests/Common/scripts/format.py Co-authored-by: Bruce Forstall --- src/tests/Common/scripts/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/Common/scripts/format.py b/src/tests/Common/scripts/format.py index 96c37d24e7716..dcb3ef1ddf500 100644 --- a/src/tests/Common/scripts/format.py +++ b/src/tests/Common/scripts/format.py @@ -235,7 +235,7 @@ def main(argv): print("2. Select the '1 artifact produced' at the end of the log.") print("3. Artifacts are located in alphabetical order, target artifact name is") print(" 'format...patch.'. Find appropriate format patch artifact.") - print("4. On the rigth side of the artifact there is a 'More actions' menu drawed by") + print("4. On the right side of the artifact there is a 'More actions' menu shown by a") print(" vertical three-dot symbol. Click on it and select 'Download artifacts' option.") print("5. Unzip the patch file.") print("6. git apply format.patch")