Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update format.py user instruction #55415

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/tests/Common/scripts/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.<OS>.<architecture>.patch.'. Find appropriate format patch artifact.")
print("4. On the rigth side of the artifact there is a 'More actions' menu drawed by")
t-mustafin marked this conversation as resolved.
Show resolved Hide resolved
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.")
Expand Down