Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit bbdcf99

Browse files
Merge branch 'master' into feature/graphql-caching
# Conflicts: # submodules/octokit.graphql.net
2 parents b046d6d + 8e90ce9 commit bbdcf99

File tree

224 files changed

+17870
-1662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+17870
-1662
lines changed

Directory.Build.Props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<Product>GitHub Extension for Visual Studio</Product>
4-
<Version>2.7.0.0</Version>
4+
<Version>2.9.0.0</Version>
55
<Copyright>Copyright © GitHub, Inc. 2014-2018</Copyright>
66
<LangVersion>7.3</LangVersion>
77
</PropertyGroup>

GitHubVS.sln

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27703.2035
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28603.18
55
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.VisualStudio.Vsix", "src\GitHub.VisualStudio.Vsix\GitHub.VisualStudio.Vsix.csproj", "{D26B4B40-0C94-48AD-8019-0B9BE46E0071}"
7+
EndProject
68
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.VisualStudio", "src\GitHub.VisualStudio\GitHub.VisualStudio.csproj", "{11569514-5AE5-4B5B-92A2-F10B0967DE5F}"
79
ProjectSection(ProjectDependencies) = postProject
810
{7F5ED78B-74A3-4406-A299-70CFB5885B8B} = {7F5ED78B-74A3-4406-A299-70CFB5885B8B}
@@ -33,7 +35,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{8E1F
3335
ProjectSection(SolutionItems) = preProject
3436
scripts\Modules\BuildUtils.psm1 = scripts\Modules\BuildUtils.psm1
3537
scripts\Modules\Debugging.psm1 = scripts\Modules\Debugging.psm1
36-
scripts\Modules\Vsix.psm1 = scripts\Modules\Vsix.psm1
38+
scripts\modules\Versioning.ps1 = scripts\modules\Versioning.ps1
39+
scripts\modules\Vsix.ps1 = scripts\modules\Vsix.ps1
3740
EndProjectSection
3841
EndProject
3942
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{7B6C5F8D-14B3-443D-B044-0E209AE12BDF}"
@@ -141,6 +144,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Octokit.GraphQL.Core", "sub
141144
EndProject
142145
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Octokit.GraphQL", "submodules\octokit.graphql.net\Octokit.GraphQL\Octokit.GraphQL.csproj", "{791B408C-0ABC-465B-9EB1-A2422D67F418}"
143146
EndProject
147+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GitHub.StartPage.UnitTests", "test\GitHub.StartPage.UnitTests\GitHub.StartPage.UnitTests.csproj", "{B467682B-9F0E-42D8-8A20-1DE78F798793}"
148+
EndProject
144149
Global
145150
GlobalSection(SolutionConfigurationPlatforms) = preSolution
146151
Debug|Any CPU = Debug|Any CPU
@@ -149,6 +154,14 @@ Global
149154
ReleaseWithoutVsix|Any CPU = ReleaseWithoutVsix|Any CPU
150155
EndGlobalSection
151156
GlobalSection(ProjectConfigurationPlatforms) = postSolution
157+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
158+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Debug|Any CPU.Build.0 = Debug|Any CPU
159+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.DebugWithoutVsix|Any CPU.ActiveCfg = DebugWithoutVsix|Any CPU
160+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.DebugWithoutVsix|Any CPU.Build.0 = DebugWithoutVsix|Any CPU
161+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Release|Any CPU.ActiveCfg = Release|Any CPU
162+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.Release|Any CPU.Build.0 = Release|Any CPU
163+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.ReleaseWithoutVsix|Any CPU.ActiveCfg = ReleaseWithoutVsix|Any CPU
164+
{D26B4B40-0C94-48AD-8019-0B9BE46E0071}.ReleaseWithoutVsix|Any CPU.Build.0 = ReleaseWithoutVsix|Any CPU
152165
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
153166
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
154167
{11569514-5AE5-4B5B-92A2-F10B0967DE5F}.DebugWithoutVsix|Any CPU.ActiveCfg = DebugWithoutVsix|Any CPU
@@ -493,6 +506,14 @@ Global
493506
{791B408C-0ABC-465B-9EB1-A2422D67F418}.Release|Any CPU.Build.0 = Release|Any CPU
494507
{791B408C-0ABC-465B-9EB1-A2422D67F418}.ReleaseWithoutVsix|Any CPU.ActiveCfg = Release|Any CPU
495508
{791B408C-0ABC-465B-9EB1-A2422D67F418}.ReleaseWithoutVsix|Any CPU.Build.0 = Release|Any CPU
509+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
510+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Debug|Any CPU.Build.0 = Debug|Any CPU
511+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.DebugWithoutVsix|Any CPU.ActiveCfg = Debug|Any CPU
512+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.DebugWithoutVsix|Any CPU.Build.0 = Debug|Any CPU
513+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Release|Any CPU.ActiveCfg = Release|Any CPU
514+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.Release|Any CPU.Build.0 = Release|Any CPU
515+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.ReleaseWithoutVsix|Any CPU.ActiveCfg = Release|Any CPU
516+
{B467682B-9F0E-42D8-8A20-1DE78F798793}.ReleaseWithoutVsix|Any CPU.Build.0 = Release|Any CPU
496517
EndGlobalSection
497518
GlobalSection(SolutionProperties) = preSolution
498519
HideSolutionNode = FALSE
@@ -527,6 +548,7 @@ Global
527548
{65542DEE-D3BE-4810-B85A-08E970413A21} = {8A7DA2E7-262B-4581-807A-1C45CE79CDFD}
528549
{3321CE72-26ED-4D1E-A8F5-6901FB783007} = {1E7F7253-A6AF-43C4-A955-37BEDDA01AC0}
529550
{791B408C-0ABC-465B-9EB1-A2422D67F418} = {1E7F7253-A6AF-43C4-A955-37BEDDA01AC0}
551+
{B467682B-9F0E-42D8-8A20-1DE78F798793} = {8A7DA2E7-262B-4581-807A-1C45CE79CDFD}
530552
EndGlobalSection
531553
GlobalSection(ExtensibilityGlobals) = postSolution
532554
SolutionGuid = {556014CF-5B35-4CE5-B3EF-6AB0007001AC}

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,16 @@ Official builds of this extension are available at [the official website](https:
2222
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/github-visual-studio/localized.svg)](https://crowdin.com/project/github-visual-studio)
2323
[![codecov](https://codecov.io/gh/GitHub/VisualStudio/branch/master/graph/badge.svg)](https://codecov.io/gh/GitHub/VisualStudio)
2424

25-
[![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)
25+
[![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)
2626

2727
## Documentation
2828
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.
2929

30-
## Installing beta versions
31-
32-
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.
33-
34-
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`.
35-
36-
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.
37-
3830
## Build requirements
3931

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

4336
## Build
4437

appveyor.yml

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
os: Visual Studio 2017
2-
version: '2.7.0.{build}'
2+
version: '2.9.0.{build}'
33
skip_tags: true
4+
45
install:
6+
- choco install --no-progress BCC-MSBuildLog
7+
- choco install --no-progress BCC-Submission
58
- ps: |
69
$full_build = Test-Path env:GHFVS_KEY
10+
$forVSInstaller = $env:BUILD_TYPE -eq "vsinstaller"
11+
$forPackage = $env:BUILD_TYPE -eq "package"
12+
$package = $full_build -and ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $forVSInstaller -or $forPackage)
13+
14+
$message = "Building "
15+
if ($package) { $message += "and packaging "}
16+
$message += "version " + $env:APPVEYOR_BUILD_NUMBER + " "
17+
18+
if ($full_build) { $message += "(full build)" } else { $message += "(partial build)" }
19+
if ($forVSInstaller) { $message += " for the VS installer" }
20+
Write-Host $message
21+
722
git submodule init
823
git submodule sync
924
@@ -18,19 +33,42 @@ install:
1833
1934
git submodule update --recursive --force
2035
nuget restore GitHubVS.sln
21-
- choco install --no-progress BCC-MSBuildLog
22-
- choco install --no-progress BCC-Submission
36+
2337
build_script:
24-
- ps: scripts\build.ps1 -AppVeyor -BuildNumber:$env:APPVEYOR_BUILD_NUMBER
38+
- ps: scripts\build.ps1 -AppVeyor -Package:$package -BuildNumber:$env:APPVEYOR_BUILD_NUMBER -ForVSInstaller:$forVSInstaller
39+
2540
test:
2641
categories:
2742
except:
2843
- Timings
44+
2945
on_success:
3046
- ps: |
31-
if ($full_build) {
32-
script\Sign-Package -AppVeyor
47+
if ($package) {
48+
Write-Host "Signing and packaging"
49+
script\Sign-Package -AppVeyor -ForVSInstaller:$forVSInstaller
3350
}
34-
on_finish:
35-
- 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%
36-
- IF NOT "%BCC_TOKEN%x"=="x" BCCSubmission -h %APPVEYOR_REPO_COMMIT% -i checkrun.json -t %BCC_TOKEN%
51+
52+
for:
53+
-
54+
branches:
55+
except:
56+
- /releases/.*-vsinstaller/
57+
environment:
58+
matrix:
59+
- BUILD_TYPE: normal
60+
-
61+
branches:
62+
only:
63+
- /releases/.*-vsinstaller/
64+
environment:
65+
matrix:
66+
- BUILD_TYPE: package
67+
- BUILD_TYPE: vsinstaller
68+
-
69+
branches:
70+
only:
71+
- master
72+
environment:
73+
matrix:
74+
- BUILD_TYPE: package

azure-pipelines.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ steps:
4848
platform: '$(buildPlatform)'
4949
configuration: '$(buildConfiguration)'
5050

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

6160
- task: PublishBuildArtifacts@1
6261
inputs:

docs/using/cloning-a-repository-to-visual-studio.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
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.
44

5-
## Opening the clone dialog
5+
## Opening the clone dialog
66

77
### From **Team Explorer**
88

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

1818
### From the **Start Page**
1919

20-
Using Visual Studio 2017, click the `GitHub` button on the `Start Page` to open the clone dialog.
20+
Using Visual Studio 2017, click the `GitHub` button on the `Start Page` to open the clone dialog.
21+
22+
23+
### From the **Start Window**
24+
25+
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.
2126

2227

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

2732

2833
## Clone repositories
29-
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.
34+
1. In the list of repositories, scroll until you find the repository you'd like to clone.
3035

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

33-
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.
38+
In addition to using the list of personal, collaborator and organization repositories, you can enter a repository URL to clone a public repository.
3439

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

3742
2. If desired, change the local path that the repository will be cloned into, or leave the default as-is.
3843
3. Once a repository is selected and the path is set, Click **Clone**.
3944
4. In Team Explorer, under the list of solutions, double-click on a solution to open it in Visual Studio.
45+
46+
## Open repositories
47+
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.
48+
49+
![Open option enabled in clone dialog](images/open-cloned-repository.png)

docs/using/images/clone-dialog.png

-209 KB
Binary file not shown.
-125 KB
Binary file not shown.
182 KB
Loading
176 KB
Loading

0 commit comments

Comments
 (0)