From 950b0cc1ce063642b54c50d6bad44b7d5cb38746 Mon Sep 17 00:00:00 2001 From: Andrew Cooke <45248509+cookeac@users.noreply.github.com> Date: Thu, 23 Sep 2021 19:29:51 +1200 Subject: [PATCH 1/3] Create stale.yml Added stale.yml with the parameters to mark 90+ day old issues as stale-issue, and to close them if no activity within a further 30 days. In theory this will normally give us two meetings to address (plus anyone can comment or modify an issue to reactivate it, including removing the stale-issue label I believe). --- .github/stale.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..a3c9652 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,19 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 90 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 30 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security + - next-major-release + - next-minor-release +# Label to use when marking an issue as stale +staleLabel: stale-issue +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false From 65a263f9a3a8fd812e57b36713a742325e5b8b6c Mon Sep 17 00:00:00 2001 From: Graham Moore Date: Fri, 14 Jan 2022 12:21:50 +0100 Subject: [PATCH 2/3] added resourceType property to icarResource and type catalog --- resources/icarResource.json | 4 +++ resources/resourceTypeCatalog.md | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 resources/resourceTypeCatalog.md diff --git a/resources/icarResource.json b/resources/icarResource.json index 1f10561..993869f 100644 --- a/resources/icarResource.json +++ b/resources/icarResource.json @@ -8,6 +8,10 @@ }, "properties": { + "resourceType" : { + "type": "string", + "description": "Uniform resource identifier (URI) or shortname of the logical resourceType. The ResourceType catalog defines the set of allowed resourceTyps." + }, "@self": { "type": "string", "description": "Uniform resource identifier (URI) of the resource (rel=self)." diff --git a/resources/resourceTypeCatalog.md b/resources/resourceTypeCatalog.md new file mode 100644 index 0000000..1c0eaf6 --- /dev/null +++ b/resources/resourceTypeCatalog.md @@ -0,0 +1,58 @@ +# ICAR Resource Type Catalog + +This document defines a set of URI identifiers and string short codes and maps them to ICAR resource types. + +The catalog is represented as a table with the columns, shortname, URI, link to resource resource type in github. + +To help with readability and conciseness the URIs are represnted as CURIs (concise URIs) where the prefix is: + +`icar` + +and the expansion is: + +`http://data.adewg.icar.org/core/` + + +Short Name | URI | JSON Resource Type Definition +--- | --- | --- +Animal | icar:Animal | icarAnimalCoreResource.json +AnimalSetJoinEvent | icar:AnimalSetJoinEvent | icarAnimalSetJoinEventResource.json +AnimalSetLeaveEvent | icar:AnimalSetLeaveEvent | icarAnimalSetLeaveEventResource.json +AnimalSet | icar:AnimalSet | icarAnimalSetResource.json +BreedingValue | icar:BreedingValue | icarBreedingValueResource.json +ConformationScoreEvent | icar:ConformationScoreEvent | icarConformationScoreEventResource.json +DailyMilkingAverages | icar:DailyMilkingAverages | icarDailyMilkingAveragesResource.json +Device | icar:Device | icarDeviceResource.json +DiagnosisEvent | icar:DiagnosisEvent | icarDiagnosisEventResource.json +FeedIntakeEvent | icar:FeedIntakeEvent | icarFeedIntakeEventResource.json +FeedRecommendation | icar:FeedRecommendation | icarFeedRecommendationResource.json +FeedReport | icar:FeedReport | icarFeedReportResource.json +Feed | icar:Feed | icarFeedResource.json +FeedStorage | icar:FeedStorage | icarFeedStorageResource.json +Gestation | icar:Gestation | icarGestationResource.json +Lactation | icar:Lactation | icarLactationResource.json +LactationStatusObservedEvent | icar:LactationStatusObservedEvent | icarLactationStatusObservedEventResource.json +Location | icar:Location | icarLocationResource.json +Medicine | icar:Medicine | icarMedicineResource.json +MilkingDryOffEvent | icar:MilkingDryOffEvent | icarMilkingDryOffEventResource.json +MilkingVisitEvent | icar:MilkingVisitEvent | icarMilkingVisitEventResource.json +MovementArrivalEvent | icar:MovementArrivalEvent | icarMovementArrivalEventResource.json +MovementBirthEvent | icar:MovementBirthEvent | icarMovementBirthEventResource.json +MovementDeathEvent | icar:MovementDeathEvent | icarMovementDeathEventResource.json +MovementDepartureEvent | icar:MovementDepartureEvent | icarMovementDepartureEventResource.json +Ration | icar:Ration | icarRationResource.json +ReproAbortionEvent | icar:ReproAbortionEvent | icarReproAbortionEventResource.json +ReproDoNotBreedEvent | icar:ReproDoNotBreedEvent | icarReproDoNotBreedEventResource.json +ReproEmbryo | icar:ReproEmbryo | icarReproEmbryoResource.json +ReproHeatEvent | icar:ReproHeatEvent | icarReproHeatEventResource.json +ReproInseminationEvent | icar:ReproInsemonationEvent | icarReproInsemonationEventResource.json +ReproMatingRecommendation | icar:ReproMatingRecommendation | icarReproMatingRecommendationResource.json +ReproParturitionEvent | icar:ReproParturitionEvent | icarReproParturitionEventResource.json +ReproSemenStraw | icar:ReproSemenStraw | icarReproSemenStrawResource.json +ReproStatusObservedEvent | icar:ReproStatusObservedEvent | icarReproStatusObservedEventResource.json +TestDay | icar:TestDay | icarTestDayResource.json +TestDayResult | icar:TestDayResult | icarTestDayResultResource.json +TreatmentEvent | icar:TreatmentEvent | icarTreatmentEventResource.json +TreatmentProgramEvent | icar:TreatmentProgramEvent | icarTreatmentProgramEventResource.json +WeightEvent | icar:WeightEvent | icarWeightEventResource.json + From 13322f1639fc2b76729691151afae89dfe30e697 Mon Sep 17 00:00:00 2001 From: Graham Moore Date: Mon, 21 Feb 2022 12:16:59 +0100 Subject: [PATCH 3/3] Delete stale.yml --- .github/stale.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index a3c9652..0000000 --- a/.github/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 90 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 30 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security - - next-major-release - - next-minor-release -# Label to use when marking an issue as stale -staleLabel: stale-issue -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false