David Hendricks has posted comments on this change. ( https://review.coreboot.org/19206 )
Change subject: Convert flashrom to git
......................................................................
Patch Set 9:
Made a trivial change to the commit message to align the bullet points near the bottom. Aside from that, I think we've stared at this long enough. I sanity checked "make", "make export", and getrevision.sh output. The hooks seem to be working properly (but then, they seemed to work properly when there was a missing "fi" so...).
Anyway, I think we can commit this and follow-up with any fixes or tweaks as we get more people using/testing it.
--
To view, visit https://review.coreboot.org/19206
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I64eef21982cac0a0a7419bcd2c8a936672ae9cb2
Gerrit-Change-Number: 19206
Gerrit-PatchSet: 9
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: david.hendricks(a)gmail.com
Gerrit-Comment-Date: Fri, 23 Jun 2017 06:07:07 +0000
Gerrit-HasComments: No
Hello Stefan Tauner, david.hendricks(a)gmail.com, Philippe Mathieu-Daudé, Paul Menzel, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19206
to look at the new patch set (#9).
Change subject: Convert flashrom to git
......................................................................
Convert flashrom to git
- Drop support for Subversion in the getrevision script and Makefile.
- Add .gitignore and .gitattributes file (the latter to limit exports).
- Restore modification dates of the exported files from the SCM.
- Stop exporting SCM log dumps to CHANGELOG. This makes no sense.
- Do not export the pre-"compiled" manpage. It can be generated like
anything else from the code dump when we export the respective
variable.
The latter is added with this change.
- Add some initial client-side git hooks
* When committing check for obvious stuff you never want anyway:
- white space errors
* When pushing to the upstream repository check mandatory rules:
- existing signoffs and acks in all new commits
- no deletions or creation of branches
- do not rewrite history of the precious branches, even if forced
NOTE: This patch is adapted from Stefan Tauner's original commit:
https://mail.coreboot.org/pipermail/flashrom/2016-November/014877.html
There are a few major differences:
- This uses coreboot's commit-msg hook which includes support for
generating and appending Change-Id.
- djgpp-dos target removal is moved to a follow-up patch.
- Version string changes are moved to a follow-up patch.
Change-Id: I64eef21982cac0a0a7419bcd2c8a936672ae9cb2
Signed-off-by: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
Signed-off-by: David Hendricks <dhendricks(a)fb.com>
---
A .gitattributes
A .gitignore
M Makefile
M flashrom.c
M util/getrevision.sh
A util/git-hooks/applypatch-msg
A util/git-hooks/commit-msg
A util/git-hooks/install.sh
A util/git-hooks/pre-applypatch
A util/git-hooks/pre-commit
A util/git-hooks/pre-push
A util/git-hooks/wrapper.sh
12 files changed, 404 insertions(+), 123 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/06/19206/9
--
To view, visit https://review.coreboot.org/19206
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I64eef21982cac0a0a7419bcd2c8a936672ae9cb2
Gerrit-Change-Number: 19206
Gerrit-PatchSet: 9
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: david.hendricks(a)gmail.com
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19614 )
Change subject: cli_common: Dont request reports from known-bad chip operations
......................................................................
Patch Set 1:
>> (1 comment)
>
> Is it possible to change the flashrom gerrit config to this limit?
AFAIK, you cannot set it per project, only globally in the "Diff
preferences", shortcut: `,`
--
To view, visit https://review.coreboot.org/19614
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic4dc0d85534f2fcfe4dcb9733d4994c8853b48a7
Gerrit-Change-Number: 19614
Gerrit-PatchSet: 1
Gerrit-Owner: Urja Rannikko <urjaman(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 22 Jun 2017 14:45:56 +0000
Gerrit-HasComments: No
Philippe Mathieu-Daudé has posted comments on this change. ( https://review.coreboot.org/19614 )
Change subject: cli_common: Dont request reports from known-bad chip operations
......................................................................
Patch Set 1:
> (1 comment)
Is it possible to change the flashrom gerrit config to this limit?
--
To view, visit https://review.coreboot.org/19614
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic4dc0d85534f2fcfe4dcb9733d4994c8853b48a7
Gerrit-Change-Number: 19614
Gerrit-PatchSet: 1
Gerrit-Owner: Urja Rannikko <urjaman(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 22 Jun 2017 13:49:06 +0000
Gerrit-HasComments: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19615 )
Change subject: Add probe_dummy for chips that are not practical to probe
......................................................................
Patch Set 1:
(1 comment)
I *wanted* to hit submit... :-/
https://review.coreboot.org/#/c/19615/1/flashrom.c
File flashrom.c:
https://review.coreboot.org/#/c/19615/1/flashrom.c@412
PS1, Line 412: msg_cdbg("Cant probe for this chip. Use 'flashrom -c %s' if you have one.\n", flash->chip->name);
rats, this line is just one char too long :-P
--
To view, visit https://review.coreboot.org/19615
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I327400e337d6ce600c4f0f165f328715f5b341e2
Gerrit-Change-Number: 19615
Gerrit-PatchSet: 1
Gerrit-Owner: Urja Rannikko <urjaman(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 22 Jun 2017 13:07:04 +0000
Gerrit-HasComments: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19614 )
Change subject: cli_common: Dont request reports from known-bad chip operations
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/19614/1/cli_common.c
File cli_common.c:
https://review.coreboot.org/#/c/19614/1/cli_common.c@111
PS1, Line 111: if (untested) {
: msg_cinfo("The test status of this chip may have been updated in the latest development\n"
: "version of flashrom. If you are running the latest development version,\n"
: "please email a report to flashrom(a)flashrom.org if any of the above operations\n"
: "work correctly for you with this flash chip. Please include the flashrom log\n"
: "file for all operations you tested (see the man page for details), and mention\n"
: "which mainboard or programmer you tested in the subject line.\n"
: "Thanks for your help!\n");
: } else {
: msg_cinfo("The test status of this chip may have been updated in the latest development\n"
: "version of flashrom.\n");
: }
I was once told, that we have a 112 columns limit [1]. Can't
find anything about that in the wiki though.
[1] https://mail.coreboot.org/pipermail/flashrom/2012-June/009387.html
--
To view, visit https://review.coreboot.org/19614
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic4dc0d85534f2fcfe4dcb9733d4994c8853b48a7
Gerrit-Change-Number: 19614
Gerrit-PatchSet: 1
Gerrit-Owner: Urja Rannikko <urjaman(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <f4bug(a)amsat.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 22 Jun 2017 13:03:54 +0000
Gerrit-HasComments: Yes