-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Drop support for .NET 4.6 #2521
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c6ed5df
Cleaning up compiler warnings
nickfloyd 90234a3
Converts projects to only use .NET Standard 2.0
nickfloyd 65ffc44
Cleans up the cake/build/ci warnings buy updating the obsolete methods
nickfloyd c211ee8
Update Octokit.Reactive/Octokit.Reactive.csproj
nickfloyd bdafb9f
updates to use the singular node
nickfloyd 559b4fa
updates cake APIs to use the non depricated ones
nickfloyd 3ca846f
corrects typo in namespace
nickfloyd 02116bd
implements the correct method via namespace
nickfloyd d7314bf
includes a version of System.Reactive that a .net core 3.1 app can use
nickfloyd 98ac272
adds CopyLocalLockFileAssemblies so that System.Reactive gets copied …
nickfloyd 87b25e5
removes obsolite constructor and tests.
nickfloyd db363f5
patches up tests
nickfloyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -530,34 +530,6 @@ public async Task UpdatesNameWithRepositoryId() | |
} | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task UpdatesNameObsolete() | ||
{ | ||
using (var repoContext = await _github.CreateUserRepositoryContext()) | ||
{ | ||
var updatedName = Helper.MakeNameWithTimestamp("updated-repo"); | ||
var update = new RepositoryUpdate(updatedName); | ||
|
||
var updatedRepository = await _github.Repository.Edit(repoContext.RepositoryOwner, repoContext.RepositoryName, update); | ||
|
||
Assert.Equal(update.Name, updatedRepository.Name); | ||
} | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task UpdatesNameWithRepositoryIdObsolete() | ||
{ | ||
using (var repoContext = await _github.CreateUserRepositoryContext()) | ||
{ | ||
var updatedName = Helper.MakeNameWithTimestamp("updated-repo"); | ||
var update = new RepositoryUpdate(updatedName); | ||
|
||
var updatedRepository = await _github.Repository.Edit(repoContext.RepositoryId, update); | ||
|
||
Assert.Equal(update.Name, updatedRepository.Name); | ||
} | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task UpdatesDescription() | ||
{ | ||
|
@@ -811,7 +783,7 @@ public async Task UpdatesMergeMethodWithRepositoryId() | |
Assert.True(editedRepository.AllowAutoMerge); | ||
} | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task UpdatesDeleteBranchOnMergeMethod() | ||
{ | ||
|
@@ -826,7 +798,7 @@ public async Task UpdatesDeleteBranchOnMergeMethod() | |
Assert.True(repository.DeleteBranchOnMerge); | ||
} | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task UpdatesDeleteBranchOnMergeMethodWithRepositoryId() | ||
{ | ||
|
@@ -1047,7 +1019,7 @@ public async Task ReturnsSpecifiedRepositoryWithLicenseInformation() | |
Assert.Equal("mit", repository.License.Key); | ||
Assert.Equal("MIT License", repository.License.Name); | ||
} | ||
|
||
[IntegrationTest] | ||
public async Task ReturnsRepositoryDeleteBranchOnMergeOptions() | ||
{ | ||
|
@@ -2099,10 +2071,10 @@ public async Task ReturnsCodeOwnersErrors() | |
using (var repoContext = await _github.CreateUserRepositoryContext()) | ||
{ | ||
await _github.Repository.Content.CreateFile(repoContext.RepositoryOwner, repoContext.RepositoryName, ".github/codeowners", new CreateFileRequest("Create codeowners", @"* [email protected]")); | ||
|
||
// Sometimes it takes a second to create the file | ||
Thread.Sleep(TimeSpan.FromSeconds(2)); | ||
|
||
var license = await _github.Repository.GetAllCodeOwnersErrors(repoContext.RepositoryOwner, repoContext.RepositoryName); | ||
Assert.NotEmpty(license.Errors); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are some usages of these constants in the code, should these be removed/tidied as well as part of this?
For example HAS_ENVIRONMENT has been removed entirely but is present/used in Connection.cs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good highlight. I can clean these up as well while I am in there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scratch that. There are implementations in the other projects that I'd like to take a closer look at - this is feeling like a separate changeset. I'm going to hold off so that we can do this separately - #2526