Skip to content

Add package source transaction object to use when saving sources - #3495

Merged
sbanni merged 6 commits into
dev-feature-OE.PMUIfrom
dev-scoban-savepackagesources
Jul 15, 2020
Merged

sbanni merged 6 commits into
dev-feature-OE.PMUIfrom
dev-scoban-savepackagesources

Conversation

@sbanni

@sbanni sbanni commented Jul 2, 2020

Copy link
Copy Markdown
Contributor

Bug

Fixes: NuGet/Home#9711
Regression: No

Fix

Details: Create a transaction object that we can use to add additional capabilities for use when saving package sources

Testing/Validation

Tests Added: No
Reason for not adding tests:
Validation: Tested local scenario and VSOe scenario

rrelyea
rrelyea previously requested changes Jul 6, 2020

@rrelyea rrelyea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🕐

rrelyea
rrelyea previously approved these changes Jul 6, 2020

@rrelyea rrelyea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@nkolev92 nkolev92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it looks fine mostly.

Others have done a more detailed job reviewing, I added my suggestion to the naming discussion.

@sbanni
sbanni force-pushed the dev-scoban-savepackagesources branch from 19a03e7 to 04dd84b Compare July 8, 2020 21:57

@zivkan zivkan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like the change to a settings object that affects all PackageSources in the enumeration.

I have some points up for discussion. I'm certainly open to having my opinion changed, but I'm not yet comfortable enough to approve the PR given that this will be a public API that is "set in stone" once merged. If all the changes were in src\NuGet.Clients and none in src\NuGet.Core, I would approve without hesitation :)

@sbanni
sbanni requested review from rrelyea and zivkan July 9, 2020 17:33

@nkolev92 nkolev92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like this design better than the earlier iteration.

I have a naming suggestion worth looking into.

@rrelyea
rrelyea dismissed stale reviews from themself July 14, 2020 17:18

revoking review

@rrelyea rrelyea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@sbanni
sbanni force-pushed the dev-scoban-savepackagesources branch from 546dd57 to ce9a622 Compare July 14, 2020 22:07
@sbanni
sbanni force-pushed the dev-scoban-savepackagesources branch from ce9a622 to a7b4fb7 Compare July 14, 2020 22:10
@sbanni
sbanni force-pushed the dev-feature-OE.PMUI branch from 0a65e12 to 4897048 Compare July 14, 2020 22:11
@sbanni
sbanni merged commit fbfe3c2 into dev-feature-OE.PMUI Jul 15, 2020
@sbanni
sbanni deleted the dev-scoban-savepackagesources branch July 15, 2020 14:50
rrelyea pushed a commit that referenced this pull request Aug 12, 2020
Add package source transaction object to allow more customization when saving sources
dtivel pushed a commit that referenced this pull request Sep 3, 2020
Add package source transaction object to allow more customization when saving sources
dtivel pushed a commit that referenced this pull request Sep 4, 2020
Add package source transaction object to allow more customization when saving sources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants