Robert Dailey
016bcb6624
refactor: Centralize JSON serializer settings
1 year ago
Robert Dailey
8f267483a2
feat: Add list command for template includes
1 year ago
Robert Dailey
5bb2bfa8a0
feat: YAML includes
...
Fixes #175
1 year ago
Robert Dailey
175aa6733b
refactor: Reorganize config list command code
...
This is in preparation for changes to list template includes
1 year ago
Robert Dailey
802a0466c5
chore: Add includes to config schema
...
Also broke it up into separate include files.
1 year ago
Robert Dailey
3e86172831
refactor: Remove unneeded NotImplementedException
1 year ago
Robert Dailey
98c2fbd3e8
docs: Small wording fix in CONTRIBUTING.md
1 year ago
Robert Dailey
542b24baa4
build: Upgrade FluentAssertions.Analyzers
1 year ago
Robert Dailey
8d18f98901
ci: Move SonarCloud logic into a pwsh script
...
This allows running locally for testing purposes.
1 year ago
Robert Dailey
40dda4dfa3
chore(cl): Add change note about parallelized git repo updates
1 year ago
Robert Dailey
ef8ae7dd48
refactor: Centralize repo updating
...
Repo updating is also a little more robust now.
1 year ago
Robert Dailey
b5c49d81c5
test: Suppress NSubstitute NS5000
...
Reason: https://github.com/nsubstitute/NSubstitute.Analyzers/issues/211
1 year ago
Robert Dailey
38755aa81a
refactor: Remove System.IO.Abstractions.Extension namespace usage
1 year ago
Robert Dailey
bda8dabd01
build: Upgrade all nuget packages
1 year ago
Robert Dailey
6ac1f0a1f0
chore: Exclude all but CS files in SonarLint
1 year ago
Robert Dailey
cecc261c93
chore: Update gitignore
1 year ago
Robert Dailey
9365e2649f
ci: fix sonarcloud deprecations
...
- Use `sonar.token` instead of `sonar.login` since the latter is
deprecated.
- Explicitly install Java 17 since v11 (bundled by default) is
deprecated by Sonarcloud.
Caching was not implemented this time around because it's not possible
to cache analysis results yet, only the installed binaries. See this
thread for information:
https://community.sonarsource.com/t/proper-caching-for-ci-builds/98320/2
1 year ago
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