Robert Dailey
8d2f582b38
refactor: Move all test projects under src/tests
...
This allows easier specification of test-specific msbuild properties
2 years ago
Robert Dailey
2652a5c663
build: Move Jetbrains.Annotations to projects
2 years ago
Robert Dailey
53595fc6ce
build: Move Spectre console analyzer to project file
2 years ago
Robert Dailey
b006122921
build: Move GitVersion.Build to projects
2 years ago
Robert Dailey
cffb8d783a
refactor: Convert processors/updaters to pipelines
2 years ago
Robert Dailey
5adb966aa9
refactor: Add serilog to implicit usings
2 years ago
Robert Dailey
5d0db006ba
chore(style): Overhaul editorconfig
2 years ago
Robert Dailey
7a008a6639
feat: CLI Revamp
...
Deprecate old commands: create-config, radarr, sonarr
New commands: config, sync, list
2 years ago
Robert Dailey
77603b6c93
refactor: Rename all projects to have Recyclarr prefix
2 years ago
Robert Dailey
69aec1450a
build: Move ManagePackageVersionsCentrally to Build.props
2 years ago
Robert Dailey
e47e1b2f82
build: Upgrade System.IO.Abstractions
2 years ago
Robert Dailey
53d7233b1e
build: Remove LangVersion from build props
...
Prefer to use the language version that is enabled by default based on
compatibility with selected target framework.
2 years ago
Robert Dailey
969499bf5a
build: Fix for test packages not being assigned to TestLibrary.csproj
2 years ago
Robert Dailey
b5a692a710
build: Upgrade to .NET 7.0
2 years ago
Robert Dailey
6ed7961c8c
build: Use Nuget central package management
...
Move all package versions from `Directory.Build.targets` to
`Directory.Packages.props` as shown here:
https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management#enabling-central-package-management
2 years ago
Robert Dailey
77f15b7e79
refactor: Reorganize custom format code to support reuse with Sonarr
2 years ago
Robert Dailey
77d8c66701
build: Add commented-out property to disable GitVersion
...
Useful to use during rebase where you get build failures due to
GitVersion not liking a detached HEAD.
3 years ago
Robert Dailey
d4380bc11d
chore: Add System.IO.Abstractions.Extensions to all tests
3 years ago
Robert Dailey
f570b098f1
build: InternalsVisibleTo excluded from test projects
3 years ago
Robert Dailey
ea99f5b613
chore: Fully quality CLSCompliantAttribute
...
To fix this warning:
> 'CLSCompliantAttribute' is an ambiguous reference between
> 'System.CLSCompliantAttribute' and 'System.CLSCompliantAttribute'
3 years ago
Robert Dailey
546bd3bf5e
refactor: Enable implicit using and run code cleanup
3 years ago
Robert Dailey
a377ec5e75
chore: Switch to GitVersion
...
https://github.com/GitTools/GitVersion
3 years ago
Robert Dailey
bf473d3eae
build: Use latestmajor for LangVersion
3 years ago
Robert Dailey
2fe29f3b16
feat: settings functionality
...
A settings file, `settings.yml` is now available which stores global
configuration such as the clone URL for the Github Trash repository.
3 years ago
Robert Dailey
084b87e96d
build: Add Coverlet package to unit tests
3 years ago
Robert Dailey
c0659cab3e
chore: Make all test packages private
3 years ago
Robert Dailey
6820e785d9
test: introduce AutoFixture library and support code
3 years ago
Robert Dailey
d8eac2e381
chore: sort package references in root props file
3 years ago
Robert Dailey
b0bbb23d3b
build: disable CLS compliance for all projects
...
This is to silence an analysis warning.
3 years ago
Robert Dailey
90c46c52cf
build: AllEnabledByDefault for AnalysisMode
3 years ago
Robert Dailey
b7e85e2307
build: remove explicit net analyzers package
3 years ago
Robert Dailey
7f43413158
build: upgrade to .NET 6
3 years ago
Robert Dailey
5eb58ce4ae
fix: do not publish System.Reactive.xml
3 years ago
Robert Dailey
3ae9639b0b
build: rearrange build props/targets
4 years ago
Robert Dailey
c21fc51b23
feat(radarr): custom format support
...
- Synchronize custom formats to Radarr
- Quality profiles can be assigned scores from the guide
- Deletion support for custom formats removed from config or the guide.
- Caching system for keeping track of Custom Format IDs and Trash IDs to
better support renames, deletions, and other stateful behavior.
4 years ago
Robert Dailey
bcbdc580ff
refactor: fix roslyn analyzer warnings
...
- fix warnings across the code base
- exclude CA rules via .editorconfig as needed
- use newer version of `Microsoft.CodeAnalysis.NetAnalyzers`
4 years ago
Robert Dailey
1a02cc0d4a
build: Add InternalsVisibleTo to all projects
...
Taken from:
https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm
4 years ago
Robert Dailey
eaeb06eb26
ci: better dotnet publish in build workflow
...
- Executable is now compiled using Ready to Run. This increases the size
of the executable but makes the code much faster.
- `src` directory is no longer the cwd
- The matrix build in build.yml now runs on its respective platform to
avoid cross compilation. Cross compiling does not work with the
ReadyToRun optimization on, see:
https://docs.microsoft.com/en-us/dotnet/core/deploying/ready-to-run#cross-platformarchitecture-restrictions
- publish and zip steps in the workflow have been put in a powershell
script for reusability and to keep the workflow YAML minimal.
4 years ago
Robert Dailey
b9db8b7ef3
fix: Log warning if a "potential" score is found
...
A potential score is one where a number between brackets is found (e.g.
[100]) but the word "score" is not before it. A warning is logged to
notify the user of a potential issue with the guide itself.
Other changes:
- `Serilog.Sinks.TestCorrelator` package added to test log output
messages.
- New StringUtils class in TestLibrary
- Refactored `Regex.Match()` calls to use new extension method that
allows the match to be directly used as an expression in an `if`
condition while also providing the match object as output.
4 years ago
Robert Dailey
bb5c74e0cb
Complete rewrite using C# .NET Core 5
4 years ago