From 481a620c978ddd5ac433a813f4939f579b968c7f Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 2 Oct 2019 13:28:29 +0900 Subject: 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 --- scripts/html.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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("{}
({})".format( + a.text(os.path.basename(file).replace(".yaml", "")), + v.get_data("status"))) with html("td"): tmp = self.task_commit_bsp(bsp) -- cgit v1.2.3