marceloavf / github-tools-vsts

πŸ“¦:octocat:πŸš€ Create and modify GitHub Releases in Azure DevOps Build and Release Management
https://marketplace.visualstudio.com/items?itemName=marcelo-formentao.github-tools
MIT License
24 stars 15 forks source link

Repository select box won't load when the connection have a large quantity of repos #23

Closed douglasquintanilha closed 6 years ago

douglasquintanilha commented 6 years ago

Bug Report

Describe the bug

The repository select box won't load the repositories of my Github connection.

To Reproduce

  1. Add the task github-tools-vsts release task to the build/release
  2. Select a Github Connection with access to large number of repos ( >2000)
  3. Click on the Repository select box
  4. See that the repositories on select box won't load as it get's stuck in "loading..."
  5. After some time it fails, and the box stays blue and resets to the normal state, without any repository.

Screenshots below.

Expected behavior Load all the repositories in the selection box or, if possible, let me write the repository name if the search fails. I don't know if this is a VSTS issue with the select box or the extension actually fails when trying to get a large quantity of repositories. I think is the former because the VSTS also have problems to get all the repos when creating a build definition, as it takes a while in there too, but in the build definition I'm allowed to write the repository name, which speeds things up.

Enviroment

Additional context/Screenshots Using a connection with > 2000 repositories: chrome_2018-07-03_11-49-34

Fails to load and reset to default: image

marceloavf commented 6 years ago

πŸŽ‰ This enhancement is now included in version v0.4.1 πŸŽ‰

Hey @douglasquintanilha, Just released a new option to manually set repository instead of using pick list.

image

Would love to hear your feedback about it!

Thank you for your detailed feedback.

douglasquintanilha commented 6 years ago

I'll update my releases and will report about the new version.Thanks for the quick fix!

douglasquintanilha commented 6 years ago

Worked perfectly @marceloavf , thank you for the new feature and the support!