From: Don Zickus <dzickus@xxxxxxxxxx> 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: e338eecf3fe79054e8a31b8c39a1234b5acfdabe PCI: rockchip: Fix bus checks in rockchip_pcie_valid_device() 850280156f6421a404f2351bee07a0e7bedfd4c6 phy: ti: am654: Fix a leak in serdes_am654_probe() 43557447afe99a0181e0f80e682a7cbdc03b4e7a gitattributes: Remove unnecesary export restrictions f003c79ead7f293e9315954c2c0fe39dda34459d Add RHMAINTAINERS file and supporting conf 825b7aa1169c8a40f81b3b3a886a866ae80c3dc2 gitlab: Add CI job for packaging scripts New output: https://gitlab.com/cki-project/kernel-ark/-/commit/e338eecf3fe79054e8a31b8c39a1234b5acfdabe e338eecf3fe79054e8a31b8c39a1234b5acfdabe PCI: rockchip: Fix bus checks in rockchip_pcie_valid_device() https://gitlab.com/cki-project/kernel-ark/-/commit/850280156f6421a404f2351bee07a0e7bedfd4c6 850280156f6421a404f2351bee07a0e7bedfd4c6 phy: ti: am654: Fix a leak in serdes_am654_probe() https://gitlab.com/cki-project/kernel-ark/-/commit/43557447afe99a0181e0f80e682a7cbdc03b4e7a 43557447afe99a0181e0f80e682a7cbdc03b4e7a gitattributes: Remove unnecesary export restrictions https://gitlab.com/cki-project/kernel-ark/-/commit/f003c79ead7f293e9315954c2c0fe39dda34459d f003c79ead7f293e9315954c2c0fe39dda34459d Add RHMAINTAINERS file and supporting conf https://gitlab.com/cki-project/kernel-ark/-/commit/825b7aa1169c8a40f81b3b3a886a866ae80c3dc2 825b7aa1169c8a40f81b3b3a886a866ae80c3dc2 gitlab: Add CI job for packaging scripts Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx> --- redhat/genspec.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/redhat/genspec.sh b/redhat/genspec.sh index 966fe85f132f..e266c4c7a846 100755 --- a/redhat/genspec.sh +++ b/redhat/genspec.sh @@ -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 -- GitLab _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx