generic-poky/scripts
Darren Hart 1f0e2cf16a git-pull: add the new create-pull-request script
The previous create-pull-request only generated a cover letter. When used to
send to the list, it did not include the patches, which made it difficult
to perform peer review. A pull request without patches is typically only sent
by a maintainer. As we are not all maintainers, we need a means to easily
submit patches for review.

As we are accustomed to making pull requests, this script retains a
git-pull-style cover letter, while sending the relevant patches as responses
to the pull. This will provide the necessary context for peer review, and still
allow people to collapse threads and see no more mail than they were previously.

This version retains the relative_to, commit_id, and contrib_branch arguments
from the original, along with their default values. It adds several more,
resulting in a highly flexible tool.

The script creates a pull directory (pull-$$ by default, configurable via the -o
option) and populates it with a git-format-patch generated patch series and
cover letter. The cover letter is modified to include the git and http pull URLs
and branch name, as well as a basic signature from the author pulled from git's
user.name and user.email config. git-format-patch provides the shortlog and
diffstat of the series.

Breaking a bit from the original, this script maintains the [PATCH] subject
prefix in the cover letter (as opposed to [GIT PULL]. This is better suited to
the majority of developers (who are not maintainers). This prefix is
configurable with the -p option, allowing you to create an [RFC PATCH]
prefix, for example.

By default, the generated cover letter with contain "*** SUBJECT HERE ***" and
"*** BLURB HERE ***" tokens which you should replace with something
appropriate prior to sending the messages.

When developing multiple versions of a patch series, it can save time to
maintain a message.txt file, rather than having to retype the message body of
the cover letter every time. The -m option allows you to specify a message file
and replace the "*** BLURB HERE ***" token of the cover letter with the contents
of the message file.

Finally, the -s option will replace the "*** SUBJECT HERE ***" token in the cover
letter with the specified subject.

The generated patches are suitable for sending via sendmail.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Richard Purdie <rpurdie@linux.intel.com>
CC: Saul Wold <saul.wold@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-10 21:22:27 +08:00
..
jhbuild Rename rewrite.py to jhbuild2oe.py. 2006-08-10 06:43:09 +00:00
qemuimage-tests imagetest-qemu: Add test case for dmesg check in target 2010-11-10 21:09:22 +08:00
tunctl-src poky-qemu-internal: Support NFS boots better 2010-08-20 16:20:10 +01:00
README Added scripts dir 2006-07-28 19:47:37 +00:00
create-pull-request git-pull: add the new create-pull-request script 2010-11-10 21:22:27 +08:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
poky-addptable2image Use /sbin/fdisk because not all systems has /sbin in PATH 2008-05-14 12:57:11 +00:00
poky-env-internal Merge runqemu features into poky-qemu 2010-10-07 19:57:34 +01:00
poky-export-rootfs Update meta-ide-support dependencies 2010-10-07 22:07:45 +01:00
poky-extract-sdk scripts: use the exported POKY_NATIVE_SYSROOT variable 2010-09-07 11:22:54 +01:00
poky-find-native-sysroot Update meta-ide-support dependencies 2010-10-07 22:07:45 +01:00
poky-gen-tapdevs poky-gen-tapdevs: script to create a 'bank' of tap interfaces 2010-10-07 19:53:46 +01:00
poky-git-proxy-command scripts: Add git proxy script 2008-04-08 11:31:08 +00:00
poky-git-proxy-socks-command scripts/build: Update the git proxy setup instructions 2008-10-23 15:12:41 +01:00
poky-git-proxy-socks.c scripts/build: Update the git proxy setup instructions 2008-10-23 15:12:41 +01:00
poky-nokia800-flashutil poky-nokia800-flashutil: merged offsets from Andrew script and added Diablo notes 2008-08-08 07:41:33 +00:00
poky-qemu poky-qemu: miscellaneous bugfixes 2010-10-14 20:12:04 +01:00
poky-qemu-ifdown Update meta-ide-support dependencies 2010-10-07 22:07:45 +01:00
poky-qemu-ifup Update meta-ide-support dependencies 2010-10-07 22:07:45 +01:00
poky-qemu-internal qemumips: re-enable wacom and standard USB UI options 2010-11-10 21:22:26 +08:00
poky-qemu.README poky-qemu.README: Minor updates 2008-05-22 08:22:47 +00:00
poky-trim-schemas Add poky-trim-schemas post install script to remove unneeded schema locale translations from images (credit to Ross Burton for the initial script) 2009-08-28 17:11:57 +01:00
pstage-scanner Enable build dir outside of the poky directory 2010-07-21 15:39:53 +01:00
qemuimage-testlib imagetest-qemu: Add test case for dmesg check in target 2010-11-10 21:09:22 +08:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
stage-manager stagemanager: Move functionality into the scripts directory 2010-07-22 11:44:28 +01:00
stage-manager-ipkg stagemanager: Move functionality into the scripts directory 2010-07-22 11:44:28 +01:00
stage-manager-ipkg-build stagemanager: Move functionality into the scripts directory 2010-07-22 11:44:28 +01:00

README

This directory contains Various useful scripts for working with poky