Robert Dailey
7a008a6639
feat: CLI Revamp
...
Deprecate old commands: create-config, radarr, sonarr
New commands: config, sync, list
1 year ago
Robert Dailey
3ed9d4c814
chore: Update run configurations in Rider
1 year ago
Robert Dailey
64306db2dc
refactor: Add exception message enricher
...
Allows exception message without a stack trace to be written to the
console, while full exception details are still written to file sinks.
1 year ago
Robert Dailey
d73a888247
fix: Do not print skipped CFs to the console
...
They are too verbose
1 year ago
Robert Dailey
8c7768891e
fix: Better handling of invalid CF cache entries
...
Due to changes in v4.1.1, sometimes invalid cache entries (zero-value)
were written to the cache. These are now treated as invalid and matches
by name will be performed.
Fixes #160
1 year ago
Robert Dailey
18edb84133
test: Use default for argument matcher
1 year ago
Robert Dailey
28fa09f328
fix: Set CF IDs when no cache entry is present
...
Fixes #160
1 year ago
Robert Dailey
7ad4654d85
fix: Remove unredacted request URI from log files on exception
1 year ago
Robert Dailey
fd216c1b60
fix: Service URL is now part of cache directory name
1 year ago
Robert Dailey
5c3da551bb
fix: Detect and warn about conflicting CFs during sync
1 year ago
Robert Dailey
350fd21358
refactor: Overhaul config validation logic
...
- Validation of custom formats in Sonarr v4 is now performed
1 year ago
Robert Dailey
6997f4ca6a
chore: Rider run configuration updates
1 year ago
Robert Dailey
d5cbdb8648
chore: Move test projects to a solution folder
1 year ago
Robert Dailey
fea6575ae8
style: Code cleanup on entire solution
1 year ago
Robert Dailey
3b44964479
feat: Add clear separation between instance logs in console output
1 year ago
Robert Dailey
a4be018c44
feat: More detail output for CF sync changes
1 year ago
Robert Dailey
0830d1d6c8
feat: Re-introduce the CF name field in cache for display purposes
...
The CF name in cache is needed when printing information about deleted
CFs to console output.
1 year ago
Robert Dailey
8023f7f011
fix: Use comments for group headers in custom format listing
1 year ago
Robert Dailey
7358521a7a
fix: Sort CFs alphabetically in CLI listing
1 year ago
Robert Dailey
3f393d9894
chore: Updates to Rider run configurations
1 year ago
Robert Dailey
d71bce4990
fix: Do not perform actual logic when doing preview
...
Fixes #158
1 year ago
Robert Dailey
f7a7902c2c
build: Update several package dependencies
1 year ago
Robert Dailey
08d1ced7b6
refactor: Newline after message, but before exception details
1 year ago
Robert Dailey
b3666ec3cb
refactor: Less verbose error messages
1 year 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
fc0daf631b
refactor: Address analysis issues
2 years ago
Robert Dailey
77603b6c93
refactor: Rename all projects to have Recyclarr prefix
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
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
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
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
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
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
2b28fb9c73
chore: Update Rider run configurations for .NET 7
2 years ago
Robert Dailey
360f683718
chore: Remove another riderMarkupCache.xml file
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
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
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