Project

General

Profile

Actions

Support #4677

open

API get_repo_refs not working ?

Added by Marcin Kuzminski [CTO] almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
15.12.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

[tenderapp] report: https://rhodecode.tenderapp.com/help/discussions/support-tickets/2117

Hello support,

We have an issue with the RhodeCode API "get_repo_refs".
While calling , it returns the following error: "failed to get repo: ... references"

However, we are able to call other API for the same repo; "get_repo", "get_repo_nodes",...

We found this in the logs:
2016-12-15 12:51:37.913 ERROR [rhodecode.api.views.repo_api] Exception occurred while trying to get repo refs
Traceback (most recent call last):
File "/opt/rhodecode/store/9d6f7bxchl0qfsi4v9z927y1kqsq8liz-python2.7-rhodecode-enterprise-ce-4.5.0/lib/python2.7/site-packages/rhodecode/api/views/repo_api.py", line 529, in get_repo_refs
refs = vcs_instance.refs()
File "/opt/rhodecode/store/9d6f7bxchl0qfsi4v9z927y1kqsq8liz-python2.7-rhodecode-enterprise-ce-4.5.0/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/base.py", line 229, in refs
raise NotImplementedError
NotImplementedError

Is this API still WIP ? We planned to use it for our current development.

Actions #1

Updated by Marcin Kuzminski [CTO] almost 8 years ago

  • Description updated (diff)
Actions #2

Updated by Marcin Kuzminski [CTO] almost 8 years ago

  • Priority changed from Normal to High
  • Target version set to v4.6
  • Private changed from Yes to No

It looks like this API was exposed by accident. It's planned to be used in 4.6

Actions #3

Updated by Redmine Integration almost 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF