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

Semver 2.0 support for VS 2015 #1572

Merged
merged 17 commits into from
Aug 4, 2017
Merged

Conversation

nkolev92
Copy link
Member

@nkolev92 nkolev92 commented Jul 21, 2017

Resolves NuGet/Home#5560

There are the 3 PRs that were ported:
#1094

#1128

#1325

Fixed the inconsistencies and added some tests for that.

Now NuGet-3.6.0 will hit the "RegistrationBaseUrl/3.6.0" which was added in https://github.com/NuGet/NuGet.Services.Index/pull/70

Note

This PR is ready, but it's just a matter of how we work with the branches/versions.
We'll wait for @rrelyea before pulling the trigger on either this PR and the version changes currently in the base (release-3.5.1-rtm)

@joelverhagen
Copy link
Member

Why did we port #1094? It's not necessary for this to work, right?

@nkolev92
Copy link
Member Author

@joelverhagen
We could've done without it, but I there should be no harm in doing this.
If this ships as 3.6.0 as we're proposing then it'd be nice to have the ability to make use of the versioning feature.

Copy link
Member

@joelverhagen joelverhagen left a comment

Choose a reason for hiding this comment

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

RegistrationBaseUrl/3.6.0 is not in PROD yet. Please let me know when these details are finalized so we can get it on PROD.

@nkolev92
Copy link
Member Author

@joelverhagen perfect, thanks. Will ping you when ready.

@nkolev92 nkolev92 changed the title [WIP] Semver 2.0 support for VS 2015 Semver 2.0 support for VS 2015 Jul 26, 2017
@nkolev92 nkolev92 changed the base branch from release-3.5.1-rtm to release-3.6.0-rtm August 2, 2017 23:40
@nkolev92
Copy link
Member Author

nkolev92 commented Aug 2, 2017

Retargetted the branch.
The release-3.5.1-rtm and release-3.6.0-rtm branches are identical (just different commit history)

Copy link
Contributor

@mishra14 mishra14 left a comment

Choose a reason for hiding this comment

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

Small comments. But Good Job otherwise! 🚢

private readonly DateTime _requestTime;
private List<Uri> _empty;
private static readonly IReadOnlyList<ServiceIndexEntry> _emptyEntries = new List<ServiceIndexEntry>();
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: Some comments on each of these would be nice to have. Else it is harder to understand.

foreach (var type in orderedTypes)
{
List<ServiceIndexEntry> entries;
if (_index.TryGetValue(type, out entries))
Copy link
Contributor

Choose a reason for hiding this comment

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

not: List<ServiceIndexEntry> entries do not need a separate declaration. they can be part of the function call. I can give you an example if needed.

#region PSAutoCompleteV3Example
public const string PsAutoCompleteV3Example = @"{
public const string AutoCompleteV2Example = @"[
""elm.TypeScript.DefinitelyTyped"",
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@nkolev92 nkolev92 merged commit 75a05c8 into release-3.6.0-rtm Aug 4, 2017
@nkolev92 nkolev92 deleted the release-3.5.1-rtm-semver2 branch September 21, 2017 23:19
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.

7 participants