Fix verifying and fetching files from Bitbucket.

Review Request #10583 — Created June 11, 2019 and submitted

Information

Review Board
release-3.0.x

Reviewers

Bitbucket turned off their 1.0 API today, which we still used solely for
the fetching of file contents. This was a surprise, but fortunately this
API has since been added to 2.0 (previously, it was 1.0-only).

This change switches us to the 2.0 API for file fetching, and also uses
the faster metadata fetching API for verifying file existence.

Unit tests pass.

Manually tested the new URLs against real repositories, verifying that the
file fetches and validation was working correctly.

Summary ID
Fix verifying and fetching files from Bitbucket.
Bitbucket turned off their 1.0 API today, which we still used solely for the fetching of file contents. This was a surprise, but fortunately this API has since been added to 2.0 (previously, it was 1.0-only). This change switches us to the 2.0 API for file fetching, and also uses the faster metadata fetching API for verifying file existence.
07160921ad9379c968d880fc072c144f5feac451
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (410cc8f)
Loading...