Skip to content

Commit

Permalink
refactor: bring back stack-down-delete-volumes (#1786)
Browse files Browse the repository at this point in the history
* docs: update years

* chore: update pr template

* refactor: bring back stack-down-delete-volumes

* refactor: bring back stack-down-delete-volumes for every reference
  • Loading branch information
mpro7 committed Jan 19, 2021
1 parent 4718cdc commit 62cd89d
Show file tree
Hide file tree
Showing 693 changed files with 706 additions and 707 deletions.
1 change: 0 additions & 1 deletion .github/pull_request_template.md
@@ -1,5 +1,4 @@
===REMOVE===
Important! Please follow the new guidelines for naming Pull Requests: https://docs.dasch.swiss/developers/dsp/contribution/#pull-request-guidelines
===REMOVE===

resolves DSP-
14 changes: 7 additions & 7 deletions Makefile
Expand Up @@ -186,8 +186,8 @@ stack-status:
stack-down: ## stops the knora-stack.
docker-compose -f docker-compose.yml down

.PHONY: stack-db-remove
stack-db-remove: ## stops the knora-stack and deletes any created volumes (deletes the database!).
.PHONY: stack-down-delete-volumes
stack-down-delete-volumes: ## stops the knora-stack and deletes any created volumes (deletes the database!).
docker-compose -f docker-compose.yml down --volumes

.PHONY: stack-config
Expand Down Expand Up @@ -275,27 +275,27 @@ test: docker-build ## runs all test targets.
#################################

.PHONY: init-db-test
init-db-test: stack-db-remove stack-db-only ## initializes the knora-test repository
init-db-test: stack-down-delete-volumes stack-db-only ## initializes the knora-test repository
@echo $@
@$(MAKE) -C webapi/scripts fuseki-init-knora-test

.PHONY: init-db-test-minimal
init-db-test-minimal: stack-db-remove stack-db-only ## initializes the knora-test repository with minimal data
init-db-test-minimal: stack-down-delete-volumes stack-db-only ## initializes the knora-test repository with minimal data
@echo $@
@$(MAKE) -C webapi/scripts fuseki-init-knora-test-minimal

.PHONY: init-db-test-empty
init-db-test-empty: stack-db-remove stack-db-only ## initializes the knora-test repository with minimal data
init-db-test-empty: stack-down-delete-volumes stack-db-only ## initializes the knora-test repository with minimal data
@echo $@
@$(MAKE) -C webapi/scripts fuseki-init-knora-test-empty

.PHONY: init-db-test-unit
init-db-test-unit: stack-db-remove stack-db-only ## initializes the knora-test-unit repository
init-db-test-unit: stack-down-delete-volumes stack-db-only ## initializes the knora-test-unit repository
@echo $@
@$(MAKE) -C webapi/scripts fuseki-init-knora-test-unit

.PHONY: init-db-test-unit-minimal
init-db-test-unit-minimal: stack-db-remove stack-db-only ## initializes the knora-test-unit repository with minimal data
init-db-test-unit-minimal: stack-down-delete-volumes stack-db-only ## initializes the knora-test-unit repository with minimal data
@echo $@
@$(MAKE) -C webapi/scripts fuseki-init-knora-test-unit-minimal

Expand Down
2 changes: 1 addition & 1 deletion docs/01-introduction/data-formats.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/01-introduction/example-project.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/01-introduction/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/01-introduction/standoff-rdf.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/01-introduction/what-is-knora.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/02-knora-ontologies/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/02-knora-ontologies/introduction.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/02-knora-ontologies/knora-base.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/02-knora-ontologies/salsah-gui.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/groups.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/introduction.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/lists.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/lists_new-list-admin-routes_v1.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/overview.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/permissions.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/projects.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/stores.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-admin/users.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-util/health.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-util/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-util/version.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/adding-resources.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/adding-values.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/authentication.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/changing-values.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/delete-resources-and-values.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/introduction.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/reading-and-searching-resources.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/reading-values.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v1/xml-to-standoff-mapping.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/authentication.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/editing-resources.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/editing-values.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/getting-lists.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/introduction.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/knora-iris.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/metadata.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/ontology-information.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/permalinks.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/query-language.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/reading-and-searching-resources.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/reading-user-permissions.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/tei-xml.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/api-v2/xml-to-standoff-mapping.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/feature-toggles.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).
This file is part of Knora.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-apis/index.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).

This file is part of Knora.

Expand Down
2 changes: 1 addition & 1 deletion docs/04-publishing-deployment/configuration.md
@@ -1,5 +1,5 @@
<!---
Copyright © 2015-2019 the contributors (see Contributors.md).
Copyright © 2015-2021 the contributors (see Contributors.md).

This file is part of Knora.

Expand Down

0 comments on commit 62cd89d

Please sign in to comment.