diff --git a/CMake/FindAGIOS.cmake b/CMake/FindAGIOS.cmake index a11910d335d667da25d0abdb15b0de89cc83e241..9d93e2a2649b4d90f630dd19b8cdfeb1553c1608 100644 --- a/CMake/FindAGIOS.cmake +++ b/CMake/FindAGIOS.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + find_path(AGIOS_INCLUDE_DIR NAMES agios.h ) diff --git a/CMake/FindAbt.cmake b/CMake/FindAbt.cmake index 5bd2328f367c13a47b798704989e459fb0e44602..69e8bf607993d804c65ae4a21edecc0d6c07859e 100644 --- a/CMake/FindAbt.cmake +++ b/CMake/FindAbt.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + find_path(ABT_INCLUDE_DIR NAMES abt.h ) diff --git a/CMake/FindDate.cmake b/CMake/FindDate.cmake index c60ce790619ba9c76f2f5e8b0bd27da85b96cfcd..16d7c31bd40018a7947eb69db65c5704cc51a34e 100644 --- a/CMake/FindDate.cmake +++ b/CMake/FindDate.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + find_path(DATE_INCLUDE_DIR NAMES date/date.h ) diff --git a/CMake/FindJeMalloc.cmake b/CMake/FindJeMalloc.cmake index 26fb1748d7a869493a1b18a01a9736613234d540..51584603fd4483a5c38882e85539e917412ae2a1 100644 --- a/CMake/FindJeMalloc.cmake +++ b/CMake/FindJeMalloc.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # - Try to find jemalloc headers and libraries. # # Usage of this module as follows: diff --git a/CMake/FindLZ4.cmake b/CMake/FindLZ4.cmake index 1775e6db18b66c5d6072c9a36a73239e51f1c324..070d45a7ccd5808f3e704dfa41e81f84f8a147a8 100644 --- a/CMake/FindLZ4.cmake +++ b/CMake/FindLZ4.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # - Find Lz4 # Find the lz4 compression library and includes diff --git a/CMake/FindMargo.cmake b/CMake/FindMargo.cmake index fde1991aec9b7b1975d5760038091f909836de90..0c607a041de693fe7f782a8de0a8e4a69a4ca772 100644 --- a/CMake/FindMargo.cmake +++ b/CMake/FindMargo.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # Try to find Margo headers and library. # # Usage of this module as follows: diff --git a/CMake/FindRocksDB.cmake b/CMake/FindRocksDB.cmake index 33392021535dff505d21304975c536353fe56af8..d5acc4128c2fc700fd0bd4794c009a1c5647a1e1 100644 --- a/CMake/FindRocksDB.cmake +++ b/CMake/FindRocksDB.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # Try to find RocksDB headers and library. # # Usage of this module as follows: diff --git a/CMake/FindSnappy.cmake b/CMake/FindSnappy.cmake index f48b29291119ce34399e2791caec4821f10861bd..1cd5e757bc40efc05e3aa60998fd27827d6ad3db 100644 --- a/CMake/FindSnappy.cmake +++ b/CMake/FindSnappy.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + find_library(Snappy_LIBRARY NAMES snappy ) diff --git a/CMake/FindSyscall_intercept.cmake b/CMake/FindSyscall_intercept.cmake index 5aff4b1763358827de0ec2994c69891e67d1f7f3..77bf56f54bf2bd7d684a099b4f7c547a3f651f84 100644 --- a/CMake/FindSyscall_intercept.cmake +++ b/CMake/FindSyscall_intercept.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + find_package(PkgConfig) pkg_check_modules(PC_Syscall_intercept QUIET libsyscall_intercept) diff --git a/CMake/FindZStd.cmake b/CMake/FindZStd.cmake index cc76a3bd58fec372e149f812453eb5293fe6ad06..0e9480633eb491e8806b019a4153f1f4f71495b6 100644 --- a/CMake/FindZStd.cmake +++ b/CMake/FindZStd.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # # - Try to find Facebook zstd library # This will define diff --git a/CMake/GkfsPythonTesting.cmake b/CMake/GkfsPythonTesting.cmake index 042adfc27e468109aa3c7c35d06e2cc77e350968..e76c9c06ba7c1dfc9a988b340cc2f0707526230a 100644 --- a/CMake/GkfsPythonTesting.cmake +++ b/CMake/GkfsPythonTesting.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + include(CMakeParseArguments) function(gkfs_enable_python_testing) diff --git a/CMake/gkfs-code-coverage.cmake b/CMake/gkfs-code-coverage.cmake index 3c0e82973f59b0308dcf8c1082678b079ed16e86..2bbf65d86c1aeff2c5dcd1a264a513a5161eca72 100644 --- a/CMake/gkfs-code-coverage.cmake +++ b/CMake/gkfs-code-coverage.cmake @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # Variables option(GKFS_ENABLE_CODE_COVERAGE "Builds GekkoFS targets with code coverage instrumentation." diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e1920cb2f1ec4f9f3176797959652ebff884ef9..ffcae7a7ff57cbdd6570ce6cb0db841b30d1ac3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + cmake_minimum_required(VERSION 3.6) project( diff --git a/examples/gfind/CMakeLists.txt b/examples/gfind/CMakeLists.txt index ba05dac89d852bd0f146efae646f86180d3aaf58..ff80d2501fea9d59e5c03db3ea060c789f887557 100644 --- a/examples/gfind/CMakeLists.txt +++ b/examples/gfind/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + set (CMAKE_CXX_STANDARD 14) add_executable(sfind sfind.cpp) diff --git a/examples/gfind/gfind.cpp b/examples/gfind/gfind.cpp index 116b1344ca6bd9d78dc7de3430881b894cc2e637..1370e528d92e60ccdad94bc582d8f9572e356558 100644 --- a/examples/gfind/gfind.cpp +++ b/examples/gfind/gfind.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/examples/gfind/pfind.sh b/examples/gfind/pfind.sh index f390ffbdb76a03f36b33e380fb8877dff158d876..8493e902444752ddfb155f1e1d7a07e4c810db42 100755 --- a/examples/gfind/pfind.sh +++ b/examples/gfind/pfind.sh @@ -1,6 +1,20 @@ #!/bin/bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # optimal $GKFS_FIND_PROCESS is $GKFS_SERVERS+1 as we align servers and find processes if the $NUM_NODES are the same # Output is saved to a file, so it can be processed by io500 srun --nvram-options=1LM:1980 -N $NUM_NODES -n $GKFS_FIND_PROCESS --export=ALL,PSM2_DEVICES=self,hfi,shm,PSM2_MULTIRAIL=1,PSM2_MULTI_EP=0,LD_PRELOAD=${GKFS_PRLD} -o find_${SLURM_JOB_ID}.txt $GKFS_FIND $@ -M $GKFS_MNT -S $GKFS_SERVERS tail -n1 find_${SLURM_JOB_ID}.txt exit 0 + diff --git a/examples/gfind/sfind.cpp b/examples/gfind/sfind.cpp index 9702638853aa9a888013d6750cdb133154a7485a..c06129339a888ec808c4763a7c99847c9cdeb51c 100644 --- a/examples/gfind/sfind.cpp +++ b/examples/gfind/sfind.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/env.hpp b/include/client/env.hpp index 5252a93f58450e2d448a7e3b37b6c0a590301464..bfa41175e5f65f001c540499ee24f7cfb0bb2065 100644 --- a/include/client/env.hpp +++ b/include/client/env.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/gkfs_functions.hpp b/include/client/gkfs_functions.hpp index 3a3c0db5b51713091c6fb02d0ec562a98a300a3a..3b9ff648ae1ca170122b3f0215a701ae58e5f908 100644 --- a/include/client/gkfs_functions.hpp +++ b/include/client/gkfs_functions.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/hooks.hpp b/include/client/hooks.hpp index ca3ffdeeea9154ded25dee52345c256f6fec2733..b1063751783e838b6bd6ee7e4f61eebd9fb74380 100644 --- a/include/client/hooks.hpp +++ b/include/client/hooks.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/intercept.hpp b/include/client/intercept.hpp index e3fe1d94d00a1f520a70d86b998832a958495d53..06837cf90db5716a16a95c9aeaf7f8a50ddbbbfd 100644 --- a/include/client/intercept.hpp +++ b/include/client/intercept.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/logging.hpp b/include/client/logging.hpp index db769d648e8c291b8b6ccfbe5ec893e15e52217a..4c0227e79dbda7f78259f2a3378e20e3645bc732 100644 --- a/include/client/logging.hpp +++ b/include/client/logging.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/make_array.hpp b/include/client/make_array.hpp index ffd5ef3b3438c0a7bbf8f46a229922db62aee0b2..4ff4ac03f36cc1e3c165473a8cdb13f68801123f 100644 --- a/include/client/make_array.hpp +++ b/include/client/make_array.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/open_dir.hpp b/include/client/open_dir.hpp index 1988f13541a7f9c15a7187ee97d85c68d13f649e..a7cd0c8a08e90bfc34fab9d29da704661ce0e966 100644 --- a/include/client/open_dir.hpp +++ b/include/client/open_dir.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_OPEN_DIR_HPP #define GEKKOFS_OPEN_DIR_HPP diff --git a/include/client/open_file_map.hpp b/include/client/open_file_map.hpp index a35a05ff8a0536c707cf1d76ec2ce66b6a45c0a8..cc477da8d566c9b93e4a2776e3f07b64fbf3569d 100644 --- a/include/client/open_file_map.hpp +++ b/include/client/open_file_map.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_OPEN_FILE_MAP_HPP #define GEKKOFS_OPEN_FILE_MAP_HPP diff --git a/include/client/path.hpp b/include/client/path.hpp index 6b6cf851c7e271d7cbde823d7b3f752de26490a1..e948400c1a403db44b724e94ebf5e4d5a0ebc698 100644 --- a/include/client/path.hpp +++ b/include/client/path.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/preload.hpp b/include/client/preload.hpp index 2c6f01caa8b98a50e97527428846d896ab135c51..230ef033397b7f778e6a296c83dc8e852aa7ea24 100644 --- a/include/client/preload.hpp +++ b/include/client/preload.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/preload_context.hpp b/include/client/preload_context.hpp index c79dbcd61ecdb980c9d6598de0ba6633e4d5fd1d..89e8c5b3cc719f1b3bbe52e5d4dece87fc29a42b 100644 --- a/include/client/preload_context.hpp +++ b/include/client/preload_context.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/preload_util.hpp b/include/client/preload_util.hpp index 1e272c8f5d5367de1304da859386ca18a2b31a7c..a515444fb6999fe8d2ccdf349a5e5957e292f41b 100644 --- a/include/client/preload_util.hpp +++ b/include/client/preload_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_PRELOAD_UTIL_HPP #define GEKKOFS_PRELOAD_UTIL_HPP diff --git a/include/client/rpc/forward_data.hpp b/include/client/rpc/forward_data.hpp index a150044f40b0532526735dd47d421abc752dd8d3..9ecc77c1fd2d185b9886945c02f3e7785db0d9ef 100644 --- a/include/client/rpc/forward_data.hpp +++ b/include/client/rpc/forward_data.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_CLIENT_FORWARD_DATA_HPP #define GEKKOFS_CLIENT_FORWARD_DATA_HPP diff --git a/include/client/rpc/forward_management.hpp b/include/client/rpc/forward_management.hpp index 48956f518375b5e558a28b65f4bd3dc45ef2fdfc..c48a06971ef310a13f165cded6561fa4bfc19ed3 100644 --- a/include/client/rpc/forward_management.hpp +++ b/include/client/rpc/forward_management.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_CLIENT_FORWARD_MNGMNT_HPP #define GEKKOFS_CLIENT_FORWARD_MNGMNT_HPP diff --git a/include/client/rpc/forward_metadata.hpp b/include/client/rpc/forward_metadata.hpp index a5ae1976e96437589771adace600bf2a67b0385e..47134663aec0d1ac8c4e279b486dcc1b9761c42a 100644 --- a/include/client/rpc/forward_metadata.hpp +++ b/include/client/rpc/forward_metadata.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_CLIENT_FORWARD_METADATA_HPP #define GEKKOFS_CLIENT_FORWARD_METADATA_HPP diff --git a/include/client/rpc/rpc_types.hpp b/include/client/rpc/rpc_types.hpp index 021d3fc0af64d630f713eb3745bd48fccf611334..58091099e89e59640ca916ae95de762bc1f06093 100644 --- a/include/client/rpc/rpc_types.hpp +++ b/include/client/rpc/rpc_types.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls.hpp b/include/client/syscalls.hpp index aa47d56f3442373220f26d38fdfe48349e447118..c63ff035b96ecf37aff627f186f04cdffdf5115c 100644 --- a/include/client/syscalls.hpp +++ b/include/client/syscalls.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/args.hpp b/include/client/syscalls/args.hpp index 3df34ea731710622bdcee940adb51b6fd73982ee..3ab85e8715bbc046983b18eb994bb6b9570e25e5 100644 --- a/include/client/syscalls/args.hpp +++ b/include/client/syscalls/args.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/decoder.hpp b/include/client/syscalls/decoder.hpp index d75491ca0408c3b1b8b2362d19b740408617d6e7..a07484682a13cf336055b48c7a8e411ef4555214 100644 --- a/include/client/syscalls/decoder.hpp +++ b/include/client/syscalls/decoder.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/detail/syscall_info.h b/include/client/syscalls/detail/syscall_info.h index 16608c9aacc9fab79f1c2f5247c6bbb10a0940e1..a357b93e11f8748bd68428ef6c1c88fbaf02b401 100644 --- a/include/client/syscalls/detail/syscall_info.h +++ b/include/client/syscalls/detail/syscall_info.h @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/errno.hpp b/include/client/syscalls/errno.hpp index 31ee96af7fb8ed31e63d701e9b36acb8a1f69839..f3cd71a77e6bf7a3912ba73e654673984d7da6e5 100644 --- a/include/client/syscalls/errno.hpp +++ b/include/client/syscalls/errno.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/rets.hpp b/include/client/syscalls/rets.hpp index 0767ec36d2993c45fea504a657e7c88d01108e52..da9d8458d12d65e6d44c95b04c0c24c30cd46a63 100644 --- a/include/client/syscalls/rets.hpp +++ b/include/client/syscalls/rets.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/client/syscalls/syscall.hpp b/include/client/syscalls/syscall.hpp index ed67dae53ffaaccd5ec89d81ceca8096052b06ef..19e8419c72edb9bd2ed0dfe9d36af6f54673f106 100644 --- a/include/client/syscalls/syscall.hpp +++ b/include/client/syscalls/syscall.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/config.hpp b/include/config.hpp index 2fea22dfeaad0679013e62985950bc013b43ef32..66fe6e3e43e59909c02a4162c8e0a416be988f8b 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/data/chunk_storage.hpp b/include/daemon/backend/data/chunk_storage.hpp index 6a8f2c433e45902a6cc70acf3be7251425a787de..5efc4d2075bfb3b652b0348e4fc145bd12267b84 100644 --- a/include/daemon/backend/data/chunk_storage.hpp +++ b/include/daemon/backend/data/chunk_storage.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/data/data_module.hpp b/include/daemon/backend/data/data_module.hpp index e6a14b686ca67cb083469a0667f06cffbcd033c0..b09097843f3b2793920659075efbe93105490620 100644 --- a/include/daemon/backend/data/data_module.hpp +++ b/include/daemon/backend/data/data_module.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/data/file_handle.hpp b/include/daemon/backend/data/file_handle.hpp index 93b53c398b364c3c5bbf946e58b30db9042720f2..ffea577e18ac1ec11ee3b920e1283567d035f78f 100644 --- a/include/daemon/backend/data/file_handle.hpp +++ b/include/daemon/backend/data/file_handle.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/exceptions.hpp b/include/daemon/backend/exceptions.hpp index 1bb033ff69d2d4ccbdbe80a929bd00ce83046e2d..502cc760ca5f805a84cebd5f94bfb04e810d48c9 100644 --- a/include/daemon/backend/exceptions.hpp +++ b/include/daemon/backend/exceptions.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/metadata/db.hpp b/include/daemon/backend/metadata/db.hpp index 4b1ace3a09752ff69ef94ae8466d293fbb6b7827..1d40bab6620f707b660a357b14ba0b2df1781b3d 100644 --- a/include/daemon/backend/metadata/db.hpp +++ b/include/daemon/backend/metadata/db.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/backend/metadata/merge.hpp b/include/daemon/backend/metadata/merge.hpp index 17f28558bc0e08489532d5026834c60d18ee7030..590238478201d4be4a62868fb1fe387e2ad2f141 100644 --- a/include/daemon/backend/metadata/merge.hpp +++ b/include/daemon/backend/metadata/merge.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/classes/fs_data.hpp b/include/daemon/classes/fs_data.hpp index ed582caa047811cc510fab28a4a8cc075a792fdb..8329a0579ee26ac7f98b23e0b9ccd97451145cb9 100644 --- a/include/daemon/classes/fs_data.hpp +++ b/include/daemon/classes/fs_data.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef LFS_FS_DATA_H #define LFS_FS_DATA_H diff --git a/include/daemon/classes/rpc_data.hpp b/include/daemon/classes/rpc_data.hpp index b8df6c71e68b7ed3dec7fdb4de40206c84d829d4..dcec0f68a36ab74b826cd8f740ea033d82172d4a 100644 --- a/include/daemon/classes/rpc_data.hpp +++ b/include/daemon/classes/rpc_data.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef LFS_RPC_DATA_HPP #define LFS_RPC_DATA_HPP diff --git a/include/daemon/daemon.hpp b/include/daemon/daemon.hpp index 934f12a75defeb57e61a3eb9a7ac1417e998d365..1b760fb41942c24ca86625655b26253b6bf94e91 100644 --- a/include/daemon/daemon.hpp +++ b/include/daemon/daemon.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/env.hpp b/include/daemon/env.hpp index 4c55d370e0a9b68b9662f9b45008e29d68a0adc5..3506ea4d5821e4b7a2e6c506b4844ce80407a6d9 100644 --- a/include/daemon/env.hpp +++ b/include/daemon/env.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/handler/rpc_defs.hpp b/include/daemon/handler/rpc_defs.hpp index 8321b9c851c1dc18dd4f4f67c933a91797884d96..03c444a9e50d741df60f60b9c3116f6fdc3d6d77 100644 --- a/include/daemon/handler/rpc_defs.hpp +++ b/include/daemon/handler/rpc_defs.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GKFS_DAEMON_RPC_DEFS_HPP #define GKFS_DAEMON_RPC_DEFS_HPP diff --git a/include/daemon/handler/rpc_util.hpp b/include/daemon/handler/rpc_util.hpp index ebfbbb92dfe4096b3a167a4accae6084dcc18d0e..8a0bd4389076d6f6d93941bef911844482c4e094 100644 --- a/include/daemon/handler/rpc_util.hpp +++ b/include/daemon/handler/rpc_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/ops/data.hpp b/include/daemon/ops/data.hpp index 808b807e4920b8c50fe786101a487f34fe72da10..8dbd89c4291b632089ebbab58db44584fd0f20cb 100644 --- a/include/daemon/ops/data.hpp +++ b/include/daemon/ops/data.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/daemon/ops/metadentry.hpp b/include/daemon/ops/metadentry.hpp index 4d017ae42538605c632fb5ad59a55281af2bb20d..993060285631831c9ecdd440493f1c1409e4414a 100644 --- a/include/daemon/ops/metadentry.hpp +++ b/include/daemon/ops/metadentry.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_METADENTRY_HPP #define GEKKOFS_METADENTRY_HPP diff --git a/include/daemon/scheduler/agios.hpp b/include/daemon/scheduler/agios.hpp index 8263def3f7e36f3d1be6e1adc6d539c40a285ccb..78a3778ec492798c3e6cbfc9b0fbd9e737aedd81 100644 --- a/include/daemon/scheduler/agios.hpp +++ b/include/daemon/scheduler/agios.hpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #ifndef IFS_SCHEDULER_HPP #define IFS_SCHEDULER_HPP diff --git a/include/daemon/util.hpp b/include/daemon/util.hpp index 6e2c7cea8dce1d2e845e866bc6f1fb1aa89ac487..f41eae6742e06ee8dda4302ddebdcdb254d727c4 100644 --- a/include/daemon/util.hpp +++ b/include/daemon/util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/arithmetic/arithmetic.hpp b/include/global/arithmetic/arithmetic.hpp index a49eabea0ccba4633f9ba6dab1e056e58b23256d..0a10e4933c0dce0242a362fa3eabf89833b04729 100644 --- a/include/global/arithmetic/arithmetic.hpp +++ b/include/global/arithmetic/arithmetic.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/env_util.hpp b/include/global/env_util.hpp index 996a1bfcbc0a5f84ed390db6e3ff114024626196..9c5613ef27b336e12aa0a319875f0ede2f16c89a 100644 --- a/include/global/env_util.hpp +++ b/include/global/env_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/global_defs.hpp b/include/global/global_defs.hpp index aec77c113fe868769c29e44df7fb898985f45a81..e57cf90a68de848ac8228cbc48efcb647ac0b4d1 100644 --- a/include/global/global_defs.hpp +++ b/include/global/global_defs.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/log_util.hpp b/include/global/log_util.hpp index fe2cd89bb37b655bd7ea8ee4f87603b8fffd0f3e..2f0dd83b8a284a1d5f50b8376ce1fd4176ea01da 100644 --- a/include/global/log_util.hpp +++ b/include/global/log_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/metadata.hpp b/include/global/metadata.hpp index 5a141088329b30d42a3b87f226ea59fe6cde5c68..e6b7aecb0ed14bbd07e88fd3184d5e98665f1ed0 100644 --- a/include/global/metadata.hpp +++ b/include/global/metadata.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/path_util.hpp b/include/global/path_util.hpp index d88e06e6bdb8c525a0ed4b3a68aea333ad21f17f..24956a8790ef1a62bfb541a866ee3a3050c53bdd 100644 --- a/include/global/path_util.hpp +++ b/include/global/path_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/rpc/distributor.hpp b/include/global/rpc/distributor.hpp index b3f9a926d48d414fb90750011c77b83b8f38f521..c841c53fcb95b2ef8721e3d5b090c074ff08c705 100644 --- a/include/global/rpc/distributor.hpp +++ b/include/global/rpc/distributor.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/include/global/rpc/rpc_types.hpp b/include/global/rpc/rpc_types.hpp index 5f1f5f745a5eba07543bf5757870618a8cede88d..080a71f8465b7bc617926a9f86a9f9a504bae429 100644 --- a/include/global/rpc/rpc_types.hpp +++ b/include/global/rpc/rpc_types.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef LFS_RPC_TYPES_HPP #define LFS_RPC_TYPES_HPP diff --git a/include/global/rpc/rpc_util.hpp b/include/global/rpc/rpc_util.hpp index 3699e7bc1aec4194c0c898c95bf867571a2831a4..5d4bb49f5f6eaa7d09cef6503cd213621f9aa6e4 100644 --- a/include/global/rpc/rpc_util.hpp +++ b/include/global/rpc/rpc_util.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #ifndef GEKKOFS_GLOBAL_RPC_UTILS_HPP #define GEKKOFS_GLOBAL_RPC_UTILS_HPP diff --git a/scripts/benchmark_check.sh b/scripts/benchmark_check.sh index fe257f18c5a3e652489285fa563711e6f35ebe14..f10da8058c2b827d0792700e3a4a1c44540d6b8c 100755 --- a/scripts/benchmark_check.sh +++ b/scripts/benchmark_check.sh @@ -1,4 +1,17 @@ #!/usr/bin/env bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + usage_short() { echo " diff --git a/scripts/check_format.sh b/scripts/check_format.sh index c178ebc38838b648f8b9168bbdec2faa8e3910a8..c516ec09e330b0f8d7272e770df88e0d76dfacaf 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -1,4 +1,17 @@ #!/bin/bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + PROJECT_SRC="$(pwd)/src" PROJECT_INCLUDE="$(pwd)/include" diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index e55bcb220f2c3cf1112b6231dab9752dd9d75f5f..65e170f25154249dad4179d3fc5702dea4c64b9c 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash - ################################################################################ -# # -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # # This software was partially supported by the # # EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # @@ -12,9 +10,9 @@ # ADA-FS project under the SPPEXA project funded by the DFG. # # # # SPDX-License-Identifier: MIT # -# # ################################################################################ + # default values export CCOV_ROOT_DIR="${PWD}" export CCOV_BUILD_DIR="${PWD}" diff --git a/scripts/compile_dep.sh b/scripts/compile_dep.sh index a7d35ebe69054efd37abd3dd9e77ed015bb74db3..4638de12a7e5a37e7b3e1afe5ecbebe4cd9f75cb 100755 --- a/scripts/compile_dep.sh +++ b/scripts/compile_dep.sh @@ -1,4 +1,17 @@ #!/bin/bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + PATCH_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PATCH_DIR="${PATCH_DIR}/patches" diff --git a/scripts/dl_dep.sh b/scripts/dl_dep.sh index 342e32a5a2215bc3796cb1ec307afe5a77658e11..747e0b9f61793b3fb6db123f3ec8e9c8873833bf 100755 --- a/scripts/dl_dep.sh +++ b/scripts/dl_dep.sh @@ -1,4 +1,17 @@ #!/bin/bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + COMMON_CURL_FLAGS="--silent --fail --show-error --location -O" COMMON_GIT_FLAGS="--quiet --single-branch" diff --git a/scripts/license/add_license_headers.sh b/scripts/license/add_license_headers.sh deleted file mode 100755 index b2d9eab0b0a7f73db80f3186109ceb38c45d6594..0000000000000000000000000000000000000000 --- a/scripts/license/add_license_headers.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -set -e -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -PROJ_DIR=`readlink -f ${DIR}/../../` - -docker run --rm --volume ${PROJ_DIR}:/usr/src/ osterman/copyright-header:latest \ - --syntax scripts/license/copyright_header_syntax.yml \ - --license-file scripts/license/header \ - --guess-extension \ - --word-wrap 80 \ - --output-dir /usr/src/ \ - --add-path ./src:./include diff --git a/scripts/maintainer-tools/README.md b/scripts/maintainer-tools/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0d51a64bf52224c2cd5a1669e720f1b5459d391f --- /dev/null +++ b/scripts/maintainer-tools/README.md @@ -0,0 +1,9 @@ +# Maintainer Tools + +This folder contains several tools designed to help with the maintenance of the +project. + +- **Copyright headers:** The [`copyright-headers`](https://storage.bsc.es/gitlab/hpc/gekkofs/-/tree/master/scripts/maintainer-tools/copyright-headers) folder contains a +script to add/remove copyright headers from source files in the project. +The script relies on a Docker container that encapsulates a patched version of +[osterman/copyright-header](https://github.com/osterman/copyright-header). diff --git a/scripts/maintainer-tools/copyright-headers/Dockerfile b/scripts/maintainer-tools/copyright-headers/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..5e542b8fb692a11eb3d465f19680a5fb926b3d1a --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/Dockerfile @@ -0,0 +1,55 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + +FROM ruby:slim + + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + git \ + libssl-dev \ + libicu-dev \ + make \ + cmake \ + g++ \ + pkg-config \ + && \ + git clone https://github.com/cloudposse/copyright-header.git /tmp/copyright-header + +COPY patch.diff /tmp/copyright-header + +WORKDIR /tmp/copyright-header + +RUN git apply patch.diff && \ + gem build copyright-header.gemspec && \ + gem install copyright-header-*.gem && \ + # cleanup + rm -rf /tmp/copyright-header && \ + apt-get purge -y \ + git \ + libssl-dev \ + libicu-dev \ + make \ + cmake \ + g++ \ + pkg-config \ + && \ + rm -rf /var/lib/apt/lists/* && \ + apt-get clean && \ + apt-get autoclean + +VOLUME ["/usr/src"] + +WORKDIR /usr/src + +ENTRYPOINT ["/usr/local/bundle/bin/copyright-header"] diff --git a/scripts/maintainer-tools/copyright-headers/README.md b/scripts/maintainer-tools/copyright-headers/README.md new file mode 100644 index 0000000000000000000000000000000000000000..56f1080e06e46787a38ec4be76415e7cac54948d --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/README.md @@ -0,0 +1,197 @@ +# Copyright Headers +This folder contains the necessary files to allow maintainers to quickly +**add** and **remove** copyright headers from source files. + +## TL;DR + +General steps for updating copyright headers in the project: + +0. Ensure that the `COPYRIGHT_YEARS` variable in `project.config` matches the +copyright headers currently in source files. + + ```shell + COPYRIGHT_YEARS="{:bsc => [2018, 2020], :jgu => [2015, 2020]}" + ^ ^ + ``` +1. Remove outdated copyright headers from source files: + ```console + cd /scripts/maintainer-tools/copyright-headers + manage-headers.sh --remove --project-dir /projects/gekkofs/source + ``` +2. Edit the `project.config` file and update the `COPYRIGHT_YEARS` variable as +needed. + ```shell + COPYRIGHT_YEARS="{:bsc => [2018, 2021], :jgu => [2015, 2021]}" + ^ ^ + ``` +3. Add the new copyright headers to source files: + ```console + manage-headers.sh --add --project-dir /projects/gekkofs/source + ``` + +If done correctly and the templates have not been modified further, only the +updated fields should show in a diff view: + + ```diff + diff --git a/examples/gfind/gfind.cpp b/examples/gfind/gfind.cpp + index 1370e528..116b1344 100644 + --- a/examples/gfind/gfind.cpp + +++ b/examples/gfind/gfind.cpp + @@ -1,6 +1,6 @@ + /* + - Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + - Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain + + Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + ``` + +## Further Details + +### manage-headers.sh +The main script to manage copyright headers. It can be instructed to +auto-detect targets for imprinting or to work on specific files: + +```shell +########################### +## Target auto-detection ## +########################### +# 1. add a copyright header to all source files in `--project-dir` that +# don't currently have one +manage-headers.sh --add --project-dir /projects/gekkofs/source + +# 2. remove the copyright header from all source files in `--project-dir` that +# currently have one +manage-headers.sh --remove --project-dir /projects/gekkofs/source + +############################### +## Specific target selection ## +############################### +# 1. add a copyright header to '/projects/gekkofs/source/scripts/ci/coverage.sh' +# if it doesn't already have one +manage-headers.sh --add /projects/gekkofs/source/scripts/ci/coverage.sh + +# 2. remove the copyright header from '/projects/gekkofs/source/scripts/ci/coverage.sh' +# if it already has one +manage-headers.sh --remove /projects/gekkofs/source/scripts/ci/coverage.sh +``` + +#### Controlling the generated headers +The copyright headers generated by the scripts can be controlled by editing the +following files: +* `gekkofs-syntax.yml`: A YAML file that describes the details of how each source +file type should be handled, e.g. which extensions should be considered for a +certain file type, which types of comments should be used, etc. +* `gekkofs-template.erb`: The main template for the copyright header. It supports +limited Ruby expansion from the variables defined in `project.config`. +* `project.config`: The main project configuration file. It contains variables +that control how the copyright header is produced, such as the name of the +software, its description or the years for which copyright applies, as well as +which templates should be used to expand these variables. + +#### NOTES +1. To prevent undesired modifications to source files, the `manage-headers.sh` +script only considers files that are already under version control. +2. Due to limitations on how the `manage-headers.sh` script currently handles +Docker volumes, manually selecting targets may fail if the target itself is +not a sub-path of the current project directory, which defaults to `$PWD` +unless explicitly set with `--project-dir`. + +### Osterman's 'copyright-headers' Ruby gem +The `manage-header.sh` relies on a [Ruby gem by Erik Osterman](https://github.com/cloudposse/copyright-header) to do the header imprinting. To make it more suitable for +our needs, the gem has been patched with several modifications and encapsulated +into the `gekkofs/copyright-header` Docker image for ease of use. The following +files are used in this process. + + * `Dockerfile`: The Docker file for the `gekkofs/copyright-header` image. It + basically downloads the latest version of Osterman's gem, patches it and + defines an entrypoint for it. + * `patch.diff`: Our specific modifications to the original Ruby gem. + +### Tips and Tricks + +The following techniques may be useful to find out what's happening if the +`manage-headers.sh` script is not behaving as expected: + +1. Checking which targets will be considered by the script: + ```shell + manage-headers.sh --add --project-dir /projects/gekkofs/source --show-targets + -- Project directory: '/projects/gekkofs/source' -- + Checking '/projects/gekkofs/source/test/main_temp.cpp' [OK] + Checking '/projects/gekkofs/source/test/symlink_test.cpp' [OK] + Checking '/projects/gekkofs/source/test/main_IO_testing.cpp' [OK] + Checking '/projects/gekkofs/source/test/CMakeLists.txt' [OK] + ... + Checking '/projects/gekkofs/source/test/main.cpp' [OK] + Checking '/projects/gekkofs/source/test/dir_test.cpp' [SKIPPED -- not under version control] + ``` + +2. Executing a dry run: + + ```shell + manage-headers.sh --add --project-dir /projects/gekkofs/source -n + -- Project directory: '/projects/gekkofs/source' -- + Checking '/projects/gekkofs/source/test/main_temp.cpp' [OK] + Checking '/projects/gekkofs/source/test/symlink_test.cpp' [OK] + Checking '/projects/gekkofs/source/test/main_IO_testing.cpp' [OK] + Checking '/projects/gekkofs/source/test/CMakeLists.txt' [OK] + ... + Checking '/projects/gekkofs/source/test/main.cpp' [OK] + Checking '/projects/gekkofs/source/test/dir_test.cpp' [SKIPPED -- not under version control] + -- DRY RUN -- + SKIP /projects/gekkofs/source/test/main_temp.cpp; exception=detected existing license + SKIP /projects/gekkofs/source/test/symlink_test.cpp; exception=detected existing license + SKIP /projects/gekkofs/source/test/main_IO_testing.cpp; exception=detected existing license + SKIP /projects/gekkofs/source/test/CMakeLists.txt; exception=detected existing license + SKIP /projects/gekkofs/source/test/main.cpp; exception=detected existing license + SKIP /projects/gekkofs/source/test/dir_test.cpp; exception=detected existing license + ``` + +1. Invoking the docker image directly: + + ```shell + docker run -ti --rm gekkofs/copyright-header:latest --help + Usage: /usr/local/bundle/bin/copyright-header options [file] + -n, --dry-run Output the parsed files to STDOUT + -o, --output-dir DIR Use DIR as output directory + --license-file FILE Use FILE as header (instead of using --license argument) + --license [AGPL3|ASL2|BSD-2-CLAUSE|BSD-3-CLAUSE|BSD-4-CLAUSE|Boost|GPL3|LGPL3|MIT] + Use LICENSE as header + --copyright-software NAME The common name for this piece of software (e.g. "Copyright Header") + --copyright-software-description DESC + The detailed description for this piece of software (e.g. "A utility to manipulate copyright headers on source code files") + --copyright-holder NAME The legal owner of the copyright for the software. (e.g. "Erik Osterman "). Repeat argument for multiple names. + --copyright-year YEAR The years for which the copyright exists (e.g. "2012"). Repeat argument for multiple years. + -w, --word-wrap LEN Maximum number of characters per line for license (default: 80) + -a, --add-path PATH Recursively insert header in all files found in path (allows multiple paths separated by platform path-separator ":") + -r, --remove-path PATH Recursively remove header in all files found in path (allows multiple paths separated by platform path-separator ":") + -g, --guess-extension Use the GitHub Linguist gem to guess the extension of the source code when no extension can be determined (experimental). + -c, --syntax FILE Syntax configuration file + -V, --version Display version information + -h, --help Display this screen + ``` + +2. Invoking the docker image directly (with full volume substitution): + ```shell + docker run -ti --rm \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers:/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb:/usr/src/gekkofs-template.erb \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml:/usr/src/gekkofs-syntax.yml \ + gekkofs/copyright-header:latest [COPYRIGHT_HEADER_ARGS] + ``` +3. Starting an interactive shell inside the docker image: + ```shell + docker run -ti --rm --entrypoint /bin/bash gekkofs/copyright-header:latest + ``` + +4. Starting an interactive shell inside the docker image (with full volume substitution): + ```shell + docker run -ti --rm \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers:/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb:/usr/src/gekkofs-template.erb \ + --volume=/projects/gekkofs/source/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml:/usr/src/gekkofs-syntax.yml \ + --entrypoint /bin/bash \ + gekkofs/copyright-header:latest + ``` diff --git a/scripts/license/copyright_header_syntax.yml b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml similarity index 53% rename from scripts/license/copyright_header_syntax.yml rename to scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml index c9b649b53c9e78ec00ffca21a057e1fcce55871d..2260d49e8455bb43329022505dc634d3edb5bdbb 100644 --- a/scripts/license/copyright_header_syntax.yml +++ b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml @@ -1,10 +1,24 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + ruby: ext: ['.rb', '.rake'] after: ['^#!', '^#.*encoding:', '^#.*frozen_string_literal:'] comment: - open: '\n#\n' - close: '#\n' + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' prefix: '# ' + suffix: '' perl: ext: ['.pl'] @@ -13,6 +27,7 @@ perl: open: '#\n' close: '#\n' prefix: '# ' + suffix: '' # Support PEP 0263 comments: # coding= @@ -22,9 +37,10 @@ python: ext: ['.py'] after: ['^#!', '^#.*coding:', '^#.*coding=', '^#.*fileencoding='] comment: - open: '\n' - close: '\n' + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' prefix: '# ' + suffix: '#\n' html: ext: ['.html', '.htm', '.xhtml'] @@ -32,6 +48,7 @@ html: open: '\n' prefix: ' ' + suffix: '' php: ext: ['.php'] @@ -40,6 +57,7 @@ php: open: '\n' prefix: ' * ' + suffix: '' javacript: ext: ['.js', '.jsx'] @@ -47,6 +65,7 @@ javacript: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' qml: ext: ['.qml'] @@ -54,6 +73,7 @@ qml: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' qmake_project: ext: ['.pro'] @@ -61,6 +81,7 @@ qmake_project: open: '#\n' close: '#\n' prefix: '# ' + suffix: '' css: ext: ['.css'] @@ -68,13 +89,15 @@ css: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' c: ext: ['.c', '.h'] comment: - open: '/*' - close: ' */\n\n' - prefix: ' * ' + open: '/*\n' + close: '*/\n\n' + prefix: ' ' + suffix: '\n' cpp: ext: ['.cpp', '.hpp', '.cc', '.hh'] @@ -82,6 +105,7 @@ cpp: open: '/*\n' close: '*/\n\n' prefix: ' ' + suffix: '\n' java: ext: ['.java'] @@ -89,6 +113,7 @@ java: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' kotlin: ext: ['.kt'] @@ -96,6 +121,7 @@ kotlin: open: '/*\n' clone: ' */\n\n' prefix: ' * ' + suffix: '' golang: ext: ['.go'] @@ -103,6 +129,7 @@ golang: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' groovy: ext: ['.groovy'] @@ -110,6 +137,7 @@ groovy: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' haml: ext: ['.haml', '.hamlc'] @@ -117,6 +145,7 @@ haml: open: '-#\n' close: '-#\n' prefix: '-# ' + suffix: '' coffee: ext: ['.coffee'] @@ -124,6 +153,7 @@ coffee: open: '###\n' close: '###\n' prefix: '' + suffix: '' # M4 macro language, use #, not dnl m4: @@ -132,15 +162,41 @@ m4: open: '#\n' close: '#\n' prefix: '# ' + suffix: '' + +am: + ext: ['.am'] + comment: + open: '##########################################################################\n' + close: '##########################################################################\n\n' + prefix: '# ' + suffix: '#\n' + +ac: + ext: ['.ac'] + comment: + open: '##########################################################################\n' + close: '##########################################################################\n\n' + prefix: '# ' + suffix: '#\n' + +mk: + ext: ['.mk'] + comment: + open: '##########################################################################\n' + close: '##########################################################################\n\n' + prefix: '# ' + suffix: '#\n' # Most shells, really shell: ext: ['.sh'] after: ['^#!'] comment: - open: '#\n' - close: '#\n' + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' prefix: '# ' + suffix: '#\n' # Use "-- " to make sure e.g. MySQL understands it sql: @@ -149,6 +205,7 @@ sql: open: '-- \n' close: '-- \n' prefix: '-- ' + suffix: '' # XML is *not* the same as HTML, and the comments need to go after a # preprocessing directive, if present. @@ -160,13 +217,15 @@ xml: open: '\n' prefix: ' ' + suffix: '' yaml: ext: ['.yml', '.yaml'] comment: - open: '#\n' - close: '#\n' + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' prefix: '# ' + suffix: '#\n' action_script: ext: ['.as'] @@ -174,6 +233,7 @@ action_script: open: '//\n' close: '//\n\n' prefix: '// ' + suffix: '' sass: ext: ['.sass', '.scss'] @@ -181,6 +241,7 @@ sass: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' verilog: ext: ['.v', '.sv'] @@ -188,6 +249,7 @@ verilog: open: '//\n' close: '//\n\n' prefix: '// ' + suffix: '' vhdl: ext: ['.vhd'] @@ -195,6 +257,7 @@ vhdl: open: '--\n' close: '--\n\n' prefix: '-- ' + suffix: '' elm: ext: ['.elm'] @@ -202,6 +265,7 @@ elm: open: '{-\n' close: '-}\n\n' prefix: ' ' + suffix: '' swift: ext: ['.swift'] @@ -209,6 +273,7 @@ swift: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' rust: ext: ['.rs'] @@ -216,6 +281,8 @@ rust: open: '/*\n' close: ' */\n\n' prefix: ' * ' + suffix: '' + # Conf files i.e. apache config, splunk.conf files conf: ext: ['.conf'] @@ -223,3 +290,20 @@ conf: open: '#\n' close: '#\n' prefix: '# ' + suffix: '' + +cmake: + ext: ['CMakeLists.txt', '.cmake'] + comment: + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '#\n' + +dockerfile: + ext: ['Dockerfile'] + comment: + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '#\n' diff --git a/scripts/license/header b/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb similarity index 55% rename from scripts/license/header rename to scripts/maintainer-tools/copyright-headers/gekkofs-template.erb index fe3b01643d4976d1c5841a5e011ccea87a5c9d92..c96ba8a858a48c233df9f7875b5df8cfc89a0492 100644 --- a/scripts/license/header +++ b/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb @@ -1,9 +1,9 @@ -Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain -Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany +Copyright <%=eval(copyright_years[0])[:bsc].join('-')%>, Barcelona Supercomputing Center (BSC), Spain +Copyright <%=eval(copyright_years[0])[:jgu].join('-')%>, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). - + This software was partially supported by the ADA-FS project under the SPPEXA project funded by the DFG. diff --git a/scripts/maintainer-tools/copyright-headers/manage-headers.sh b/scripts/maintainer-tools/copyright-headers/manage-headers.sh new file mode 100755 index 0000000000000000000000000000000000000000..9bd9e553ded77a24862579ea9ccb4e61ad1ce8db --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/manage-headers.sh @@ -0,0 +1,378 @@ +#!/bin/bash +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + + +PROJECT_DIR=$(readlink -f .) +PROJECT_CONFIG_FILE="project.config" +DOCKER_DIR="/usr/src" + +INCLUDE_PATTERNS=( "*.c" "*.h" "*.cpp" "*.hpp" "*.am" "*.ac" "*.py" "*.sh" "*.mk") +EXCLUDE_PATTERNS=( ".git" "*build*" "*externals*" "*spdlog*" "*ctypesgen*" "./tests/catch.hpp" ) + +function help() { + +cat << EOF +Usage: $(basename "$0") COMMAND [OPTIONS] [PATH]... + +Add or remove license headers for each PATH specified by the user. If +no PATH is specified, the specified command is recursively applied to all files +in the current directory matching the following __default__ expressions: + + INCLUDE_PATTERNS: ${INCLUDE_PATTERNS[@]} + EXCLUDE_PATTERNS: ${EXCLUDE_PATTERNS[@]} + +These default patterns can be overriden with a '${PROJECT_CONFIG_FILE}' file. + +The following commands can be used: + -a, --add Add license header to targets. + -r, --remove Remove license header from targets. + -h, --help Show this help message, then exit. + +Additionally, the following options are supported: + -p, --project-dir DIR The root directory of the project's target files. + Defaults to '\$PWD', the current directory. + -s, --show-targets Don't actually execute, just show which targets would + be considered. + -n, --dry-run Don't actually execute, just show what would happen. +EOF + exit 1 +} + +function parse_args() { + + show_targets_only=false + + # $@ is all command line parameters passed to the script. + # -o is for short options like -v + # -l is for long options with double dash like --version + # the comma separates different long options + options=$(getopt -l \ + "add,remove,help,project-dir:,dry-run,show-targets" \ + -o "arhp:ns" -- "$@") + + # set --: + # If no arguments follow this option, then the positional parameters are + # unset. Otherwise, the positional parameters are set to the arguments, + # even if some of them begin with a ‘-’. + eval set -- "${options}" + + while true; + do + OPT="$1" + case "${OPT}" in + -a | --add) + PARSED_COMMAND="--add" + ;; + + -r | --remove) + PARSED_COMMAND="--remove" + ;; + + + -p | --project-dir) + shift + if [[ -z "$1" ]]; then + echo "option '${OPT}' requires an argument" + exit 1 + fi + + if ! [[ -d $1 ]]; then + echo "directory '${1}' does not exist." + exit 1 + fi + + PROJECT_DIR=$(readlink -f "$1") + ;; + + -n | --dry-run) + EXTRA_PROG_ARGS+=( "-n" ) + ;; + + -s | --show-targets) + show_targets_only=true + ;; + + --) + shift + EXTRA_SCRIPT_ARGS=( "$@" ) + break + ;; + + -h | --help | *) + help + exit 0 + ;; + esac + shift + done + + echo "-- Project directory: '${PROJECT_DIR}' --" + + if [[ -z "${PARSED_COMMAND}" ]]; then + echo "$(basename "$0"): ERROR: no command provided" + help + exit 1 + fi +} + +function validate_gem_version() { + + if shopt -qo xtrace; then + return + fi + + IFS=' .' read -r -a VERSION < <( (${COPYRIGHT_PROG} -v 2>&1) |& head -n1) + + if [[ "${VERSION[1]}" -lt 1 ]] || + [[ "${VERSION[2]}" -lt 0 ]] || + [[ "${VERSION[3]}" -lt 27 ]]; then + echo "CopyrightHeader gem too old" + exit 1 + fi +} + +function find_command() { + + COPYRIGHT_LICENSE_HOST=$(readlink -f "${COPYRIGHT_LICENSE}") + COPYRIGHT_LICENSE_DOCKER="${DOCKER_DIR}/"$(basename "${COPYRIGHT_LICENSE}") + + PROG_ARGS=( + "--rm" + "--volume=${PROJECT_DIR}:${PROJECT_DIR}" + "--volume=${COPYRIGHT_LICENSE_HOST}:${COPYRIGHT_LICENSE_DOCKER}" + ) + + if [[ -n "${COPYRIGHT_SYNTAX}" ]]; then + COPYRIGHT_SYNTAX_HOST=$(readlink -f "${COPYRIGHT_SYNTAX}") + COPYRIGHT_SYNTAX_DOCKER="${DOCKER_DIR}/"$(basename "${COPYRIGHT_SYNTAX}") + PROG_ARGS+=( "--volume=${COPYRIGHT_SYNTAX_HOST}:${COPYRIGHT_SYNTAX_DOCKER}" ) + fi + + COPYRIGHT_PROG="docker run ${PROG_ARGS[*]} gekkofs/copyright-header:latest" + + validate_gem_version +} + +function print_target() { + + target="$1" + message="$2" + prefix="Checking " + + target_length="${#target}" + message_length="${#message}" + prefix_length="${#prefix}" + + maxcols=$(echo "scale=0; ($(tput cols)*0.6)/1" | bc -l) + + # the +2 and -2 accounts for quotes used when printing targets + # the +1 for the separation space + if [[ $((target_length + prefix_length + 2 + 1 + message_length)) -gt $maxcols ]]; then + printf "$prefix%s\n%$(( maxcols ))s\n" "'${t}'" "${message}" + else + printf "$prefix%s %$(( maxcols - prefix_length - target_length - 3))s\n" "'${t}'" "${message}" + fi +} + +function find_targets() { + + TARGETS=() + + # option1: targets are passed as arguments + if [[ -n "$*" ]]; then + TARGETS=( "$@" ) + + for t in "${TARGETS[@]}"; + do + t="$(readlink -f ${t})" + if [ "${t##$PROJECT_DIR}" != "${PROJECT_DIR}" ]; then + print_target "${t}" "[SKIPPED -- outside project directory]" + else + PATH_ARGS+="${t}:" + fi + done + + return + fi + + # option 2: targets are auto-detected based on ${PROJECT_DIR}, + # ${INCLUDE_PATTERNS}, and ${EXCLUDE_PATTERNS} + if [[ ${#EXCLUDE_PATTERNS[@]} -ne 0 ]]; then + for p in "${EXCLUDE_PATTERNS[@]}"; + do + exclude_args+=( -not \( -path "${p}" -prune \) ) + done + fi + + if [[ ${#INCLUDE_PATTERNS[@]} -ne 0 ]]; then + + include_args=( \( -path "${INCLUDE_PATTERNS[0]}" \) ) + + for ((i = 1; i < ${#INCLUDE_PATTERNS[@]}; ++i)); + do + include_args+=( -o \( -path "${INCLUDE_PATTERNS[$i]}" \) ) + done + fi + + #### see https://stackoverflow.com/questions/23356779/how-can-i-store-the-find-command-results-as-an-array-in-bash + while IFS= read -r -d $'\0'; + do + TARGETS+=("$REPLY") + done < <(find "${PROJECT_DIR}" \( "${exclude_args[@]}" \) -and \( "${include_args[@]}" \) -print0) + + for t in "${TARGETS[@]}"; + do + if ! git ls-files --error-unmatch "${t}" > /dev/null 2>&1; then + print_target "${t}" "[SKIPPED -- not under version control]" + else + print_target "${t}" "[OK]" + PATH_ARGS+="${t}:" + fi + done + + if $show_targets_only; then + exit 0 + fi +} + +function read_project_config() { + + ## read project configuration + if [[ ! -f "${PROJECT_CONFIG_FILE}" ]]; + then + echo "ERROR: Missing project configuration file." + exit 1 + fi + + source "${PROJECT_CONFIG_FILE}" + + ## verify mandatory options + if [[ -z "${COPYRIGHT_LICENSE}" ]]; then + echo "ERROR: missing COPYRIGHT_LICENSE in '${PROJECT_CONFIG_FILE}'" + exit 1 + fi +} + +function prepare_command_args() { + + ARGS=() + + # mandatory args + ARGS+=( "--guess-extension" ) + ARGS+=( "--license-file=${COPYRIGHT_LICENSE}" ) + ARGS+=( "--output-dir=/" ) + + # optional + if [[ -n "${COPYRIGHT_SYNTAX}" ]]; + then + ARGS+=( "--syntax=${COPYRIGHT_SYNTAX}" ) + fi + + if [[ -n "${COPYRIGHT_SOFTWARE}" ]]; + then + ARGS+=( "--copyright-software=\"${COPYRIGHT_SOFTWARE}\"" ) + fi + + if [[ -n "${COPYRIGHT_DESCRIPTION}" ]]; + then + ARGS+=( "--copyright-software-description=\"${COPYRIGHT_DESCRIPTION}\"" ) + fi + + if [[ -n "${COPYRIGHT_YEARS}" ]]; + then + ARGS+=( "--copyright-year=${COPYRIGHT_YEARS}" ) + fi + + if [[ -n "${COPYRIGHT_WORD_WRAP}" ]]; + then + ARGS+=( "--word-wrap=${COPYRIGHT_WORD_WRAP}" ) + fi + + COPYRIGHT_PROG_ARGS=( "${ARGS[@]}" ) + +} + +function add_header() { + + # load project configuration + read_project_config + + find_targets "$@" + + if [[ -z $PATH_ARGS ]] ; then + echo No targets detected. Nothing to do. + exit 0 + fi + + # prepare command to execute and its args + find_command + prepare_command_args + + # execute command + ${COPYRIGHT_PROG} \ + --add-path "${PATH_ARGS::-1}" \ + "${COPYRIGHT_PROG_ARGS[@]}" \ + "${EXTRA_PROG_ARGS[@]}" + + exit $? +} + +function remove_header() { + + # load project configuration + read_project_config + + find_targets "$@" + + if [[ -z $PATH_ARGS ]]; then + echo No targets detected. Nothing to do. + exit 0 + fi + + # prepare command to execute and its args + find_command + prepare_command_args + + ${COPYRIGHT_PROG} \ + --remove-path "${PATH_ARGS::-1}" \ + "${COPYRIGHT_PROG_ARGS[@]}" \ + "${EXTRA_PROG_ARGS[@]}" + + exit $? +} + + +################################################################################ +### Script starts here ### +################################################################################ + +# process command line args +if [[ $# -eq 0 ]]; then + help +fi + +parse_args "$@" + +# execute selected command +case $PARSED_COMMAND in + -a | --add) + add_header "${EXTRA_SCRIPT_ARGS[@]}" + ;; + + -r | --remove) + remove_header "${EXTRA_SCRIPT_ARGS[@]}" + ;; +esac + +exit 0 diff --git a/scripts/maintainer-tools/copyright-headers/patch.diff b/scripts/maintainer-tools/copyright-headers/patch.diff new file mode 100644 index 0000000000000000000000000000000000000000..efc70c928c77da129daebbba2bf7c93da516c829 --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/patch.diff @@ -0,0 +1,159 @@ +diff --git a/lib/copyright_header/parser.rb b/lib/copyright_header/parser.rb +index 5b7b4d0..46a906a 100644 +--- a/lib/copyright_header/parser.rb ++++ b/lib/copyright_header/parser.rb +@@ -50,11 +50,36 @@ module CopyrightHeader + end + end + +- def format(comment_open = nil, comment_close = nil, comment_prefix = nil) ++ def format(comment_open = nil, comment_close = nil, comment_prefix = nil, comment_suffix = nil) + comment_open ||= '' + comment_close ||= '' + comment_prefix ||= '' +- license = comment_open + @lines.map { |line| (comment_prefix + line).gsub(/\s+\n$/, "\n") }.join() + comment_close ++ comment_suffix = "\n" if comment_suffix.nil? || comment_suffix.empty? ++ ++ comment_suffix.gsub!(/\\n/, "\n") ++ ++ expander = lambda do |str| ++ regex = %r{(?.*?)%repeat\{["']?(?.)["']?,\s*(?\d+|:word_wrap:)\}%(?.*)} ++ ++ if matches = str.match(regex) ++ if matches[:reps] == ':word_wrap:' ++ n = @options[:word_wrap] ++ else ++ n = matches[:reps].to_i ++ end ++ str = matches[:prefix] + matches[:char] * n + matches[:suffix] ++ end ++ ++ return str ++ end ++ ++ comment_open = expander.(comment_open) ++ comment_close = expander.(comment_close) ++ comment_length = @options[:word_wrap] - comment_prefix.chomp().length - comment_suffix.chomp().length ++ ++ license = comment_open + @lines.map { ++ |line| (comment_prefix + line.chomp().ljust(comment_length, ' ') + comment_suffix).gsub(/\s+\n$/, "\n") ++ }.join() + comment_close + license.gsub!(/\\n/, "\n") + license + end +@@ -72,7 +97,7 @@ module CopyrightHeader + end + + def format(license) +- license.format(@config[:comment]['open'], @config[:comment]['close'], @config[:comment]['prefix']) ++ license.format(@config[:comment]['open'], @config[:comment]['close'], @config[:comment]['prefix'], @config[:comment]['suffix']) + end + + def add(license) +@@ -121,7 +146,10 @@ module CopyrightHeader + # Due to editors messing with whitespace, we'll make this more of a fuzzy match and use \s to match whitespace + pattern = Regexp.escape(text).gsub(/\\[ n]/, '\s*').gsub(/\\s*$/, '\s') + exp = Regexp.new(pattern) +- @contents.gsub!(exp, '') ++ if @contents.gsub!(exp, '').nil? ++ STDERR.puts "SKIP #{@file}; detected copyright does not match template" ++ return nil ++ end + @contents + else + STDERR.puts "SKIP #{@file}; copyright not detected" +@@ -160,28 +188,36 @@ module CopyrightHeader + return extension + end + ++ def fullname(file) ++ return File.basename(file) ++ end ++ ++ def file_type(file) ++ key = fullname(file) ++ if @config.has_key? key ++ return key ++ end ++ return ext(file) ++ end ++ + def supported?(file) +- @config.has_key? ext(file) ++ @config.has_key? ext(file) or @config.has_key? fullname(file) + end + + def header(file) +- Header.new(file, @config[ext(file)]) ++ Header.new(file, @config[file_type(file)]) + end ++ + end + + class Parser + attr_accessor :options + @syntax = nil +- @license = nil ++ @licenses = nil + def initialize(options = {}) + @options = options + @exclude = [ /^LICENSE(|\.txt)$/i, /^holders(|\.txt)$/i, /^README/, /^\./] +- @license = License.new(:license_file => @options[:license_file], +- :copyright_software => @options[:copyright_software], +- :copyright_software_description => @options[:copyright_software_description], +- :copyright_years => @options[:copyright_years], +- :copyright_holders => @options[:copyright_holders], +- :word_wrap => @options[:word_wrap]) ++ @licenses = {} + @syntax = Syntax.new(@options[:syntax], @options[:guess_extension]) + end + +@@ -221,14 +257,27 @@ module CopyrightHeader + + if @syntax.supported?(path) + header = @syntax.header(path) +- contents = header.send(method, @license) ++ file_type = @syntax.file_type(path) ++ ++ if not @licenses.key?(file_type) ++ @licenses[file_type] = License.new(:license_file => @options[:license_file], ++ :copyright_software => @options[:copyright_software], ++ :copyright_software_description => @options[:copyright_software_description], ++ :copyright_years => @options[:copyright_years], ++ :copyright_holders => @options[:copyright_holders], ++ :word_wrap => @options[:word_wrap]) ++ end ++ ++ license = @licenses[file_type] ++ ++ contents = header.send(method, license) + if contents.nil? + STDERR.puts "SKIP #{path}; failed to generate license" + else + write(path, contents) + end + else +- STDERR.puts "SKIP #{path}; unsupported #{@syntax.ext(path)}" ++ STDERR.puts "SKIP #{path}; unsupported #{@syntax.file_type(path)}" + end + rescue Exception => e + STDERR.puts "SKIP #{path}; exception=#{e.message}" +@@ -249,7 +298,6 @@ module CopyrightHeader + def write(file, contents) + if @options[:dry_run] + STDERR.puts "UPDATE #{file} [dry-run]" +- STDERR.puts contents + elsif @options[:output_dir].nil? + STDERR.puts "UPDATE #{file} [no output-dir]" + STDERR.puts contents +diff --git a/lib/copyright_header/version.rb b/lib/copyright_header/version.rb +index 881e44c..6ae4e1c 100644 +--- a/lib/copyright_header/version.rb ++++ b/lib/copyright_header/version.rb +@@ -18,5 +18,5 @@ + # along with Copyright Header. If not, see . + # + module CopyrightHeader +- VERSION = "1.0.22" ++ VERSION = "1.0.27.pre" + end diff --git a/scripts/maintainer-tools/copyright-headers/project.config b/scripts/maintainer-tools/copyright-headers/project.config new file mode 100644 index 0000000000000000000000000000000000000000..6b31a47fb66ff769b43db0b30cef26a6fb87fbb6 --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/project.config @@ -0,0 +1,53 @@ +# vi: filetype=sh + +################################################################################ +## Variables to control how the header is generated +################################################################################ + +# COPYRIGHT_SOFTWARE="gekkofs" +# COPYRIGHT_DESCRIPTION="an ephemeral distributed file system for HPC applications" +COPYRIGHT_YEARS="{:bsc => [2018, 2021], :jgu => [2015, 2021]}" +COPYRIGHT_LICENSE="gekkofs-template.erb" +COPYRIGHT_SYNTAX="gekkofs-syntax.yml" +COPYRIGHT_WORD_WRAP=80 + + +################################################################################ +## Variables to control which files are considered +## N.B: these are **glob patterns**, NOT regular expressions +################################################################################ + +INCLUDE_PATTERNS=( + "*.c" + "*.h" + "*.cpp" + "*.hpp" + "*.hpp.in" + "*.am" + "*.ac" + "*.py" + "*.sh" + "*.mk" + "*CMakeLists.txt" + "*.cmake" + "*.yml" + "*.erb" + "*.ini.in" + "*.py.in" + "*Dockerfile" +) + +EXCLUDE_PATTERNS=( + "*.git" + "*.gitlab-ci.yml" + "*build*" + "*external?*" + "*spdlog*" + "*ctypesgen*" + "./tests/catch.hpp" + "*agios.conf" + "*.diff" + "*.erb" + "*.coverage-exclusions" + "*.project.config" +) diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 82f525c05b4891bd8cac1b698a664bfc7d94a0ad..b720291479c9268efac38e60e5e8cef3494f102d 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + set(PRELOAD_SRC gkfs_functions.cpp hooks.cpp diff --git a/src/client/gkfs_functions.cpp b/src/client/gkfs_functions.cpp index 927cc39c9dbd565ea3e37780c746c1f267398931..564a945f713a79155089e25e79c9e0aa7adfbba0 100644 --- a/src/client/gkfs_functions.cpp +++ b/src/client/gkfs_functions.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/client/hooks.cpp b/src/client/hooks.cpp index dbe997a4d8402d262e6708bcc66da91c9445d2ec..60cbbc6668ba5c578e5a5ae8a63c7b9c75f35bb8 100644 --- a/src/client/hooks.cpp +++ b/src/client/hooks.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/intercept.cpp b/src/client/intercept.cpp index c7f1934c2a1cb9866311b526aff4f2fd4e2d0ff2..b0eb00093534f1698d5c224e63a6fd8eaf853f5d 100644 --- a/src/client/intercept.cpp +++ b/src/client/intercept.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/logging.cpp b/src/client/logging.cpp index 1f21f290f20f0cd8e9833ffb20bd8b5f662c0c56..9d60cf99db3113115d6e0ae8448411b217d9a656 100644 --- a/src/client/logging.cpp +++ b/src/client/logging.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/open_dir.cpp b/src/client/open_dir.cpp index f79316dc2fdfcc0e2a637a2fb848f6177f2adcba..9bd1435fd39715c16a053d74053aace81b2ee3e4 100644 --- a/src/client/open_dir.cpp +++ b/src/client/open_dir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/open_file_map.cpp b/src/client/open_file_map.cpp index 6ecec24dc11b4cfacc2a175b4764a521fdda879a..e25569bd8ab487c0af7a60f1182f77ea5f838116 100644 --- a/src/client/open_file_map.cpp +++ b/src/client/open_file_map.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/client/path.cpp b/src/client/path.cpp index b3004fa0ce1a73e195a3a6bf8d8c5579b957423b..81ff84923bf66fe5fbbcbad3b089849aab134c86 100644 --- a/src/client/path.cpp +++ b/src/client/path.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/preload.cpp b/src/client/preload.cpp index 8792ae10be97653612540ace77f42628f76af4df..80b567bc8041a7edb800e7071a3a77c0150464ae 100644 --- a/src/client/preload.cpp +++ b/src/client/preload.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/preload_context.cpp b/src/client/preload_context.cpp index fbba7683e2ca14e7924608487d9619e77fff55af..b1d0ab945744121b85ab5a3e75b1401647d69489 100644 --- a/src/client/preload_context.cpp +++ b/src/client/preload_context.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT */ + #include #include #include diff --git a/src/client/preload_util.cpp b/src/client/preload_util.cpp index a18b902efc62546ef8eab2af876255dd958b115b..967cf3396c1ace579afeeebf09ae5899f62db4e5 100644 --- a/src/client/preload_util.cpp +++ b/src/client/preload_util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/rpc/forward_data.cpp b/src/client/rpc/forward_data.cpp index 4238287ddf4e85e09b20869e890938c9849dbadb..4fc48cf2c1635a69399e5af74d4d6029571e9297 100644 --- a/src/client/rpc/forward_data.cpp +++ b/src/client/rpc/forward_data.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/rpc/forward_management.cpp b/src/client/rpc/forward_management.cpp index d666e8795509186d040c46ac307148b07df5bd14..84bfccaf18296cbf31b522f5d49f389714793a02 100644 --- a/src/client/rpc/forward_management.cpp +++ b/src/client/rpc/forward_management.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/rpc/forward_metadata.cpp b/src/client/rpc/forward_metadata.cpp index fa494e492d309ad3ab63583a9c1ebc1c749b6955..80f99fdb030fa96931b55fc0379db5295e42052e 100644 --- a/src/client/rpc/forward_metadata.cpp +++ b/src/client/rpc/forward_metadata.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/rpc/rpc_types.cpp b/src/client/rpc/rpc_types.cpp index 85b0de899e46594132c34ffaffcb4ac57499ede3..b6610b289e3a18147483ea4a81cad3c815e97dcc 100644 --- a/src/client/rpc/rpc_types.cpp +++ b/src/client/rpc/rpc_types.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/client/syscalls/detail/syscall_info.c b/src/client/syscalls/detail/syscall_info.c index f4101237fc545c68df44897e34e01b74472d1e41..68aefcc67a3f7df058298a07ad4df6becd643b32 100644 --- a/src/client/syscalls/detail/syscall_info.c +++ b/src/client/syscalls/detail/syscall_info.c @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt index 960303ddb4b9050d2fbdb0f0656d3e789ce99817..eb9d5d7b96f0b2aceb1b64fc654d8a07d185b066 100644 --- a/src/daemon/CMakeLists.txt +++ b/src/daemon/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + add_subdirectory(backend/metadata) add_subdirectory(backend/data) diff --git a/src/daemon/backend/data/CMakeLists.txt b/src/daemon/backend/data/CMakeLists.txt index 8a9356d4081c0a87ade664015cb68cc29b173d88..99096b00db0b0c01746f730b6d21bbc1522a5e38 100644 --- a/src/daemon/backend/data/CMakeLists.txt +++ b/src/daemon/backend/data/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + add_library(storage STATIC) target_sources(storage diff --git a/src/daemon/backend/data/chunk_storage.cpp b/src/daemon/backend/data/chunk_storage.cpp index ecc56b94275855f9a07209c00f359c6fbbdd7d6e..5f257a8abe7466eccdf07cfd987859e8bc9104e1 100644 --- a/src/daemon/backend/data/chunk_storage.cpp +++ b/src/daemon/backend/data/chunk_storage.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/backend/data/data_module.cpp b/src/daemon/backend/data/data_module.cpp index d19157da1585d20a2a33d3be74cea5af864ee2ae..7cf5fad172d6b90606c18da3351014278b3eb9c0 100644 --- a/src/daemon/backend/data/data_module.cpp +++ b/src/daemon/backend/data/data_module.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/backend/metadata/CMakeLists.txt b/src/daemon/backend/metadata/CMakeLists.txt index 8fdfce5b9f6010f9ae459d36d0b27fd666b090cf..563ca18b791c247ba230713e4147ed351d73c122 100644 --- a/src/daemon/backend/metadata/CMakeLists.txt +++ b/src/daemon/backend/metadata/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + add_library(metadata_db STATIC) target_sources(metadata_db diff --git a/src/daemon/backend/metadata/db.cpp b/src/daemon/backend/metadata/db.cpp index c7fbc44a6cbbab500d0d3d556f92f53ad23dea73..f6a0e306a4183b2d2b383300c2aa39db09be1575 100644 --- a/src/daemon/backend/metadata/db.cpp +++ b/src/daemon/backend/metadata/db.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/backend/metadata/merge.cpp b/src/daemon/backend/metadata/merge.cpp index 30591d9bd0196506f17ec5c07d7234deb0e3ff5e..9d88f3a10dff876547dbe4f84e1d4fa5d66f4f66 100644 --- a/src/daemon/backend/metadata/merge.cpp +++ b/src/daemon/backend/metadata/merge.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/classes/fs_data.cpp b/src/daemon/classes/fs_data.cpp index 23bc4863abb421ba21487c9a3e8bdea7bda4de24..2acc945531b7685bc8d0a93f40d73fe89b083d77 100644 --- a/src/daemon/classes/fs_data.cpp +++ b/src/daemon/classes/fs_data.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT */ + #include #include diff --git a/src/daemon/classes/rpc_data.cpp b/src/daemon/classes/rpc_data.cpp index 71251caa4c87251b4102d3added1abb1ddabf453..7635162825fa9b0c534ec63d40c7f41c788a7756 100644 --- a/src/daemon/classes/rpc_data.cpp +++ b/src/daemon/classes/rpc_data.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include using namespace std; diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index cb4f23a9d0dc991751677ded20661c32dd358905..4761e141a080d08dc3dbcd3e959121011e5b4373 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/daemon/handler/srv_data.cpp b/src/daemon/handler/srv_data.cpp index 027955c2507e39d071e2f24d1ccf12e2908c76b2..318d6dc7a91021cfc44a08ecd1e6cd7453cda9da 100644 --- a/src/daemon/handler/srv_data.cpp +++ b/src/daemon/handler/srv_data.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/daemon/handler/srv_management.cpp b/src/daemon/handler/srv_management.cpp index 8156f83167b6e0aa59e0f76bb5e9e1e211e9812b..89ff75273b13d4f50ca063aeb3c5bc732aa75a62 100644 --- a/src/daemon/handler/srv_management.cpp +++ b/src/daemon/handler/srv_management.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include diff --git a/src/daemon/handler/srv_metadata.cpp b/src/daemon/handler/srv_metadata.cpp index 03f60432452c29258bcdb5c5c89f5569eebdbf0f..8ea1bf6aa8bebf16d76676020c3d616f052e1bbd 100644 --- a/src/daemon/handler/srv_metadata.cpp +++ b/src/daemon/handler/srv_metadata.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/daemon/ops/data.cpp b/src/daemon/ops/data.cpp index b2fd78ae1b6774cd44161ab2d847ffac4e805a53..dd9a820b901fec2c7d6ab9724a7094af8c7ef7e1 100644 --- a/src/daemon/ops/data.cpp +++ b/src/daemon/ops/data.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/daemon/ops/metadentry.cpp b/src/daemon/ops/metadentry.cpp index 2f6457ffa623a030ba4c02e3cd9b28e3c0e50a97..4fa195c80703da5cbec4a67f8306a8cd759a350c 100644 --- a/src/daemon/ops/metadentry.cpp +++ b/src/daemon/ops/metadentry.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include #include #include diff --git a/src/daemon/scheduler/agios.cpp b/src/daemon/scheduler/agios.cpp index 037f1fb979a83a6a42fff6c6bf2cd3b4a78e33c6..5709efbca5a513b06daf263e5495707995c93d0a 100644 --- a/src/daemon/scheduler/agios.cpp +++ b/src/daemon/scheduler/agios.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include unsigned long long int diff --git a/src/daemon/util.cpp b/src/daemon/util.cpp index 6a8cc0d34ff292123212af83f6b64bf367554601..61d8bf2b1eb1f6874fb180802b8615441dce65c3 100644 --- a/src/daemon/util.cpp +++ b/src/daemon/util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT */ + #include #include diff --git a/src/global/CMakeLists.txt b/src/global/CMakeLists.txt index ca78030eb1c479305c76e0d475c51d6f94071fb8..ff00083f51f77ac076597d92620adac5a0ea2c33 100644 --- a/src/global/CMakeLists.txt +++ b/src/global/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + add_subdirectory(arithmetic) add_library(distributor STATIC) diff --git a/src/global/arithmetic/CMakeLists.txt b/src/global/arithmetic/CMakeLists.txt index df70a8a5ae34346e1720e7cd40e2408f1a39cdf8..c512ae51572c8aba5a3bd5e6fd2096c878e25012 100644 --- a/src/global/arithmetic/CMakeLists.txt +++ b/src/global/arithmetic/CMakeLists.txt @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany -# -# This software was partially supported by the -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). -# -# This software was partially supported by the -# ADA-FS project under the SPPEXA project funded by the DFG. -# -# SPDX-License-Identifier: MIT +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # ################################################################################ add_library(arithmetic INTERFACE) diff --git a/src/global/env_util.cpp b/src/global/env_util.cpp index 731afe2affb2a2a94ce853094834a4dc11a1a566..fa439a80fdf5e8f5ad61ac340e2d4b3dba30639d 100644 --- a/src/global/env_util.cpp +++ b/src/global/env_util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/global/log_util.cpp b/src/global/log_util.cpp index 76dd4564a37ca89445391dde5a07c64c5ada6970..25cd3dfb4bdfb69548056b6ab2a1eea60a790d5c 100644 --- a/src/global/log_util.cpp +++ b/src/global/log_util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/global/metadata.cpp b/src/global/metadata.cpp index cea52ad4df5405ec5bb97e77ea70d8867771639e..60e338770da8ea4e77e7a3c63d36b8940f10d4d0 100644 --- a/src/global/metadata.cpp +++ b/src/global/metadata.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/global/path_util.cpp b/src/global/path_util.cpp index e43b023f08ac3970e504ed0c87712aa5cdcf86cc..6574d8feca7358f75f1698af4341c2d89fad8165 100644 --- a/src/global/path_util.cpp +++ b/src/global/path_util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/global/rpc/distributor.cpp b/src/global/rpc/distributor.cpp index 70ded66c924275fcb75be8389e11b1e2de757120..199b8d7b9a41ff01bf269de36ae304981530e91c 100644 --- a/src/global/rpc/distributor.cpp +++ b/src/global/rpc/distributor.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/src/global/rpc/rpc_util.cpp b/src/global/rpc/rpc_util.cpp index 0591fd6acff69f078793aa8689a962fc3b85dc8f..c6ba4a76b8919a1c6c18c65b1805f453173721b6 100644 --- a/src/global/rpc/rpc_util.cpp +++ b/src/global/rpc/rpc_util.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). @@ -11,7 +11,6 @@ SPDX-License-Identifier: MIT */ - #include extern "C" { diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6238bfcdee1bcc1701d21f42db19a092e53f0233..cf2500d051e511596dc1ef029cd143190ccd5448 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + cmake_minimum_required(VERSION 3.6) project(GekkoFS_test LANGUAGES CXX) diff --git a/test/IO_test.cpp b/test/IO_test.cpp index 2b297ca8d5417c562a29eddc1a92eeb75b9ba19d..3d7353bc0e4c15e10d3b31d583243084ebd2a0e2 100644 --- a/test/IO_test.cpp +++ b/test/IO_test.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/dir_test.cpp b/test/dir_test.cpp index d504b902fb4616185b7040cdee281c5133961a6e..b8296efa28e6af68e490144a4f01796dc93137e0 100644 --- a/test/dir_test.cpp +++ b/test/dir_test.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + /* Test directories functionalities * */ diff --git a/test/lseek.cpp b/test/lseek.cpp index ea3623119be47018fd1c2da976a97a5559c8a125..2c7a8b571676e4665423b2e7718e1f6bc71c613d 100644 --- a/test/lseek.cpp +++ b/test/lseek.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/main.cpp b/test/main.cpp index 4be0b1327e0210453313e62ad44dad78fade38cf..507e914ebe99c4196d5b43f9be3774a4f581d899 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/main_IO_testing.cpp b/test/main_IO_testing.cpp index 966e9a68d6a11153efb03fa2f2e9a88add29b143..ed37466a30ef4e65b105f063aef97d5068c78932 100644 --- a/test/main_IO_testing.cpp +++ b/test/main_IO_testing.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/main_MPI.cpp b/test/main_MPI.cpp index 6b1b5abea0c6783b3e35b2f3ba47b90051dcbeb1..a1e33647f96bc300549121fe6d5cb1c4df657117 100644 --- a/test/main_MPI.cpp +++ b/test/main_MPI.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/main_temp.cpp b/test/main_temp.cpp index 3d617c782c648177ee90cd47f33e28517eba035d..2b103954c29ada7d14b85699d62227b9ab713f15 100644 --- a/test/main_temp.cpp +++ b/test/main_temp.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + // // Created by evie on 1/16/18. // diff --git a/test/symlink_test.cpp b/test/symlink_test.cpp index ad21893957024bcf5a04be4fcce01db2750998fd..b2d349b2dc08e8da919e96f45d3a9b50bd9c3d71 100644 --- a/test/symlink_test.cpp +++ b/test/symlink_test.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + /* Test fs functionality involving links */ #include diff --git a/test/truncate.cpp b/test/truncate.cpp index 2b40f9ea9814c778a97093844afb9913c1d4ef6c..116f9f9040ecaf5be69eb3913e0eccec67146463 100644 --- a/test/truncate.cpp +++ b/test/truncate.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #include #include #include diff --git a/test/wr_test.cpp b/test/wr_test.cpp index 61347c6b90e92e96057711cebe4fd11e1ec074ee..f5b24080a4b5c58c498b83b26e26b63c9904f35d 100644 --- a/test/wr_test.cpp +++ b/test/wr_test.cpp @@ -1,3 +1,16 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + /* Simple Write/Read Test * * - open a file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 03d80a7f5ff8e51a92270ed00108617e920274e7..0d807102ea705e0e92e05f303a1668873ae275f5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + include(GkfsPythonTesting) add_custom_target(check diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index 4d7f3ed7c9e1c91db9bbaa64ca6e95e312d654e3..5faafa1f8eb3cce5624526ab1cc2af979b9d8503 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + # ensure helper programs in the testing harness get built add_subdirectory(harness) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 4dd28b8d6fbcdf892c7818798493194986ada04e..f4a69bbe6717a42905bed879c9392f8c1bdc8e1f 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import pytest diff --git a/tests/integration/data/test_data_integrity.py b/tests/integration/data/test_data_integrity.py index 32f2df095c7772b2954af7299a629cbb119e24af..c28a0ee0583314ecec90b248c62877285ab2f66a 100644 --- a/tests/integration/data/test_data_integrity.py +++ b/tests/integration/data/test_data_integrity.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/data/test_truncate.py b/tests/integration/data/test_truncate.py index 199af554de889b45218a1c584f455495a2a85830..04c25e7a37f7b0d95e5d686a8383dea2567d9e09 100644 --- a/tests/integration/data/test_truncate.py +++ b/tests/integration/data/test_truncate.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ # import harness diff --git a/tests/integration/directories/test_directories.py b/tests/integration/directories/test_directories.py index 4a60617dd890943aff8bef053b06e96c6217741a..902a608f6d48e64a1572313eb36d264e3b51c2ff 100644 --- a/tests/integration/directories/test_directories.py +++ b/tests/integration/directories/test_directories.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/directories/test_pathresolution.py b/tests/integration/directories/test_pathresolution.py index 0413e369dedbb9114a5ba03cea5778f70a5f533c..ba6afee48072013c265deba3b3e4f40e9c1354c3 100644 --- a/tests/integration/directories/test_pathresolution.py +++ b/tests/integration/directories/test_pathresolution.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/directories/test_symlink.py b/tests/integration/directories/test_symlink.py index b88b4b683660e31fe77921a710ac0a1ad7e0a622..d964f08be170080028578d09bb6c350b16b89580 100644 --- a/tests/integration/directories/test_symlink.py +++ b/tests/integration/directories/test_symlink.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/forwarding/test_map.py b/tests/integration/forwarding/test_map.py index 86c412bb04a39e23fcb0b5a943c68830d76f26e7..153c3891fab43a70d275a7c4cc15507cc6eec475 100644 --- a/tests/integration/forwarding/test_map.py +++ b/tests/integration/forwarding/test_map.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/harness/CMakeLists.txt b/tests/integration/harness/CMakeLists.txt index 3a9d47f056e16246af8a97728f8d305dc19eb9eb..e7b89b453c7d30fcd07b68f6f02e6d28712ba1af 100644 --- a/tests/integration/harness/CMakeLists.txt +++ b/tests/integration/harness/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + cmake_minimum_required(VERSION 3.11) project(gkfs.io diff --git a/tests/integration/harness/cli.py b/tests/integration/harness/cli.py index 3144c9b8cc2d98365adf2c099826e5c5a737fc79..5cafab5d88c5991c016da5e2af8d8b947de95034 100644 --- a/tests/integration/harness/cli.py +++ b/tests/integration/harness/cli.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import _pytest diff --git a/tests/integration/harness/cmd.py b/tests/integration/harness/cmd.py index 9285493deddcd69d9c8a1afc964c64b35febe5c0..c05ce1bbbb9de4eddc8a3599338ed2aa4651e580 100644 --- a/tests/integration/harness/cmd.py +++ b/tests/integration/harness/cmd.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ from collections import namedtuple diff --git a/tests/integration/harness/gkfs.io/binary_buffer.hpp b/tests/integration/harness/gkfs.io/binary_buffer.hpp index e5c7182e0ad90873eac3e9aaeb5161399703ef39..78eed3277400b9ae2fdda76bd14c96bf28a5ac61 100644 --- a/tests/integration/harness/gkfs.io/binary_buffer.hpp +++ b/tests/integration/harness/gkfs.io/binary_buffer.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/chdir.cpp b/tests/integration/harness/gkfs.io/chdir.cpp index 2940c5bf78710c2ba6e72ee6424ce2175d5b156e..273440b2f7f877bcd3d0efc1335335c4a2bc8b81 100644 --- a/tests/integration/harness/gkfs.io/chdir.cpp +++ b/tests/integration/harness/gkfs.io/chdir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/command.hpp b/tests/integration/harness/gkfs.io/command.hpp index a14442575cb36a9c046a0baa8d9476691175cdcd..cf0715898c998753294979bd2ee568c68b3d6184 100644 --- a/tests/integration/harness/gkfs.io/command.hpp +++ b/tests/integration/harness/gkfs.io/command.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/commands.hpp b/tests/integration/harness/gkfs.io/commands.hpp index 4f2d79b320f9bfe3618fb5082c72696d0ce0e2fb..6955a1045854bc5a1fa42f8e3cba782f49d0f216 100644 --- a/tests/integration/harness/gkfs.io/commands.hpp +++ b/tests/integration/harness/gkfs.io/commands.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/getcwd_validate.cpp b/tests/integration/harness/gkfs.io/getcwd_validate.cpp index de8b3edf3d273cb5cc62ee2ba3c4f07abdfe0359..4483bdd1ce60bb2bec7cf9acc59f1ad5e6ed245a 100644 --- a/tests/integration/harness/gkfs.io/getcwd_validate.cpp +++ b/tests/integration/harness/gkfs.io/getcwd_validate.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/lseek.cpp b/tests/integration/harness/gkfs.io/lseek.cpp index 828c13d538a755926921bbc7b976a925357e1f0a..76a2e0dc01a5273d794003dce0f01ed8e927983a 100644 --- a/tests/integration/harness/gkfs.io/lseek.cpp +++ b/tests/integration/harness/gkfs.io/lseek.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/main.cpp b/tests/integration/harness/gkfs.io/main.cpp index c0353ff092286d5361f2923b76823c7aff986115..d7ba11ee3b7bb4c75f669230bb7c7ee0d562e1ed 100644 --- a/tests/integration/harness/gkfs.io/main.cpp +++ b/tests/integration/harness/gkfs.io/main.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/mkdir.cpp b/tests/integration/harness/gkfs.io/mkdir.cpp index f2265617696ad164507a26f9b52c68ad219e1324..b9d947d90144f2732ff8e21c8edd174b41a4e5cd 100644 --- a/tests/integration/harness/gkfs.io/mkdir.cpp +++ b/tests/integration/harness/gkfs.io/mkdir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/open.cpp b/tests/integration/harness/gkfs.io/open.cpp index 6ba1dc99a58191be3b9e27b7b8e28eee10f7ffe0..6c88f2c0bc845a1a870586901280a25c9e860606 100644 --- a/tests/integration/harness/gkfs.io/open.cpp +++ b/tests/integration/harness/gkfs.io/open.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/opendir.cpp b/tests/integration/harness/gkfs.io/opendir.cpp index 561b92f254f5491301148c7c7b0ed8e204088768..27609082b787073556f4733173d498ef6611b325 100644 --- a/tests/integration/harness/gkfs.io/opendir.cpp +++ b/tests/integration/harness/gkfs.io/opendir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/pread.cpp b/tests/integration/harness/gkfs.io/pread.cpp index 974893801850c9afd7126e2243899e9e14c5f7d6..a599d3ec940dae38372325e62c07386b2f65175c 100644 --- a/tests/integration/harness/gkfs.io/pread.cpp +++ b/tests/integration/harness/gkfs.io/pread.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/preadv.cpp b/tests/integration/harness/gkfs.io/preadv.cpp index 88522fbbf9c76c3460236f9273b2a22fbab12825..d75f5e0b5e50ed9f9aa883c4f75a4c7a01ee6f88 100644 --- a/tests/integration/harness/gkfs.io/preadv.cpp +++ b/tests/integration/harness/gkfs.io/preadv.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/pwrite.cpp b/tests/integration/harness/gkfs.io/pwrite.cpp index bc55f131e595c07250009575de6e50ad995a90cc..325de773f204e03ff0583fc34e8b64525cf81302 100644 --- a/tests/integration/harness/gkfs.io/pwrite.cpp +++ b/tests/integration/harness/gkfs.io/pwrite.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/pwritev.cpp b/tests/integration/harness/gkfs.io/pwritev.cpp index dd3f020d5b4c838a6598ea73839d27ed7fafa731..44d4860de18c26333f1ece01fea877e757bb4a6e 100644 --- a/tests/integration/harness/gkfs.io/pwritev.cpp +++ b/tests/integration/harness/gkfs.io/pwritev.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/read.cpp b/tests/integration/harness/gkfs.io/read.cpp index 224c904b8f6ce3893aed4390b6120412d7b52eaa..d74ae0d632b594016d7a71c112522888cc6d70b0 100644 --- a/tests/integration/harness/gkfs.io/read.cpp +++ b/tests/integration/harness/gkfs.io/read.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/readdir.cpp b/tests/integration/harness/gkfs.io/readdir.cpp index 3fdbadf6bf40257f0a8bddb119c2f1c80b82d980..a4b59bd3011756d70e8a516b9613ac277f75b098 100644 --- a/tests/integration/harness/gkfs.io/readdir.cpp +++ b/tests/integration/harness/gkfs.io/readdir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/readv.cpp b/tests/integration/harness/gkfs.io/readv.cpp index a47b1dda16483a5eee7cd7c3bbc8aa1c5309e314..b796bc74fab0fbc07c3bebdfafecc18fcba0d71d 100644 --- a/tests/integration/harness/gkfs.io/readv.cpp +++ b/tests/integration/harness/gkfs.io/readv.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/reflection.hpp b/tests/integration/harness/gkfs.io/reflection.hpp index b4f6e23e2cfea87a6cbce8321e030f0d3f543fe7..9c4e6b25fd6c8bcdc51b609dce228bef20e0bdfc 100644 --- a/tests/integration/harness/gkfs.io/reflection.hpp +++ b/tests/integration/harness/gkfs.io/reflection.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/rmdir.cpp b/tests/integration/harness/gkfs.io/rmdir.cpp index 0f00440a89389fb828c567df0cb32fa05ef0f370..a10f52fbd9c41a3e77ea62b470cf4f2705a7de9d 100644 --- a/tests/integration/harness/gkfs.io/rmdir.cpp +++ b/tests/integration/harness/gkfs.io/rmdir.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/serialize.hpp b/tests/integration/harness/gkfs.io/serialize.hpp index 9cc096337d8959cfe1d1fc39be99d049feaebd3e..3a846cd9a1df705cc285ba44ae26914191535304 100644 --- a/tests/integration/harness/gkfs.io/serialize.hpp +++ b/tests/integration/harness/gkfs.io/serialize.hpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/stat.cpp b/tests/integration/harness/gkfs.io/stat.cpp index bab1745c331b648af8282d5bb273437f711feddc..5be29c9ffc400f5abd125a9c6fb4f34d89733dde 100644 --- a/tests/integration/harness/gkfs.io/stat.cpp +++ b/tests/integration/harness/gkfs.io/stat.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/statx.cpp b/tests/integration/harness/gkfs.io/statx.cpp index b0b252f9444024ed9d7d4cd95b201e457ec468c8..f09e27222287ada2f2ffec84365213345dc6bc87 100644 --- a/tests/integration/harness/gkfs.io/statx.cpp +++ b/tests/integration/harness/gkfs.io/statx.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/symlink.cpp b/tests/integration/harness/gkfs.io/symlink.cpp index c4dff2ccdd7380862bff6d60865b4dfeec6c0210..5b432875fe278280a17c06d903027586cd66f7a9 100644 --- a/tests/integration/harness/gkfs.io/symlink.cpp +++ b/tests/integration/harness/gkfs.io/symlink.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/truncate.cpp b/tests/integration/harness/gkfs.io/truncate.cpp index eaf33a49e165080b2a739e667a176a60fc1451c4..995212e8f602eec1640e934a790db8e23b641866 100644 --- a/tests/integration/harness/gkfs.io/truncate.cpp +++ b/tests/integration/harness/gkfs.io/truncate.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/util/file_compare.cpp b/tests/integration/harness/gkfs.io/util/file_compare.cpp index d983d55c69857ce4e865b0559af630502a989aa1..4f4cd7af33ba3c303bb2a6f92e37208af3a8617e 100644 --- a/tests/integration/harness/gkfs.io/util/file_compare.cpp +++ b/tests/integration/harness/gkfs.io/util/file_compare.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/write.cpp b/tests/integration/harness/gkfs.io/write.cpp index 081f8fea820ba324a703cd2fb8fa189c25446a4b..50cd5e7e4a27b4cd311473945219c4014e6140b2 100644 --- a/tests/integration/harness/gkfs.io/write.cpp +++ b/tests/integration/harness/gkfs.io/write.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/write_random.cpp b/tests/integration/harness/gkfs.io/write_random.cpp index 5df7001b97bac8921d812d081502849dafa30193..a2158a15230f016505066eee4d3a9dbdb59acfdf 100644 --- a/tests/integration/harness/gkfs.io/write_random.cpp +++ b/tests/integration/harness/gkfs.io/write_random.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/write_validate.cpp b/tests/integration/harness/gkfs.io/write_validate.cpp index 6783f41c311340339780cdf1bc1eca6264e9b864..ba3c8b190fbd5bcf37a23af8c1b8b130abb6687b 100644 --- a/tests/integration/harness/gkfs.io/write_validate.cpp +++ b/tests/integration/harness/gkfs.io/write_validate.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.io/writev.cpp b/tests/integration/harness/gkfs.io/writev.cpp index 475b3cba1f32661b370036f0e809d50e428790ce..7d30123c78afa7dc63ce3f69c2c95a3062d8daca 100644 --- a/tests/integration/harness/gkfs.io/writev.cpp +++ b/tests/integration/harness/gkfs.io/writev.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/integration/harness/gkfs.py b/tests/integration/harness/gkfs.py index 056bb1463f8993d5b41e9592c4f2f07a9aa9dc8c..f41114c7dfe51af54930662eed6381c4f8da20a3 100644 --- a/tests/integration/harness/gkfs.py +++ b/tests/integration/harness/gkfs.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import os, sh, sys, re, pytest, signal diff --git a/tests/integration/harness/io.py b/tests/integration/harness/io.py index 992e55e3db894aef9d6283d7537b7e49278eaedc..c0cf06ca0aa464d77a5a349653df1286e8fecf24 100644 --- a/tests/integration/harness/io.py +++ b/tests/integration/harness/io.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import ctypes diff --git a/tests/integration/harness/logger.py b/tests/integration/harness/logger.py index be4623c694fbef90dc7ff82a5f35924a97165987..e074def8a583d69f3fe44a84279e2fb882f3e5e0 100644 --- a/tests/integration/harness/logger.py +++ b/tests/integration/harness/logger.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import re diff --git a/tests/integration/harness/reporter.py b/tests/integration/harness/reporter.py index 0b4a8bdd97c48d446d0051fd66ecb995b4365218..163d66cca2dac30f0a705d0cf3d0b8555878aab3 100644 --- a/tests/integration/harness/reporter.py +++ b/tests/integration/harness/reporter.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import sys, pytest, pluggy, py, platform diff --git a/tests/integration/harness/workspace.py b/tests/integration/harness/workspace.py index 50f135c74f48bb0d4152fe6bcd6c33d7dae27287..e0de7f1cdfb50252e1326afa68f56be71c8819e7 100644 --- a/tests/integration/harness/workspace.py +++ b/tests/integration/harness/workspace.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import os, re, hashlib diff --git a/tests/integration/operations/test_read_operations.py b/tests/integration/operations/test_read_operations.py index 3099b0c2c74dea7e6cb96ce6e2c5978b93a74a79..c6e17e7714931aaac684a6a3d8966f4b5a9bc911 100644 --- a/tests/integration/operations/test_read_operations.py +++ b/tests/integration/operations/test_read_operations.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/operations/test_write_operations.py b/tests/integration/operations/test_write_operations.py index 95a204c8889e27f60813e094036197a04a385c49..628bf23fbf9b7b0635d29a7d8f12f6bcceb0fc59 100644 --- a/tests/integration/operations/test_write_operations.py +++ b/tests/integration/operations/test_write_operations.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/position/test_lseek.py b/tests/integration/position/test_lseek.py index 356f34a64ec097e46854a5e0a5d0df34ea9c664f..c27029318a916cd61204e013c6cc2dd6719638b2 100644 --- a/tests/integration/position/test_lseek.py +++ b/tests/integration/position/test_lseek.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/integration/shell/test_concat.py b/tests/integration/shell/test_concat.py index 3f86ea708d58a2fd02c16db7d7b59ec7b675361d..b997ff61862abd4018de693d11110773f1db1f58 100644 --- a/tests/integration/shell/test_concat.py +++ b/tests/integration/shell/test_concat.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import pytest diff --git a/tests/integration/shell/test_cp.py b/tests/integration/shell/test_cp.py index e44fbbfeb63ad9e1b042983e4ea62467720f0e11..7c5680d6315241445c9cb1623c174f8f1dfc1b9a 100644 --- a/tests/integration/shell/test_cp.py +++ b/tests/integration/shell/test_cp.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import pytest diff --git a/tests/integration/shell/test_stat.py b/tests/integration/shell/test_stat.py index feb19845a33500b7880884df6372b27b620010e6..57c873622678dfcb96fb20e7b4f47574248457a1 100644 --- a/tests/integration/shell/test_stat.py +++ b/tests/integration/shell/test_stat.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import pytest diff --git a/tests/integration/status/test_status.py b/tests/integration/status/test_status.py index aaa883fd1b975ed258db3a588a16a9ed53efc4ff..2ea2c74c6ae2559760e63dfb042ed6bdc9b964d2 100644 --- a/tests/integration/status/test_status.py +++ b/tests/integration/status/test_status.py @@ -1,14 +1,14 @@ ################################################################################ -# Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain # -# Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany # +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # # # -# This software was partially supported by the # -# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # -# This software was partially supported by the # -# ADA-FS project under the SPPEXA project funded by the DFG. # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # # # -# SPDX-License-Identifier: MIT # +# SPDX-License-Identifier: MIT # ################################################################################ import harness diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 29f39293124a94f2ad9195fc133fc5c23dd4605d..701108484a0cf7cdb3bc16eb39bd0280aec92b23 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -1,3 +1,16 @@ +################################################################################ +# Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain # +# Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany # +# # +# This software was partially supported by the # +# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # +# # +# This software was partially supported by the # +# ADA-FS project under the SPPEXA project funded by the DFG. # +# # +# SPDX-License-Identifier: MIT # +################################################################################ + include(FetchContent) # get Catch2 diff --git a/tests/unit/catch_main.cpp b/tests/unit/catch_main.cpp index 4ed06df1f7bea8cc18ee161389b9c3e2741b08a0..47a0fceaf183fd9d628b92694c9d3b8c0501496f 100644 --- a/tests/unit/catch_main.cpp +++ b/tests/unit/catch_main.cpp @@ -1,2 +1,15 @@ +/* + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany + + This software was partially supported by the + EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). + + This software was partially supported by the + ADA-FS project under the SPPEXA project funded by the DFG. + + SPDX-License-Identifier: MIT +*/ + #define CATCH_CONFIG_MAIN #include diff --git a/tests/unit/test_example_00.cpp b/tests/unit/test_example_00.cpp index 63d01fd08e38a2a388f833a02edf019493cc3ba0..6228e6f5ecb165ec5ec4681396f42801bd2da424 100644 --- a/tests/unit/test_example_00.cpp +++ b/tests/unit/test_example_00.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/unit/test_example_01.cpp b/tests/unit/test_example_01.cpp index f061d6186ea40c83e7df952779a039d837737fb8..8767aeadba98c77faef6fa9dd3fc312502f3a40c 100644 --- a/tests/unit/test_example_01.cpp +++ b/tests/unit/test_example_01.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). diff --git a/tests/unit/test_utils_arithmetic.cpp b/tests/unit/test_utils_arithmetic.cpp index 316a00e51418fc52e4d9560069bb5709f5552f61..dcc701b1c7c5b3b5bac3e01c83aed92eece5ae3a 100644 --- a/tests/unit/test_utils_arithmetic.cpp +++ b/tests/unit/test_utils_arithmetic.cpp @@ -1,6 +1,6 @@ /* - Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain - Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany + Copyright 2018-2021, Barcelona Supercomputing Center (BSC), Spain + Copyright 2015-2021, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu).