- 26 8月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
This allows Patman to generate smaller patches for file removal. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
- 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>
-
- 16 2月, 2015 1 次提交
-
-
由 Simon Glass 提交于
This causes an error when trying to build a local branch which has a local branch as its upstream. Signed-off-by: NSimon Glass <sjg@chromium.org> Reported-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 31 1月, 2015 1 次提交
-
-
由 Peter Tyser 提交于
When run with the --dry-run argument patman prints out information showing what it would do. This information currently doesn't line up with what patman/git send-email really do. Some basic examples: - If an email address is addressed via "Series-cc" and "Patch-cc" patman shows that email address would be CC-ed two times. - If an email address is addressed via "Series-to" and "Patch-cc" patman shows that email address would be sent TO and CC-ed. - If an email address is addressed from a combination of tag aliases, get_maintainer.pl output, "Series-cc", "Patch-cc", etc patman shows that the email address would be CC-ed multiple times. Patman currently does try to send duplicate emails like the --dry-run output shows, but "git send-email" intelligently removes duplicate addresses so this patch shouldn't change the non-dry-run functionality. Change patman's output and email addressing to line up with the "git send-email" logic. This trims down patman's dry-run output and prevents confusion about what patman will do when emails are actually sent. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Acked-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
- 15 1月, 2015 2 次提交
-
-
由 Simon Glass 提交于
Adjust the -b flag to permit a range expression as well as a branch. Signed-off-by: NSimon Glass <sjg@chromium.org> Suggested-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com> Tested-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Simon Glass 提交于
Buildman normally obtains the upstream commit by asking git. Provided that the branch was created with 'git checkout -b <branch> <some_upstream>' then this normally works. When there is no upstream, we can try to guess one, by looking up through the commits until we find a branch. Add a function to try this and print a warning if buildman ends up relying on it. Also update the documentation to match. Signed-off-by: NSimon Glass <sjg@chromium.org> Suggested-by: NWolfgang Denk <wd@denx.de>
-
- 10 9月, 2014 1 次提交
-
-
由 Simon Glass 提交于
RunPipe() currently pipes the output of stdout and stderr to a pty, but this is not the intended behaviour. Fix it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 06 9月, 2014 4 次提交
-
-
由 Simon Glass 提交于
A missing 'global' declaration means that this feature does not currently work. Fix it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
In a headless environment the pager can apparently hang. We don't want a pager anyway so let's request that none be used. Reported-by: NTom Rini <trini@ti.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It seems that this is no longer needed, since checkpatch.pl will catch whitespace problems in patches. Also the option is not widely used, so it seems safe to just remove it. Suggested-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It seems that doctest behaves differently now, and some of the unit tests do not run. Adjust the tests to work correctly. ./tools/patman/patman --test <unittest.result.TestResult run=10 errors=0 failures=0> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 28 8月, 2014 1 次提交
-
-
由 Simon Glass 提交于
This option is currently not supported, but needs to be, for buildman to operate as expected. Reported-by: NYork Sun <yorksun@freescale.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 13 8月, 2014 2 次提交
-
-
由 Simon Glass 提交于
Older versions of git (e.g. Ubuntu 10.04) do not support this flag. By default they do not decorate. So only enable this flag when supported. Suggested-by: NTom Rini <trini@ti.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Move the code that builds a 'git log' command into a function so we can more easily adjust it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 28 7月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
If Series-to tag is missing, Patman exits with a message "No recipient". This is just annoying for those who had already added sendemail.to configuration. I guess many developers have [sendemail] to = u-boot@lists.denx.de in their .git/config because the 'To: u-boot@lists.denx.de' field should always be added when sending patches. That seems more reasonable rather than adding 'Series-to: u-boot@lists.denx.de' to every patch series. Patman should exit only when both Series-to tag and sendemail.to configuration are mising. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 08 7月, 2014 1 次提交
-
-
由 Simon Glass 提交于
When patman applies the patches it checks out a new branch, uses 'git am' to apply the patches one by one, and then tries to go back to the old branch. If you try this when the branch is 'undefined', this doesn't work as patman cannot restore the correct branch after applying the patches. It seems that 'undefined' is created by git and is persistent after it is created, so that you can end up on quite an old branch. Add a check for the 'undefined' branch to avoid this. Reported-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 10 5月, 2014 1 次提交
-
-
由 Simon Glass 提交于
This sort of failure is rare, but the code to deal with it is wrong. Fix it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 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>
-
- 15 5月, 2013 1 次提交
-
-
由 Simon Glass 提交于
Rather than a backtrace, produce a nice error message when an invalid branch is provided to buildman. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 19 4月, 2013 1 次提交
-
-
由 Andreas Bießmann 提交于
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 09 4月, 2013 1 次提交
-
-
由 Simon Glass 提交于
Often it happens that patches include tags which don't have aliases. It is annoying that patman fails in this case, and provides no option to continue other than adding empty tags to the .patman file. Correct this by adding a '-t' option to ignore tags that don't exist. Print a warning instead. Since running the tests is not a common operation, move this to --test instead, to reserve -t for this new option. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NDoug Anderson <dianders@chromium.org>
-
- 05 4月, 2013 4 次提交
-
-
由 Doug Anderson 提交于
Some versions of git don't seem to prompt you for the message ID that your series is in reply to. Allow specifying this from the command line. Signed-off-by: NDoug Anderson <dianders@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add methods to find out the commits in a branch, clone a repo and fetch from a repo. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Make raise_on_error a parameter so that we can control which commands raise and which do not. If we get an error reading the alias file, just continue. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Rather than returning a list of things, return an object. That makes it easier to access the returned items, and easier to extend the return value later. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 01 2月, 2013 2 次提交
-
-
由 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 提交于
Several of the patman doctests assume that patman was run with: ./patman Fix them so that they work even if patman is run with just "patman" (because patman is in the path). Signed-off-by: NDoug Anderson <dianders@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 20 10月, 2012 1 次提交
-
-
由 Albert ARIBAUD 提交于
Colored logs confuse patman when analyzing logs. Add --no-color option in git log commands in case the default config has color. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
- 20 6月, 2012 1 次提交
-
-
由 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>
-
- 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>
-