From d9230d91407a3748564984aae5fea5faf4780439 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Fri, 23 Feb 2024 16:09:18 +0100 Subject: [PATCH] publish invenio package v1 --- scripts/publish-pending-packages.fsx | 2 +- .../Data/arc-validate-package-index.json | 26 +++++++++++++++---- .../StagingArea/invenio/invenio@1.0.0.fsx | 8 ++++++ 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/scripts/publish-pending-packages.fsx b/scripts/publish-pending-packages.fsx index 7693a8c..c756add 100644 --- a/scripts/publish-pending-packages.fsx +++ b/scripts/publish-pending-packages.fsx @@ -195,7 +195,7 @@ else with e -> failwith $"CreatePackage: [{i.RepoPath}]: failed with {System.Environment.NewLine}{e.Message}{System.Environment.NewLine}Package info:{System.Environment.NewLine}{AVPRClient.ValidationPackage.toJson p}" try - printfn $"[{i.Metadata.Name}@{i.Metadata.MajorVersion}.{i.Metadata.MinorVersion}.{i.Metadata.PatchVersion}]: Publishing package content hash...{System.Environment.NewLine}" + printfn $"[{i.Metadata.Name}@{i.Metadata.MajorVersion}.{i.Metadata.MinorVersion}.{i.Metadata.PatchVersion}]: Publishing package content hash..." client.CreatePackageContentHashAsync( AVPRClient.PackageContentHash.createOfIndex(i) ) diff --git a/src/PackageRegistryService/Data/arc-validate-package-index.json b/src/PackageRegistryService/Data/arc-validate-package-index.json index 50935e2..825872a 100644 --- a/src/PackageRegistryService/Data/arc-validate-package-index.json +++ b/src/PackageRegistryService/Data/arc-validate-package-index.json @@ -2,17 +2,33 @@ { "RepoPath": "src/PackageRegistryService/StagingArea/invenio/invenio@1.0.0.fsx", "FileName": "invenio@1.0.0.fsx", - "LastUpdated": "2024-02-12T13:12:41+01:00", + "LastUpdated": "2024-02-23T16:09:20+01:00", "Metadata": { "Name": "invenio", "Description": "Validates if the ARC contains the necessary metadata to be publishable via Invenio.\nThe following metadata is required:\n - Investigation has title and description\n - All persons in Investigation Contacts must have a name, last name, affiliation and valid email\n", "MajorVersion": 1, "MinorVersion": 0, "PatchVersion": 0, - "Publish": false, - "Authors": [], - "Tags": [], - "ReleaseNotes": "" + "Publish": true, + "Authors": [ + { + "FullName": "Oliver Maus", + "Email": "", + "Affiliation": "", + "AffiliationLink": "" + }, + { + "FullName": "", + "Email": "", + "Affiliation": "DataPLANT", + "AffiliationLink": "" + } + ], + "Tags": [ + "ARC", + "data publication" + ], + "ReleaseNotes": "Initial release" } }, { diff --git a/src/PackageRegistryService/StagingArea/invenio/invenio@1.0.0.fsx b/src/PackageRegistryService/StagingArea/invenio/invenio@1.0.0.fsx index f6596d8..0688576 100644 --- a/src/PackageRegistryService/StagingArea/invenio/invenio@1.0.0.fsx +++ b/src/PackageRegistryService/StagingArea/invenio/invenio@1.0.0.fsx @@ -9,6 +9,14 @@ Description: | MajorVersion: 1 MinorVersion: 0 PatchVersion: 0 +Publish: true +Authors: + - FullName: Oliver Maus + - Affiliation: DataPLANT +Tags: + - ARC + - data publication +ReleaseNotes: "Initial release" --- *)