Skip to content
Snippets Groups Projects
Commit dc4ca2a9 authored by Don Zickus's avatar Don Zickus Committed by Fedora Kernel Team
Browse files

Modify patchlist changelog output

Based on a suggestion from Thorsten Leemhuis.

Thorsten suggested making it easier to see that individual change
by embedding the url to the commit in the patchlist.changelog file.

This change does exactly that.

Old output:
e338eecf PCI: rockchip: Fix bus checks in rockchip_pcie_valid_device()
85028015 phy: ti: am654: Fix a leak in serdes_am654_probe()
43557447 gitattributes: Remove unnecesary export restrictions
f003c79e Add RHMAINTAINERS file and supporting conf
825b7aa1 gitlab: Add CI job for packaging scripts

New output:
e338eecf
 e338eecf PCI: rockchip: Fix bus checks in rockchip_pcie_valid_device()

85028015
 85028015 phy: ti: am654: Fix a leak in serdes_am654_probe()

43557447
 43557447 gitattributes: Remove unnecesary export restrictions

f003c79e
 f003c79e Add RHMAINTAINERS file and supporting conf

825b7aa1


 825b7aa1 gitlab: Add CI job for packaging scripts

Signed-off-by: Don Zickus's avatarDon Zickus <dzickus@redhat.com>
parent d004487d
No related branches found
No related tags found
Loading
......@@ -269,8 +269,17 @@ else
fi
# generate Patchlist.changelog file that holds the shas and commits not
# included upstream.
git log --no-merges --pretty=oneline --no-decorate master.. $EXCLUDE_FILES \
# included upstream and git commit url.
ARK_COMMIT_URL="https://gitlab.com/cki-project/kernel-ark/-/commit"
# sed convert
# <sha> <description>
# to
# <ark_commit_url>/<sha>
# <sha> <description>
#
git log --no-merges --pretty=oneline --no-decorate master.. $EXCLUDE_FILES | \
sed "s!^\([^ ]*\)!$ARK_COMMIT_URL/\1\n &!; s!\$!\n!" \
> $SOURCES/Patchlist.changelog
for opt in $BUILDOPTS; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment