Robert Dailey
06cdd992e9
chore: Add SonarLint settings for Rider
1 year ago
Robert Dailey
740f775aeb
build: Remove SonarAnalyzer.CSharp package
1 year ago
Robert Dailey
bede64eadd
refactor: Rework ConfigCreation unit tests
1 year ago
Robert Dailey
3a50b9fa61
fix: Add validation for duplicate instances
...
Two separate duplicate checks have been introduced:
1. Within the same YAML file, YamlDotNet has been instructed to error on
duplicate keys.
2. Between different YAML files, custom logic enforces that there should
be no duplicate instance names.
1 year ago
Robert Dailey
6706a87972
test: Relocate & rename config extensions test
1 year ago
Robert Dailey
3255dc68eb
test: Fix broken unit test after scoreless CF changes
1 year ago
Robert Dailey
b409dd7c2d
build: Globally use package SonarAnalyzer.CSharp
1 year ago
Robert Dailey
f52d73cdaf
fix: Less verbose logging for scoreless CFs
1 year ago
Robert Dailey
0b82c3bea3
fix: Better processing for HTTP 500 service responses
...
Fixes #206 .
1 year ago
Robert Dailey
372fd804fe
refactor: Replace TestCorrelator with Observable sink
...
This replacement is necessary to support parallelized unit tests.
TestCorrelator as well as even the InMemory sink rely on static objects,
which makes multithreaded tests impossible.
1 year ago
Robert Dailey
9d72a01c73
chore(style): Disable constructor suggestion
...
Rule: "Convert constructor into member initializers"
1 year ago
Robert Dailey
3d2593962f
chore(cl): Add issue number to changelog item
1 year ago
Robert Dailey
aaf810fd68
feat: Print completed date & time after each instance sync
1 year ago
Robert Dailey
fb128f90bc
release: v5.3.1
1 year ago
Robert Dailey
4d7a5f49c3
fix: NRE when `reset_unmatched_scores` not present
1 year ago
Robert Dailey
f3f95b3cd6
release: v5.3.0
1 year ago
Robert Dailey
3f5960c414
feat: Add score sets and raw output to list custom-formats
1 year ago
Robert Dailey
81ab62eca2
chore(schema): Update config schema for `score_set`
1 year ago
Robert Dailey
4f52201ede
feat: Support for "score sets" in quality profiles
...
A score set is a collection of scores defined by a single custom format
JSON data file in the TRaSH Guides. Score sets provide a way to define
"themes" for scores that get used across multiple custom formats.
This feature adds the `score_sets` property to the top-level
`quality_profiles` objects.
1 year ago
Robert Dailey
f9ba985d1f
fix: Grab scores from the `trash_scores` object in CF json data
...
The `default` key is assigned a score intended to replace the old
`trash_score` property.
1 year ago
Robert Dailey
4935377a4b
refactor: Remove GetOrDefault method
...
Replaced with .NET's `GetValueOrDefault()`
1 year ago
Robert Dailey
2d97d47b17
ci: Update 'branches' setting in a few workflows
...
The goal is to ensure that tags are consistently excluded from
triggering these workflows.
1 year ago
Robert Dailey
c4bd5b2fae
style: Solution-wide code cleanup to CS files
1 year ago
Robert Dailey
8b350b5bce
feat: Add exclusions support to 'reset_unmatched_scores'
...
A new `except` property is provided under `reset_unmatched_scores` to
list one or more custom format names to exclude when resetting scores.
1 year ago
Robert Dailey
c033dd8a13
refactor: Change structure of processed QP object
1 year ago
Robert Dailey
de0c6be1d9
fix: Move log context up to ConfigurationLoader
...
This allows log context to be available when validation warnings &
errors are printed.
1 year ago
Robert Dailey
4b3542fc7a
fix: Add a check for Sonarr v3 in the delete CFs command
1 year ago
Robert Dailey
f6465316d2
feat: New delete custom-formats command
...
For deleting one or many custom formats from a specific Sonarr or Radarr
service.
1 year ago
Robert Dailey
a84c8a0efc
refactor: Improve service connection error message
...
When unable to connect to a service, we no longer send a confusing
message saying capabilities could not be obtained. This also involved
removing nullability in a few places to simplify logic an error
handling.
1 year ago
Robert Dailey
3ac1de9c94
refactor: Rename placement argument for service
1 year ago
Robert Dailey
c713b99747
refactor: Make out variables inline
1 year ago
Robert Dailey
c9d015f492
test: Fix newline insertion in MockYaml method
1 year ago
Robert Dailey
3e7fd835b9
ci: Fix sonarcloud not running on branches
...
This is because `tags-ignore` causes implicitly branches to be ignored.
1 year ago
Robert Dailey
0f88f2a306
fix: Detect & fail on split instance config files
...
When the same `base_url` is used between two or more config files, this
is an error the user must fix manually.
1 year ago
Robert Dailey
58861a4edd
build: Upgrade all nuget packages
1 year ago
Robert Dailey
b79a71a1cf
test: Fix broken tests due to mistakenly removed whitespace
1 year ago
Robert Dailey
c190d5e6d6
refactor: Use raw string literals for multi-line strings
1 year ago
Robert Dailey
c3b7e973b2
chore: tar.xz archives now set UID and GID to 0
...
The reason for this is to avoid the need for `--no-same-owner` when
extracting the archive as a super user (e.g. `sudo`). Without this
change, the UID and GID of `recyclarr` after it is extracted is whatever
user was used in github actions to create the archive, which isn't
really useful.
This change does not affect extractions as normal users; by default, the
UID/GID inside the archive is not used in those cases.
1 year ago
Robert Dailey
c44682ea51
chore: Fix incorrect archive target path
1 year ago
Robert Dailey
d718aa7408
release: v5.2.1
1 year ago
Robert Dailey
d6fc96f247
fix: Allow quality group names to duplicate quality names.
...
Fixes #200
1 year ago
Robert Dailey
e6924c10e4
fix: Better error message when no config files are found
1 year ago
Robert Dailey
028f9be125
refactor: Remove TODO comment
...
This is in favor of a TODO item put in issue #202
1 year ago
Robert Dailey
a6e737fae9
fix: Improve repo clone performance by using shallow clones
...
Fixes #201 .
1 year ago
Robert Dailey
7376cdbabc
ci: SonarCloud workflow ignores pushes to tags
1 year ago
Robert Dailey
08aa4d0346
release: v5.2.0
1 year ago
Robert Dailey
3a7654b4da
docs(cl): Add issue number to QP feature
1 year ago
Robert Dailey
01fdc0639f
fix: Output more detail about HTTP 4xx "bad data" responses
1 year ago
Robert Dailey
aa8140add4
refactor: Print more information about QP updates
1 year ago
Robert Dailey
e0da419ffa
refactor: Address several analysis warnings
1 year ago