Skip to content

Commit

Permalink
Add test LFS fetch method (#386)
Browse files Browse the repository at this point in the history
* A new Tempo method

* Tempo: add team member

* Bugfix

* Set workload method

* Bump version

* Organize the imports

* Polish

* Bump version

* Add LFS info fetcher
  • Loading branch information
gonchik authored Nov 13, 2019
1 parent ca17f0a commit 70d2668
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.3
2.14.3
6 changes: 6 additions & 0 deletions atlassian/bitbucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,3 +1419,9 @@ def create_code_insights_report(self, project_key, repository_slug, commit_id, r
data = {"title": report_title}
data.update(report_params)
return self.put(url, data=data)

def get_lfs_repo_status(self, project_key, repo):
url = 'rest/git-lfs/git-lfs/admin/projects/{projectKey}/repos/{repositorySlug}/enabled'.format(
projectKey=project_key,
repositorySlug=repo)
return self.get(url)

0 comments on commit 70d2668

Please sign in to comment.