From dbd6903dfdd90948c0c0d430d25eaaacf24c4aa3 Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Mon, 17 Jun 2024 14:40:41 +0200 Subject: [PATCH 1/2] chore: Refactor StacStoreService.cs to optimize link grouping --- src/Stars.Services/Store/StacStoreService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stars.Services/Store/StacStoreService.cs b/src/Stars.Services/Store/StacStoreService.cs index c376de0b..2b3940a9 100644 --- a/src/Stars.Services/Store/StacStoreService.cs +++ b/src/Stars.Services/Store/StacStoreService.cs @@ -260,7 +260,7 @@ private void RemoveDuplicateLinks(StacNode stacNode) IStacObject stacObject = stacNode.StacObject; if (stacObject == null) return; - var links = stacObject.Links.GroupBy(link => link.Uri).Select(grp => grp.First()).ToList(); + var links = stacObject.Links.GroupBy(link => (link.Uri, link.RelationshipType)).Select(grp => grp.First()).ToList(); stacObject.Links.Clear(); foreach (var link in links) stacObject.Links.Add(link); From 9e5f078561cc4e35bd29096942014944d0a545ed Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Mon, 17 Jun 2024 14:41:13 +0200 Subject: [PATCH 2/2] Bump version to 2.24.6 --- CHANGELOG.md | 12 ++++++++++++ src/Stars.Console/Terradue.Stars.Console.csproj | 2 +- src/Stars.Data/Terradue.Stars.Data.csproj | 2 +- src/Stars.Services/Terradue.Stars.Services.csproj | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d566617c..c7e13a5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +## [2.24.5](https://github.com/Terradue/Stars/compare/2.24.4...2.24.5) - 2024-06-17 + +### Commits + +- Bump version to 2.24.5 [`3db7ea0`](https://github.com/Terradue/Stars/commit/3db7ea0864b7da6ee456addcbca7ea3fa6039650) + +## [2.24.4](https://github.com/Terradue/Stars/compare/2.24.3...2.24.4) - 2024-06-17 + +### Commits + +- Bump version to 2.24.4 [`b70a8ee`](https://github.com/Terradue/Stars/commit/b70a8ee3f113a82964a1e725a5966af0db1f5bae) + ## [2.24.2](https://github.com/Terradue/Stars/compare/2.24.1...2.24.2) - 2024-06-13 ### Commits diff --git a/src/Stars.Console/Terradue.Stars.Console.csproj b/src/Stars.Console/Terradue.Stars.Console.csproj index d8621442..2df27433 100644 --- a/src/Stars.Console/Terradue.Stars.Console.csproj +++ b/src/Stars.Console/Terradue.Stars.Console.csproj @@ -2,7 +2,7 @@ Exe net6.0 - 2.24.5 + 2.24.6 Stars is a CLI for working with Spatio Temporal Catalog such as STAC but not only $(Version)-$(VersionSuffix) diff --git a/src/Stars.Data/Terradue.Stars.Data.csproj b/src/Stars.Data/Terradue.Stars.Data.csproj index 5a409e1d..989cd2ca 100644 --- a/src/Stars.Data/Terradue.Stars.Data.csproj +++ b/src/Stars.Data/Terradue.Stars.Data.csproj @@ -4,7 +4,7 @@ Terradue.Stars.Data Terradue.Stars.Data Collection of data Plugins for Terradue.Stars - 2.24.5 + 2.24.6 $(Version)-$(VersionSuffix) NU1603 diff --git a/src/Stars.Services/Terradue.Stars.Services.csproj b/src/Stars.Services/Terradue.Stars.Services.csproj index 754fea45..695bf9a0 100644 --- a/src/Stars.Services/Terradue.Stars.Services.csproj +++ b/src/Stars.Services/Terradue.Stars.Services.csproj @@ -3,7 +3,7 @@ netstandard2.0 Terradue.Stars Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only - 2.24.5 + 2.24.6 $(Version)-$(VersionSuffix) Terradue.Stars.Services