Skip to content
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

[BUG]: Only a subset of branches loaded in GitLab data connector #2319

Closed
blazeyo opened this issue Sep 19, 2024 · 0 comments · Fixed by #2325
Closed

[BUG]: Only a subset of branches loaded in GitLab data connector #2319

blazeyo opened this issue Sep 19, 2024 · 0 comments · Fixed by #2325
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@blazeyo
Copy link
Contributor

blazeyo commented Sep 19, 2024

How are you running AnythingLLM?

All versions

What happened?

Only a subset of branches is loaded in GitLab data connector configuration page.

Proposed resolution

Iterate through all the pages of the API response to get all the branches.

Are there known steps to reproduce?

Add a repository with more than 20 branches to the GitLab data connector.

@blazeyo blazeyo added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Sep 19, 2024
blazeyo added a commit to blazeyo/anything-llm that referenced this issue Sep 19, 2024
blazeyo added a commit to blazeyo/anything-llm that referenced this issue Sep 19, 2024
timothycarambat added a commit that referenced this issue Sep 19, 2024
* Fix gitlab data connector for self-hosted instances (#2315)

* Linting fix.

* Load all branches in the GitLab data connector #2319

* #2319 lint fixes.

* update fetch on fail

---------

Co-authored-by: Błażej Owczarczyk <blazeyy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
1 participant