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

Improve the pull-request subcription notification format by adding the description and files statistics #65828

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

joker-eph
Copy link
Collaborator

No description provided.

@joker-eph
Copy link
Collaborator Author

See #65439 (comment) for a test

Copy link
Collaborator

@tstellar tstellar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for doing this, I like the format.

@@ -199,7 +246,6 @@ def extract_commit_hash(arg: str):


class ReleaseWorkflow:

CHERRY_PICK_FAILED_LABEL = "release:cherry-pick-failed"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray whitespace change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is black formatting!

@joker-eph joker-eph merged commit 4085cb3 into llvm:main Sep 9, 2023
2 of 3 checks passed
patch = requests.get(self.pr.diff_url).text
except:
patch = ""
diff_stats += "\n<pre>\n" + patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I'm seeing this <pre> getting escaped to &lt;pre&gt;, so it no longer has the desired effect and the diff looks horrible in the github web UI. Example: #66188 (comment)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was changed in #66037 , I'm not totally sure why

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing in #66322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants