summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-03-27 15:21:44 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2020-04-08 12:11:17 +0200
commit5b31b90e82602b2ec7906ae4868f4777ce046dfe (patch)
tree81be1fe80a2516dbffc633f457fca41e3de47cab
parent915ac41ada34c55f7674a00a2c366cdc5d35b264 (diff)
Update URL for BSP git repo
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>
-rw-r--r--README.md2
-rw-r--r--projects/project.schema.yaml2
-rwxr-xr-xscripts/myhtml.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 635d2d1..7f0e519 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ Next, you need to have **.config** file. You can copy sample .config, and edit i
Your .config need to have "git-linux" and it needs to have these repositories.
> git remote add linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- > git remote add bsp git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git
+ > git remote add bsp https://github.com/renesas-rcar/linux-bsp.git
> git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Then, just "make".
diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml
index 216306c..70426b8 100644
--- a/projects/project.schema.yaml
+++ b/projects/project.schema.yaml
@@ -46,7 +46,7 @@ mapping:
bsp-commits:
desc: A sequence / list of related BSP commits
- https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id=
+ https://github.com/renesas-rcar/linux-bsp/commit/
sequence:
- include: gitcommit
diff --git a/scripts/myhtml.py b/scripts/myhtml.py
index 39ea0e1..0afb0e6 100755
--- a/scripts/myhtml.py
+++ b/scripts/myhtml.py
@@ -131,7 +131,7 @@ class periject_html(base.base):
def commit_url(self, id, type):
if (type == "bsp"):
- return "https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id={}".format(id)
+ return "https://github.com/renesas-rcar/linux-bsp/commit/{}?diff=unified".format(id)
if (type == "torvalds"):
return "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id={}".format(id)
if (type == "next"):
@@ -498,7 +498,7 @@ class periject_html(base.base):
for bsp in bsp_list:
cnt += 1
html("li").print(html("a", {"href":self.commit_url(bsp, "bsp"),
- "target":"subbody"}).text(self.git_title(bsp)))
+ "target":"_blank"}).text(self.git_title(bsp)))
return cnt