Azure DevOps commit URLs are wrong
See original GitHub issueURLs in the CHANGELOG.md are generated with the following form:
https://dev.azure.com/<org>/<project>/_git/<repo>/commits/<short hash>
=> which gives off a 404 error on the website
when it should probably be:
https://dev.azure.com/<org>/<project>/_git/<repo>/commit/<long hash>
=> which opens up the appropriate commit details page
I have attempted to find where this is configured but I couldn’t find anything meaningful to me.
Note: I am using Lerna to manage version with conventional-commits using the Angular preset.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Workitem Links because of GIT-Commit Messages Wrong!!!
PROBLEM: Azure DevOps then automatically links the code commit from B to work item # 123 in project A. Impact: extreme! Other example:...
Read more >Azure Devops commit link is incorrect in the interface - SonarCloud ...
I'm using SonarCloud with Azure Devops of my organisation (private project). The various links in the interface (Branches view, Pull requests view…)
Read more >Azure DevOps: wrong pipeline triggered by git commit
It triggers NewPipeline correctly, and NewPipeline runs without problem. We can reasonably assume that the NewPipeline is configured ...
Read more >Troubleshoot a GitHub repo connection to an Azure Boards ...
If a GitHub repository is incorrectly connected to the wrong Azure DevOps organization, you'll need to contact the owner of that organization to ......
Read more >Links in Base URL Fields in Git Repository not Working for Azure
If you are using an Azure repository and the quick links to your git ... the Git Provider field in the repository has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone who is struggling with the issue, I was able to get the correct URL adding some config (context) file, for example conventional-changelog-template.js:
and specifying it when you run “conventional-changelog” command, so something like:
conventional-changelog –context .conventional-changelog-template.js -p angular -i CHANGELOG.md -o CHANGELOG.md
This issue is closed, but I don’t see the full resolution. The initial issue not only referenced the full commit sha, but also the pluralization in the url:
https://dev.azure.com/<org>/<project>/_git/<repo>/commits/<short hash>
=> which gives off a 404 error on the website
when it should probably be:
https://dev.azure.com/<org>/<project>/_git/<repo>/commit/<long hash>
Is there a way to change this?