Open spr0ut opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump
This fails due to settings.SourceControlServerSettings.Repository
value being null.
Looks like the value will be set only when executing a command that operates on a single repo.
Depending on where the authors want to go with the design of this I see a couple of alternatives how this can be solved.
settings.SourceControlServerSettings.Repository = repository
while iterating through discovered repos either in CollaborationEngine.Run()
or GitRepositoryEngine.Run()
Repository
from SourceControlServerSettings
and instead always pass around RepositorySettings
separately. What suits future plans best? Any other ideas?
Same with Github it seems.
Checking if PR exists onto 'https://api.github.com/ xxx/xxx: main <= nukeeper-update-14-packages-DC1C0BF46CE1C6EC900BE0E1A13D0037
Failed on repo xxx NullReferenceException : Object reference not set to an instance of an object.
I have the same issue while running nukeeper org in github actions.
Failed on repo xx NullReferenceException : Object reference not set to an instance of an object.
at NuKeeper.Engine.Packages.PackageUpdater.MakeUpdatePullRequests(IGitDriver git, RepositoryData repository, NuGetSources sources, SettingsContainer settings, IReadOnlyCollection`1 updates) in D:\a\r1\a\_NuKeeper PR Build\drop\NuKeeper\Engine\Packages\PackageUpdater.cs:line 157
🐛 Bug Report
When running nukeeper with the "org" command in Azure DevOps (hosted agent), the branch(es) are created and pushed, but NuKeeper fails to create the PR and throws a NullReferenceException.
Expected behavior
PR's are created.
Reproduction steps
Create sample repo(s) with minimal cs proj file as contents. Create YAML pipeline - run nukeeper install and org with PAT token
Observe errror.
Configuration
Version: 0.34.0
Platform if applicable: