Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Use targetBranch when running in a Azure DevOps Pipeline #1103

Closed
wants to merge 33 commits into from

Conversation

MartinDemberger
Copy link
Contributor

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes Bug #1102

⤵️ What is the current behavior?

Currently the targetBranch parameter isn't used when running in a Azure DevOps Pipeline.

🆕 What is the new behavior (if this is a feature change)?

Now the parameter is used.

💥 Does this PR introduce a breaking change?

🐛 Recommendations for testing

📝 Links to relevant issues/docs

🤔 Checklist before submitting

  • All projects build
  • Relevant documentation was updated

@MartinDemberger
Copy link
Contributor Author

In CreateSettingsFromRemote the targetBranch isn't used. Is this correct?

@kwlin
Copy link
Contributor

kwlin commented Mar 24, 2021

Isn't this the same fix as #1078 ?

@MartinDemberger
Copy link
Contributor Author

Isn't this the same fix as #1078 ?

No it isn't. In #1078 is the targetbranch for CreateSettingsFromRemote and in this one for CreateSettingsFromLocal which is used in my Azure Build Pipeline.

@thijsk
Copy link

thijsk commented Jun 18, 2021

Just ran into this issue, is there anyone still working on this?

@MartinDemberger
Copy link
Contributor Author

I'm not sure if NuKeeper is still alive. I have created my own version in my private repository with the needed changes.

@stale
Copy link

stale bot commented Sep 19, 2021

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.

@stale stale bot added the wontfix label Sep 19, 2021
@slang25 slang25 removed the wontfix label Sep 19, 2021
Jamie-Clayton and others added 4 commits September 20, 2021 17:16
…otNet#1113)

* Add nuget restore CLI PackagesDirectory for package.config

* Add required option when restoring via package.config
* Add unit tests to ensure we include the CLI option

* Fix unit tests to allow for multiple operating systems

* Ensure that non windows OS's execute unit tests.

* Fix repository filter unit tests

* Remove tokens from source code (security)
* Adjust OctokitClient to enable anonymous authentication if no token is supplied.

* Add xml comments to the AuthSettings model

* Help Nukeeper engineering's identify potentially duplicated code.
* Assist with security token refactoring.

* Fix the Nuget Restore tests

* Ensure that unit tests have mono.CanRun set to true.
@msallin
Copy link
Member

msallin commented Sep 20, 2021

@MartinDemberger can you please rebase the branch on the latest master. Ty!

@MartinDemberger
Copy link
Contributor Author

@MartinDemberger can you please rebase the branch on the latest master. Ty!

@msallin @i did the rebase but am unsure if it's done correct. There are changes in the changeset which I don't know.

You can give me a short hint if I have done an error. Then I will redo the changes on a clean branch.

@skolima
Copy link
Collaborator

skolima commented Sep 21, 2021

@MartinDemberger I'm afraid something went wrong with the rebase - your changes were quite clean 3-4 lines, and this has about 30 extra commits. Could you re-do this so that the PR diff only shows your changes?

@MartinDemberger
Copy link
Contributor Author

I have recreated this PR as #1139 1139

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants