mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
Separate out old site code into Legacy project
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
using SabreTools.RedumpLib.Attributes;
|
using SabreTools.RedumpLib.Attributes;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Attributes
|
namespace SabreTools.RedumpLib.Legacy.Attributes
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attribute specifc to Redump System values
|
/// Attribute specifc to Redump System values
|
||||||
@@ -2,9 +2,9 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Converters
|
namespace SabreTools.RedumpLib.Legacy.Converters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Serialize LanguageSelection enum values
|
/// Serialize LanguageSelection enum values
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Converters
|
namespace SabreTools.RedumpLib.Legacy.Converters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Serialize PhysicalSystem enum values
|
/// Serialize PhysicalSystem enum values
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Converters
|
namespace SabreTools.RedumpLib.Legacy.Converters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Serialize Region enum values
|
/// Serialize Region enum values
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data
|
namespace SabreTools.RedumpLib.Legacy.Data
|
||||||
{
|
{
|
||||||
public static class Constants
|
public static class Constants
|
||||||
{
|
{
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Attributes;
|
using SabreTools.RedumpLib.Legacy.Attributes;
|
||||||
using HumanReadableAttribute = SabreTools.RedumpLib.Attributes.HumanReadableAttribute;
|
using HumanReadableAttribute = SabreTools.RedumpLib.Attributes.HumanReadableAttribute;
|
||||||
using LanguageCodeAttribute = SabreTools.RedumpLib.Attributes.LanguageCodeAttribute;
|
using LanguageCodeAttribute = SabreTools.RedumpLib.Attributes.LanguageCodeAttribute;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data
|
namespace SabreTools.RedumpLib.Legacy.Data
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// List of all disc subpaths
|
/// List of all disc subpaths
|
||||||
@@ -2,10 +2,10 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SabreTools.RedumpLib.Attributes;
|
using SabreTools.RedumpLib.Attributes;
|
||||||
using MediaType = SabreTools.RedumpLib.Data.MediaType;
|
using MediaType = SabreTools.RedumpLib.Data.MediaType;
|
||||||
using SystemAttribute = SabreTools.RedumpLib.RedumpOrg.Attributes.SystemAttribute;
|
using SystemAttribute = SabreTools.RedumpLib.Legacy.Attributes.SystemAttribute;
|
||||||
using SystemCategory = SabreTools.RedumpLib.Data.SystemCategory;
|
using SystemCategory = SabreTools.RedumpLib.Data.SystemCategory;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data
|
namespace SabreTools.RedumpLib.Legacy.Data
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Information pertaining to Redump systems
|
/// Information pertaining to Redump systems
|
||||||
@@ -6,7 +6,7 @@ using DiscCategory = SabreTools.RedumpLib.Data.DiscCategory;
|
|||||||
using MediaType = SabreTools.RedumpLib.Data.MediaType;
|
using MediaType = SabreTools.RedumpLib.Data.MediaType;
|
||||||
using SiteCode = SabreTools.RedumpLib.Data.SiteCode;
|
using SiteCode = SabreTools.RedumpLib.Data.SiteCode;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Common disc info section of New Disc Form
|
/// Common disc info section of New Disc Form
|
||||||
@@ -4,7 +4,7 @@ using Newtonsoft.Json;
|
|||||||
using SabreTools.RedumpLib.Converters;
|
using SabreTools.RedumpLib.Converters;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Copy protection section of New Disc form
|
/// Copy protection section of New Disc form
|
||||||
@@ -2,7 +2,7 @@ using System;
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Dumpers and status section of New Disc form (Moderator only)
|
/// Dumpers and status section of New Disc form (Moderator only)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Dumping info section for moderation
|
/// Dumping info section for moderation
|
||||||
@@ -3,7 +3,7 @@ using Newtonsoft.Json;
|
|||||||
using SabreTools.RedumpLib.Converters;
|
using SabreTools.RedumpLib.Converters;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// EDC section of New Disc form (PSX only)
|
/// EDC section of New Disc form (PSX only)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extras section of New Disc form
|
/// Extras section of New Disc form
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Parent/Clone relationship section of New Disc form
|
/// Parent/Clone relationship section of New Disc form
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Size & checksums section of New Disc form (DVD/BD/UMD-based)
|
/// Size & checksums section of New Disc form (DVD/BD/UMD-based)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Tracks and write offsets section of New Disc form (CD/GD-based)
|
/// Tracks and write offsets section of New Disc form (CD/GD-based)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data.Sections
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Version and editions section of New Disc form
|
/// Version and editions section of New Disc form
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data.Sections;
|
using SabreTools.RedumpLib.Legacy.Data.Sections;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Data
|
namespace SabreTools.RedumpLib.Legacy.Data
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// redump.org submission page information
|
/// redump.org submission page information
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Assembly Properties -->
|
||||||
|
<TargetFrameworks>net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0;netstandard2.0;netstandard2.1</TargetFrameworks>
|
||||||
|
<IncludeSymbols>true</IncludeSymbols>
|
||||||
|
<LangVersion>latest</LangVersion>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
<Version>2.0.8</Version>
|
||||||
|
|
||||||
|
<!-- Package Properties -->
|
||||||
|
<Authors>Matt Nadareski</Authors>
|
||||||
|
<Description>Code to interact with redump.org</Description>
|
||||||
|
<Copyright>Copyright (c) Matt Nadareski 2020-2026</Copyright>
|
||||||
|
<PackageProjectUrl>https://github.com/SabreTools/</PackageProjectUrl>
|
||||||
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
|
<RepositoryUrl>https://github.com/SabreTools/SabreTools.RedumpLib</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>web client redump</PackageTags>
|
||||||
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<InternalsVisibleTo Include="SabreTools.RedumpLib.Test" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="../README.md" Pack="true" PackagePath="" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SabreTools.RedumpLib\SabreTools.RedumpLib.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="MinAsyncBridge" Version="0.12.4" Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net40`))" />
|
||||||
|
<PackageReference Include="Net35.Actions" Version="1.4.0" Condition="$(TargetFramework.StartsWith(`net2`))" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -6,11 +6,12 @@ using System.Net;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using Constants = SabreTools.RedumpLib.RedumpOrg.Data.Constants;
|
using SabreTools.RedumpLib.Legacy.Web;
|
||||||
using Language = SabreTools.RedumpLib.RedumpOrg.Data.Language;
|
using Constants = SabreTools.RedumpLib.Legacy.Data.Constants;
|
||||||
using SubmissionInfo = SabreTools.RedumpLib.RedumpOrg.Data.SubmissionInfo;
|
using Language = SabreTools.RedumpLib.Legacy.Data.Language;
|
||||||
|
using SubmissionInfo = SabreTools.RedumpLib.Legacy.Data.SubmissionInfo;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Tools
|
namespace SabreTools.RedumpLib.Legacy.Tools
|
||||||
{
|
{
|
||||||
public static class Builder
|
public static class Builder
|
||||||
{
|
{
|
||||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data.Sections;
|
using SabreTools.RedumpLib.Legacy.Data.Sections;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
using SubmissionInfo = SabreTools.RedumpLib.RedumpOrg.Data.SubmissionInfo;
|
using SubmissionInfo = SabreTools.RedumpLib.Legacy.Data.SubmissionInfo;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Tools
|
namespace SabreTools.RedumpLib.Legacy.Tools
|
||||||
{
|
{
|
||||||
public static class Formatter
|
public static class Formatter
|
||||||
{
|
{
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using Constants = SabreTools.RedumpLib.RedumpOrg.Data.Constants;
|
using SabreTools.RedumpLib.Legacy.Web;
|
||||||
using SubmissionInfo = SabreTools.RedumpLib.RedumpOrg.Data.SubmissionInfo;
|
using Constants = SabreTools.RedumpLib.Legacy.Data.Constants;
|
||||||
|
using SubmissionInfo = SabreTools.RedumpLib.Legacy.Data.SubmissionInfo;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg.Tools
|
namespace SabreTools.RedumpLib.Legacy.Tools
|
||||||
{
|
{
|
||||||
public static class Validator
|
public static class Validator
|
||||||
{
|
{
|
||||||
@@ -10,16 +10,16 @@ using System.Text;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
using SabreTools.RedumpLib.Web;
|
using SabreTools.RedumpLib.Web;
|
||||||
using Constants = SabreTools.RedumpLib.RedumpOrg.Data.Constants;
|
using Constants = SabreTools.RedumpLib.Legacy.Data.Constants;
|
||||||
using DiscSubpath = SabreTools.RedumpLib.RedumpOrg.Data.DiscSubpath;
|
using DiscSubpath = SabreTools.RedumpLib.Legacy.Data.DiscSubpath;
|
||||||
using Language = SabreTools.RedumpLib.RedumpOrg.Data.Language;
|
using Language = SabreTools.RedumpLib.Legacy.Data.Language;
|
||||||
using PackType = SabreTools.RedumpLib.RedumpOrg.Data.PackType;
|
using PackType = SabreTools.RedumpLib.Legacy.Data.PackType;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
using Region = SabreTools.RedumpLib.RedumpOrg.Data.Region;
|
using Region = SabreTools.RedumpLib.Legacy.Data.Region;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg
|
namespace SabreTools.RedumpLib.Legacy.Web
|
||||||
{
|
{
|
||||||
public class Client
|
public class Client
|
||||||
{
|
{
|
||||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.Web;
|
using SabreTools.RedumpLib.Web;
|
||||||
using DiscSubpath = SabreTools.RedumpLib.RedumpOrg.Data.DiscSubpath;
|
using DiscSubpath = SabreTools.RedumpLib.Legacy.Data.DiscSubpath;
|
||||||
using Language = SabreTools.RedumpLib.RedumpOrg.Data.Language;
|
using Language = SabreTools.RedumpLib.Legacy.Data.Language;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
using Region = SabreTools.RedumpLib.RedumpOrg.Data.Region;
|
using Region = SabreTools.RedumpLib.Legacy.Data.Region;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg
|
namespace SabreTools.RedumpLib.Legacy.Web
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains logic for dealing with disc pages
|
/// Contains logic for dealing with disc pages
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using PackType = SabreTools.RedumpLib.RedumpOrg.Data.PackType;
|
using PackType = SabreTools.RedumpLib.Legacy.Data.PackType;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg
|
namespace SabreTools.RedumpLib.Legacy.Web
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains logic for dealing with packs
|
/// Contains logic for dealing with packs
|
||||||
@@ -1,16 +1,16 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg.Data;
|
using SabreTools.RedumpLib.Legacy.Data;
|
||||||
using DiscSubpath = SabreTools.RedumpLib.RedumpOrg.Data.DiscSubpath;
|
using DiscSubpath = SabreTools.RedumpLib.Legacy.Data.DiscSubpath;
|
||||||
using Language = SabreTools.RedumpLib.RedumpOrg.Data.Language;
|
using Language = SabreTools.RedumpLib.Legacy.Data.Language;
|
||||||
using PackType = SabreTools.RedumpLib.RedumpOrg.Data.PackType;
|
using PackType = SabreTools.RedumpLib.Legacy.Data.PackType;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
using Region = SabreTools.RedumpLib.RedumpOrg.Data.Region;
|
using Region = SabreTools.RedumpLib.Legacy.Data.Region;
|
||||||
|
|
||||||
// TODO: Errors should validate number or number range (# or #-#)
|
// TODO: Errors should validate number or number range (# or #-#)
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg
|
namespace SabreTools.RedumpLib.Legacy.Web
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// URL builder helper
|
/// URL builder helper
|
||||||
@@ -2,7 +2,7 @@ using System.Collections.Generic;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SabreTools.RedumpLib.Web;
|
using SabreTools.RedumpLib.Web;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.RedumpOrg
|
namespace SabreTools.RedumpLib.Legacy.Web
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains logic for dealing with WIP queue
|
/// Contains logic for dealing with WIP queue
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using SabreTools.RedumpLib.Data;
|
using SabreTools.RedumpLib.Data;
|
||||||
using SabreTools.RedumpLib.RedumpOrg;
|
using SabreTools.RedumpLib.Legacy.Web;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using DiscSubpath = SabreTools.RedumpLib.RedumpOrg.Data.DiscSubpath;
|
using DiscSubpath = SabreTools.RedumpLib.Legacy.Data.DiscSubpath;
|
||||||
using PackType = SabreTools.RedumpLib.RedumpOrg.Data.PackType;
|
using PackType = SabreTools.RedumpLib.Legacy.Data.PackType;
|
||||||
using PhysicalSystem = SabreTools.RedumpLib.RedumpOrg.Data.PhysicalSystem;
|
using PhysicalSystem = SabreTools.RedumpLib.Legacy.Data.PhysicalSystem;
|
||||||
|
|
||||||
namespace SabreTools.RedumpLib.Test.RedumpOrg
|
namespace SabreTools.RedumpLib.Test.RedumpOrg
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SabreTools.RedumpLib\SabreTools.RedumpLib.csproj" />
|
<ProjectReference Include="..\SabreTools.RedumpLib\SabreTools.RedumpLib.csproj" />
|
||||||
|
<ProjectReference Include="..\SabreTools.RedumpLib.Legacy\SabreTools.RedumpLib.Legacy.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -9,26 +9,68 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SabreTools.RedumpLib.Test",
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedumpTool", "RedumpTool\RedumpTool.csproj", "{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedumpTool", "RedumpTool\RedumpTool.csproj", "{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SabreTools.RedumpLib.Legacy", "SabreTools.RedumpLib.Legacy\SabreTools.RedumpLib.Legacy.csproj", "{B3152741-44EC-43C3-9DED-439FA1471587}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
Release|x64 = Release|x64
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
Release|x86 = Release|x86
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|Any CPU.Build.0 = Release|Any CPU
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{235D3A36-CA69-4348-9EC4-649B27ACFBB8}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|Any CPU.Build.0 = Release|Any CPU
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{63519DEA-0C3D-4F0E-95EB-E9B6E1D55378}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|Any CPU.Build.0 = Release|Any CPU
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{556F7AA0-00D7-4D5B-96EB-D436FEFD9810}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B3152741-44EC-43C3-9DED-439FA1471587}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<InternalsVisibleTo Include="SabreTools.RedumpLib.Legacy" />
|
||||||
<InternalsVisibleTo Include="SabreTools.RedumpLib.Test" />
|
<InternalsVisibleTo Include="SabreTools.RedumpLib.Test" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ then
|
|||||||
|
|
||||||
# Create Nuget Package
|
# Create Nuget Package
|
||||||
dotnet pack SabreTools.RedumpLib/SabreTools.RedumpLib.csproj --output $BUILD_FOLDER
|
dotnet pack SabreTools.RedumpLib/SabreTools.RedumpLib.csproj --output $BUILD_FOLDER
|
||||||
|
dotnet pack SabreTools.RedumpLib.Legacy/SabreTools.RedumpLib.Legacy.csproj --output $BUILD_FOLDER
|
||||||
|
|
||||||
# Build Tool
|
# Build Tool
|
||||||
for FRAMEWORK in "${FRAMEWORKS[@]}"; do
|
for FRAMEWORK in "${FRAMEWORKS[@]}"; do
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ if (!$NO_BUILD.IsPresent)
|
|||||||
|
|
||||||
# Create Nuget Package
|
# Create Nuget Package
|
||||||
dotnet pack SabreTools.RedumpLib\SabreTools.RedumpLib.csproj --output $BUILD_FOLDER
|
dotnet pack SabreTools.RedumpLib\SabreTools.RedumpLib.csproj --output $BUILD_FOLDER
|
||||||
|
dotnet pack SabreTools.RedumpLib.Legacy\SabreTools.RedumpLib.Legacy.csproj --output $BUILD_FOLDER
|
||||||
|
|
||||||
# Build Tool
|
# Build Tool
|
||||||
foreach ($FRAMEWORK in $FRAMEWORKS) {
|
foreach ($FRAMEWORK in $FRAMEWORKS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user