From 06580c5620bdd4a7d749989c1c9b47c42004fb64 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Wed, 3 May 2023 13:47:20 +0200
Subject: [PATCH] WIP: Rename caosdb -> linkahead

---
 .gitlab-ci.yml                             |  4 ++--
 .gitlab/merge_request_templates/Default.md |  4 ++--
 CHANGELOG.md                               |  8 ++++----
 Makefile                                   | 14 +++++++-------
 README.md                                  | 12 ++++++------
 RELEASE_GUIDELINES.md                      |  2 +-
 tests/test_issues.sql                      |  2 +-
 7 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b61ff46..a0f42e2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@
 
 variables:
   DEPLOY_REF: dev
-  CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
+  CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/linkahead-mysqlbackend/testenv:latest
   MYSQL_ROOT_PASSWORD: caosdb1234
 
 image: $CI_REGISTRY_IMAGE
@@ -113,7 +113,7 @@ trigger_build:
     TRIGGERED_BY_HASH: $CI_COMMIT_SHORT_SHA
 
   trigger:
-    project: caosdb/src/caosdb-deploy
+    project: caosdb/src/linkahead-deploy
     branch: $DEPLOY_REF
     strategy: depend
 
diff --git a/.gitlab/merge_request_templates/Default.md b/.gitlab/merge_request_templates/Default.md
index 35c6d01..c1c2231 100644
--- a/.gitlab/merge_request_templates/Default.md
+++ b/.gitlab/merge_request_templates/Default.md
@@ -21,7 +21,7 @@ specs, finding more corner cases, concrete questions)?*
 Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab
 comments for the reviewer. They should guide the reviewer through the changes, explain your changes
 and also point out open questions. For further good practices have a look at [our review
-guidelines](https://gitlab.com/caosdb/caosdb/-/blob/dev/REVIEW_GUIDELINES.md)
+guidelines](https://gitlab.com/linkahead/linkahead/-/blob/dev/REVIEW_GUIDELINES.md)
 
 - [ ] All automated tests pass
 - [ ] Reference related issues
@@ -47,7 +47,7 @@ guidelines](https://gitlab.com/caosdb/caosdb/-/blob/dev/REVIEW_GUIDELINES.md)
 - [ ] In-code documentation and comments are up-to-date.
 - [ ] Check: Are there specifications? Are they satisfied?
 
-For further good practices have a look at [our review guidelines](https://gitlab.com/caosdb/caosdb/-/blob/dev/REVIEW_GUIDELINES.md).
+For further good practices have a look at [our review guidelines](https://gitlab.com/linkahead/linkahead/-/blob/dev/REVIEW_GUIDELINES.md).
 
 
 /assign me
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e41b46..e216285 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed ###
 
-* Bug in applyPOV which led to caosdb-server#154: Queries with "!=" returned
+* Bug in applyPOV which led to linkahead-server#154: Queries with "!=" returned
   the same results as "=" (for references).
 * #32 Removed unused `groups` table from installation routines which prevented
   the installation with MySQL 8.
@@ -104,7 +104,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   (even if this is historically not always correct). A real fix awaits the
   implementation of versioned isa-relations which is already planned.
 * Bug in `retrieveOverrides` function where selecting the datatype of an old
-  version resultet in an error. See corresponding test in `caosdb-pyinttest`
+  version resultet in an error. See corresponding test in `linkahead-pyinttest`
   `tests/test_versioning.py::test_datatype_without_name`
 
 ### Security ###
@@ -157,8 +157,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Fixed ###
 
 * POV with the 'name' property, e.g. `FIND ENTITY WITH name = something`
-  [caosdb-server#51](https://gitlab.com/caosdb/caosdb-server/-/issues/51)
-* Fixed several bugs when an Entity inherits from itself (#18, caosdb-server #85).
+  [linkahead-server#51](https://gitlab.com/linkahead/linkahead-server/-/issues/51)
+* Fixed several bugs when an Entity inherits from itself (#18, linkahead-server #85).
 * Bug in `updateEntity.sql` (when updating the primary name without a prior call
   to `deleteEntityProperties`). Same thing for `deleteEntity`.
 * #21 Bug which prevented deletion of deeply inheriting entities, if versioning was enabled.
diff --git a/Makefile b/Makefile
index 1c25917..e776ee0 100644
--- a/Makefile
+++ b/Makefile
@@ -58,20 +58,20 @@ test:
 # Run tests with a database which is started in a Docker container
 .PHONY: test-docker
 test-docker:
-	@docker kill caosdb-mysqlserver-test || true
-	@docker container rm caosdb-mysqlserver-test || true
-	@docker run --name caosdb-mysqlserver-test -p "3306:3306" \
+	@docker kill linkahead-mysqlserver-test || true
+	@docker container rm linkahead-mysqlserver-test || true
+	@docker run --name linkahead-mysqlserver-test -p "3306:3306" \
 		-e MYSQL_ROOT_PASSWORD="pass-for-test" -d mariadb
 	@sleep 10
 	MAINPATH=$(realpath tests/docker_env) utils/make_db test --fresh
-	@docker kill caosdb-mysqlserver-test
-	@docker container rm caosdb-mysqlserver-test
+	@docker kill linkahead-mysqlserver-test
+	@docker container rm linkahead-mysqlserver-test
 
 # if automatic stopping failed
 .PHONY: test-docker-stop
 test-docker-stop:
-	docker kill caosdb-mysqlserver-test
-	docker container rm caosdb-mysqlserver-test
+	docker kill linkahead-mysqlserver-test
+	docker container rm linkahead-mysqlserver-test
 
 # Compile the standalone documentation
 .PHONY: doc
diff --git a/README.md b/README.md
index f76802a..114988e 100644
--- a/README.md
+++ b/README.md
@@ -14,28 +14,28 @@ setup this code.
 
 ## Further Reading
 
-Please refer to the [official documentation](https://docs.indiscale.com/caosdb-mysqlbackend/) for more information.
+Please refer to the [official documentation](https://docs.indiscale.com/linkahead-mysqlbackend/) for more information.
 
 ## Contributing
 
-Thank you very much to all contributers—[past, present](https://gitlab.com/caosdb/caosdb/-/blob/dev/HUMANS.md), and prospective ones.
+Thank you very much to all contributers—[past, present](https://gitlab.com/linkahead/linkahead/-/blob/dev/HUMANS.md), and prospective ones.
 
 ### Code of Conduct
 
-By participating, you are expected to uphold our [Code of Conduct](https://gitlab.com/caosdb/caosdb/-/blob/dev/CODE_OF_CONDUCT.md).
+By participating, you are expected to uphold our [Code of Conduct](https://gitlab.com/linkahead/linkahead/-/blob/dev/CODE_OF_CONDUCT.md).
 
 ### How to Contribute
 
 * You found a bug, have a question, or want to request a feature? Please
-[create an issue](https://gitlab.com/caosdb/caosdb-mysqlbackend/-/issues).
+[create an issue](https://gitlab.com/linkahead/linkahead-mysqlbackend/-/issues).
 * You want to contribute code? Please fork the repository and create a merge
 request in GitLab and choose this repository as target. Make sure to select
 "Allow commits from members who can merge the target branch" under Contribution
 when creating the merge request. This allows our team to work with you on your request.
-- If you have a suggestion for the [documentation](https://docs.indiscale.com/caosdb-mysqlbackend/),
+- If you have a suggestion for the [documentation](https://docs.indiscale.com/linkahead-mysqlbackend/),
 the preferred way is also a merge request as describe above (the documentation resides in `src/doc`).
 However, you can also create an issue for it.
-- You can also contact us at **info (AT) caosdb.org**.
+- You can also contact us at **info (AT) linkahead.org**.
 
 ## License
 
diff --git a/RELEASE_GUIDELINES.md b/RELEASE_GUIDELINES.md
index f6e1a26..9b06342 100644
--- a/RELEASE_GUIDELINES.md
+++ b/RELEASE_GUIDELINES.md
@@ -2,7 +2,7 @@
 
 This document specifies release guidelines in addition to the general release
 guidelines of the LinkAhead Project
-([RELEASE_GUIDELINES.md](https://gitlab.com/caosdb/caosdb/blob/dev/RELEASE_GUIDELINES.md))
+([RELEASE_GUIDELINES.md](https://gitlab.com/linkahead/linkahead/blob/dev/RELEASE_GUIDELINES.md))
 
 ## General Prerequisites
 
diff --git a/tests/test_issues.sql b/tests/test_issues.sql
index c5377f2..ea82fbd 100644
--- a/tests/test_issues.sql
+++ b/tests/test_issues.sql
@@ -27,7 +27,7 @@ CALL tap.no_plan();
 
 
 -- ########################################################################
--- TEST Issues from https://gitlab.com/caosdb/caosdb-mysqlbackend/-/issues
+-- TEST Issues from https://gitlab.com/linkahead/linkahead-mysqlbackend/-/issues
 -- ########################################################################
 
 -------------------------------------------------------------------------------
-- 
GitLab