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
Robert Dailey
af664139ce
chore(schema): Remove pattern from base_url in config schema
...
BaseURL can now be set via `!secret`, so it makes no sense to enforce a
pattern anymore.
2 years ago
Robert Dailey
a1914270ac
Merge branch 'git-cmd'
2 years ago
Robert Dailey
4f1e9b86bc
chore(docker): Add git to docker image
2 years ago
Robert Dailey
4d94b8533c
chore: Script to make running docker command easier
...
Use in Powershell like:
```
.\Run.ps1 radarr
```
Which translates to `recyclarr radarr`.
2 years ago
Robert Dailey
6811c2c816
refactor: Do not create the RepoDirectory on start up
...
Let the GitRepositoryFactory do it.
2 years ago
Robert Dailey
794c8733ef
test: Fix CompositionRoot tests
...
Some types do not get registered until later on after
CompositionRoot.Setup() is called. Use IntegrationFixture to fulfill
mock versions of those types.
2 years ago
Robert Dailey
d83edd9e2b
refactor: Add logging to GitRepository / Factory
2 years ago
Robert Dailey
46067dffb0
test: Do not use NotThrow() in composition root test
...
Because Fluent.Assertions does not print the full exception details when
you use `Should().NotThrow()`. See issue:
https://github.com/fluentassertions/fluentassertions/issues/2015
2 years ago
Robert Dailey
b34798eabb
feat!: Remove LibGit2Sharp Library
...
This library was causing numerous issues related to git operations. The
straw that broke the camel's back is that it does not do automatic
garbage collection (`git gc --auto`). So a user's repo directory
continues to grow in size.
The replacement is CliWrap, which is just a simple wrapper library that
allows easy execution of shell commands. Specifically, `git` commands.
BREAKING CHANGE: This change now requires the `git` executable to be
installed by the user if run on a host system. The git executable will
be provided automatically for the docker image.
2 years ago
Robert Dailey
f810749b32
chore: Shared run configs updated for .NET 7.0 paths
2 years ago
Robert Dailey
7fdca11bc4
revert: "chore: Move GitVersion.yml into src dir"
...
This reverts commit 724d2c41aa
.
2 years ago
Robert Dailey
9fc7444f3c
refactor: Fix ASP.NET warning
...
[ASP0012] Suggest using builder.Services instead of ConfigureServices
2 years ago
Robert Dailey
dd8b518735
build: Upgrade all Nuget packages
2 years ago
Robert Dailey
b5a692a710
build: Upgrade to .NET 7.0
2 years ago
Robert Dailey
1d604b141b
feat: Named instances support
...
Use mapping-style instead of array-style for instances in configuration
YAML.
2 years ago
Robert Dailey
4ae54d8f54
fix: Restore compare by name for CFs
...
This is still needed if there already exist CFs in Radarr/Sonarr with
the same name.
2 years ago
Robert Dailey
b13656dca5
docs(contrib): Section for conventional commits
2 years ago