<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/patman/gitutil.py, branch v2014.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/patman/gitutil.py?h=v2014.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/patman/gitutil.py?h=v2014.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-07-07T23:22:03Z</updated>
<entry>
<title>patman: Only apply patches when we know the original HEAD</title>
<updated>2014-07-07T23:22:03Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-06-12T05:27:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4251978afccb4b58c477c74f2d9888a063e5a995'/>
<id>urn:sha1:4251978afccb4b58c477c74f2d9888a063e5a995</id>
<content type='text'>
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: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Deal with 'git apply' failures correctly</title>
<updated>2014-05-09T20:50:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-04-20T16:50:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=757f64a89ba5bb04661b3f43444ca57fa6db1132'/>
<id>urn:sha1:757f64a89ba5bb04661b3f43444ca57fa6db1132</id>
<content type='text'>
This sort of failure is rare, but the code to deal with it is wrong.
Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>buildman: Produce a sensible error message when branch is missing</title>
<updated>2013-05-14T19:37:58Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-05-08T08:06:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cce717a96c5840b0cf33e30c87fb1f2b8d633ee3'/>
<id>urn:sha1:cce717a96c5840b0cf33e30c87fb1f2b8d633ee3</id>
<content type='text'>
Rather than a backtrace, produce a nice error message when an invalid
branch is provided to buildman.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: fix gitutil for decorations</title>
<updated>2013-04-18T20:16:32Z</updated>
<author>
<name>Andreas Bießmann</name>
<email>andreas.devel@googlemail.com</email>
</author>
<published>2013-04-15T23:52:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2386060c16471f4cd183e6f8bce82450a7574ec6'/>
<id>urn:sha1:2386060c16471f4cd183e6f8bce82450a7574ec6</id>
<content type='text'>
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: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Provide option to ignore bad aliases</title>
<updated>2013-04-08T22:09:03Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-26T13:09:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a1318f7cdc2fcff3b30d39750dd07dbed8f03f21'/>
<id>urn:sha1:a1318f7cdc2fcff3b30d39750dd07dbed8f03f21</id>
<content type='text'>
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: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Doug Anderson &lt;dianders@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Allow specifying the message ID your series is in reply to</title>
<updated>2013-04-04T21:04:34Z</updated>
<author>
<name>Doug Anderson</name>
<email>dianders@chromium.org</email>
</author>
<published>2013-03-17T10:31:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d819925d0781b1fa8e5526f73cd277449dc08e1'/>
<id>urn:sha1:6d819925d0781b1fa8e5526f73cd277449dc08e1</id>
<content type='text'>
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: Doug Anderson &lt;dianders@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Add additional git utilties</title>
<updated>2013-04-04T21:04:34Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-15T10:42:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5f6a1c420070221e2fdbe81d9a8af8bcd3c05fbb'/>
<id>urn:sha1:5f6a1c420070221e2fdbe81d9a8af8bcd3c05fbb</id>
<content type='text'>
Add methods to find out the commits in a branch, clone a repo and
fetch from a repo.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Allow commands to raise on error, or not</title>
<updated>2013-04-04T21:04:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-15T10:42:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc191505b903220a8581303efef0a1ead0e06532'/>
<id>urn:sha1:dc191505b903220a8581303efef0a1ead0e06532</id>
<content type='text'>
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: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Make command methods return a CommandResult</title>
<updated>2013-04-04T21:04:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-15T10:42:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a10fd93cbc2ddf1da1f8b6d915f4bc3276ff7731'/>
<id>urn:sha1:a10fd93cbc2ddf1da1f8b6d915f4bc3276ff7731</id>
<content type='text'>
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: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
