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

Deploy app from Github repo only shows branches from a-e in dropdown #3966

Closed
kreinecke opened this issue Oct 7, 2019 · 3 comments · Fixed by #4510
Closed

Deploy app from Github repo only shows branches from a-e in dropdown #3966

kreinecke opened this issue Oct 7, 2019 · 3 comments · Fixed by #4510
Assignees
Labels
bug community Community Raised Issue
Milestone

Comments

@kreinecke
Copy link
Contributor

Only branches in alphabetical order beginning with letter in the range a-e are shown in the dropdown for branch selection for the chosen repository. It does not appear to be possible to enter the desired branch manually.

@KlapTrap
Copy link
Contributor

KlapTrap commented Oct 9, 2019

This is also an issue on v2-master. Using cloudfoundry-incubator/stratos in the project field will show the issue.

@KlapTrap KlapTrap removed their assignment Oct 9, 2019
@Escubaer
Copy link

Hm, for me it seems that a limited number of branches is loaded only. Like 20 ... Can this be made so that all of them are loaded or a specific one can be searched for?
Tested on SUSE CAP.

@nwmac nwmac added this to the 3.2.0 milestone Apr 21, 2020
@nwmac nwmac self-assigned this Apr 21, 2020
@richard-cox richard-cox added the community Community Raised Issue label Apr 21, 2020
@nwmac nwmac assigned richard-cox and unassigned nwmac Apr 21, 2020
@richard-cox
Copy link
Contributor

We used https://developer.github.com/v3/repos/branches/#list-branches for fetch branches, it looks like this has a limit of 30 - https://developer.github.com/v3/guides/traversing-with-pagination/#basics-of-pagination.
Options...

  1. De-paginate response as per CF requests (see 'link' field in response header)
  2. Switch branches control to use same process as repo (type to filter drop down values).

@nwmac nwmac modified the milestones: 3.2.0, 3.3.0 May 6, 2020
@nwmac nwmac modified the milestones: 4.0.0, 4.1.0 Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug community Community Raised Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants