summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-04-09find: make filter pattern more specificGeert Uytterhoeven
Change the pattern to filter out meta-schema files from "schema" to "project.schema", so it no longer matches the dt_bindings_json_schema_*.yaml files. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2020-04-08schema: Add support for lore email linksGeert Uytterhoeven
Add support for referring to posted patches and patch series using Message-IDs, to be looked up in lore. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2020-04-08Update URL for BSP git repoGeert Uytterhoeven
The BSP repository was moved to github. The old repository lacks several recent commits, leading to broken links in the HTML output (see e.g. html/linux/io/bsp397_SDHI.html). Update all BSP URLs to fix this. Note that BSP commits are opened in a new tab, as github pages cannot be embedded in a frame. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2020-03-30scripts: myhtml.py: Fix links to commits in linux-nextGeert Uytterhoeven
HTML links to commits in linux-next are broken, as they refer to the wrong repository. Consolidate bsp_url() and upstream_url() into commit_url(), and use the correct repository for commits in linux-next. This avoids duplication, and makes it easier to add new URL types later. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-24chatlog: using big tableKuninori Morimoto
To be more readable, chatlog is now using big table for each year Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-24myhtml: sort by file nameKuninori Morimoto
We want sorted Summary. This patch do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-12-24scripts: html.py: Always generate a commit tableGeert Uytterhoeven
If no bsp-commits are present, upstream commits are not listed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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>