Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/detectors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

| Detector | Status |
| ----------------------- | ------------ |
| UvLockComponentDetector | Experimental |
| UvLockComponentDetector | Stable |

- [Vcpkg](vcpkg.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/detectors/uv.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Detection strategy

uv detection is performed by parsing a <em>uv.lock</em> found under the scan directory.
uv detection is performed by parsing a _uv.lock_ found under the scan directory.

Full dependency graph generation is supported.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.ComponentDetection.Detectors.Uv;
using Microsoft.ComponentDetection.Detectors.Pip;
using Microsoft.Extensions.Logging;

public class UvLockComponentDetector : FileComponentDetector, IExperimentalDetector
public class UvLockComponentDetector : FileComponentDetector
{
public UvLockComponentDetector(
IComponentStreamEnumerableFactory componentStreamEnumerableFactory,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public static IServiceCollection AddComponentDetection(this IServiceCollection s
services.AddSingleton<IExperimentService, ExperimentService>();
services.AddSingleton<IExperimentProcessor, DefaultExperimentProcessor>();
services.AddSingleton<IExperimentConfiguration, SimplePipExperiment>();
services.AddSingleton<IExperimentConfiguration, UvLockDetectorExperiment>();
services.AddSingleton<IExperimentConfiguration, CondaLockDetectorExperiment>();
services.AddSingleton<IExperimentConfiguration, LinuxApplicationLayerExperiment>();
services.AddSingleton<IExperimentConfiguration, MSBuildBinaryLogExperiment>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ public void AllDetectorsHaveUniqueSupportedComponentTypes()
}

[TestMethod]
public void UvLockComponentDetector_ImplementsIExperimentalDetector()
public void UvLockComponentDetector_DoesNotImplementIExperimentalDetector()
{
var uvLockDetector = this.detectors.SingleOrDefault(d => d.Id == "UvLock");

uvLockDetector.Should().NotBeNull("because UvLockComponentDetector should be registered");
uvLockDetector.Should().BeAssignableTo<IExperimentalDetector>("because UvLockComponentDetector should implement IExperimentalDetector");
uvLockDetector.Should().NotBeAssignableTo<IExperimentalDetector>("because UvLockComponentDetector should not implement IExperimentalDetector");
}

[TestMethod]
Expand Down

This file was deleted.

Loading