ARCValidationPackages 3.0.0

dotnet add package ARCValidationPackages --version 3.0.0
NuGet\Install-Package ARCValidationPackages -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ARCValidationPackages" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ARCValidationPackages --version 3.0.0
#r "nuget: ARCValidationPackages, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ARCValidationPackages as a Cake Addin
#addin nuget:?package=ARCValidationPackages&version=3.0.0

// Install ARCValidationPackages as a Cake Tool
#tool nuget:?package=ARCValidationPackages&version=3.0.0

Package Description

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 85 4/30/2024
2.0.0-preview.1 66 2/5/2024
1.0.0 206 1/12/2024

3.0.0 release of the ArcValidationPackages API.
This library provides a set of functions to retrieve, cache, manage, and execute validation packages for ARCs.
2 package sources are supported:
- `Preview` packages are pulled from the `avpr-preview-index.json` file attached to the [Latest preview index release of the AVPR](https://github.com/nfdi4plants/arc-validate-package-registry/releases/tag/preview-index)
- `AVPR` packages are pulled directly via the [AVPR API](https://avpr.nfdi4plants.org/swagger/index.html)
The difference between theses sources is that `Preview` packages are a snapshot of the AVPR staging area, where packages could still changed, while `AVPR` packages are the final versions of the packages and immutable.
Note that matching versions available from both sources should be the same, but no guarantee is given. Stable packages should always be consumed from the AVPR API.
Locally installed packages are managed in a directory (by default, `<SpecialFolder.ApplicationData>/nfdi4plants/arc-validate` in ``) containing the following files and folders:
containing these files:
```
<SpecialFolder.ApplicationData>/nfdi4plants/arc-validate
│   validation-packages-config.json

├───package-cache-preview
│       validation-packages-cache.json

└───package-cache-release
validation-packages-cache.json
```
- validation-packages-config.json contains a local copy of the AVPR preview index and some config settings
- package-cache-preview contains `validation-packages-cache.json` file that contains metadata of installed preview validation packages, and the cached packages themselves
- package-cache-release contains `validation-packages-cache.json` file that contains metadata of installed AVPR validation packages, and the cached packages themselves
Installed validation packages can be executed via the `ScriptExecution` API, which uses FSI to execute the F# scripts.
A Top-level API using multiple integrated functions to perform common tasks is provided, consisting of the following classes:
- `Common` - Functionality that does not depend on the package source:
- `Preview` - Functionality for managing preview validation packages:
- `AVPR` - Functionality for managing AVPR validation packages: