Skip to content

Commit

Permalink
make "local" package reference compile the source code (like "git-tag")
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Wilms committed Oct 31, 2024
1 parent ef9850c commit cace76f
Show file tree
Hide file tree
Showing 17 changed files with 198 additions and 949 deletions.
15 changes: 0 additions & 15 deletions Nexus.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nexus.Tests", "tests\Nexus.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nexus", "src\Nexus\Nexus.csproj", "{6DDD84D7-8FCF-4E49-A5DB-EAF95B0E040F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestExtensionProject", "tests\TestExtensionProject\TestExtensionProject.csproj", "{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-client", "src\clients\dotnet-client\dotnet-client.csproj", "{FD8E5EA0-674B-492D-8D1E-1D0B8374B71D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nexus.UI", "src\Nexus.UI\Nexus.UI.csproj", "{121840FD-19CC-4C48-86DE-AF0B6C70A089}"
Expand Down Expand Up @@ -84,18 +82,6 @@ Global
{6DDD84D7-8FCF-4E49-A5DB-EAF95B0E040F}.Release|x64.Build.0 = Release|Any CPU
{6DDD84D7-8FCF-4E49-A5DB-EAF95B0E040F}.Release|x86.ActiveCfg = Release|Any CPU
{6DDD84D7-8FCF-4E49-A5DB-EAF95B0E040F}.Release|x86.Build.0 = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|x64.ActiveCfg = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|x64.Build.0 = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|x86.ActiveCfg = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Debug|x86.Build.0 = Debug|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|Any CPU.Build.0 = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|x64.ActiveCfg = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|x64.Build.0 = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|x86.ActiveCfg = Release|Any CPU
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F}.Release|x86.Build.0 = Release|Any CPU
{FD8E5EA0-674B-492D-8D1E-1D0B8374B71D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FD8E5EA0-674B-492D-8D1E-1D0B8374B71D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FD8E5EA0-674B-492D-8D1E-1D0B8374B71D}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand Down Expand Up @@ -175,7 +161,6 @@ Global
GlobalSection(NestedProjects) = preSolution
{E8ADD668-F935-4AE3-B98B-8B6480ACE533} = {3DBD52E4-26F8-413F-A954-2BE86E572F3E}
{6DDD84D7-8FCF-4E49-A5DB-EAF95B0E040F} = {D4BFDD2B-4F50-4AF3-8906-6C003E70BA56}
{395E2F06-D665-4EEA-9BD7-2A2F8BCE4B7F} = {3DBD52E4-26F8-413F-A954-2BE86E572F3E}
{FD8E5EA0-674B-492D-8D1E-1D0B8374B71D} = {DF0E788F-9A27-498B-8B06-4626DD78B0B5}
{121840FD-19CC-4C48-86DE-AF0B6C70A089} = {D4BFDD2B-4F50-4AF3-8906-6C003E70BA56}
{AFCE2F13-F54D-439A-B796-DC3F32E1A12B} = {328E38EE-662B-42B8-8732-9CDFA632C469}
Expand Down
698 changes: 113 additions & 585 deletions src/Nexus/PackageManagement/PackageController.cs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/Nexus/Services/PackageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
using Nexus.Core;
using Nexus.Core.V1;
using Nexus.Utilities;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../../../../../src/extensibility/dotnet-extensibility/dotnet-extensibility.csproj">
<ExcludeAssets>runtime;native</ExcludeAssets>
</ProjectReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
using Microsoft.Extensions.Logging;
using Nexus.DataModel;
using Nexus.Extensibility;

namespace Nexus.Sources;

public class PackageControllerTestsSource : IDataSource
{
public Task SetContextAsync(DataSourceContext context, ILogger logger, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}

public Task<CatalogRegistration[]> GetCatalogRegistrationsAsync(string path, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}

public Task<ResourceCatalog> EnrichCatalogAsync(ResourceCatalog catalog, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}

public Task<(DateTime Begin, DateTime End)> GetTimeRangeAsync(string catalogId, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}

public Task<double> GetAvailabilityAsync(string catalogId, DateTime begin, DateTime end, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}

public Task ReadAsync(DateTime begin, DateTime end, ReadRequest[] requests, ReadDataHandler readData, IProgress<double> progress, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
}
Empty file.
Empty file.
Empty file.
Empty file.
Loading

0 comments on commit cace76f

Please sign in to comment.