summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-11-14scripts: html.py: Change counting of "upstream" and "done"Yoshihiro Shimoda
Even if the tasks' status is "New", "Active", "Blocked" or "Paused", the def bsp on htmi.py increases cnt_{up,all} when task_commit_upstream returns non-zero. However, these countings are possible to overlook which bsp patches are still in progress. So, this patch changes the task done counting. Also adds task's status related upported patches counting like below: bsp:184/upstream:160 = 87.0% --> keep as-is. task:57/done:43 = 75.4% (bsp:184/upstream:106 = 57.6%) ~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ changed add Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
2019-10-30html.py: indicate update timeKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-10-02html.py: add status at bsp()Kuninori Morimoto
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>
2019-10-02html.py: use existing relpath_y2h() at bsp()Kuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-25script/html: count correct BSP patch number for statisticsKuninori Morimoto
Current statistics is counting line number, but then, result will be strange if 1 line had multi patches. This patch counts correct BSP patch number. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add task base done percent at bsp.htmlKuninori Morimoto
"BSP commit / upstreamed commit" is not 1:1. This means, max will be not 100%. This patch adds task base percent. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add http link for task commentKuninori Morimoto
If comment had http[s] links, this patch add <a> link for it. It doesn't work correctly somehow if <a target="subbody">, so, it uses <a target="_blank"> so far. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add NoAssignee supportKuninori Morimoto
There are no assignee tasks, and html.py will be error at such tasks. This patch care it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: add -a NoAssignee supportKuninori Morimoto
We can find No Assignee task as below, but not useful. find -na "" This patch support -a NoAssignee support for it. It might be replace if schema had required at assignee Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: replace -a to -allKuninori Morimoto
commit fbd5adac3e9a0 ("find: add -a option") added -a option to indicate all tasks, but it was same as assignee member. This patch fixup it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: tidyup get_data()Kuninori Morimoto
Some key might not exist on yaml data. In such case, it will be error on get_data(). This patch return [] when no data or no key case Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: tidyup default_arg()Kuninori Morimoto
It returned additional default args, but it will be issue for html. This patch exchange to retrun whole args Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html.py: enable to setup html default cols/rowsKuninori Morimoto
For selfish boys & girls Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html.py: tidyup parse commandKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add team menuKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: status based summaryKuninori Morimoto
status based summary is easy to see Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09Add BSP patch list on menuKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add relpath()Kuninori Morimoto
more simply link path Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: add relpath_y2h()Kuninori Morimoto
more simply link path Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09html: tidyup table headerKuninori Morimoto
use "th" header Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09Add html supportKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add set_data/get_dataKuninori Morimoto
To be more object, let's add set_data/get_data Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: add -a optionKuninori Morimoto
default will ignore Done status, but we sometimes want to get all tasks. This patch adds -a option for it Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: find from specified dirKuninori Morimoto
We want to find tasks from specified dir Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09find: find yaml fileKuninori Morimoto
find yaml file, not -type f Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add -r option to show relationshipsKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add get_data()Kuninori Morimoto
To support relationships, directly getting Yaml data on each function is more useful. Let's add get_data() and do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09add PeriJect viewerKuninori Morimoto
Very simple 1st verstion Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-03-05scripts/peripelist_conv: always add assignee fieldWolfram Sang
Fall back to 'TBD' if there is no assignment yet. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-02-06scripts/periupport_conv: mention ticket file in filename and descWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-02-06scripts/periupport_conv: create dest dir if it does not existWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-02-06scripts/periupport_conv: add assignee templateWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-01-24scripts/periupport_conv: cosmetic changes in outputWolfram Sang
Change group from 'MM' to 'TBD', set default status to 'New', and merge commit descs to the same line as commits. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> merge commit desc line
2019-01-24scripts/periupport_conv: handle multiple U: lines per commitWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-01-23scripts/periupport_conv: preserve ':' in commentsWolfram Sang
Done by staying with ' ' as FS. Suggested-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-01-23scripts/periupport_conv: refactor filename generation into seperate functionWolfram Sang
And don't produce useless '_' when generating filenames. Reported-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2019-01-23scripts/periupport_conv: remove superfluous newlineWolfram Sang
Reported-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2018-12-14scripts/periupport_conv: add sorting of commitsWolfram Sang
Makes it easier to find e.g. corresponding comments to commits. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2018-12-14scripts: add import tool for periupport ticket filesWolfram Sang
Usage: periupport_conv <ticket text output> <dest path> Example usage for converting the bsp370 text output file: $ scripts/periupport_conv ../periupport/out/bsp370.txt /tmp/bsp370/ Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2018-12-13scripts: add import tool for periperlist todo filesWolfram Sang
Usage: peripelist_conv <source todo> <dest path> <groupname> Example usage for converting the IO todo file: $ scripts/peripelist_conv ../peripelist/io/todo projects/linux/io/ IO Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2018-12-07periject: YAML ValidationKieran Bingham
Utilise pykwalify to provide a YAML schema for our data files. Define an initial project schema under projects/ to define our data layout. An example task data file is provided to demonstrate how the data could be presented in text form. A validator is provided which currently simply calls pykwalify. This is just an initial demonstration of the validation process and can be expanded upon later to provide automa{t,g}ic commit title processing, and further business logic can be added with extra tools. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>