From 852adf799937a4bcec39c5c1177acb6062f69d97 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 17 Dec 2023 10:51:57 -0500 Subject: [PATCH 1/2] BF: we need to announce /app to be safe for git since owner differs --- docker-compose.dev.local.override.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.dev.local.override.yml b/docker-compose.dev.local.override.yml index 5c94d2cc..7b9532d0 100644 --- a/docker-compose.dev.local.override.yml +++ b/docker-compose.dev.local.override.yml @@ -5,7 +5,7 @@ services: web: command: [ "bash", "-c", - "pip3 install -U -e . && flask init-db && flask run --host=0.0.0.0 --debug" ] + "git config --global --add safe.directory /app && pip3 install -U -e . && flask init-db && flask run --host=0.0.0.0 --debug" ] volumes: - ./:/app - ./instance:/app/instance From 499817fc78e0667a100c7de6d1fe27b1d7364517 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 17 Dec 2023 11:00:35 -0500 Subject: [PATCH 2/2] ENH: make ds id column value into a hyperlink to search for that uuid --- datalad_registry/templates/overview.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/datalad_registry/templates/overview.html b/datalad_registry/templates/overview.html index 6bd89934..41c46cff 100644 --- a/datalad_registry/templates/overview.html +++ b/datalad_registry/templates/overview.html @@ -79,7 +79,11 @@ {%- for i in pagination -%} {{ i.url }} - {{ i.ds_id if i.ds_id is not none }} + + {% if i.ds_id is not none %} + {{ i.ds_id }} + {% endif %} + {{ i.head_describe if i.head_describe is not none }}