From a71ed5aa96134ddb276eace806a3c740158a7a8a Mon Sep 17 00:00:00 2001
From: Stefan Negru <stefan@blankdots.com>
Date: Fri, 8 Dec 2023 12:53:11 +0200
Subject: [PATCH] fix sed so it replaces correctly the links in sda.md

---
 aggregate-repositories.sh | 2 +-
 docs/services/sda.md      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/aggregate-repositories.sh b/aggregate-repositories.sh
index cf05669..86415d3 100755
--- a/aggregate-repositories.sh
+++ b/aggregate-repositories.sh
@@ -31,7 +31,7 @@ do
 
     # add special use case for sda.md links
 
-    sed -i -E 's#cmd\/(.+)\/#''#g' docs/services/sda.md
+    sed -i -E 's#cmd\/([a-z0-9\-]+)\/#''#g' docs/services/sda.md
     git add docs/services/sda.md
 
     # check if there are any changes
diff --git a/docs/services/sda.md b/docs/services/sda.md
index 6c9a866..9c2a7a9 100644
--- a/docs/services/sda.md
+++ b/docs/services/sda.md
@@ -19,5 +19,5 @@ There are also additional support services:
 
 1. [Intercept](intercept.md) relays messages from `CentralEGA` to the system.
 2. [s3inbox](s3inbox.md) proxies uploads to the an S3 compatible storage backend.
-3. [sync]() project.
-4. [syncapi]() project for mirroring data between two installations of SDA.
+3. [sync](sync.md) The sync service mirrors ingested data between sites in the [Bigpicture](https://bigpicture.eu/) project.
+4. [syncapi](syncapi.md) The sync-api service is used in the [Bigpicture](https://bigpicture.eu/) project for mirroring data between two installations of SDA.