diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-10-02 13:28:29 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-10-02 16:30:46 +0900 |
commit | 481a620c978ddd5ac433a813f4939f579b968c7f (patch) | |
tree | 56ac0211386696dc3f0e78d3d3eb3db655626938 | |
parent | 30f268e1b4b04f325a77fd19296875892b064855 (diff) |
html.py: add status at bsp()
We want to count "Done" status upport patch as done
even though it doesn't have upstream patch.
This patch indicate status.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
-rwxr-xr-x | scripts/html.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/html.py b/scripts/html.py index 388d194..d8ac92d 100755 --- a/scripts/html.py +++ b/scripts/html.py @@ -461,6 +461,11 @@ class periject_html(base.base): def task_commit_upstream(self, v): upstream = v.get_data("upstream") if (not len(upstream)): + status = v.get_data("status") + if (status == "Done" or + status == "Abandoned"): + html("p").print("ignored") + return 1 return 0 cnt = 0 @@ -584,7 +589,9 @@ class periject_html(base.base): with html("tr"): a.option({"href": self.relpath_y2h(file, "{}/html".format(self.top()))}) - html("td").print(a.text(os.path.basename(file).replace(".yaml", ""))) + html("td").print("{}<br>({})".format( + a.text(os.path.basename(file).replace(".yaml", "")), + v.get_data("status"))) with html("td"): tmp = self.task_commit_bsp(bsp) |