chore: Rename C# CLI projects to Recyclarr

pull/63/head
Robert Dailey 2 years ago
parent 2424d28015
commit 0c11462af7

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/modules.xml
/projectSettingsUpdater.xml
/.idea.TrashUpdater.iml
/contentModel.xml

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

@ -3,11 +3,11 @@ using CliFx.Infrastructure;
using NSubstitute;
using NUnit.Framework;
using Serilog;
using Trash.Command;
using Recyclarr.Command;
// ReSharper disable MethodHasAsyncOverload
namespace Trash.Tests.Command;
namespace Recyclarr.Tests.Command;
[TestFixture]
[Parallelizable(ParallelScope.All)]

@ -2,10 +2,10 @@
using Autofac;
using FluentAssertions;
using NUnit.Framework;
using Trash.Command;
using Trash.Command.Helpers;
using Recyclarr.Command;
using Recyclarr.Command.Helpers;
namespace Trash.Tests.Command.Helpers;
namespace Recyclarr.Tests.Command.Helpers;
[TestFixture]
[Parallelizable(ParallelScope.All)]

@ -5,10 +5,10 @@ using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using TestLibrary.AutoFixture;
using Trash.Command;
using Recyclarr.Command;
using TrashLib.Sonarr;
namespace Trash.Tests.Command;
namespace Recyclarr.Tests.Command;
[TestFixture]
[Parallelizable(ParallelScope.All)]

@ -6,7 +6,7 @@ using FluentAssertions;
using NUnit.Framework;
using VersionControl;
namespace Trash.Tests;
namespace Recyclarr.Tests;
public record ServiceFactoryWrapper(Type Service, Action<ILifetimeScope> Instantiate);

@ -14,14 +14,14 @@ using NUnit.Framework;
using TestLibrary;
using TestLibrary.AutoFixture;
using TestLibrary.NSubstitute;
using Trash.Config;
using Recyclarr.Config;
using TrashLib.Config;
using TrashLib.Config.Services;
using TrashLib.Sonarr.Config;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.ObjectFactories;
namespace Trash.Tests.Config.Services;
namespace Recyclarr.Tests.Config.Services;
[TestFixture]
[Parallelizable(ParallelScope.All)]

@ -2,7 +2,7 @@ using System.IO.Abstractions;
using NSubstitute;
using NUnit.Framework;
namespace Trash.Tests;
namespace Recyclarr.Tests;
[TestFixture]
[Parallelizable(ParallelScope.All)]

@ -5,6 +5,6 @@
<ItemGroup>
<ProjectReference Include="..\TestLibrary\TestLibrary.csproj" />
<ProjectReference Include="..\Trash\Trash.csproj" />
<ProjectReference Include="..\Recyclarr\Recyclarr.csproj" />
</ItemGroup>
</Project>

@ -1,8 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Trash", "Trash\Trash.csproj", "{CD5C6F99-C587-4B7C-86AE-550FA4A5594A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recyclarr", "Recyclarr\Recyclarr.csproj", "{CD5C6F99-C587-4B7C-86AE-550FA4A5594A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Trash.Tests", "Trash.Tests\Trash.Tests.csproj", "{217D5972-4BB7-4343-9043-C30BD9A1811E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recyclarr.Tests", "Recyclarr.Tests\Recyclarr.Tests.csproj", "{217D5972-4BB7-4343-9043-C30BD9A1811E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLibrary", "TestLibrary\TestLibrary.csproj", "{49F28A82-468F-4C48-9A59-D41B8FE26D6E}"
EndProject

@ -1,4 +1,4 @@
namespace Trash;
namespace Recyclarr;
internal static class AppPaths
{

@ -7,7 +7,7 @@ using Common;
using JetBrains.Annotations;
using Serilog;
namespace Trash.Command;
namespace Recyclarr.Command;
[Command("create-config", Description = "Create a starter YAML configuration file")]
[UsedImplicitly]

@ -1,4 +1,4 @@
namespace Trash.Command.Helpers;
namespace Recyclarr.Command.Helpers;
public class ActiveServiceCommandProvider : IActiveServiceCommandProvider
{

@ -1,6 +1,6 @@
using TrashLib.Cache;
namespace Trash.Command.Helpers;
namespace Recyclarr.Command.Helpers;
public class CacheStoragePath : ICacheStoragePath
{

@ -1,6 +1,6 @@
using Autofac;
namespace Trash.Command.Helpers;
namespace Recyclarr.Command.Helpers;
internal static class CliTypeActivator
{

@ -1,4 +1,4 @@
namespace Trash.Command.Helpers;
namespace Recyclarr.Command.Helpers;
public enum ExitCode
{

@ -1,4 +1,4 @@
namespace Trash.Command.Helpers;
namespace Recyclarr.Command.Helpers;
public interface IActiveServiceCommandProvider
{

@ -1,4 +1,4 @@
namespace Trash.Command;
namespace Recyclarr.Command;
public interface IServiceCommand
{

@ -1,9 +1,9 @@
using CliFx.Attributes;
using Flurl.Http;
using JetBrains.Annotations;
using Recyclarr.Config;
using Serilog;
using Serilog.Core;
using Trash.Config;
using TrashLib.Config.Settings;
using TrashLib.Extensions;
using TrashLib.Radarr.Config;
@ -11,7 +11,7 @@ using TrashLib.Radarr.CustomFormat;
using TrashLib.Radarr.QualityDefinition;
using TrashLib.Repo;
namespace Trash.Command;
namespace Recyclarr.Command;
[Command("radarr", Description = "Perform operations on a Radarr instance")]
[UsedImplicitly]

@ -15,7 +15,7 @@ using TrashLib.Extensions;
using TrashLib.Repo;
using YamlDotNet.Core;
namespace Trash.Command;
namespace Recyclarr.Command;
public abstract class ServiceCommand : ICommand, IServiceCommand
{

@ -2,9 +2,9 @@
using CliFx.Exceptions;
using Flurl.Http;
using JetBrains.Annotations;
using Recyclarr.Config;
using Serilog;
using Serilog.Core;
using Trash.Config;
using TrashLib.Config.Settings;
using TrashLib.Repo;
using TrashLib.Sonarr;
@ -12,7 +12,7 @@ using TrashLib.Sonarr.Config;
using TrashLib.Sonarr.QualityDefinition;
using TrashLib.Sonarr.ReleaseProfile;
namespace Trash.Command;
namespace Recyclarr.Command;
[Command("sonarr", Description = "Perform operations on a Sonarr instance")]
[UsedImplicitly]

@ -5,10 +5,10 @@ using Autofac.Core.Activators.Reflection;
using CliFx;
using CliFx.Infrastructure;
using Common;
using Recyclarr.Command.Helpers;
using Recyclarr.Config;
using Serilog;
using Serilog.Core;
using Trash.Command.Helpers;
using Trash.Config;
using TrashLib.Cache;
using TrashLib.Config;
using TrashLib.Radarr;
@ -19,7 +19,7 @@ using TrashLib.Startup;
using VersionControl;
using YamlDotNet.Serialization;
namespace Trash;
namespace Recyclarr;
public static class CompositionRoot
{

@ -2,7 +2,7 @@ using System.Runtime.Serialization;
using System.Text;
using FluentValidation.Results;
namespace Trash.Config;
namespace Recyclarr.Config;
[Serializable]
public class ConfigurationException : Exception

@ -6,7 +6,7 @@ using YamlDotNet.Core;
using YamlDotNet.Core.Events;
using YamlDotNet.Serialization;
namespace Trash.Config;
namespace Recyclarr.Config;
public class ConfigurationLoader<T> : IConfigurationLoader<T>
where T : IServiceConfiguration

@ -1,6 +1,6 @@
using TrashLib.Config.Services;
namespace Trash.Config;
namespace Recyclarr.Config;
public interface IConfigurationLoader<out T>
where T : IServiceConfiguration

@ -2,7 +2,7 @@
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.ObjectFactories;
namespace Trash.Config;
namespace Recyclarr.Config;
public class ObjectFactory : IObjectFactory
{

@ -1,4 +1,4 @@
namespace Trash;
namespace Recyclarr;
public interface ILogJanitor
{

@ -1,6 +1,6 @@
using System.IO.Abstractions;
namespace Trash;
namespace Recyclarr;
public class LogJanitor : ILogJanitor
{

@ -3,9 +3,9 @@ using System.Text;
using Autofac;
using CliFx;
using CliFx.Infrastructure;
using Trash.Command.Helpers;
using Recyclarr.Command.Helpers;
namespace Trash;
namespace Recyclarr;
internal static class Program
{

@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>Trash</RootNamespace>
<AssemblyName>trash</AssemblyName>
<AssemblyName>recyclarr</AssemblyName>
<!-- Publish Settings -->
<PublishSingleFile>true</PublishSingleFile>

@ -1,6 +1,6 @@
using TrashLib.Radarr.Config;
namespace Trash;
namespace Recyclarr;
public class ResourcePaths : IResourcePaths
{
Loading…
Cancel
Save