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

Commit 3eecec6

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fixes/1666-filter-pr-solution-explorer
2 parents 7741cf8 + a29e05d commit 3eecec6

472 files changed

Lines changed: 16096 additions & 10565 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ $RECYCLE.BIN/
232232
*.msm
233233
*.msp
234234

235+
#OpenCover output
236+
coverage.xml
237+
235238
AkavacheSqliteLinkerOverride.cs
236239
NuGetBuild
237240
WiX.Toolset.DummyFile.txt

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ This project adheres to the [Open Code of Conduct][code-of-conduct]. By particip
1313

1414
## Submitting a pull request
1515

16-
0. [Fork][] and clone the repository (see Build Instructions in the [README][readme])
17-
0. Create a new branch: `git checkout -b my-branch-name`
18-
0. Make your change, add tests, and make sure the tests still pass
19-
0. Push to your fork and [submit a pull request][pr]
20-
0. Pat your self on the back and wait for your pull request to be reviewed and merged.
16+
1. [Fork][] and clone the repository (see Build Instructions in the [README][readme])
17+
2. Create a new branch: `git checkout -b my-branch-name`
18+
3. Make your change, add tests, and make sure the tests still pass
19+
4. Push to your fork and [submit a pull request][pr]
20+
5. Pat your self on the back and wait for your pull request to be reviewed and merged.
2121

2222
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
2323

24-
- Follow the existing code's style.
25-
- Write tests.
24+
- Follow the style/format of the existing code.
25+
- Write tests for your changes.
2626
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
2727
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
2828

@@ -38,7 +38,7 @@ There are certain areas of the extension that are restricted in what they can do
3838
### Bug Reporting
3939

4040
Here are a few helpful tips when reporting a bug:
41-
- Verify the bug resides in the GitHub for Visual Studio extension
41+
- Verify that the bug resides in the GitHub for Visual Studio extension
4242
- A lot of functionality provided by this extension resides in the Team Explorer pane, alongside other non-GitHub tools to manage and collaborate on source code, including Visual Studio's Git support, which is owned by Microsoft.
4343
- If this bug not is related to the GitHub extension, visit the [Visual Studio support page](https://www.visualstudio.com/support/support-overview-vs) for help
4444
- Screenshots are very helpful in diagnosing bugs and understanding the state of the extension when it's experiencing problems. Please include them whenever possible.

Directory.Build.Props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Product>GitHub Extension for Visual Studio</Product>
4+
<Version>2.5.6.0</Version>
5+
<Copyright>Copyright © GitHub, Inc. 2014-2018</Copyright>
6+
<LangVersion>7.3</LangVersion>
7+
</PropertyGroup>
8+
</Project>

GitHubVS.sln

Lines changed: 135 additions & 80 deletions
Large diffs are not rendered by default.

ISSUE_TEMPLATE.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
Hello! Please read the contributing guidelines before submitting an issue regarding the GitHub Extension for Visual Studio.
1+
<!-- Hello! Please read the [contributing guidelines](https://github.com/github/VisualStudio/blob/master/CONTRIBUTING.md) before submitting an issue regarding the GitHub Extension for Visual Studio. -->
2+
3+
## Version
24

35
- GitHub Extension for Visual Studio version:
46
- Visual Studio version:
57

6-
__What happened__ (with steps, logs and screenshots, if possible)
8+
## What happened
9+
10+
**Steps to Reproduce**
11+
12+
1. [First Step]
13+
2. [Second Step]
14+
3. [and so on...]
15+
16+
**Expected behavior:** [What you expect to happen]
17+
18+
**Actual behavior:** [What actually happens]
19+
20+
**Screenshot or GIF:**
21+
22+
**Log file:**
23+
24+
<!-- Include the log file. Logs can be found at: `%LOCALAPPDATA%\GitHubVisualStudio\extension.log` -->

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ Most of the extension UI lives in the Team Explorer pane, which is available fro
1717

1818
Official builds of this extension are available at [the official website](https://visualstudio.github.com).
1919

20-
2120
[![Build status](https://ci.appveyor.com/api/projects/status/dl8is5iqwt9qf3t7/branch/master?svg=true)](https://ci.appveyor.com/project/github-windows/visualstudio/branch/master)
21+
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/github-visual-studio/localized.svg)](https://crowdin.com/project/github-visual-studio)
22+
[![codecov](https://codecov.io/gh/GitHub/VisualStudio/branch/master/graph/badge.svg)](https://codecov.io/gh/GitHub/VisualStudio)
2223

2324
[![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)
2425

@@ -35,7 +36,7 @@ Beta releases will have `(beta)` in their title in the gallery, following the ve
3536

3637
## Build requirements
3738

38-
* Visual Studio 2015+
39+
* Visual Studio 2017 (15.7.4)+
3940
* Visual Studio SDK
4041

4142
## Build
@@ -50,13 +51,13 @@ git submodule deinit script
5051
git submodule update
5152
```
5253

53-
Open the `GitHubVS.sln` solution with Visual Studio 2015+.
54+
Open the `GitHubVS.sln` solution with Visual Studio 2017+.
5455
To be able to use the GitHub API, you'll need to:
5556

5657
- [Register a new developer application](https://github.com/settings/developers) in your profile.
5758
- Open [src/GitHub.Api/ApiClientConfiguration_User.cs](src/GitHub.Api/ApiClientConfiguration_User.cs) and fill out the clientId/clientSecret fields for your application. **Note this has recently changed location, so you may need to re-do this**
5859

59-
Build using Visual Studio 2015 or:
60+
Build using Visual Studio 2017 or:
6061

6162
```txt
6263
build.cmd
@@ -85,6 +86,10 @@ To build and install a `Release` configuration VSIX:
8586
build.cmd Release
8687
install.cmd Release
8788
```
89+
## Logs
90+
Logs can be viewed at the following location:
91+
92+
`%LOCALAPPDATA%\GitHubVisualStudio\extension.log`
8893

8994
## More information
9095
- Andreia Gaita's [presentation](https://www.youtube.com/watch?v=hz2hCO8e_8w) at Codemania 2016 about this extension.
@@ -95,7 +100,7 @@ Visit the [Contributor Guidelines](CONTRIBUTING.md) for details on how to contri
95100

96101
## Copyright
97102

98-
Copyright 2015 - 2017 GitHub, Inc.
103+
Copyright 2015 - 2018 GitHub, Inc.
99104

100105
Licensed under the [MIT License](LICENSE.md)
101106

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
version: '2.5.2.{build}'
1+
os: Visual Studio 2017
2+
version: '2.5.6.{build}'
23
skip_tags: true
34
install:
45
- ps: |
@@ -28,3 +29,5 @@ on_success:
2829
if ($full_build) {
2930
script\Sign-Package -AppVeyor
3031
}
32+
on_finish:
33+
- ps: scripts\Run-CodeCoverage.ps1 -AppVeyor -Configuration:Release

codecov.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
codecov:
2+
notify:
3+
require_ci_to_pass: yes
4+
5+
coverage:
6+
precision: 2
7+
round: down
8+
range: "70...100"
9+
10+
status:
11+
project: yes
12+
patch: yes
13+
changes: yes
14+
15+
parsers:
16+
gcov:
17+
branch_detection:
18+
conditional: yes
19+
loop: yes
20+
method: no
21+
macro: no
22+
23+
comment:
24+
layout: "header, reach, diff, files"
25+
behavior: new
26+
require_changes: no
27+
28+
fixes:
29+
- "/C/projects/visualstudio/::"

crowdin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
files:
2+
- source: /src/**/Resources.resx
3+
translation: /%original_path%/Resources.%locale%.resx

docs/developer/how-viewmodels-are-turned-into-views.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ This is the basis for converting view models to views.
6565

6666
There are currently two top-level controls for our UI:
6767

68-
- [GitHubDialogWindow](../src/GitHub.VisualStudio/Views/Dialog/GitHubDialogWindow.xaml) for the dialog which shows the login, clone, etc views
69-
- [GitHubPaneView](../src/GitHub.VisualStudio/Views/GitHubPane/GitHubPaneView.xaml) for the GitHub pane
68+
- [GitHubDialogWindow](../../src/GitHub.VisualStudio/Views/Dialog/GitHubDialogWindow.xaml) for the dialog which shows the login, clone, etc views
69+
- [GitHubPaneView](../../src/GitHub.VisualStudio/Views/GitHubPane/GitHubPaneView.xaml) for the GitHub pane
7070

7171
In the resources for each of these top-level controls we define a `DataTemplate` like so:
7272

@@ -77,10 +77,10 @@ In the resources for each of these top-level controls we define a `DataTemplate`
7777
</DataTemplate>
7878
```
7979

80-
The `DataTemplate.DataType` here applies the template to all classes inherited from [`GitHub.ViewModels.ViewModelBase`](../src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs) [1]. The template defines a single `ContentControl` whose contents are created by a `ViewLocator`.
80+
The `DataTemplate.DataType` here applies the template to all classes inherited from [`GitHub.ViewModels.ViewModelBase`](../../src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs) [1]. The template defines a single `ContentControl` whose contents are created by a `ViewLocator`.
8181

82-
The [`ViewLocator`](../src/GitHub.VisualStudio/Views/ViewLocator.cs) class is an `IValueConverter` which then creates an instance of the appropriate view for the view model using MEF.
82+
The [`ViewLocator`](../../src/GitHub.VisualStudio/Views/ViewLocator.cs) class is an `IValueConverter` which then creates an instance of the appropriate view for the view model using MEF.
8383

8484
And thus a view model becomes a view.
8585

86-
[1]: it would be nice to make it apply to all classes that inherit `IViewModel` but unfortunately WPF's `DataTemplate`s don't work with interfaces.
86+
[1]: it would be nice to make it apply to all classes that inherit `IViewModel` but unfortunately WPF's `DataTemplate`s don't work with interfaces.

0 commit comments

Comments
 (0)