Stefan Tauner uploaded patch set #2 to the change originally created by Nico Huber.
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.
- Export SCM metadata needed by the Makefile to Makefile.VCS
- Do not export the pre-"compiled" manpage. It can be generated like
anything else from the code dump with Makefile.VCS
- Add some initial client-side git hooks that get installed automatically
on make runs:
* pre-commit:
- test for white space errors via git diff-index --check
* commit-msg:
- Use the up to date hook from gerrit to add Change-Id tags.
Unlike the upstream hook, add them to fixup/squash changes too
to match our staging behavior.
- Test for duplicate sign-offs.
* When pushing to the upstream repository check mandatory rules:
- existing signoffs and acks in all new commits
- no deletions of branches
- no branches other than stable, staging and versioned branches
- do not rewrite history of branches, even if forced
Original-Change-Id: I64eef21982cac0a0a7419bcd2c8a936672ae9cb2
Original-Reviewed-on: https://review.coreboot.org/19206
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Change-Id: I08a324ce1fd8afcc6f516ddfb6f09e05a67cdd17
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
Signed-off-by: David Hendricks <dhendricks@fb.com>
Signed-off-by: Nico Huber <nico.h@gmx.de>
---
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, 437 insertions(+), 131 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/76/21776/2
To view, visit change 21776. To unsubscribe, visit settings.