From e315f50e20ff7f0aadbc05764254fab3acf398d7 Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Thu, 17 Jul 2025 16:37:53 +0100 Subject: [PATCH 1/5] Adding redirect for DRS schema --- ga4gh/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index d7f0a606e..a283ae28f 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -19,6 +19,7 @@ RewriteRule ^product-approval$ https://docs.google.com/document/d/1UUJSnsPw32W5r # Cloud Work Stream Specific Links RewriteRule ^minutes/cloud$ https://docs.google.com/document/d/1hayvWLIoymomPI9oXcaTZirn5YxFv1cYAs70zyvlvnA/edit?usp=sharing [R=302,L] RewriteRule ^cloud/wes-testbed$ https://docs.google.com/spreadsheets/d/1gk-XkfCyEhiJp7dnRs_ccV7C_l-AYBSejC9Ui_yzrps/edit?usp=sharing [R=302,L] +RewriteRule ^schema/drs/(1\..\..) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] # Large Scale Genomics Work Stream Document Links RewriteRule ^minutes/htsget$ https://docs.google.com/document/d/16MEoe24jaJ8UTgkiD9XD8-H4_lXVFCrP0hlziurSuNo/edit?usp=sharing [R=302,L] From 916c11d7f79c4c3b399ec5468b8e9e93ca41c514 Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Thu, 17 Jul 2025 16:41:27 +0100 Subject: [PATCH 2/5] removed whitespace Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ga4gh/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index a283ae28f..d6005ec40 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -19,7 +19,7 @@ RewriteRule ^product-approval$ https://docs.google.com/document/d/1UUJSnsPw32W5r # Cloud Work Stream Specific Links RewriteRule ^minutes/cloud$ https://docs.google.com/document/d/1hayvWLIoymomPI9oXcaTZirn5YxFv1cYAs70zyvlvnA/edit?usp=sharing [R=302,L] RewriteRule ^cloud/wes-testbed$ https://docs.google.com/spreadsheets/d/1gk-XkfCyEhiJp7dnRs_ccV7C_l-AYBSejC9Ui_yzrps/edit?usp=sharing [R=302,L] -RewriteRule ^schema/drs/(1\..\..) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] +RewriteRule ^schema/drs/(1\..\..) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] # Large Scale Genomics Work Stream Document Links RewriteRule ^minutes/htsget$ https://docs.google.com/document/d/16MEoe24jaJ8UTgkiD9XD8-H4_lXVFCrP0hlziurSuNo/edit?usp=sharing [R=302,L] From 70e0e179725a95d72e45bebc22a3d64e8e7e8bb1 Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Thu, 17 Jul 2025 16:42:57 +0100 Subject: [PATCH 3/5] Update .htaccess based on copilot regex suggestion... is this format supported? --- ga4gh/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index d6005ec40..05b0d3701 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -19,7 +19,7 @@ RewriteRule ^product-approval$ https://docs.google.com/document/d/1UUJSnsPw32W5r # Cloud Work Stream Specific Links RewriteRule ^minutes/cloud$ https://docs.google.com/document/d/1hayvWLIoymomPI9oXcaTZirn5YxFv1cYAs70zyvlvnA/edit?usp=sharing [R=302,L] RewriteRule ^cloud/wes-testbed$ https://docs.google.com/spreadsheets/d/1gk-XkfCyEhiJp7dnRs_ccV7C_l-AYBSejC9Ui_yzrps/edit?usp=sharing [R=302,L] -RewriteRule ^schema/drs/(1\..\..) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] +RewriteRule ^schema/drs/(1\.[0-9]+\.[0-9]+) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] # Large Scale Genomics Work Stream Document Links RewriteRule ^minutes/htsget$ https://docs.google.com/document/d/16MEoe24jaJ8UTgkiD9XD8-H4_lXVFCrP0hlziurSuNo/edit?usp=sharing [R=302,L] From 7da712e548830eba4feb3946b5e52d37cb26979f Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Thu, 17 Jul 2025 16:45:34 +0100 Subject: [PATCH 4/5] Update .htaccess with change suggested from chatgpt --- ga4gh/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index 05b0d3701..c9cfe7573 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -19,7 +19,7 @@ RewriteRule ^product-approval$ https://docs.google.com/document/d/1UUJSnsPw32W5r # Cloud Work Stream Specific Links RewriteRule ^minutes/cloud$ https://docs.google.com/document/d/1hayvWLIoymomPI9oXcaTZirn5YxFv1cYAs70zyvlvnA/edit?usp=sharing [R=302,L] RewriteRule ^cloud/wes-testbed$ https://docs.google.com/spreadsheets/d/1gk-XkfCyEhiJp7dnRs_ccV7C_l-AYBSejC9Ui_yzrps/edit?usp=sharing [R=302,L] -RewriteRule ^schema/drs/(1\.[0-9]+\.[0-9]+) https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] +RewriteRule ^schema/drs/(1\.[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] # Large Scale Genomics Work Stream Document Links RewriteRule ^minutes/htsget$ https://docs.google.com/document/d/16MEoe24jaJ8UTgkiD9XD8-H4_lXVFCrP0hlziurSuNo/edit?usp=sharing [R=302,L] From a35a85a7cc1c5acbc6c87af5b793e3c4c0f090c2 Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Thu, 17 Jul 2025 16:54:43 +0100 Subject: [PATCH 5/5] Update .htaccess, adding all four cloud APIs --- ga4gh/.htaccess | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index c9cfe7573..4c3c7956c 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -19,7 +19,11 @@ RewriteRule ^product-approval$ https://docs.google.com/document/d/1UUJSnsPw32W5r # Cloud Work Stream Specific Links RewriteRule ^minutes/cloud$ https://docs.google.com/document/d/1hayvWLIoymomPI9oXcaTZirn5YxFv1cYAs70zyvlvnA/edit?usp=sharing [R=302,L] RewriteRule ^cloud/wes-testbed$ https://docs.google.com/spreadsheets/d/1gk-XkfCyEhiJp7dnRs_ccV7C_l-AYBSejC9Ui_yzrps/edit?usp=sharing [R=302,L] -RewriteRule ^schema/drs/(1\.[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] +RewriteRule ^schema/drs/([0-9]+\.[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/tags/drs-$1/openapi/data_repository_service.openapi.yaml [R=301,L] +RewriteRule ^schema/wes/([0-9]+\.[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/workflow-execution-service-schemas/refs/tags/$1/openapi/workflow_execution_service.openapi.yaml [R=301,L] +RewriteRule ^schema/tes/(v[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/task-execution-schemas/refs/tags/$1/openapi/task_execution_service.openapi.yaml [R=301,L] +RewriteRule ^schema/trs/([0-9]+\.[0-9]+\.[0-9]+)$ https://raw.githubusercontent.com/ga4gh/tool-registry-service-schemas/refs/tags/$1/openapi/openapi.yaml [R=301,L] + # Large Scale Genomics Work Stream Document Links RewriteRule ^minutes/htsget$ https://docs.google.com/document/d/16MEoe24jaJ8UTgkiD9XD8-H4_lXVFCrP0hlziurSuNo/edit?usp=sharing [R=302,L]