Problem/Motivation

Quoting one item of phase 2 at the roadmap proposed at Developer Tools Initiative - Part 4: What's next?:

  • Replacement of unmaintained CGit with supported Bitbucket code viewing.

One piece of the work is about replacing cgit with bitbucket git repository viewer, and a new web viewer plugin for versioncontrol will be needed.

Proposed resolution

Create a new webviewer_url_handlers ctools plugin for versioncontrol that can handle bitbucket self-hosted instance URLs.

Remaining tasks

Write it.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

marvil07 created an issue. See original summary.

  • marvil07 committed 198878f on 7.x-1.x
    Issue #2932504: Add a webviewer_url_handler plugin for bitbucket URLs.
    
marvil07’s picture

Status: Active » Fixed

I think this is ready, I added a commit to 7.x-1.x with it, only two caveats:

  • I could not find Bitbucket URLs that let you see the history of a given file. There is a "History" button when looking at one file, but it is JS, not a URL. Now related methods return empty strings. If someone knows the pattern let me know!
  • Bitbucket "compare" URLs let only compare two branches or tags, but not two arbitrary commits, so I instead skipped that generation.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.