Lines Matching +full:check +full:- +full:dco
3 # check-dco.py: validate all commits are signed off
7 # SPDX-License-Identifier: GPL-2.0-or-later
14 namespace = "qemu-project"
23 subprocess.check_call(["git", "remote", "add", "check-dco", repourl])
24 subprocess.check_call(["git", "fetch", "check-dco", "master"])
26 ancestor = subprocess.check_output(["git", "merge-base",
27 "check-dco/master", "HEAD"],
32 subprocess.check_call(["git", "remote", "rm", "check-dco"])
36 print("\nChecking for 'Signed-off-by: NAME <EMAIL>' " +
39 log = subprocess.check_output(["git", "log", "--format=%H %s",
50 msg = subprocess.check_output(["git", "show", "-s", sha],
57 if "Signed-off-by:" in line:
64 print(" ❌ FAIL missing Signed-off-by tag")
70 ❌ ERROR: One or more commits are missing a valid Signed-off-By tag.
75 of Origin 1.1 (DCO):
79 To indicate acceptance of the DCO every commit must have a tag
81 Signed-off-by: YOUR NAME <EMAIL>
86 This can be achieved by passing the "-s" flag to the "git commit" command.
90 git rebase -i master -x 'git commit --amend --no-edit -s'