This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
AD: Support custom limit on number of open pull requests #1043
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature.
NuKeeper only creates a single pull request, unless the ordering of selected updates changes due to for example a newer, more important package being released, or some parameter that affects how NuKeeper prioritizes updates changing.
🆕 What is the new behavior (if this is a feature change)?
Now, it is possible to set a limit on the number of open pull requests for Azure Devops/TFS. Nukeeper will now not stop after having tried to apply one set of updates. Instead, it will try to apply updates until it has reached the threshold of the max number of concurrent open pull requests in the repository.
Unfortunately, determining the number of open pull requests is not that straightforward for Azure Devops Server, especially when only having a PAT with
Code (Read & Write)
. The strategies used are explained in the website's configuration page.💥 Does this PR introduce a breaking change?
No.
🐛 Recommendations for testing
I have only been able to verify the behavior for Azure Devops Server 2019. I cannot make any guarantees for Azure Devops Services (cloud), or older versions of TFS.
📝 Links to relevant issues/docs
?
🤔 Checklist before submitting