David Hendricks has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/35295 )
Change subject: util/git-hooks: Check for Signed-off-by line
......................................................................
util/git-hooks: Check for Signed-off-by line
Enforce the DCO. The logic comes from coreboot's commit-msg hook,
and I've added a pointer to flashrom's development guidelines.
Change-Id: Iea49a06c2d4824be073eff98c8aae1cbc5b145e4
Signed-off-by: David Hendricks <david.hendricks(a)gmail.com>
---
M util/git-hooks/commit-msg
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/95/35295/1
diff --git a/util/git-hooks/commit-msg b/util/git-hooks/commit-msg
index 346c08f..fff0e29 100755
--- a/util/git-hooks/commit-msg
+++ b/util/git-hooks/commit-msg
@@ -28,6 +28,8 @@
CHANGE_ID_AFTER="Bug|Depends-On|Issue|Test|Feature|Fixes|Fixed|Staging-ID"
MSG="$1"
+DEV_GUIDELINES_URL="https://www.flashrom.org/Development_Guidelines"
+
# Check for, and add if missing, a unique Change-Id
#
add_ChangeId() {
@@ -201,8 +203,17 @@
}
}
+test_sign_off() {
+ if ! grep -qi '^[[:space:]]*\+Signed-off-by:' "$MSG"; then
+ printf "\nError: No Signed-off-by line in the commit message.\n"
+ printf "See: ${DEV_GUIDELINES_URL}\n"
+ exit 1
+ fi
+}
+
main() {
test_duplicate_signoffs_acks
+ test_sign_off
add_ChangeId
}
--
To view, visit https://review.coreboot.org/c/flashrom/+/35295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Iea49a06c2d4824be073eff98c8aae1cbc5b145e4
Gerrit-Change-Number: 35295
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-MessageType: newchange
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/flashrom/+/30088 )
Change subject: [HACK]flashchips: Use spi_chip_write_256 on SST25VF016B
......................................................................
Abandoned
--
To view, visit https://review.coreboot.org/c/flashrom/+/30088
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8000f538a55c10dd55aedd4265c036590f3b96a8
Gerrit-Change-Number: 30088
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/flashrom/+/27106 )
Change subject: [WIP]layout.c: Use a linked lists for layout
......................................................................
Abandoned
Done.
--
To view, visit https://review.coreboot.org/c/flashrom/+/27106
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id7f48ac613da1590f30247bee979034cf1f74e9e
Gerrit-Change-Number: 27106
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: abandon
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/flashrom/+/23678 )
Change subject: [RFC]Don't make layoutfile and --ifd mutually exclusive
......................................................................
Abandoned
Might resume this later, but abandoning for now.
--
To view, visit https://review.coreboot.org/c/flashrom/+/23678
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8602196e56e8903a4a22f8070a97f39628e0cc13
Gerrit-Change-Number: 23678
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/25683 )
Change subject: Add support for National Instruments USB-845x devices
......................................................................
Patch Set 26: Code-Review+1
(2 comments)
Looks good, thanks for the update. Alas, I seem to have
found an issue that I missed earlier.
https://review.coreboot.org/c/flashrom/+/25683/26/ni845x_spi.c
File ni845x_spi.c:
https://review.coreboot.org/c/flashrom/+/25683/26/ni845x_spi.c@249
PS26, Line 249: i >= 0
Did you test this with unexpected inputs, e.g. command line argument of 1.0V?
Didn't see this earlier, but it looks like we'd end up with `i = -1`. But
the code after this loops assumes that we stop at 0 (i.e. `i` is always a
valid array index). So the last iteration should be for `i == 1`, i.e.
the condition should be `i > 0`.
https://review.coreboot.org/c/flashrom/+/25683/26/ni845x_spi.c@440
PS26, Line 440: strlen(ignore_io_voltage_limits_str) == 3
: && strstr("yes", ignore_io_voltage_limits_str) == 0
This should be the same as
strcmp(ignore_io_voltage_limits_str, "yes") == 0
no?
--
To view, visit https://review.coreboot.org/c/flashrom/+/25683
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9477b6f0193bfdf20bbe63421a7fb97b597ec549
Gerrit-Change-Number: 25683
Gerrit-PatchSet: 26
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-CC: Stefan T <stefan.tauner(a)gmx.at>
Gerrit-Comment-Date: Tue, 08 Oct 2019 09:44:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment