Robert Dailey
08d1ced7b6
refactor: Newline after message, but before exception details
2 years ago
Robert Dailey
b3666ec3cb
refactor: Less verbose error messages
2 years ago
Robert Dailey
eb9898fdd7
refactor: Implement Yaml Behavior system for extending parsing features
...
YamlSerializerFactory continues to grow as we add parsing features to
YAML files. A new behavior system now provides granular sets of features
to the factory. To extend the functionality of the YAML parser,
implement the `IYamlBehavior` interface. It will automatically be
registered to Autofac and injected into `YamlSerializerFactory`.
2 years ago
Robert Dailey
f2bd1fd1be
build: Update paths in build scripts
2 years ago
Robert Dailey
fc0daf631b
refactor: Address analysis issues
2 years ago
Robert Dailey
7e2a6290dc
chore(style): Warn about sealing private nested classes
2 years ago
Robert Dailey
77603b6c93
refactor: Rename all projects to have Recyclarr prefix
2 years ago
Robert Dailey
d1fe264eb0
chore: Add more details to bug template
2 years ago
Robert Dailey
44f3ff1d19
release: v4.0.0
2 years ago
Robert Dailey
bbb2195df2
feat!: Change Sonarr quality definitions config YAML to match Radarr
...
- Shares same syntax as Radarr
- Only Sonarr impacted
- Default behavior of `preferred_ratio` changed.
- Hybrid quality definition removed.
2 years ago
Robert Dailey
ab352f6a4c
fix: Do not warn about empty configs when they aren't really empty
...
This was caused by a logic error that thought that a file was empty just
because it didn't find any configuration data relevant to the current
subcommand. For example, a config file that only has Radarr config in it
when you run `recyclarr sonarr`.
2 years ago
Robert Dailey
ebb33f3328
refactor: Log git error message on clone retry
2 years ago
Robert Dailey
ff97d6cb24
release: v3.1.0
2 years ago
Robert Dailey
8a124d12f9
fix: Allow empty YAML files to be loaded
...
- Better contextual logging for YAML files
- When there's a syntax error in file parsing, skip that file.
- When validation fails for instance config, skip just that instance.
- If a file is empty, print a warning and skip it.
- Print instance name (instead of URL) in more places.
2 years ago
Robert Dailey
51d0219a1a
refactor: Move RegisterMockFor to extension method
2 years ago
Robert Dailey
c981a555ad
test: Use log context for existing tests
2 years ago
Robert Dailey
1fa6e11884
chore(style): Place constructor initializer on separate line
2 years ago
Robert Dailey
9acdf7da14
feat: Improved logging
...
- Handle exceptions better (also write them to serilog)
- Better redaction code
- Less verbose HTTP exception output
- Log more details about git cmd failures
2 years ago
Robert Dailey
c21a6c8c1c
docs: Remove custom conventional commits spec
...
Currently GitVersion.yml is not configured to use these
unofficial/custom words like "change", "deprecate", etc.
2 years ago
Robert Dailey
f57f813057
chore(style): Alter code style related to property formatting
2 years ago
Robert Dailey
b4c1ef6783
chore: Create FUNDING.yml
2 years ago
Robert Dailey
c78daecec7
chore: Improve bug report issue template
...
- Combine version fields into 1
- Add field for recyclarr logs
2 years ago
Robert Dailey
94e55b6182
build: Nuget package upgrades
2 years ago
Robert Dailey
c1eb21d9ba
build: Remove System.Private.Uri (no longer used)
...
This was only added to address vulnerability scan, but this package is
no longer implicitly referenced.
2 years ago
Robert Dailey
69aec1450a
build: Move ManagePackageVersionsCentrally to Build.props
2 years ago
Robert Dailey
8d091ff471
build: Upgrade GUI-specific nuget packages
2 years ago
Robert Dailey
37ff650152
refactor: Upgrade System.IO.Abstractions (with code changes)
2 years ago
Robert Dailey
2e31dacea9
refactor: Code changes after System.IO.Abstractions upgrade
2 years ago
Robert Dailey
e47e1b2f82
build: Upgrade System.IO.Abstractions
2 years ago
Robert Dailey
6f6baf4912
release: v3.0.0
2 years ago
Robert Dailey
f16008d225
refactor: Use better argument handling for git operations
...
Use array of args instead of string concatenations. Simplifies the logic
and also makes quoting args easier / more portable.
2 years ago
Robert Dailey
81d6d1d70d
chore(docker): Use a different name for recyclarr bridge network
2 years ago
Robert Dailey
2b28fb9c73
chore: Update Rider run configurations for .NET 7
2 years ago
Robert Dailey
f57c099f32
chore: Use relative path to ci\Publish.ps1
...
This is required on linux for some reason...
2 years ago
Robert Dailey
8155cdd385
chore(docker): Introduce RECYCLARR_CREATE_CONFIG env var
...
If enabled, will invoke `recyclarr create-config` on startup of the
container if the `/config/recyclarr.yml` file does not exist.
2 years ago
Robert Dailey
360f683718
chore: Remove another riderMarkupCache.xml file
2 years ago
Robert Dailey
29da998997
chore: Make RunArgs first in BuildAndRun.ps1
...
To make specifying arguments easier.
2 years ago
Robert Dailey
f5ac125fdc
chore: Improve error handling in ps1 scripts
2 years ago
Robert Dailey
d04b10f9d0
refactor: Utilize DI for Flurl
...
The goal is to eliminate the need for a "global setup" step for HTTP
communication. This can instead be done in the composition root as part
of the factory to request FlurlClient objects.
2 years ago
Robert Dailey
2a79a50d50
fix: Address multiple issues with the config template
...
- Simplify the comment style for YAML intended to be uncommented by the
user. Now they just need to delete the leading hash and YAML will be
at the appropriate indentation.
- Add additional explanation at the top about how to set up
configuration based on the guide.
- Fix link to the configuration reference.
2 years ago
Robert Dailey
4d20bdebe3
chore: Update support script for building the docker image.
2 years ago
Robert Dailey
06600c9a51
chore(docker): Fix .NET missing error
...
Reason: The docker image avoided using the upstream `dotnet/runtime`
image to save on image size. Total image size without it was under 50MB.
By using the upstream image, image size goes up to about 120MB.
The maintainability cost of avoiding the upstream image isn't worth it.
It's also error prone, which is why this bug happened.
The solution is to just use the upstream runtime image. Total image size
goes up but it's more robust.
Fixes #147 .
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
4a9f753423
chore: Delete and ignore riderMarkupCache.xml
...
This file continuously changes which indicates to me it should not be
versioned. This file must be new because there's no documentation
regarding it.
2 years ago
Robert Dailey
dfce05a9e8
build: Update Rider project files
2 years ago
Robert Dailey
609fdc0607
chore: Improve usability of Publish.ps1
2 years ago
Robert Dailey
969499bf5a
build: Fix for test packages not being assigned to TestLibrary.csproj
2 years ago
Robert Dailey
e5a0302c13
chore: Delete global.json (not needed)
2 years ago
Robert Dailey
56cd15bd51
chore(editorconfig): Remove EOL specification in editorconfig
...
This intereferes with patch editing in Git (e.g. `git add -p`)
2 years ago
Robert Dailey
98b78e0613
chore(editorconfig): resharper_indent_preprocessor_if = outdent
...
Controls indentation of preprocessor directives.
2 years ago