Skip to content

Commit 0446dd6

Browse files
committed
1.5.0
1 parent 12650c5 commit 0446dd6

File tree

94 files changed

+1001
-1451
lines changed

Some content is hidden

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

94 files changed

+1001
-1451
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ updates:
66
interval: "weekly"
77
day: "wednesday"
88
groups:
9-
dotnet-sdk:
9+
dotnet:
1010
patterns:
1111
- "*"
1212

@@ -15,17 +15,15 @@ updates:
1515
schedule:
1616
interval: "weekly"
1717
groups:
18-
nuget:
18+
dotnet:
1919
patterns:
2020
- "*"
21-
ignore:
22-
- dependency-name: "FluentAssertions"
2321

2422
- package-ecosystem: "github-actions"
2523
directory: "/"
2624
schedule:
2725
interval: "weekly"
2826
groups:
29-
github-actions:
27+
dotnet:
3028
patterns:
3129
- "*"

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
run: dotnet restore
5757

5858
- name: Build
59-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
59+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
6060

6161
- name: Test
62-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
62+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore
6363

6464
- name: Publish
6565
run: |
@@ -102,10 +102,10 @@ jobs:
102102
run: dotnet restore
103103

104104
- name: Build
105-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
105+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
106106

107107
- name: Test
108-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
108+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore
109109

110110
- name: Publish
111111
run: |
@@ -155,10 +155,10 @@ jobs:
155155
run: dotnet restore
156156

157157
- name: Build
158-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
158+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
159159

160160
- name: Test
161-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
161+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore
162162

163163
- name: Publish
164164
run: |

.github/workflows/test_linux_x64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: dotnet restore
2525

2626
- name: Build
27-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
27+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
2828

2929
- name: Test
30-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
30+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore

.github/workflows/test_osx_x64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: dotnet restore
2525

2626
- name: Build
27-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
27+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
2828

2929
- name: Test
30-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
30+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore

.github/workflows/test_win_x64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: dotnet restore
2525

2626
- name: Build
27-
run: dotnet build GithubBackup.sln --configuration Release --no-restore
27+
run: dotnet build GithubBackup.slnx --configuration Release --no-restore
2828

2929
- name: Test
30-
run: dotnet test GithubBackup.sln --configuration Release --no-restore
30+
run: dotnet test GithubBackup.slnx --configuration Release --no-restore

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
We are happy to announce the version `v1.4.0` of github-backup.
1+
We are happy to announce the version `v1.5.0` of github-backup.
22

33
This release includes the following features:
44

5-
- Upgrade to .net 9.0
5+
- Upgrade to .net 9.0.305 and nuget packages bumping with minor changes.

Directory.Packages.props

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,59 @@
11
<Project>
22
<ItemGroup>
33
<PackageVersion Include="AutoBogus" Version="2.13.1" />
4-
<PackageVersion Include="Bogus" Version="35.6.2" />
4+
<PackageVersion Include="AwesomeAssertions" Version="9.2.0" />
5+
<PackageVersion Include="Bogus" Version="35.6.4" />
56
<PackageVersion Include="ByteSize" Version="2.1.2" />
6-
<PackageVersion Include="FluentAssertions" Version="[7.1.0]" />
7-
<PackageVersion Include="FluentValidation" Version="11.11.0" />
7+
<PackageVersion Include="FluentValidation" Version="12.0.0" />
88
<PackageVersion Include="Flurl.Http" Version="4.0.2" />
99
<PackageVersion Include="Meziantou.Xunit.ParallelTestFramework" Version="2.3.0" />
10-
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.3" />
11-
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.3" />
12-
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.3" />
13-
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.3" />
14-
<PackageVersion Include="Microsoft.Net.Http.Headers" Version="9.0.3" />
10+
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.9" />
11+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.9" />
12+
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.9" />
13+
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.9" />
14+
<PackageVersion Include="Microsoft.Net.Http.Headers" Version="9.0.9" />
1515
<PackageVersion Include="NSubstitute" Version="5.3.0" />
1616
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageVersion>
20-
<PackageVersion Include="Polly" Version="8.5.2" />
20+
<PackageVersion Include="Polly" Version="8.6.4" />
2121
<PackageVersion Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
2222
<PackageVersion Include="Polly.Extensions.Http" Version="3.0.0" />
2323
<PackageVersion Include="Roslyn.System.IO.Abstractions.Analyzers" Version="12.2.19" />
24-
<PackageVersion Include="Serilog" Version="4.2.0" />
24+
<PackageVersion Include="Serilog" Version="4.3.0" />
2525
<PackageVersion Include="Serilog.Extensions.Hosting" Version="9.0.0" />
26-
<PackageVersion Include="Serilog.Sinks.File" Version="6.0.0" />
27-
<PackageVersion Include="Spectre.Console" Version="0.49.1" />
26+
<PackageVersion Include="Serilog.Sinks.File" Version="7.0.0" />
27+
<PackageVersion Include="Spectre.Console" Version="0.51.1" />
2828
<PackageVersion Include="Spectre.Console.Analyzer" Version="1.0.0">
2929
<PrivateAssets>all</PrivateAssets>
3030
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3131
</PackageVersion>
32-
<PackageVersion Include="Spectre.Console.Testing" Version="0.49.1" />
33-
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
34-
<PackageVersion Include="System.CommandLine.Hosting" Version="0.4.0-alpha.22272.1" />
35-
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
36-
<PackageVersion Include="System.Runtime.Caching" Version="9.0.3" />
37-
<PackageVersion Include="System.Threading.RateLimiting" Version="9.0.3" />
38-
<PackageVersion Include="TestableIO.System.IO.Abstractions" Version="22.0.12" />
32+
<PackageVersion Include="Spectre.Console.Testing" Version="0.51.1" />
33+
<PackageVersion Include="System.CommandLine" Version="2.0.0-rc.1.25451.107" />
34+
<PackageVersion Include="System.Linq.Async" Version="6.0.3" />
35+
<PackageVersion Include="System.Runtime.Caching" Version="9.0.9" />
36+
<PackageVersion Include="System.Threading.RateLimiting" Version="9.0.9" />
37+
<PackageVersion Include="TestableIO.System.IO.Abstractions" Version="22.0.16" />
3938
<PackageVersion Include="TestableIO.System.IO.Abstractions.Analyzers" Version="2022.0.0" />
40-
<PackageVersion Include="TestableIO.System.IO.Abstractions.Extensions" Version="22.0.3" />
41-
<PackageVersion Include="TestableIO.System.IO.Abstractions.TestingHelpers" Version="22.0.12" />
42-
<PackageVersion Include="TestableIO.System.IO.Abstractions.Wrappers" Version="22.0.12" />
43-
<PackageVersion Include="Testcontainers" Version="4.3.0" />
44-
<PackageVersion Include="Verify.Xunit" Version="28.16.0" />
39+
<PackageVersion Include="TestableIO.System.IO.Abstractions.Extensions" Version="22.0.4" />
40+
<PackageVersion Include="TestableIO.System.IO.Abstractions.TestingHelpers" Version="22.0.16" />
41+
<PackageVersion Include="TestableIO.System.IO.Abstractions.Wrappers" Version="22.0.16" />
42+
<PackageVersion Include="Testcontainers" Version="4.7.0" />
43+
<PackageVersion Include="Verify.Xunit" Version="30.20.1" />
4544
<PackageVersion Include="xunit" Version="2.9.3" />
4645
<PackageVersion Include="xunit.extensibility.core" Version="2.9.3" />
4746
<PackageVersion Include="xunit.extensibility.execution" Version="2.4.2" />
48-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2">
47+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5">
4948
<PrivateAssets>all</PrivateAssets>
5049
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5150
</PackageVersion>
5251
<PackageVersion Include="coverlet.collector" Version="6.0.4">
5352
<PrivateAssets>all</PrivateAssets>
5453
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5554
</PackageVersion>
56-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
57-
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.7.115">
55+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
56+
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.8.118">
5857
<PrivateAssets>all</PrivateAssets>
5958
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6059
</PackageVersion>

GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=--help.verified.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Usage:
55
ghb [command] [options]
66

77
Options:
8-
--quiet Do not print logs to console. [default: True]
9-
--log-file <log-file> Path to the log file.
10-
--verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
11-
--version Show version information
12-
-?, -h, --help Show help and usage information
8+
-q, --quiet Do not print logs to console.
9+
-l, --log-file <log-file> Path to the log file.
10+
-v, --verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
11+
-?, -h, --help Show help and usage information
12+
--version Show version information
1313

1414
Commands:
1515
manual Manually backup a Github user. This command is interactive.

GithubBackup.Cli.Tests.Integration/CliTests.RunAsync___args=.verified.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
'' was not matched. Did you mean one of the following?
22
-h
3+
-q
4+
-l
5+
-v
6+
37
Required command was not provided.
48
Unrecognized command or argument ''.
59

@@ -10,11 +14,11 @@ Usage:
1014
ghb [command] [options]
1115

1216
Options:
13-
--quiet Do not print logs to console. [default: True]
14-
--log-file <log-file> Path to the log file.
15-
--verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
16-
--version Show version information
17-
-?, -h, --help Show help and usage information
17+
-q, --quiet Do not print logs to console.
18+
-l, --log-file <log-file> Path to the log file.
19+
-v, --verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
20+
-?, -h, --help Show help and usage information
21+
--version Show version information
1822

1923
Commands:
2024
manual Manually backup a Github user. This command is interactive.

GithubBackup.Cli.Tests.Integration/Commands/Github/Login/LoginTests.RunAsync___args=login --help.verified.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ Usage:
66
ghb login [options]
77

88
Options:
9-
--token <token> If not provided, the token will be aquired from the environment variable GITHUB_BACKUP_TOKEN.
10-
If provided, device flow authentication will be ignored. Recommended for use on servers.");
11-
--device-flow-auth Interactive authentication using the device flow.
12-
Requires a browser. Recommended for use on clients. [default: False]
13-
--quiet Do not print logs to console. [default: True]
14-
--log-file <log-file> Path to the log file.
15-
--verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
16-
-?, -h, --help Show help and usage information
17-
9+
-t, --token <token> If not provided, the token will be aquired from the environment variable GITHUB_BACKUP_TOKEN.
10+
If provided, device flow authentication will be ignored. Recommended for use on servers.");
11+
-d, --device-flow-auth Interactive authentication using the device flow.
12+
Requires a browser. Recommended for use on clients.
13+
-?, -h, --help Show help and usage information
14+
-q, --quiet Do not print logs to console.
15+
-l, --log-file <log-file> Path to the log file.
16+
-v, --verbosity <Critical|Debug|Error|Information|None|Trace|Warning> Set the verbosity level of the log file. [default: Information]
1817

0 commit comments

Comments
 (0)