New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
983: Github commit links 404 #1136
Conversation
|
Webrevs
|
@erikj79 This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
Conceptually, this looks like the right fix to me. A couple questions:
|
Looks good! Perhaps you have run the tests locally, but couldn't hurt to enable the GitHub Actions to make sure there isn't some odd dependency on the short format left somewhere. :)
From what I can tell, yes.
places, like in Jira links, we already generate our own link text, and Github/Gitlab seems to recognize these links and generate their own link text for them.
I searched for all uses of the webUrl method to look at what it was used for. This was the only usage that wasn't just adding the link to some kind of message.
All tests ran successfully so nothing need changing. Perhaps I should add a test case for the parsing of existing URLs in comments. Erik D asked me to run this on staging for a bit (which will affect reviews in the Skara project) so we can see how it works. |
/integrate |
@erikj79 Since your change was applied there have been 4 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 75a8a62. |
Sometimes our abbreviated commit web links on Github are not working. My guess is that this is caused by collisions. I think the correct fix here is to stop abbreviating commit hashes in links. Github internal links seem to always be full hashes, while pretty printing the link text with an abbreviation. We should adopt the same basic principle.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/skara pull/1136/head:pull/1136
$ git checkout pull/1136
Update a local copy of the PR:
$ git checkout pull/1136
$ git pull https://git.openjdk.java.net/skara pull/1136/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1136
View PR using the GUI difftool:
$ git pr show -t 1136
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/skara/pull/1136.diff