-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab Integration: Show only first page of a project #14928
Comments
You should be able to use the typeahead feature of the selectbox to find the project you want. |
@markstory Alas, choosing in this way is also not possible |
Hmmm, typeahead should work for this. I can't replicate this problem. Are AJAX requests being made to the backend when you start typing? We use gitlab's API to get a list of repos: https://github.com/getsentry/sentry/blob/master/src/sentry/integrations/gitlab/client.py#L125-L139 (link for 9.1.2) so might be useful to put some debug messages there to see what responses we're getting from Gitlab. It doesn't have anything to do with Celery so I think we can ignore that error. |
Or maybe the problem is that the repository is in a subgroup, as fixed here: #15178? In which case, you'd have to upgrade from 9.1.2 |
Hmmm, agree that the lag and showing "No repositories found" is odd. @MadLittleMods What about the search was unintuitive? |
Going to close out this issue given that the problem, as far as I can tell, has been solved (but still interested in getting your thoughts @MadLittleMods on the search) |
@manuzope In the gif, you can see that when I search for The But my first instinct was just to scroll the list of repos to find it in the list. I even tried to After discovering the repo was not in the list, I even deleted the Sentry OAuth app and tried to figure out the old way to setup the GitLab integration with the token which I knew worked from a previous Sentry instance. Only after comparing the results to my project list and setting it up again, did I realize it was returning the first page of projects from the GitLab API. Then I came to find the Sentry issue tracker to see if someone had already reported this "bug". The only reason I was successful was because of your post here about using the typeahead. |
Perhaps part of it subconsciously was that it says "Filter search" which indicates it's working on the current set of results listed. But in reality, it searches all of your projects in the group. |
Important Details
Sentry On-Premise, v 9.1.2
OS: Ubuntu 16.04.5 LTS
DB: PostgreSQL 10.6 (Ubuntu 10.6-1.pgdg18.04+1)
Other: Redis server v=3.0.6
Python 2.7.12
Installed packages:
Description
I have problem with Gitlab integration. After addition group, Sentry show only first page with repositories, and I can not add repo from second page, when I link issue.
On page Settings - Repositories work some duty hack - I correct post request, and manual change repo ID
Steps to Reproduce
Good items to include here include:
Nothing to help with this problem, onle errors with Сelery:
The text was updated successfully, but these errors were encountered: