From 4c071c4e0dc8ddf23b344ea6027903a65be2f966 Mon Sep 17 00:00:00 2001 From: Chun-Chen TK Hsu Date: Mon, 30 Dec 2019 16:32:49 +0800 Subject: [PATCH] util: Add fastmodel in valid tag list The "fastmodel" tag has been used since 2019-08-22 so it should be an valid tag in commit header. Change-Id: I0032deaabc94e5896851da9afc28e1b1a699fed3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23923 Reviewed-by: Giacomo Travaglini Reviewed-by: Gabe Black Reviewed-by: Daniel Carvalho Maintainer: Jason Lowe-Power Tested-by: kokoro --- util/git-commit-msg.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/git-commit-msg.py b/util/git-commit-msg.py index 74c8f014a..1ce8aa171 100755 --- a/util/git-commit-msg.py +++ b/util/git-commit-msg.py @@ -81,12 +81,13 @@ def _validateTags(commit_header): # List of valid tags # @todo this is error prone, and should be extracted automatically from # a file + valid_tags = ["arch", "arch-alpha", "arch-arm", "arch-hsail", "arch-mips", "arch-power", "arch-riscv", "arch-sparc", "arch-x86", "base", "configs", "cpu", "cpu-kvm", "cpu-minor", "cpu-o3", "cpu-simple", - "dev", "dev-arm", "dev-virtio", "ext", "gpu-compute", "learning-gem5", - "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc", "python", - "scons", "sim", "sim-se", "sim-power", "stats", "system", + "dev", "dev-arm", "dev-virtio", "ext", "fastmodel", "gpu-compute", + "learning-gem5", "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc", + "python", "scons", "sim", "sim-se", "sim-power", "stats", "system", "system-alpha", "system-arm", "systemc", "tests", "util", "RFC", "WIP"] tags = ''.join(commit_header.split(':')[0].split()).split(',') -- 2.30.2