Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Software Quality Assurance
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Metrics
Incidents
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Software
S
services
FAIR
Software Quality Assurance
Commits
6b4209bd
Commit
6b4209bd
authored
Aug 10, 2020
by
Maximilian Dolling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bak2
parent
7854f6d6
Changes
82
Hide whitespace changes
Inline
Side-by-side
Showing
82 changed files
with
514 additions
and
669 deletions
+514
-669
.gitignore
.gitignore
+22
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
.sqa/apply-license/config.yml
.sqa/apply-license/config.yml
+1
-1
.sqa/apply-license/templates/header/GPL-3.0-or-later.jinja2.license
...-license/templates/header/GPL-3.0-or-later.jinja2.license
+23
-0
.sqa/apply-license/templates/header/default.jinja2.license
.sqa/apply-license/templates/header/default.jinja2.license
+23
-0
.sqa/apply-license/templates/license_entry_README.md
.sqa/apply-license/templates/license_entry_README.md
+1
-1
.sqa/check-credentials/gitleaks_config.toml
.sqa/check-credentials/gitleaks_config.toml
+22
-2
.sqa/list-used-licenses/config.yml
.sqa/list-used-licenses/config.yml
+1
-1
AUTHORS.md
AUTHORS.md
+1
-1
CHANGELOG.md
CHANGELOG.md
+1
-1
CONTRIBUTING.md
CONTRIBUTING.md
+1
-1
README.md
README.md
+1
-1
build/dependencies/apply-license/requirements.txt.license
build/dependencies/apply-license/requirements.txt.license
+3
-0
build/dependencies/base/dependencies_OS.txt.license
build/dependencies/base/dependencies_OS.txt.license
+3
-0
build/dependencies/base/requirements.txt.license
build/dependencies/base/requirements.txt.license
+3
-0
build/dependencies/check-credentials/dependencies_OS.txt.license
...ependencies/check-credentials/dependencies_OS.txt.license
+3
-0
build/dependencies/check-credentials/install_go_dependencies.sh
...dependencies/check-credentials/install_go_dependencies.sh
+9
-13
build/dependencies/list-authors/dependencies_OS.txt.license
build/dependencies/list-authors/dependencies_OS.txt.license
+3
-0
build/dependencies/list-authors/requirements.txt.license
build/dependencies/list-authors/requirements.txt.license
+3
-0
build/dependencies/list-used-languages/Gemfile.license
build/dependencies/list-used-languages/Gemfile.license
+3
-0
build/dependencies/list-used-languages/dependencies_OS.txt.license
...endencies/list-used-languages/dependencies_OS.txt.license
+3
-0
build/dependencies/list-used-licenses/Gemfile.license
build/dependencies/list-used-licenses/Gemfile.license
+3
-0
build/dependencies/list-used-licenses/dependencies_OS.txt.license
...pendencies/list-used-licenses/dependencies_OS.txt.license
+3
-0
build/dependencies/list-used-licenses/requirements.txt.license
.../dependencies/list-used-licenses/requirements.txt.license
+3
-0
build/dependencies/reuse-lint/requirements.txt.license
build/dependencies/reuse-lint/requirements.txt.license
+3
-0
build/docker/dep/Dockerfile
build/docker/dep/Dockerfile
+9
-13
build/docker/dev/Dockerfile
build/docker/dev/Dockerfile
+9
-13
build/docker/dev/docker-entrypoint.sh
build/docker/dev/docker-entrypoint.sh
+9
-14
build/docker/dev/entrypoint-manual.txt.license
build/docker/dev/entrypoint-manual.txt.license
+3
-0
build/docker/production/Dockerfile
build/docker/production/Dockerfile
+9
-13
build/docker/production/docker-entrypoint.sh
build/docker/production/docker-entrypoint.sh
+9
-13
build/docker/production/entrypoint-manual.txt.license
build/docker/production/entrypoint-manual.txt.license
+3
-0
doc/doc_config.md
doc/doc_config.md
+1
-1
doc/doc_service_description.md
doc/doc_service_description.md
+1
-1
doc/doc_usage_ci.md
doc/doc_usage_ci.md
+1
-1
doc/doc_usage_local.md
doc/doc_usage_local.md
+1
-1
src/services/apply-license/apply-license.py
src/services/apply-license/apply-license.py
+11
-17
src/services/apply-license/apply-license.sh
src/services/apply-license/apply-license.sh
+9
-13
src/services/apply-license/templates/dep5_template.license
src/services/apply-license/templates/dep5_template.license
+23
-0
src/services/check-credentials/check-credentials.py
src/services/check-credentials/check-credentials.py
+9
-13
src/services/check-credentials/check-credentials.sh
src/services/check-credentials/check-credentials.sh
+9
-13
src/services/generate-report/functions/__init__.py
src/services/generate-report/functions/__init__.py
+9
-13
src/services/generate-report/functions/helper.py
src/services/generate-report/functions/helper.py
+9
-13
src/services/generate-report/generate-report.py
src/services/generate-report/generate-report.py
+9
-13
src/services/generate-report/generate-report.sh
src/services/generate-report/generate-report.sh
+9
-13
src/services/list-authors/list-authors.py
src/services/list-authors/list-authors.py
+9
-13
src/services/list-authors/list-authors.sh
src/services/list-authors/list-authors.sh
+9
-13
src/services/list-used-languages/list-used-languages.rb
src/services/list-used-languages/list-used-languages.rb
+9
-13
src/services/list-used-languages/list-used-languages.sh
src/services/list-used-languages/list-used-languages.sh
+9
-13
src/services/list-used-licenses/functions/__init__.py
src/services/list-used-licenses/functions/__init__.py
+9
-13
src/services/list-used-licenses/functions/language_parser.py
src/services/list-used-licenses/functions/language_parser.py
+9
-13
src/services/list-used-licenses/functions/license_requester.py
...ervices/list-used-licenses/functions/license_requester.py
+9
-13
src/services/list-used-licenses/list-used-licenses.py
src/services/list-used-licenses/list-used-licenses.py
+9
-13
src/services/list-used-licenses/list-used-licenses.sh
src/services/list-used-licenses/list-used-licenses.sh
+9
-13
src/services/list-used-licenses/system_config/system_exclude_patterns.yml
...t-used-licenses/system_config/system_exclude_patterns.yml
+1
-0
src/services/list-used-licenses/system_config/system_keep_patterns.yml
...list-used-licenses/system_config/system_keep_patterns.yml
+1
-0
src/services/list-used-licenses/system_config/system_language_patterns.yml
...-used-licenses/system_config/system_language_patterns.yml
+1
-0
src/services/reuse-lint/reuse-lint.py
src/services/reuse-lint/reuse-lint.py
+9
-13
src/services/reuse-lint/reuse-lint.sh
src/services/reuse-lint/reuse-lint.sh
+9
-13
src/utility/init/.sqa/apply-license/config.yml
src/utility/init/.sqa/apply-license/config.yml
+1
-1
src/utility/init/.sqa/apply-license/templates/header/default.jinja2.license
...sqa/apply-license/templates/header/default.jinja2.license
+23
-0
src/utility/init/.sqa/apply-license/templates/license_entry_README.md
...init/.sqa/apply-license/templates/license_entry_README.md
+1
-1
src/utility/init/.sqa/check-credentials/gitleaks_config.toml
src/utility/init/.sqa/check-credentials/gitleaks_config.toml
+22
-2
src/utility/init/.sqa/list-used-licenses/config.yml
src/utility/init/.sqa/list-used-licenses/config.yml
+1
-1
src/utility/init/init.sh
src/utility/init/init.sh
+9
-13
src/utility/validation/validate_config.py
src/utility/validation/validate_config.py
+9
-13
test/config_bak.yml
test/config_bak.yml
+1
-1
test/generate_local_test_report.sh
test/generate_local_test_report.sh
+9
-13
test/linter/pylintrc.license
test/linter/pylintrc.license
+3
-0
test/test_report.md
test/test_report.md
+1
-1
test/testfiles/.min_sqa.yml
test/testfiles/.min_sqa.yml
+1
-1
test/testfiles/Python/test-python-imports.py
test/testfiles/Python/test-python-imports.py
+9
-13
test/testfiles/Python/test-requirements-dev.txt.license
test/testfiles/Python/test-requirements-dev.txt.license
+3
-0
test/testfiles/unknown_language/test.testlanguage.license
test/testfiles/unknown_language/test.testlanguage.license
+3
-0
test/unittests/requirements.txt.license
test/unittests/requirements.txt.license
+3
-0
test/unittests/test_generate_report.py
test/unittests/test_generate_report.py
+9
-13
test/unittests/test_list_used_licenses.py
test/unittests/test_list_used_licenses.py
+9
-13
test/unittests/test_validation.py
test/unittests/test_validation.py
+0
-72
test/unittests/testfiles/config_empty_str.yml
test/unittests/testfiles/config_empty_str.yml
+0
-42
test/unittests/testfiles/config_incomplete.yml
test/unittests/testfiles/config_incomplete.yml
+0
-39
test/unittests/testfiles/config_valid.yml
test/unittests/testfiles/config_valid.yml
+0
-42
test/unittests/testfiles/config_wrong_datatype.yml
test/unittests/testfiles/config_wrong_datatype.yml
+0
-42
No files found.
.gitignore
View file @
6b4209bd
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam, Germany (https://www.gfz-potsdam.de/)
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
.idea
venv
...
...
.gitlab-ci.yml
View file @
6b4209bd
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: CC0-1.0
...
...
.sqa/apply-license/config.yml
View file @
6b4209bd
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: CC0-1.0
...
...
.sqa/apply-license/templates/header/GPL-3.0-or-later.jinja2.license
0 → 100755
View file @
6b4209bd
software-quality-assurance
This Software provides services to check and improve the source code quality of software-projects
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: GPL-3.0-or-later
Parts of this program <(especially the code for whatever)>
were developed within the context of the following publicly funded
projects or measures:
- Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, Version 3 or later.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can find a copy of the license in the LICENSES folder.
If not, see <http://www.gnu.org/licenses/>.
\ No newline at end of file
.sqa/apply-license/templates/header/default.jinja2.license
0 → 100755
View file @
6b4209bd
software-quality-assurance
This Software provides services to check and improve the source code quality of software-projects
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: GPL-3.0-or-later
Parts of this program <(especially the code for whatever)>
were developed within the context of the following publicly funded
projects or measures:
- Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, Version 3 or later.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can find a copy of the license in the LICENSES folder.
If not, see <http://www.gnu.org/licenses/>.
\ No newline at end of file
.sqa/apply-license/templates/license_entry_README.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
.sqa/check-credentials/gitleaks_config.toml
View file @
6b4209bd
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam, Germany (https://www.gfz-potsdam.de/)
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
title
=
"gitleaks config"
[[rules]]
...
...
.sqa/list-used-licenses/config.yml
View file @
6b4209bd
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: CC0-1.0
...
...
AUTHORS.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
CHANGELOG.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
CONTRIBUTING.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
README.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
build/dependencies/apply-license/requirements.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/base/dependencies_OS.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/base/requirements.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/check-credentials/dependencies_OS.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/check-credentials/install_go_dependencies.sh
View file @
6b4209bd
...
...
@@ -3,30 +3,26 @@
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
GO111MODULE
=
on go build github.com/zricethezav/gitleaks/v5
mv
gitleaks /usr/bin/
\ No newline at end of file
build/dependencies/list-authors/dependencies_OS.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-authors/requirements.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-used-languages/Gemfile.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-used-languages/dependencies_OS.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-used-licenses/Gemfile.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-used-licenses/dependencies_OS.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/list-used-licenses/requirements.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/dependencies/reuse-lint/requirements.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/docker/dep/Dockerfile
View file @
6b4209bd
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
FROM
python:3-alpine
...
...
build/docker/dev/Dockerfile
View file @
6b4209bd
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
FROM
gitext.gfz-potsdam.de:5000/software/services/fair/software-quality-assurance/software-quality-assurance:latest-dep
...
...
build/docker/dev/docker-entrypoint.sh
View file @
6b4209bd
...
...
@@ -3,31 +3,26 @@
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
# help and version first, because they do not require any other files or config.
if
[
"
$1
"
=
"--version"
]
;
then
...
...
build/docker/dev/entrypoint-manual.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
build/docker/production/Dockerfile
View file @
6b4209bd
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
FROM
gitext.gfz-potsdam.de:5000/software/services/fair/software-quality-assurance/software-quality-assurance:latest-dep
...
...
build/docker/production/docker-entrypoint.sh
View file @
6b4209bd
...
...
@@ -3,30 +3,26 @@
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
# Version first, because it does not require any other files or config.
if
[
"
$1
"
=
"--version"
]
;
then
...
...
build/docker/production/entrypoint-manual.txt.license
0 → 100755
View file @
6b4209bd
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
doc/doc_config.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
doc/doc_service_description.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
doc/doc_usage_ci.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
doc/doc_usage_local.md
View file @
6b4209bd
<!--
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
SPDX-License-Identifier: CC0-1.0
-->
...
...
src/services/apply-license/apply-license.py
View file @
6b4209bd
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of
# five years after the communication of the obtained results.
# the Free Software Foundation, Version 3 or later.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You
should have received a copy of the GNU General Public License
#
along with this program.
If not, see <http://www.gnu.org/licenses/>.
# You
can find a copy of the license in the LICENSES folder.
# If not, see <http://www.gnu.org/licenses/>.
"""apply-license.py
This script is a wrapper for the reuse software by fsfe.
...
...
@@ -205,8 +201,7 @@ for root, dirs, files in os.walk(repo_dir, topdown=False):
config
[
'licenses'
][
scope
][
'spdx-identifier'
])
else
:
command
=
command
.
replace
(
'[<TEMPLATE>]'
,
'default'
)
print
(
command
)
# os.system(command)
os
.
system
(
command
)
type_found
=
True
break
if
type_found
:
...
...
@@ -218,5 +213,4 @@ for root, dirs, files in os.walk(repo_dir, topdown=False):
command
=
command
.
replace
(
'[<TEMPLATE>]'
,
config
[
'licenses'
][
'default'
][
'spdx-identifier'
])
else
:
command
=
command
.
replace
(
'[<TEMPLATE>]'
,
'default'
)
print
(
command
)
# os.system(command)
os
.
system
(
command
)
src/services/apply-license/apply-license.sh
View file @
6b4209bd
...
...
@@ -3,30 +3,26 @@
# software-quality-assurance
# This Software provides services to check and improve the source code quality of software-projects
#
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
Potsdam
, Germany (https://www.gfz-potsdam.de/)
# SPDX-FileCopyrightText: 2020 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences, Germany (https://www.gfz-potsdam.de/)
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Parts of this program <(especially the code for whatever)>
# were developed within the context of the following publicly funded
# projects or measures:
# - Helmholtz Federated IT Services, Helmholtz Association of German Research Centres (https://software.hifis.net/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version, complemented with
# the following provision:
# For the scientific transparency and verification of results obtained
# and communicated to the public after using a modified version of the
# work, You (as the recipient of the source code and author of this
# modified version, used to produce the published results in scientific
# communications) commit to make this modified source code available in
# a repository that is easily and freely accessible for a duration of