Age | Commit message (Collapse) | Author |
|
Signed-off-by: Kuninori Morimoto <Kuninori Morimoto git@github.com:morimoto/morimoto.git>
|
|
uuid calls uuid calls uuid calls uuid... Rename the shell function.
Fixes: 4d03227 ("scripts: pre-commit: Support uuidgen as an alternative to uuid")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
|
|
Sometimes we run "make" without update Linux, and then we can't
find some commits. In such case git indicates error message,
but periject will not stop, and we lose such tasks from HTML.
Now we can use run2() which can get return value.
By This patch, periject indicates commit itself as title.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
|
|
Current run() can't handle command return value.
This patch adds new run2() which can handle return value.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
|
|
Now that comments can span multiple lines, add support for nested lists.
The yaml syntax is
comments:
- The BSP commit bundles 5 different changes:
- Disable SN65DSI86 GPIOs
- Disable scrambling (for V3U Falcon)
- Hot plug detectiong polling
- EDID retrieval
- 4k support for Display Port v1.2
which gets translated to
<ul>
<li>
<p>The BSP commit bundles 5 different changes</p>
<p>
<ul>
<li>
<p>Disable SN65DSI86 GPIOs</p>
</li>
<li>
<p>Disable scrambling (for V3U Falcon)</p>
</li>
<li>
<p>Hot plug detectiong polling</p>
</li>
<li>
<p>EDID retrieval</p>
</li>
<li>
<p>4k support for Display Port v1.2</p>
</li>
</ul>
</p>
</li>
</ul>
The YAML schema is relaxed accordingly to support sequences of anything
in comments.
Note the need for ':' at the end of the first line in the list. Without
that, the full comment will be treated as a single block of text by the
yaml parser, and the HTML generation script will render it as a single
paragraph without line breaks. This could be addressed, but if we keep
going further in that during, maybe a full markdown parser and generator
should be integrated instead.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
|
|
The uuidgen command, from the uuid-runtime package on Debian, can
generate UUIDs. If the uuid command isn't available, fallback to
uuidgen.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
When a comment contains multiple paragraphs, delimited by two or more
consecutive newline characters, render them in <p> elements. This
increases readability of the output.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
|
|
Before PyYAWL 4.1, yaml.load() can load to arbitrary code execution.
yaml.safe_load() is recommended as a safe alternative. Starting at v4.1,
yaml.load() calls yaml.safe_load().
See https://seclists.org/oss-sec/2018/q2/240 for more information.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
|
|
No one is using myhtml.py anymore.
This patch removes it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates
"member", "status", "team", "bsp" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates "menu" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates
"index", "body", "subindex" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates "wiki" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates "summary" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates "task" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
This patch adds SoC/BSP schedule support.
PeriPeri member can know the Renesas plan from it.
It is based on timesheet JavaScript which from below
with small customize.
https://github.com/sbstjn/timesheet.js.git
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Current periject indicates BSP upport status as all-in-one,
but it is not good to know *each* BSP.
This patch update for it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Current periject is using bsp-commits tag,
but it is not enough to know each BSP status.
This patch replace it to bsp39x, and we will use bspXXX tag for BSP.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
find.py will add -ns automatically if user didn't select -s or -ns,
but it is not good if user want to search from all tasks.
This patch adds -is to ignore status.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
commit 88faa5b020952 ("scripts: html.py: Always generate a commit table")
fixup:ed to always indicate a "upstream" table.
But it indicates empty table even though there is no "upstream" tag.
This patch fixup it to indicate "upstream" table only if exist.
Fixes: commit 88faa5b020952 ("scripts: html.py: Always generate a commit table")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
To be more readable, chatlog is now using big table for
each year
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
We want sorted Summary.
This patch do it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
For Multi Camera which is asked from BSP team.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
and some design update
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
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>
|
|
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>
|
|
To enable:
ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
|
|
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>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
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>
|
|
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
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>
|
|
"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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|