Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3d1ea19
Added caching to GraphQL connections.
grokys Jan 7, 2019
b046d6d
Implement refreshing PR list and details.
grokys Jan 16, 2019
bbdcf99
Merge branch 'master' into feature/graphql-caching
StanleyGoldman Feb 27, 2019
14eadbe
Update submodule
StanleyGoldman Feb 27, 2019
ff484ab
Fixing compilation errors
StanleyGoldman Feb 28, 2019
c3b597f
Passing through the call to refresh
StanleyGoldman Feb 28, 2019
4d140c6
Merge remote-tracking branch 'remotes/origin/master' into feature/gra…
StanleyGoldman Mar 8, 2019
81ed3b4
Cache assignable users for an hour
StanleyGoldman Mar 8, 2019
63c829c
Merge branch 'master' into feature/graphql-caching
StanleyGoldman Mar 14, 2019
00da02c
Caching ReadViewer for 10 minutes
StanleyGoldman Mar 14, 2019
e9395e8
Adding functionality to refresh user repository list
StanleyGoldman Mar 14, 2019
ade3b5f
Ensuring the first load is never cached
StanleyGoldman Mar 21, 2019
f7e42eb
Disabling caching for the repository clone view
StanleyGoldman Mar 26, 2019
e6290ba
Merge remote-tracking branch 'origin/master' into feature/graphql-cac…
StanleyGoldman Mar 27, 2019
6c9874b
Fixes needed after merge
StanleyGoldman Mar 27, 2019
895bbb2
Fixing some tests
StanleyGoldman Mar 27, 2019
098cd3f
Fixing tests
StanleyGoldman Mar 28, 2019
0f46686
Fixing tests
StanleyGoldman Mar 28, 2019
415e7dd
Changing code to use Task.Run over TaskScheduler.Default
StanleyGoldman Apr 4, 2019
c8ace03
Merge remote-tracking branch 'origin/master' into feature/graphql-cac…
StanleyGoldman Apr 4, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into feature/graphql-caching
# Conflicts:
#	submodules/octokit.graphql.net
  • Loading branch information
StanleyGoldman committed Feb 27, 2019
commit bbdcf99b361a0250d1d3f7d274cd049fad162973
2 changes: 1 addition & 1 deletion Directory.Build.Props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Product>GitHub Extension for Visual Studio</Product>
<Version>2.7.0.0</Version>
<Version>2.9.0.0</Version>
<Copyright>Copyright © GitHub, Inc. 2014-2018</Copyright>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
Expand Down
28 changes: 25 additions & 3 deletions GitHubVS.sln
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2035
# Visual Studio Version 16
VisualStudioVersion = 16.0.28603.18
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.VisualStudio.Vsix", "src\GitHub.VisualStudio.Vsix\GitHub.VisualStudio.Vsix.csproj", "{D26B4B40-0C94-48AD-8019-0B9BE46E0071}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.VisualStudio", "src\GitHub.VisualStudio\GitHub.VisualStudio.csproj", "{11569514-5AE5-4B5B-92A2-F10B0967DE5F}"
ProjectSection(ProjectDependencies) = postProject
{7F5ED78B-74A3-4406-A299-70CFB5885B8B} = {7F5ED78B-74A3-4406-A299-70CFB5885B8B}
Expand Down Expand Up @@ -33,7 +35,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{8E1F
ProjectSection(SolutionItems) = preProject
scripts\Modules\BuildUtils.psm1 = scripts\Modules\BuildUtils.psm1
scripts\Modules\Debugging.psm1 = scripts\Modules\Debugging.psm1
scripts\Modules\Vsix.psm1 = scripts\Modules\Vsix.psm1
scripts\modules\Versioning.ps1 = scripts\modules\Versioning.ps1
scripts\modules\Vsix.ps1 = scripts\modules\Vsix.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{7B6C5F8D-14B3-443D-B044-0E209AE12BDF}"
Expand Down Expand Up @@ -141,6 +144,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Octokit.GraphQL.Core", "sub
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Octokit.GraphQL", "submodules\octokit.graphql.net\Octokit.GraphQL\Octokit.GraphQL.csproj", "{791B408C-0ABC-465B-9EB1-A2422D67F418}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GitHub.StartPage.UnitTests", "test\GitHub.StartPage.UnitTests\GitHub.StartPage.UnitTests.csproj", "{B467682B-9F0E-42D8-8A20-1DE78F798793}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -149,6 +154,14 @@ Global
ReleaseWithoutVsix|Any CPU = ReleaseWithoutVsix|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.DebugWithoutVsix|Any CPU.ActiveCfg = DebugWithoutVsix|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.DebugWithoutVsix|Any CPU.Build.0 = DebugWithoutVsix|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Release|Any CPU.Build.0 = Release|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.ReleaseWithoutVsix|Any CPU.ActiveCfg = ReleaseWithoutVsix|Any CPU
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.ReleaseWithoutVsix|Any CPU.Build.0 = ReleaseWithoutVsix|Any CPU
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.DebugWithoutVsix|Any CPU.ActiveCfg = DebugWithoutVsix|Any CPU
Expand Down Expand Up @@ -493,6 +506,14 @@ Global
{791B408C-0ABC-465B-9EB1-A2422D67F418}.Release|Any CPU.Build.0 = Release|Any CPU
{791B408C-0ABC-465B-9EB1-A2422D67F418}.ReleaseWithoutVsix|Any CPU.ActiveCfg = Release|Any CPU
{791B408C-0ABC-465B-9EB1-A2422D67F418}.ReleaseWithoutVsix|Any CPU.Build.0 = Release|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.DebugWithoutVsix|Any CPU.ActiveCfg = Debug|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.DebugWithoutVsix|Any CPU.Build.0 = Debug|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Release|Any CPU.Build.0 = Release|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.ReleaseWithoutVsix|Any CPU.ActiveCfg = Release|Any CPU
{B467682B-9F0E-42D8-8A20-1DE78F798793}.ReleaseWithoutVsix|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -527,6 +548,7 @@ Global
{65542DEE-D3BE-4810-B85A-08E970413A21} = {8A7DA2E7-262B-4581-807A-1C45CE79CDFD}
{3321CE72-26ED-4D1E-A8F5-6901FB783007} = {1E7F7253-A6AF-43C4-A955-37BEDDA01AC0}
{791B408C-0ABC-465B-9EB1-A2422D67F418} = {1E7F7253-A6AF-43C4-A955-37BEDDA01AC0}
{B467682B-9F0E-42D8-8A20-1DE78F798793} = {8A7DA2E7-262B-4581-807A-1C45CE79CDFD}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {556014CF-5B35-4CE5-B3EF-6AB0007001AC}
Expand Down
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,16 @@ Official builds of this extension are available at [the official website](https:
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/github-visual-studio/localized.svg)](https://crowdin.com/project/github-visual-studio)
[![codecov](https://codecov.io/gh/GitHub/VisualStudio/branch/master/graph/badge.svg)](https://codecov.io/gh/GitHub/VisualStudio)

[![Join the chat at freenode:github-vs](https://img.shields.io/badge/irc-freenode:%20%23github--vs-blue.svg)](http://webchat.freenode.net/?channels=%23github-vs) [![Join the chat at https://gitter.im/github/VisualStudio](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/github/VisualStudio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Follow GitHub for Visual Studio](https://img.shields.io/twitter/follow/GitHubVS.svg?style=social "Follow GitHubVS")](https://twitter.com/githubvs?ref_src=twsrc%5Etfw) [![Join the chat at https://gitter.im/github/VisualStudio](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/github/VisualStudio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Documentation
Visit the [documentation](https://github.com/github/VisualStudio/tree/master/docs) for details on how to use the features in the GitHub Extension for Visual Studio.

## Installing beta versions

Older and pre-release/beta/untested versions are available at [the releases page](https://github.com/github/VisualStudio/releases), and also via a custom gallery feed for Visual Studio.

You can configure the gallery by going to `Tools / Options / Extensions and Updates` and adding a new gallery with the url https://visualstudio.github.com/releases/feed.rss. The gallery will now be available from `Tools / Extensions and Updates`.

Beta releases will have `(beta)` in their title in the gallery, following the version number. You can view the release notes in the gallery by hovering over the description, or by clicking the `Release Notes` link on the right side.

## Build requirements

* Visual Studio 2017 (15.7.4)+
* Visual Studio SDK
* The built VSIX will work with Visual Studio 2015 or newer

## Build

Expand Down
56 changes: 47 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
os: Visual Studio 2017
version: '2.7.0.{build}'
version: '2.9.0.{build}'
skip_tags: true

install:
- choco install --no-progress BCC-MSBuildLog
- choco install --no-progress BCC-Submission
- ps: |
$full_build = Test-Path env:GHFVS_KEY
$forVSInstaller = $env:BUILD_TYPE -eq "vsinstaller"
$forPackage = $env:BUILD_TYPE -eq "package"
$package = $full_build -and ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $forVSInstaller -or $forPackage)

$message = "Building "
if ($package) { $message += "and packaging "}
$message += "version " + $env:APPVEYOR_BUILD_NUMBER + " "

if ($full_build) { $message += "(full build)" } else { $message += "(partial build)" }
if ($forVSInstaller) { $message += " for the VS installer" }
Write-Host $message

git submodule init
git submodule sync

Expand All @@ -18,19 +33,42 @@ install:

git submodule update --recursive --force
nuget restore GitHubVS.sln
- choco install --no-progress BCC-MSBuildLog
- choco install --no-progress BCC-Submission

build_script:
- ps: scripts\build.ps1 -AppVeyor -BuildNumber:$env:APPVEYOR_BUILD_NUMBER
- ps: scripts\build.ps1 -AppVeyor -Package:$package -BuildNumber:$env:APPVEYOR_BUILD_NUMBER -ForVSInstaller:$forVSInstaller

test:
categories:
except:
- Timings

on_success:
- ps: |
if ($full_build) {
script\Sign-Package -AppVeyor
if ($package) {
Write-Host "Signing and packaging"
script\Sign-Package -AppVeyor -ForVSInstaller:$forVSInstaller
}
on_finish:
- IF NOT "%BCC_TOKEN%x"=="x" BCCMSBuildLog --cloneRoot "%APPVEYOR_BUILD_FOLDER%" --input output.binlog --output checkrun.json --ownerRepo %APPVEYOR_REPO_NAME% --hash %APPVEYOR_REPO_COMMIT%
- IF NOT "%BCC_TOKEN%x"=="x" BCCSubmission -h %APPVEYOR_REPO_COMMIT% -i checkrun.json -t %BCC_TOKEN%

for:
-
branches:
except:
- /releases/.*-vsinstaller/
environment:
matrix:
- BUILD_TYPE: normal
-
branches:
only:
- /releases/.*-vsinstaller/
environment:
matrix:
- BUILD_TYPE: package
- BUILD_TYPE: vsinstaller
-
branches:
only:
- master
environment:
matrix:
- BUILD_TYPE: package
17 changes: 8 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ steps:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

# VSTest is hanging. Skip tests for now; we're still running Appveyor which will handle the tests.
#- task: VSTest@2
# inputs:
# searchFolder: '$(Build.SourcesDirectory)\test'
# testAssemblyVer2: '**\bin\**\*Tests.dll'
# platform: '$(buildPlatform)'
# configuration: '$(buildConfiguration)'
# diagnosticsEnabled: true
# runSettingsFile: '$(Build.SourcesDirectory)\test\test.runsettings'
- task: VSTest@2
inputs:
searchFolder: '$(Build.SourcesDirectory)\test'
testAssemblyVer2: '**\bin\**\*Tests.dll'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
diagnosticsEnabled: true
runSettingsFile: '$(Build.SourcesDirectory)\test\test.runsettings'

- task: PublishBuildArtifacts@1
inputs:
Expand Down
22 changes: 16 additions & 6 deletions docs/using/cloning-a-repository-to-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

After you provide your GitHub or GitHub Enterprise credentials to GitHub for Visual Studio, the extension automatically detects the personal, collaborator and organization repositories you have access to on your account.

## Opening the clone dialog
## Opening the clone dialog

### From **Team Explorer**

Expand All @@ -17,7 +17,12 @@ Next to the account you want to clone from, click **Clone**.

### From the **Start Page**

Using Visual Studio 2017, click the `GitHub` button on the `Start Page` to open the clone dialog.
Using Visual Studio 2017, click the `GitHub` button on the `Start Page` to open the clone dialog.


### From the **Start Window**

Using Visual Studio 2019, on the `Start Window` select `Clone or check out code` and then click the `GitHub` button to open the clone dialog.


### From the **File** menu
Expand All @@ -26,14 +31,19 @@ Go to `File > Open > Open From GitHub...`


## Clone repositories
1. In the list of repositories, scroll until you find the repository you'd like to clone. You can also filter the repository results by using the *Filter* text box.
1. In the list of repositories, scroll until you find the repository you'd like to clone.

![List of GitHub repositories that can be cloned inside a dialog](images/clone-dialog.png)
You can also filter the repository results by using the *Filter* text box.

In addition to using the list of personal, collaborator and organization repositories, you can use the URL tab to clone a public repository by its URL or using the repository owner and name.
In addition to using the list of personal, collaborator and organization repositories, you can enter a repository URL to clone a public repository.

![List of GitHub repositories that can be cloned inside a dialog](images/clone-url-dialog.png)
![Unified clone and open dialog](images/unified-clone-dialog.png)

2. If desired, change the local path that the repository will be cloned into, or leave the default as-is.
3. Once a repository is selected and the path is set, Click **Clone**.
4. In Team Explorer, under the list of solutions, double-click on a solution to open it in Visual Studio.

## Open repositories
For any repository that you select from the list or provide a URL for that you already have cloned locally, the **Open** button becomes enabled and a message shows that you have already cloned the repository to that location.

![Open option enabled in clone dialog](images/open-cloned-repository.png)
Binary file removed docs/using/images/clone-dialog.png
Binary file not shown.
Binary file removed docs/using/images/clone-url-dialog.png
Binary file not shown.
Binary file added docs/using/images/open-cloned-repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/using/images/unified-clone-dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/using/images/view-conversation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/using/publishing-an-existing-project-to-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
5. Click the **Publish to GitHub** button.
![Location of the Publish to GitHub button in the Team Explorer pane](images/publish-to-github.png)
6. Enter a name and description for the repository on GitHub.
7. Check the **Private Repository** box if you want to upload the repository as a private repository on GitHub. You must have a [Developer, Team or Business account](https://github.com/pricing) to create private repositories.
7. Check the **Private Repository** box if you want to upload the repository as a private repository on GitHub.
8. Click the **Publish** button.
8 changes: 7 additions & 1 deletion docs/using/reviewing-a-pull-request-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ GitHub for Visual Studio provides facilities for reviewing a pull request direct
The Pull Request Details view shows the current state of the pull request, including:
- information about who created the pull request
- the source and target branch
- a description of the pull request
- a description of the pull request (collapsed by default)
- reviewers and the status of their review
- checks (if checks have been enabled for the repository)
- the files changed

![The details of a single pull request in the GitHub pane](images/pr-detail-view.png)

## Viewing conversation details

Click the comment count link in the GitHub pane to open up the conversation view. The conversation view shows the Pull Request description, a history of commits, and comments made.

![View the conversation for a pull request](images/view-conversation.png)

## Checking out a pull request

To check out the pull request branch, click the **Checkout [branch]** link where [branch] is the name of the branch that will be checked out.
Expand Down
6 changes: 3 additions & 3 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "1.6.52"
}
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "1.6.61"
}
}
17 changes: 9 additions & 8 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Param(
,
[switch]
$Trace = $false
,
[switch]
$ForVSInstaller = $false

)

Set-StrictMode -Version Latest
Expand All @@ -53,6 +57,10 @@ Vsix | out-null

Push-Location $rootDirectory

if ($Package -and $BuildNumber -gt -1) {
$BumpVersion = $true
}

if ($UpdateSubmodules) {
Update-Submodules
}
Expand All @@ -61,13 +69,6 @@ if ($Clean) {
Clean-WorkingTree
}

$fullBuild = Test-Path env:GHFVS_KEY
$publishable = $fullBuild -and $AppVeyor -and ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $env:APPVEYOR_REPO_BRANCH -eq "master")
if ($publishable) { #forcing a deploy flag for CI
$Package = $true
$BumpVersion = $true
}

if ($BumpVersion) {
Write-Output "Bumping the version"
Bump-Version -BumpBuild -BuildNumber:$BuildNumber
Expand All @@ -79,6 +80,6 @@ if ($Package) {
Write-Output "Building GitHub for Visual Studio"
}

Build-Solution GitHubVs.sln "Build" $config -Deploy:$Package
Build-Solution GitHubVs.sln "Build" $config -Deploy:$Package -ForVSInstaller:$ForVSInstaller

Pop-Location
4 changes: 2 additions & 2 deletions scripts/modules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ New-Module -ScriptBlock {
$msbuild
}

function Build-Solution([string]$solution, [string]$target, [string]$configuration, [switch]$ForVSInstaller, [bool]$Deploy = $false) {
function Build-Solution([string]$solution, [string]$target, [string]$configuration, [switch]$ForVSInstaller = $false, [bool]$Deploy = $false) {
$msbuild = Find-MSBuild

Run-Command -Fatal { & $nuget restore $solution -NonInteractive -Verbosity detailed -MSBuildPath (Split-Path -parent $msbuild) }
Expand Down Expand Up @@ -185,7 +185,7 @@ New-Module -ScriptBlock {

New-Module -ScriptBlock {
function Write-Manifest([string]$directory) {
Add-Type -Path (Join-Path $rootDirectory packages\Newtonsoft.Json.6.0.8\lib\net35\Newtonsoft.Json.dll)
Add-Type -Path (Join-Path $rootDirectory build\Release\Newtonsoft.Json.dll)

$manifest = @{
NewestExtension = @{
Expand Down
2 changes: 1 addition & 1 deletion scripts/modules/Vsix.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Set-StrictMode -Version Latest

New-Module -ScriptBlock {
$gitHubDirectory = Join-Path $rootDirectory src\GitHub.VisualStudio
$gitHubDirectory = Join-Path $rootDirectory src\GitHub.VisualStudio.Vsix

function Get-VsixManifestPath {
Join-Path $gitHubDirectory source.extension.vsixmanifest
Expand Down
6 changes: 6 additions & 0 deletions scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ if (!$?) {
$exitcode = 11
}

Write-Output "Running GitHub.StartPage.UnitTests..."
Run-NUnit test GitHub.StartPage.UnitTests $TimeoutDuration $config
if (!$?) {
$exitcode = 12
}

if ($exitcode -ne 0) {
$host.SetShouldExit($exitcode)
}
Expand Down
8 changes: 4 additions & 4 deletions src/GitHub.App/Models/PullRequestModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public string Title
}
}

PullRequestStateEnum status;
public PullRequestStateEnum State
PullRequestState status;
public PullRequestState State
{
get { return status; }
set
Expand All @@ -126,8 +126,8 @@ public PullRequestStateEnum State
}

// TODO: Remove these property once maintainer workflow has been merged to master.
public bool IsOpen => State == PullRequestStateEnum.Open;
public bool Merged => State == PullRequestStateEnum.Merged;
public bool IsOpen => State == PullRequestState.Open;
public bool Merged => State == PullRequestState.Merged;

int commentCount;
public int CommentCount
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.