util: Add maintainer tools to create upstream patches
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 3 Jan 2017 11:31:46 +0000 (11:31 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 3 Jan 2017 11:31:46 +0000 (11:31 +0000)
commitf835378bea588c8fe614b18f41c5792ba7044263
tree9f6343d6c9169d6e8453d72e8d3474a138d67025
parent6a49dee3f3994c91c3038752172c24a8a5c05d88
util: Add maintainer tools to create upstream patches

This changeset adds a maintainer script, create_patches.sh, that can
be used to prepare for upstream from a git repository. The script can
be used to generate patches in Mercurial or git format. The commit
messages in the exported patches are all filtered, see
upstream_msg_filter.sed, to ensure that irrelevant meta data isn't
included in the upstream commit.

Kudos to Curtis Dunham and Nikos Nikoleris for reviews and usability
enhancements for earlier versions of this patch.

Change-Id: Ia4cd089a32834b5e046ef58c0a173ca285b77bca
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
util/maint/create_patches.sh [new file with mode: 0755]
util/maint/git-patch-to-hg-patch [new file with mode: 0755]
util/maint/upstream_msg_filter.sed [new file with mode: 0755]