Details
-
Suggestion
-
Resolution: Won't Fix
Description
In Bitbucket's per-repository RSS feeds, individual commits are linked.
However, in per-user RSS feeds (e.g. https://bitbucket.org/dlenski/rss/feed?token=0DEADBEEF), the individual commits are unlinked — which is really, amazingly useless.
The RSS feed appears to use a template like the following for each <item> showing commits pushed:
<item> <title> {{USER}} pushed {{NUM_COMMITS}} commit(s) to {{REPO}} </title> <link> https://bitbucket.org/{{OWNER}}/{{REPO}}/commits/all </link> <description> <a href="https://bitbucket.org/{{USER}}">{{USER}}</a> <b>pushed</b> {{NUM_COMMITS}} commit(s) to <a href="https://bitbucket.org/{{OWNER}}/{{REPO}}"></a> <p> <ul> <li>{{COMMIT_HASH}} - {{COMMIT_MESSAGE_FIRST_LINE}}</li> </ul> </p> </description> <author>noreply@bitbucket.org ({{USER_FULL_NAME}})</author> <pubDate>{{COMMIT_DATE}}</pubDate> </item>
This view would be far more useful if the individual commits were linked to the commit web-view, with this simple change to the template:
Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
<ul>
- <li>{{COMMIT_HASH}} - {{COMMIT_MESSAGE_FIRST_LINE}}</li>
+ <li><a href="https://bitbucket.org/{{OWNER}}/{{REPO}}/commits/{{COMMIT_HASH}}">{{COMMIT_HASH}}</a> - {{COMMIT_MESSAGE_FIRST_LINE}}</li>
</ul>
(It would also be useful if these "user pushed X commits" messages indicated the branches to which the commits were pushed, but I suppose that's a separate issue.)