- 30 5月, 2020 2 次提交
-
-
由 Sean Anderson 提交于
Patman outputs a line for every edition of the series in every patch, regardless of whether any changes were made. This can result in many redundant lines in patch changelogs, especially when a patch did not exist before a certain revision. For example, the existing behaviour could result in a changelog of Changes in v7: None Changes in v6: None Changes in v5: - Make a change Changes in v4: None Changes in v3: - New Changes in v2: None With this patch applied and with --no-empty-changes, the same patch would look like (no changes since v5) Changes in v5: - Make a change Changes in v3: - New This is entirely aesthetic, but I think it reduces clutter, especially for patches added later on in a series. Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Bin Meng 提交于
Some mailing lists have size limits and when we add binary contents to our patches it's easy to exceed the size limits. Git supports a command line option "--no-binary" to generate patches without any binary contents. Add an option in patman to handle this. Note with this option patches cannot be applied properly, but they are still useful for code review. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 15 10月, 2019 1 次提交
-
-
由 Douglas Anderson 提交于
As per the centithread on ksummit-discuss [1], there are folks who feel that if a Change-Id is present in a developer's local commit that said Change-Id could be interesting to include in upstream posts. Specifically if two commits are posted with the same Change-Id there's a reasonable chance that they are either the same commit or a newer version of the same commit. Specifically this is because that's how gerrit has trained people to work. There is much angst about Change-Id in upstream Linux, but one thing that seems safe and non-controversial is to include the Change-Id as part of the string of crud that makes up a Message-Id. Let's give that a try. In theory (if there is enough adoption) this could help a tool more reliably find various versions of a commit. This actually might work pretty well for U-Boot where (I believe) quite a number of developers use patman, so there could be critical mass (assuming that enough of these people also use a git hook that adds Change-Id to their commits). I was able to find this git hook by searching for "gerrit change id git hook" in my favorite search engine. In theory one could imagine something like this could be integrated into other tools, possibly even git-send-email. Getting it into patman seems like a sane first step, though. NOTE: this patch is being posted using a patman containing this patch, so you should be able to see the Message-Id of this patch and see that it contains my local Change-Id, which ends in 2b9 if you want to check. [1] https://lists.linuxfoundation.org/pipermail/ksummit-discuss/2019-August/006739.htmlSigned-off-by: NDouglas Anderson <dianders@chromium.org>
-
- 23 6月, 2018 1 次提交
-
-
由 Simon Glass 提交于
Some environments require providing the '--smtp-server' argument to 'git send-email'. Add support for this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 12 9月, 2017 1 次提交
-
-
由 Chris Packham 提交于
Add support for reading a list of bouncing addresses from a in-tree file (doc/bounces) and from the ~/.patman config file. These addresses are stripped from the Cc list. Signed-off-by: NChris Packham <judge.packham@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com <mailto:philipp.tomsich@theobroma-systems.com>>
-
- 06 2月, 2016 1 次提交
-
-
由 Bin Meng 提交于
Correct spelling of "U-Boot" shall be used in all written text (documentation, comments in source files etc.). Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 29 7月, 2015 1 次提交
-
-
由 Chris Packham 提交于
To make it easier to use patman on other projects add a distutils style installer. Now patman can be installed with cd u-boot/tools/patman && python setup.py install There are also the usual distutils options for creating source/binary distributions of patman. Tested-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NChris Packham <judge.packham@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 24 4月, 2015 1 次提交
-
-
由 Wu, Josh 提交于
For the local project, we may specified format.subjectprefix setting. Then the patch will be formated as [Project_prefix][PATCH]. But patman will not check this setting. It will remove the format.subjectprefix. So This patch will let patman check this setting and add it as a project prefix. Signed-off-by: NJosh Wu <josh.wu@atmel.com> Acked-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
- 31 1月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Add an explanation for how to set up git so that patman can find the alias file. Fix up the get_maintainers message too. Reported-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 22 9月, 2014 1 次提交
-
-
由 Simon Glass 提交于
The get_maintainers script is a useful default, but sometimes is copies too many people, or takes a long time to run. Add an option to disable it and update the README. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 10 5月, 2014 1 次提交
-
-
由 Simon Glass 提交于
Keep track of all Signed-off-by tags in a commit and silently suppress any duplicates. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 23 3月, 2014 1 次提交
-
-
由 Simon Glass 提交于
Add a new Patch-cc: tag which performs the service now provided by the Cc: tag. The Cc: tag is interpreted by git send-email but ignored by patman. So now: Cc: patman does nothing. (git send-email can cc patches) Patch-cc: patman Cc's patch and removes this tag from the patch Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 22 11月, 2013 1 次提交
-
-
由 Albert ARIBAUD 提交于
Sometimes a commit should have notes enclosed with it rather than withing the cover letter -- possibly even because there is no cover letter. Add a 'Commit-notes' tag, similar to the 'Series-notes' one; lines between this tag and the next END line are inserted in the patch right after the '---' commit delimiter. Change-Id: I01e99ae125607dc6dec08f3be8a5a0b37f0a483d Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: NSimon Glass <sjg@chromium.org> (Updated README)
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 16 7月, 2013 1 次提交
-
-
由 Gerhard Sittig 提交于
adjust instructions for the invocation of Patman's self test: the -t flag appears to have a different meaning now, refer to the --test option for the builtin unit test; adjust a directory location and make sure to run the file which resides in the source directory Signed-off-by: NGerhard Sittig <gsi@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 09 4月, 2013 1 次提交
-
-
由 Simon Glass 提交于
For some series with lots of changes it is annoying that duplicate change log items are not caught. It is also helpful sometimes to sort the change logs. Add a Series-process-log tag to enable this, which can be placed in a commit to control this. The change to the Cc: line is to fix a checkpatch warning. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NDoug Anderson <dianders@chromium.org>
-
- 05 4月, 2013 3 次提交
-
-
由 Simon Glass 提交于
A few of the help messages are not quite right, and there is a typo in the README. Fix these. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NDoug Anderson <dianders@chromium.org>
-
由 Simon Glass 提交于
The cover letter is sent to everyone who is on the Cc list for any of the patches in the series. Sometimes it is useful to send just the cover letter to additional people, so that they are aware of the series, but don't need to wade through all the individual patches. Add a new Cover-letter-cc tag for this purpose. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NDoug Anderson <dianders@chromium.org>
-
由 Doug Anderson 提交于
Although "Reviewed-by:" is a tag that gerrit adds, it's also a tag used by upstream. Stripping it is undesirable. In fact, we should treat it as important. Signed-off-by: NDoug Anderson <dianders@chromium.org> Reviewed-by: NOtavio Salvador <otavio@ossystems.com.br> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 01 2月, 2013 4 次提交
-
-
由 Doug Anderson 提交于
There are cases that we want to support different settings (or maybe even different aliases) for different projects. Add support for this by: * Adding detection for two big projects: U-Boot and Linux. * Adding default settings for Linux (U-Boot is already good with the standard patman defaults). * Extend the new "settings" feature in .patman to specify per-project settings. Signed-off-by: NDoug Anderson <dianders@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Doug Anderson 提交于
This patch adds support for a [settings] section in the .patman file. In this section you can add settings that will affect the default values for command-line options. Support is added in a generic way such that any setting can be updated by just referring to the "dest" of the option that is passed to the option parser. At the moment options that would make sense to put in settings are "ignore_errors", "process_tags", and "verbose". You could override them like: [settings] ignore_errors: True process_tags: False verbose: True The settings functionality is also used in a future change which adds support for per-project settings. Signed-off-by: NDoug Anderson <dianders@chromium.org>
-
由 Doug Anderson 提交于
For Linux the best way to figure out where to send a patch is with the "get_maintainer.pl" script. Add support for calling it from patman. Support is added unconditionally for "scripts/get_maintainer.pl" in case it is helpful for any other projects. Signed-off-by: NDoug Anderson <dianders@chromium.org>
-
由 Doug Anderson 提交于
If we're sending a cover letter make sure to CC everyone that we're CCing on each of the individual patches. Signed-off-by: NDoug Anderson <dianders@chromium.org>
-
- 16 10月, 2012 1 次提交
-
-
由 Simon Glass 提交于
Sometimes it is possible to forget the name of the branch you used to generate an upstream series. To assist with this, add an optional patman does not use this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 20 6月, 2012 2 次提交
-
-
由 Vikram Narayanan 提交于
patman shouts when it couldn't find a $(HOME)/.patman file. Handle it in a sane way by creating a new one for the user. It looks for a user.name and user.email in the global .gitconfig file, waits for the user input if it can't find there. Update the same in the README Signed-off-by: NVikram Narayanan <vikram186@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de>
-
由 Vikram Narayanan 提交于
Move the config file from ~/.config/patman to ~/.patman as it is more appropriate to have it there. Update the same in the README. Signed-off-by: NVikram Narayanan <vikram186@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 30 4月, 2012 2 次提交
-
-
由 Vikram Narayanan 提交于
Fix the location of patman path in README Signed-off-by: NVikram Narayanan <vikram186@gmail.com> Cc: Simon Glass <sjg@chromium.org>
-
由 Vikram Narayanan 提交于
Signed-off-by: NVikram Narayanan <vikram186@gmail.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 22 4月, 2012 1 次提交
-
-
由 Wolfgang Denk 提交于
Also tiny style cleanup to tools/patman/README Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 21 4月, 2012 1 次提交
-
-
由 Simon Glass 提交于
What is this? ============= This tool is a Python script which: - Creates patch directly from your branch - Cleans them up by removing unwanted tags - Inserts a cover letter with change lists - Runs the patches through checkpatch.pl and its own checks - Optionally emails them out to selected people It is intended to automate patch creation and make it a less error-prone process. It is useful for U-Boot and Linux work so far, since it uses the checkpatch.pl script. It is configured almost entirely by tags it finds in your commits. This means that you can work on a number of different branches at once, and keep the settings with each branch rather than having to git format-patch, git send-email, etc. with the correct parameters each time. So for example if you put: in one of your commits, the series will be sent there. See the README file for full details. END Signed-off-by: NSimon Glass <sjg@chromium.org>
-