Skip to content

Commit

Permalink
Merge pull request #155 from AdmiringWorm/renovate/spectre.console-0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm authored Nov 3, 2022
2 parents b18e7c8 + c20e2fe commit 005d909
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 16 deletions.
11 changes: 10 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,23 @@
"DryIoc",
"Humanizer",
"Newtonsoft.Json",
"Spectre.Console",
"system.Linq.Async",
"Xabe.FFmpeg",
"Xabe.FFMpeg"
],
"semanticCommitType": "fix",
"addLabels": ["enhancement"]
},
{
"matchPackageNames":[
"Spectre.Console",
"Spectre.Console.Analyzers",
"Spectre.Console.Cli"
],
"groupName": "spectre console packages",
"semanticCommitType": "fix",
"addLabels": ["enhancement"]
},
{
"matchSourceUrlPrefixes": [
"https://github.com/nunit/"
Expand Down
4 changes: 4 additions & 0 deletions src/VideoConverter.Core/VideoConverter.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Spectre.Console.Analyzer" Version="0.45.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Xabe.FFMpeg" Version="5.2.0" />
</ItemGroup>
</Project>
6 changes: 6 additions & 0 deletions src/VideoConverter.Core/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"resolved": "4.1.2",
"contentHash": "0TsiZQgeO7w5K1awpZvj4qw0ZUX6xOpCY37xtkgxoZ+7aIpT7H9EvW2BJrJiRoxxtfKkA+LEHmAgl9r4e6rUFg=="
},
"Spectre.Console.Analyzer": {
"type": "Direct",
"requested": "[0.45.0, )",
"resolved": "0.45.0",
"contentHash": "0OiLWW4sSUB3p/eAufk8AV998LxKR1ztquxzGfPKq1EBO1dS44M40kIaQXdwux+vWiVqfHnfDYdo9Lt5OjPshg=="
},
"Xabe.FFmpeg": {
"type": "Direct",
"requested": "[5.2.0, )",
Expand Down
23 changes: 20 additions & 3 deletions src/VideoConverter.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,19 @@
},
"Spectre.Console": {
"type": "Transitive",
"resolved": "0.44.0",
"contentHash": "QMpKtn5QV1j2nklqDwuRE/XwbDn5jxww+Mt5J6Jn3EeQIzaLcuLyUhCLh/mS8giN6uXbqOV1ep5HlUGxrV1ujQ=="
"resolved": "0.45.0",
"contentHash": "e//13o8/BCrWmwN26eJ4zCzD2iq7iUlqQd+nDI9nJUdnJ/rYAanYiNFZZ7YHwlv48IKuKtRYYP6/wPt1DG67ww==",
"dependencies": {
"System.Memory": "4.5.5"
}
},
"Spectre.Console.Cli": {
"type": "Transitive",
"resolved": "0.45.0",
"contentHash": "SZcYjwEmmYgmTDqOluWFYtURI9bgRtmx3tSdslHsMU9lKWkev3UHEkzDbOtu4XwY+hCn9NOjBRSDWNafa4fyCQ==",
"dependencies": {
"Spectre.Console": "0.45.0"
}
},
"System.CodeDom": {
"type": "Transitive",
Expand Down Expand Up @@ -655,6 +666,11 @@
"System.CodeDom": "5.0.0"
}
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
},
"System.Reflection": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -776,7 +792,8 @@
"DryIoc": "[5.2.2, )",
"Humanizer": "[2.14.1, )",
"Newtonsoft.Json": "[13.0.1, )",
"Spectre.Console": "[0.44.0, )",
"Spectre.Console": "[0.45.0, )",
"Spectre.Console.Cli": "[0.45.0, )",
"VideoConverter.Core": "[1.0.0, )",
"VideoConverter.Storage": "[1.0.0, )",
"Xabe.FFmpeg": "[5.2.0, )",
Expand Down
4 changes: 4 additions & 0 deletions src/VideoConverter.Storage/VideoConverter.Storage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Spectre.Console.Analyzer" Version="0.45.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/VideoConverter.Storage/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"resolved": "4.1.2",
"contentHash": "0TsiZQgeO7w5K1awpZvj4qw0ZUX6xOpCY37xtkgxoZ+7aIpT7H9EvW2BJrJiRoxxtfKkA+LEHmAgl9r4e6rUFg=="
},
"Spectre.Console.Analyzer": {
"type": "Direct",
"requested": "[0.45.0, )",
"resolved": "0.45.0",
"contentHash": "0OiLWW4sSUB3p/eAufk8AV998LxKR1ztquxzGfPKq1EBO1dS44M40kIaQXdwux+vWiVqfHnfDYdo9Lt5OjPshg=="
},
"Microsoft.CSharp": {
"type": "Transitive",
"resolved": "4.0.1",
Expand Down
23 changes: 20 additions & 3 deletions src/VideoConverter.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,19 @@
},
"Spectre.Console": {
"type": "Transitive",
"resolved": "0.44.0",
"contentHash": "QMpKtn5QV1j2nklqDwuRE/XwbDn5jxww+Mt5J6Jn3EeQIzaLcuLyUhCLh/mS8giN6uXbqOV1ep5HlUGxrV1ujQ=="
"resolved": "0.45.0",
"contentHash": "e//13o8/BCrWmwN26eJ4zCzD2iq7iUlqQd+nDI9nJUdnJ/rYAanYiNFZZ7YHwlv48IKuKtRYYP6/wPt1DG67ww==",
"dependencies": {
"System.Memory": "4.5.5"
}
},
"Spectre.Console.Cli": {
"type": "Transitive",
"resolved": "0.45.0",
"contentHash": "SZcYjwEmmYgmTDqOluWFYtURI9bgRtmx3tSdslHsMU9lKWkev3UHEkzDbOtu4XwY+hCn9NOjBRSDWNafa4fyCQ==",
"dependencies": {
"Spectre.Console": "0.45.0"
}
},
"System.CodeDom": {
"type": "Transitive",
Expand Down Expand Up @@ -655,6 +666,11 @@
"System.CodeDom": "5.0.0"
}
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
},
"System.Reflection": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -776,7 +792,8 @@
"DryIoc": "[5.2.2, )",
"Humanizer": "[2.14.1, )",
"Newtonsoft.Json": "[13.0.1, )",
"Spectre.Console": "[0.44.0, )",
"Spectre.Console": "[0.45.0, )",
"Spectre.Console.Cli": "[0.45.0, )",
"VideoConverter.Core": "[1.0.0, )",
"VideoConverter.Storage": "[1.0.0, )",
"Xabe.FFmpeg": "[5.2.0, )",
Expand Down
5 changes: 1 addition & 4 deletions src/VideoConverter/Commands/AddCriteriaCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ private async Task AddOrUpdateCriteriaAsync(Core.Models.EpisodeData episodeData,
{
newCriteria.Episode = episodeData.EpisodeNumber;
newCriteria.NewEpisode = settings.EpisodeNumber.Value;
if (newCriteria.Season is null)
{
newCriteria.Season = episodeData.SeasonNumber;
}
newCriteria.Season ??= episodeData.SeasonNumber;
}

await repository.AddOrUpdateCriteriaAsync(newCriteria).ConfigureAwait(false);
Expand Down
2 changes: 1 addition & 1 deletion src/VideoConverter/Commands/EncodeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public EncodeCommand(QueueRepository queueRepo, ConverterConfiguration config, I

Console.CancelKeyPress += (sender, e) =>
{
Console.WriteLine("Cancelling!!!");
console.WriteLine("Cancelling!!!");
if (e.SpecialKey != ConsoleSpecialKey.ControlC)
{
Expand Down
7 changes: 6 additions & 1 deletion src/VideoConverter/VideoConverter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Spectre.Console" Version="0.44.0" />
<PackageReference Include="Spectre.Console" Version="0.45.0" />
<PackageReference Include="Spectre.Console.Analyzer" Version="0.45.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Spectre.Console.Cli" Version="0.45.0" />
<PackageReference Include="system.Linq.Async" Version="6.0.1" />
<PackageReference Include="Xabe.FFmpeg" Version="5.2.0" />
</ItemGroup>
Expand Down
29 changes: 26 additions & 3 deletions src/VideoConverter/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,27 @@
},
"Spectre.Console": {
"type": "Direct",
"requested": "[0.44.0, )",
"resolved": "0.44.0",
"contentHash": "QMpKtn5QV1j2nklqDwuRE/XwbDn5jxww+Mt5J6Jn3EeQIzaLcuLyUhCLh/mS8giN6uXbqOV1ep5HlUGxrV1ujQ=="
"requested": "[0.45.0, )",
"resolved": "0.45.0",
"contentHash": "e//13o8/BCrWmwN26eJ4zCzD2iq7iUlqQd+nDI9nJUdnJ/rYAanYiNFZZ7YHwlv48IKuKtRYYP6/wPt1DG67ww==",
"dependencies": {
"System.Memory": "4.5.5"
}
},
"Spectre.Console.Analyzer": {
"type": "Direct",
"requested": "[0.45.0, )",
"resolved": "0.45.0",
"contentHash": "0OiLWW4sSUB3p/eAufk8AV998LxKR1ztquxzGfPKq1EBO1dS44M40kIaQXdwux+vWiVqfHnfDYdo9Lt5OjPshg=="
},
"Spectre.Console.Cli": {
"type": "Direct",
"requested": "[0.45.0, )",
"resolved": "0.45.0",
"contentHash": "SZcYjwEmmYgmTDqOluWFYtURI9bgRtmx3tSdslHsMU9lKWkev3UHEkzDbOtu4XwY+hCn9NOjBRSDWNafa4fyCQ==",
"dependencies": {
"Spectre.Console": "0.45.0"
}
},
"System.Linq.Async": {
"type": "Direct",
Expand Down Expand Up @@ -550,6 +568,11 @@
"System.Threading.Tasks": "4.3.0"
}
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
},
"System.Reflection": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down

0 comments on commit 005d909

Please sign in to comment.