Skip to content

Fix git url#113

Merged
machshev merged 1 commit intolowRISC:masterfrom
machshev:fix_git_url
Mar 6, 2026
Merged

Fix git url#113
machshev merged 1 commit intolowRISC:masterfrom
machshev:fix_git_url

Conversation

@machshev
Copy link
Collaborator

@machshev machshev commented Mar 6, 2026

Derive the HTML report git repo URL from git remote get_url origin.

Copy link
Contributor

@AlexJones0 AlexJones0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @machshev, I'm happy for this to go in when my comment is addressed.

Remove the hard coded OpenTitan git URL from the report. Instead use the
git remote origin URL. This means that if you have cloned from a fork
then the URL will be correct and link through to the commit in your
fork. It doesn't matter if you cloned via SSH or HTTPS, the URL is
correctly calculated.

At the moment this assumes the URL is github, however others could be
added at a later point.

This commit also improves the testing of the git utils bringing coverage
up to 100% for this module.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
@machshev machshev added this pull request to the merge queue Mar 6, 2026
Merged via the queue into lowRISC:master with commit aeac114 Mar 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants