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

Set a default value of 10 for remote download concurrency #1034

Merged
merged 6 commits into from
Oct 5, 2021

Conversation

jctanner
Copy link
Contributor

@jctanner jctanner commented Oct 4, 2021

The edit form for a remote repository has a null value for concurrency even though the validation requires an integer greater than 1. The user does not have any context clues that the value is invalid until they try typing something into the field. Setting a 1 10 by default helps eliminate headache.

This will be one option to fix this issue, and a second involving a schema migration will follow.

Links [Optional]

Steps for Testing/QA [Optional]

  1. open the hub ui
  2. collections
  3. repository management
  4. click the 3 dots to the far right of "rh-certified"
  5. click edit
  6. attempt to click save

@himdel himdel added the backport-4.4 This PR should be backported to stable-4.4 (2.1) label Oct 4, 2021
@jctanner jctanner changed the title Set a default value of 1 for remote download concurrency Set a default value of 10 for remote download concurrency Oct 5, 2021
Copy link
Collaborator

@himdel himdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved too soon, sorry .. we can't change props from inside the component

Copy link
Collaborator

@himdel himdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me 👍 :)

@himdel himdel merged commit 71d069d into ansible:master Oct 5, 2021
@patchback
Copy link

patchback bot commented Oct 5, 2021

Backport to stable-4.4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4.4/71d069d9d5ffd27a9450a661dc50f2c1b35acba2/pr-1034

Backported as #1042

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Oct 5, 2021
* Set a default value of 1 for remote download concurrency

* bump default to 10 per awcrosby

* prettier

* skip setting default if registry type

* prettier

* use updateRemote instead

(cherry picked from commit 71d069d)
himdel pushed a commit that referenced this pull request Oct 6, 2021

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
)

* Set a default value of 1 for remote download concurrency

* bump default to 10 per awcrosby

* prettier

* skip setting default if registry type

* prettier

* use updateRemote instead

(cherry picked from commit 71d069d)

Co-authored-by: jctanner <tanner.jc@gmail.com>
@github-actions github-actions bot added the backported-4.4 This PR has been backported to stable-4.4 (2.1) label Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.4 This PR should be backported to stable-4.4 (2.1) backported-4.4 This PR has been backported to stable-4.4 (2.1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants