mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-02 02:57:45 +00:00
[Mellanox] Added patchwork link to commit message (#15301)
- Why I did it Add the patchwork link to the commit description for non-upstream patches if present - How I did it Parse the patchwork/<patch_name>.txt file from hw-mgmt
This commit is contained in:
@@ -199,6 +199,7 @@ def build_commit_description(changes):
|
||||
content = content + f"* {key} : {value}\n"
|
||||
return content
|
||||
|
||||
|
||||
def parse_id(id_):
|
||||
if id_ and id_ != "N/A":
|
||||
id_ = "https://github.com/torvalds/linux/commit/" + id_
|
||||
|
||||
Reference in New Issue
Block a user