summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-12-24chatlog: Auto update for Chat logKuninori Morimoto
This patch adds chatlog.py and auto update Chat log. Each leader need to do is just put chatlog under wiki/Chat_log by this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-12wiki: tidyup GMSL_xxx pageKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-12wiki: update Ongoing Multimedia DevelopmentKuninori Morimoto
For Multi Camera which is asked from BSP team. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-10css: use css at task pageKuninori Morimoto
and some design update Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-10myhtml: add missing <body> for wikiKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-10myhtml: add missing <body> for summaryKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-09Wiki support 1st versionKuninori Morimoto
Renesas contracted service provider will stop Redmine at 2021. But, We want to keep it. This patch start to support Wiki at PeriJect. 100% compatible is difficult, but some of them can be. These are known un-compatiblity. - list "-" doesn't work - line "---" doesn't work - [[link]] doesn't work (periject supports similar one) - !image! doesn't work (periject supports similar one) - <pre>...</pre> doesn't allow white line - {{toc}} doesn't work Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-11-25scripts/pre-commit: Auto-generate keys when neededGeert Uytterhoeven
Generate unique keys for YAML project files lacking them. There are two minor issues left: 1. Due to the "git add", not only the key is added to the file, but also any other changes that are not yet staged, 2. When doing "git add <file>; git commit <file>", the addition of the key is also left in the unstaged changes as a side effect, so "git diff" still shows that change as uncommitted. More investigation shows this only happens when passing the file name to the "git commit" command. Hence it does not happen when doing "git add <file>; git commit". Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
2019-11-25scripts: Add a pre-commit hook to validate YAML project filesGeert Uytterhoeven
To enable: ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
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>