Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13250

Link commits in per-user RSS feeds

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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=&quot;https://bitbucket.org/{{USER}}&quot;>{{USER}}</a> <b>pushed</b>
        {{NUM_COMMITS}} commit(s) 
        to <a href=&quot;https://bitbucket.org/{{OWNER}}/{{REPO}}&quot;></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=&quot;https://bitbucket.org/{{OWNER}}/{{REPO}}/commits/{{COMMIT_HASH}}&quot;>{{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.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            cfd95620ad46 Daniel Lenski
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: