Skip to content

Commit 094a9b5

Browse files
authored
Merge branch 'develop' into main
2 parents 090d918 + f06d73c commit 094a9b5

File tree

106 files changed

+8587
-3932
lines changed

Some content is hidden

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

106 files changed

+8587
-3932
lines changed

.devcontainer/devcontainer.json

+24-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
{
22
"name": "Terminal.Gui Codespace",
3-
"image": "mcr.microsoft.com/vscode/devcontainers/dotnet:6.0",
4-
"settings": {
5-
"terminal.integrated.defaultProfile.linux": "pwsh"
6-
},
7-
"extensions": [
8-
"eamodio.gitlens",
9-
"ms-dotnettools.csharp",
10-
"VisualStudioExptTeam.vscodeintellicode",
11-
"ms-vscode.powershell",
12-
"cschleiden.vscode-github-actions",
13-
"redhat.vscode-yaml",
14-
"bierner.markdown-preview-github-styles",
15-
"ban.spellright",
16-
"jmrog.vscode-nuget-package-manager",
17-
"coenraads.bracket-pair-colorizer",
18-
"vscode-icons-team.vscode-icons",
19-
"editorconfig.editorconfig",
20-
"formulahendry.dotnet-test-explorer"
21-
],
22-
"postCreateCommand": "dotnet restore && dotnet clean && dotnet build --configuration Release --no-restore && dotnet test --configuration Debug --no-restore --verbosity normal --collect:'XPlat Code Coverage' --settings UnitTests/coverlet.runsettings"
3+
"image": "mcr.microsoft.com/vscode/devcontainers/dotnet:7.0",
4+
"customizations": {
5+
"vscode": {
6+
"settings": {
7+
"terminal.integrated.defaultProfile.linux": "pwsh"
8+
},
9+
"extensions": [
10+
"eamodio.gitlens",
11+
"ms-dotnettools.csharp",
12+
"VisualStudioExptTeam.vscodeintellicode",
13+
"ms-vscode.powershell",
14+
"cschleiden.vscode-github-actions",
15+
"redhat.vscode-yaml",
16+
"bierner.markdown-preview-github-styles",
17+
"ban.spellright",
18+
"jmrog.vscode-nuget-package-manager",
19+
"coenraads.bracket-pair-colorizer",
20+
"vscode-icons-team.vscode-icons",
21+
"editorconfig.editorconfig",
22+
"formulahendry.dotnet-test-explorer"
23+
],
24+
"postCreateCommand": "dotnet restore && dotnet clean && dotnet build --configuration Release --no-restore && dotnet test --configuration Debug --no-restore --verbosity normal --collect:'XPlat Code Coverage' --settings UnitTests/coverlet.runsettings"
25+
}
26+
}
2327
}
2428

2529
// Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
fetch-depth: 0 #fetch-depth is needed for GitVersion
1717

1818
- name: Install and calculate the new version with GitVersion
19-
uses: gittools/actions/gitversion/setup@v0.9.15
19+
uses: gittools/actions/gitversion/setup@v0.10.2
2020
with:
2121
versionSpec: 5.x
2222

2323
- name: Determine Version
24-
uses: gittools/actions/gitversion/execute@v0.9.15
24+
uses: gittools/actions/gitversion/execute@v0.10.2
2525
id: gitversion # step id used as reference for output values
2626

2727
- name: Display GitVersion outputs

CONTRIBUTING.md

+19-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ We welcome contributions from the community. See [Issues](https://github.com/gui
88

99
## Forking and Submitting Changes
1010

11+
*IMPORTANT*: v1.x of Terminal.Gui is now in maintenance mode. All new development is happening on the `v2_develop` branch. See the V2 discussion [here](https://github.com/gui-cs/Terminal.Gui/discussions/1940).
12+
1113
Terminal.Gui uses the [GitFlow](https://nvie.com/posts/a-successful-git-branching-model/) branching model.
1214

1315
* The `main` branch is always stable, and always matches the most recently released Nuget package.
14-
* The `develop` branch is where new development and bug-fixes happen. It is the default branch.
16+
* The `develop` branch is where bug-fixes to v1.x happens. It is the default branch.
17+
* The `v2_develop` branch is where development on v2.x happens.
1518

1619
### Forking Terminal.Gui
1720

@@ -33,16 +36,23 @@ You now have your own fork and a local repo that references it as `origin`. Your
3336

3437
### Starting to Make a Change
3538

36-
Ensure your local `develop` branch is up-to-date with `upstream` (`github.com/gui-cs/Terminal.Gui`):
39+
Figure out if your change will target v1 or v2. If you're not sure, ask in the [v2 disucssions here](https://github.com/gui-cs/Terminal.Gui/discussions/1940).
40+
41+
For v1.x, use the `develop` branch. For v2.x, use the `v2_develop` branch.
42+
43+
Prefix any local branches you create with `v1_` or `v2_` to indicate which version you're working on.
44+
45+
Ensure your local branch is up-to-date with `upstream` (`github.com/gui-cs/Terminal.Gui`):
46+
3747
```powershell
3848
cd ./Terminal.Gui
39-
git checkout develop
40-
git pull upstream develop
49+
git checkout <develop/v2_develop>
50+
git pull upstream <develop/v2_develop>
4151
```
4252

4353
Create a new local branch:
4454
```powershell
45-
git checkout -b my_new_branch
55+
git checkout -b <v1/v2>_my_new_branch
4656
```
4757

4858
#### Making Changes
@@ -90,6 +100,10 @@ remote:
90100

91101
Follow the template instructions found on Github.
92102

103+
If you are targetting v2, set the project to the [v2 Project](https://github.com/orgs/gui-cs/projects/1).
104+
105+
4. If your change is a bug fix, consider whether you should submit a separate PR to the v1 (`develop`) or v2 (`v2_develop`) branch as well.
106+
93107
## Terminal.Gui Coding Style
94108

95109
**Terminal.Gui** follows the [Mono Coding Guidelines](https://www.mono-project.com/community/contributing/coding-guidelines/). [`/.editorconfig`](https://github.com/gui-cs/Terminal.Gui/blob/b0a43ba338adf5ec069066e5a7dff8fea39b41db/.editorconfig) enforces this style in Visual Studio. Use `Ctrl-K-D` in Visual Studio to have it reformat code.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![License](https://img.shields.io/github/license/gui-cs/gui.cs.svg)](LICENSE)
77
![Bugs](https://img.shields.io/github/issues/gui-cs/gui.cs/bug)
88

9+
*IMPORTANT*: v1.x of Terminal.Gui is now in maintenance mode; we will accept PRs for v1.x (the `develop` branch) only for bugs that impact existing functionality. All new development happens on the `v2_develop` branch. See the V2 discussion [here](https://github.com/gui-cs/Terminal.Gui/discussions/1940).
910
# Terminal.Gui - Cross Platform Terminal UI toolkit for .NET
1011

1112
A toolkit for building rich console apps for .NET, .NET Core, and Mono that works on Windows, the Mac, and Linux/Unix.

ReactiveExample/ReactiveExample.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
<OutputType>Exe</OutputType>
44
<TargetFramework>net6.0</TargetFramework>
55
<!-- Version numbers are automatically updated by gitversion when a release is released -->
6-
<!-- In the source tree the version will always be 1.0 for all projects. -->
6+
<!-- In the source tree the version will always be 2.0 for all projects. -->
77
<!-- Do not modify these. -->
88
<AssemblyVersion>1.0</AssemblyVersion>
99
<FileVersion>1.0</FileVersion>
1010
<Version>1.0</Version>
1111
<InformationalVersion>1.0</InformationalVersion>
1212
</PropertyGroup>
1313
<ItemGroup>
14-
<PackageReference Include="ReactiveUI.Fody" Version="18.4.1" />
15-
<PackageReference Include="ReactiveUI" Version="18.4.1" />
14+
<PackageReference Include="ReactiveUI.Fody" Version="18.4.26" />
15+
<PackageReference Include="ReactiveUI" Version="18.4.26" />
1616
<PackageReference Include="ReactiveMarbles.ObservableEvents.SourceGenerator" Version="1.2.3" PrivateAssets="all" />
1717
</ItemGroup>
1818
<ItemGroup>

0 commit comments

Comments
 (0)