From c4d138bee36ab281c3fa52ff58eef96c8c9e1091 Mon Sep 17 00:00:00 2001 From: Carlos Martinez Date: Thu, 3 Nov 2022 21:45:49 +0100 Subject: [PATCH] Make compliant with REUSE specification --- .gitattributes | 4 ++++ .gitignore | 19 +++++++++++++++++++ .reuse/dep5 | 5 +++++ .travis/before_deploy.sh | 4 ++++ .travis/before_install.sh | 4 ++++ .travis/install.sh | 4 ++++ .travis/run.sh | 4 ++++ CODE_OF_CONDUCT.md | 6 ++++++ CONTRIBUTING.md | 6 ++++++ CONTRIBUTORS.md | 6 ++++++ Dockerfile | 4 ++++ LICENSES/MIT.txt | 9 +++++++++ MANIFEST.in | 4 ++++ README.md | 6 ++++++ bin/grlc-server | 5 +++++ config.default.ini | 4 ++++ docker-assets/assets/build/.gitattributes | 4 ++++ docker-assets/assets/build/install.sh | 5 +++++ docker-assets/entrypoint.sh | 5 +++++ paper.bib | 6 ++++++ paper.md | 6 ++++++ setup.cfg | 4 ++++ setup.py | 5 +++++ src/__init__.py | 4 ++++ src/__version__.py | 4 ++++ src/fileLoaders.py | 4 ++++ src/glogging.py | 4 ++++ src/gquery.py | 4 ++++ src/pagination.py | 4 ++++ src/prov.py | 4 ++++ src/queryTypes.py | 4 ++++ src/server.py | 4 ++++ src/sparql.py | 4 ++++ src/static.py | 4 ++++ src/static/css/grlc.css | 6 ++++++ src/static/js/grlc-api.js | 4 ++++ src/static/js/grlc-layout.js | 4 ++++ src/swagger.py | 4 ++++ src/templates/api-docs.html | 6 ++++++ src/templates/index.html | 6 ++++++ src/util.py | 4 ++++ src/utils.py | 4 ++++ tests/__init__.py | 3 +++ tests/mock_data.py | 4 ++++ tests/test_endpoints.py | 4 ++++ tests/test_gquery.py | 4 ++++ tests/test_grlc.py | 4 ++++ tests/test_loaders.py | 4 ++++ tests/test_swagger.py | 4 ++++ tests/test_utils.py | 4 ++++ upstart/grlc-docker.conf.license | 3 +++ upstart/webhook.py | 4 ++++ 52 files changed, 249 insertions(+) create mode 100644 .reuse/dep5 create mode 100644 LICENSES/MIT.txt create mode 100644 upstart/grlc-docker.conf.license diff --git a/.gitattributes b/.gitattributes index 66f6c01..4754287 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + docker-compose.yml merge=ours diff --git a/.gitignore b/.gitignore index be703c8..c639a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + node_modules .*!.gitignore */.DS_Store @@ -20,3 +24,18 @@ bin/ share/ .idea .pytest_cache +.eggs/ +.vscode/ +.ipynb_checkpoints/ +ssl-certificates/ +testQueries/ +grlc.egg-info/ +src/config.ini +src/FileLoaderTesting.ipynb +Dockerfile2 +FileLoaders.ipynb +ReleaseProcedure.md +TODOs.md +TwitterAPIKeys.md +config.ini +ink_ext_XXXXXX_img0.png diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..3f7b477 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,5 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: tests/repo/endpoint.txt tests/repo/*.rq tests/repo/*.json tests/repo/*.sparql tests/repo/*.tpf tests/repo/*.yml src/static/toolinfo.json src/static/*.png src/static/favicon.ico requirements-test.txt requirements.txt docker-assets/assets/runtime/functions docker-assets/assets/runtime/env-defaults docker-assets/assets/runtime/configs/nginx/grlc doc/notebooks/GrlcFromNotebook.ipynb doc/img/*.png doc/img/grlc_logo_01.eps CITATION.cff .zenodo.json .travis.yml .github/workflows/tweet-release.yml .dependabot/config.yml +Copyright: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +License: MIT diff --git a/.travis/before_deploy.sh b/.travis/before_deploy.sh index 91f8a0a..90b126e 100755 --- a/.travis/before_deploy.sh +++ b/.travis/before_deploy.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # Deactivate testing virtualenv and reactivate original one if [[ $TRAVIS_BUILD_STAGE_NAME == 'Deploy' ]]; then deactivate diff --git a/.travis/before_install.sh b/.travis/before_install.sh index ad56124..ef7818d 100755 --- a/.travis/before_install.sh +++ b/.travis/before_install.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # Store location of original virtualenv so we can reactivate it on deploy if [[ $TRAVIS_BUILD_STAGE_NAME == 'Deploy' ]]; then ORIG_ENV="$(dirname $(which python))/activate" diff --git a/.travis/install.sh b/.travis/install.sh index d6e7ae9..e229f9f 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + if [[ $TRAVIS_OS_NAME == 'osx' ]]; then pyenv global $PYENV_VERSION if [[ $PYENV_VERSION == 2* ]]; then diff --git a/.travis/run.sh b/.travis/run.sh index e3a4bf1..6217ae4 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + if [[ $TRAVIS_BUILD_STAGE_NAME == 'Deploy' ]]; then source venv/bin/activate fi diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 30f74c5..94debe5 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,9 @@ + + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c8ee408..051b4b4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + Thank you very much for your interest in contributing to grlc! It's people like you that truly make the Semantic Web more accessible to everyone :) ## Communication channels diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 6622b7d..26b1efa 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,3 +1,9 @@ + + # Contributors This is a list of all people who have contributed to grlc. Big thanks to everyone. diff --git a/Dockerfile b/Dockerfile index e768cf9..e304e13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + FROM python:3.6.8 MAINTAINER albert.merono@vu.nl diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/MANIFEST.in b/MANIFEST.in index e1ab611..e60c8e1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + include requirements.txt include requirements-test.txt include CITATION.cff diff --git a/README.md b/README.md index aa7b2e7..67a75de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + +

[![PyPI version](https://badge.fury.io/py/grlc.svg)](https://badge.fury.io/py/grlc) diff --git a/bin/grlc-server b/bin/grlc-server index 48c342e..944d3b3 100755 --- a/bin/grlc-server +++ b/bin/grlc-server @@ -1,4 +1,9 @@ #!/usr/bin/env python + +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + """Grlc server. Usage: diff --git a/config.default.ini b/config.default.ini index d8df51c..5e3811d 100644 --- a/config.default.ini +++ b/config.default.ini @@ -1,3 +1,7 @@ +; SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +; +; SPDX-License-Identifier: MIT + [auth] github_access_token = xxx diff --git a/docker-assets/assets/build/.gitattributes b/docker-assets/assets/build/.gitattributes index c868ad2..07e3e39 100644 --- a/docker-assets/assets/build/.gitattributes +++ b/docker-assets/assets/build/.gitattributes @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + install.sh merge=ours diff --git a/docker-assets/assets/build/install.sh b/docker-assets/assets/build/install.sh index e0ef183..a3d50f3 100644 --- a/docker-assets/assets/build/install.sh +++ b/docker-assets/assets/build/install.sh @@ -1,4 +1,9 @@ #!/bin/bash + +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + set -e diff --git a/docker-assets/entrypoint.sh b/docker-assets/entrypoint.sh index 01d1ce6..2c9a82f 100644 --- a/docker-assets/entrypoint.sh +++ b/docker-assets/entrypoint.sh @@ -1,4 +1,9 @@ #!/bin/bash + +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + set -e source ${GRLC_RUNTIME_DIR}/functions diff --git a/paper.bib b/paper.bib index 2b28f7e..d18e170 100644 --- a/paper.bib +++ b/paper.bib @@ -1,3 +1,9 @@ +@Comment{ +SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez + +SPDX-License-Identifier: MIT +} + @article{Espinoza2021, title = {Crossing the chasm between ontology engineering and application development: A survey}, journal = {Journal of Web Semantics}, diff --git a/paper.md b/paper.md index b18afb6..a58fdb4 100644 --- a/paper.md +++ b/paper.md @@ -1,3 +1,9 @@ + + --- title: 'grlc: the git repository linked data API constructor.' tags: diff --git a/setup.cfg b/setup.cfg index b88034e..c1a7bd9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + [metadata] description-file = README.md diff --git a/setup.py b/setup.py index 21f524a..1e13a63 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,9 @@ #!/usr/bin/env python + +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # -*- coding: iso-8859-15 -*- import codecs diff --git a/src/__init__.py b/src/__init__.py index 9226fe7..3f82cb2 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + from .__version__ import __version__ diff --git a/src/__version__.py b/src/__version__.py index e7524c2..e141ecf 100644 --- a/src/__version__.py +++ b/src/__version__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import os import sys import yaml diff --git a/src/fileLoaders.py b/src/fileLoaders.py index efde936..fce806a 100644 --- a/src/fileLoaders.py +++ b/src/fileLoaders.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import grlc.static as static from grlc.queryTypes import qType import grlc.glogging as glogging diff --git a/src/glogging.py b/src/glogging.py index 7502345..48a537d 100644 --- a/src/glogging.py +++ b/src/glogging.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import logging import grlc.static as static diff --git a/src/gquery.py b/src/gquery.py index b7d91ec..08d02bb 100644 --- a/src/gquery.py +++ b/src/gquery.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # gquery.py: functions that deal with / transform SPARQL queries in grlc import yaml diff --git a/src/pagination.py b/src/pagination.py index 4262857..e0cf6fa 100644 --- a/src/pagination.py +++ b/src/pagination.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + from urllib.parse import urlparse, urlunparse, parse_qsl, urlencode, ParseResult def getSwaggerPaginationDef(resultsPerPage): diff --git a/src/prov.py b/src/prov.py index 440cd10..d54c0b1 100644 --- a/src/prov.py +++ b/src/prov.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # prov.py: class generating grlc related W3C prov triples from rdflib import Graph, URIRef, Namespace, RDF, Literal diff --git a/src/queryTypes.py b/src/queryTypes.py index d52b2af..aac4d30 100644 --- a/src/queryTypes.py +++ b/src/queryTypes.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + """Definition of grlc query types.""" qType = { diff --git a/src/server.py b/src/server.py index 63347ab..b082f66 100644 --- a/src/server.py +++ b/src/server.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # server.py: the grlc server from flask import Flask, request, jsonify, render_template, make_response diff --git a/src/sparql.py b/src/sparql.py index 8543fcd..2725f66 100644 --- a/src/sparql.py +++ b/src/sparql.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + from SPARQLWrapper import SPARQLWrapper, CSV, JSON from flask import jsonify from collections import defaultdict diff --git a/src/static.py b/src/static.py index 1e72ac6..5c2e764 100644 --- a/src/static.py +++ b/src/static.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # static.py: static values for the grlc Server import os from configparser import ConfigParser diff --git a/src/static/css/grlc.css b/src/static/css/grlc.css index 6d2cc7a..2cc4d9e 100644 --- a/src/static/css/grlc.css +++ b/src/static/css/grlc.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez + * + * SPDX-License-Identifier: MIT + */ + /* Adapted from bootstrap's cover.css */ /* diff --git a/src/static/js/grlc-api.js b/src/static/js/grlc-api.js index bfbf104..923c2b1 100644 --- a/src/static/js/grlc-api.js +++ b/src/static/js/grlc-api.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +// +// SPDX-License-Identifier: MIT + /** * Log to JavaScript console. */ diff --git a/src/static/js/grlc-layout.js b/src/static/js/grlc-layout.js index 12a6c22..79e0364 100644 --- a/src/static/js/grlc-layout.js +++ b/src/static/js/grlc-layout.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +// +// SPDX-License-Identifier: MIT + // Create the layout component class GrlcLayout extends React.Component { render() { diff --git a/src/swagger.py b/src/swagger.py index 243659d..300227c 100644 --- a/src/swagger.py +++ b/src/swagger.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import json import grlc.utils import grlc.gquery as gquery diff --git a/src/templates/api-docs.html b/src/templates/api-docs.html index 0b2f4bb..3e39b6a 100644 --- a/src/templates/api-docs.html +++ b/src/templates/api-docs.html @@ -1,3 +1,9 @@ + + diff --git a/src/templates/index.html b/src/templates/index.html index c424179..59ba67b 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -1,3 +1,9 @@ + + diff --git a/src/util.py b/src/util.py index 065baef..e78ee28 100644 --- a/src/util.py +++ b/src/util.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # util.py: grlc utility functions import datetime diff --git a/src/utils.py b/src/utils.py index 15fc21a..e4a570a 100644 --- a/src/utils.py +++ b/src/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import grlc.static as static import grlc.gquery as gquery import grlc.pagination as pageUtils diff --git a/tests/__init__.py b/tests/__init__.py index e69de29..237cb19 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT diff --git a/tests/mock_data.py b/tests/mock_data.py index 0a8e0d2..45ee982 100644 --- a/tests/mock_data.py +++ b/tests/mock_data.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + from mock import Mock from os import path from glob import glob diff --git a/tests/test_endpoints.py b/tests/test_endpoints.py index 6ddc5b2..126608f 100644 --- a/tests/test_endpoints.py +++ b/tests/test_endpoints.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import pytest from mock import patch from tests.mock_data import mockLoader, mock_requestsUrl diff --git a/tests/test_gquery.py b/tests/test_gquery.py index 934b89c..49f86fb 100644 --- a/tests/test_gquery.py +++ b/tests/test_gquery.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import unittest import six import rdflib diff --git a/tests/test_grlc.py b/tests/test_grlc.py index 761f6c5..b817800 100644 --- a/tests/test_grlc.py +++ b/tests/test_grlc.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import unittest from mock import patch diff --git a/tests/test_loaders.py b/tests/test_loaders.py index acbf079..4cbf938 100644 --- a/tests/test_loaders.py +++ b/tests/test_loaders.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import unittest import six from mock import patch diff --git a/tests/test_swagger.py b/tests/test_swagger.py index 5eabeef..ca18fb3 100644 --- a/tests/test_swagger.py +++ b/tests/test_swagger.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + # Run using `$ pytest -s` import unittest diff --git a/tests/test_utils.py b/tests/test_utils.py index 61f4bdf..c4ca0ae 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + import unittest from mock import patch, Mock import json diff --git a/upstart/grlc-docker.conf.license b/upstart/grlc-docker.conf.license new file mode 100644 index 0000000..0d3d905 --- /dev/null +++ b/upstart/grlc-docker.conf.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez + +SPDX-License-Identifier: MIT diff --git a/upstart/webhook.py b/upstart/webhook.py index d5a43b5..77ec36b 100644 --- a/upstart/webhook.py +++ b/upstart/webhook.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + from flask import Flask from subprocess import call