From afd39467d171f95c83cfe13ca01c15331ef71916 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Wed, 3 Feb 2021 16:47:16 +0100 Subject: [PATCH 1/5] Add Dockerfile for copyright-header formatter --- .../copyright-headers/Dockerfile | 42 +++++ .../copyright-headers/patch.diff | 159 ++++++++++++++++++ 2 files changed, 201 insertions(+) create mode 100644 scripts/maintainer-tools/copyright-headers/Dockerfile create mode 100644 scripts/maintainer-tools/copyright-headers/patch.diff diff --git a/scripts/maintainer-tools/copyright-headers/Dockerfile b/scripts/maintainer-tools/copyright-headers/Dockerfile new file mode 100644 index 000000000..23ca9366b --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/Dockerfile @@ -0,0 +1,42 @@ +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/patch.diff b/scripts/maintainer-tools/copyright-headers/patch.diff new file mode 100644 index 000000000..efc70c928 --- /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 -- GitLab From bcad7e5798f35f50e7c37a23786ffbfdbc1edec7 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Wed, 3 Feb 2021 16:49:24 +0100 Subject: [PATCH 2/5] Add maintainer script to manage copyright headers --- .../copyright-headers/gekkofs-syntax.yml | 296 ++++++++++++++ .../copyright-headers/gekkofs-template.erb | 10 + .../copyright-headers/manage-headers.sh | 365 ++++++++++++++++++ .../copyright-headers/project.config | 53 +++ 4 files changed, 724 insertions(+) create mode 100644 scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml create mode 100644 scripts/maintainer-tools/copyright-headers/gekkofs-template.erb create mode 100755 scripts/maintainer-tools/copyright-headers/manage-headers.sh create mode 100644 scripts/maintainer-tools/copyright-headers/project.config diff --git a/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml new file mode 100644 index 000000000..362aa94e0 --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml @@ -0,0 +1,296 @@ +ruby: + ext: ['.rb', '.rake'] + after: ['^#!', '^#.*encoding:', '^#.*frozen_string_literal:'] + comment: + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '' + +perl: + ext: ['.pl'] + after: ['^#!', '^#.*encoding:'] + comment: + open: '#\n' + close: '#\n' + prefix: '# ' + suffix: '' + +# Support PEP 0263 comments: +# coding= +# -*- coding: -*- +# vim: set fileencoding= : +python: + ext: ['.py'] + after: ['^#!', '^#.*coding:', '^#.*coding=', '^#.*fileencoding='] + comment: + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '#\n' + +html: + ext: ['.html', '.htm', '.xhtml'] + comment: + open: '\n' + prefix: ' ' + suffix: '' + +php: + ext: ['.php'] + after: [ '^#!' ] + comment: + open: '\n' + prefix: ' * ' + suffix: '' + +javacript: + ext: ['.js', '.jsx'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +qml: + ext: ['.qml'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +qmake_project: + ext: ['.pro'] + comment: + open: '#\n' + close: '#\n' + prefix: '# ' + suffix: '' + +css: + ext: ['.css'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +c: + ext: ['.c', '.h'] + comment: + open: '/*\n' + close: '*/\n\n' + prefix: ' ' + suffix: '\n' + +cpp: + ext: ['.cpp', '.hpp', '.cc', '.hh'] + comment: + open: '/*\n' + close: '*/\n\n' + prefix: ' ' + suffix: '\n' + +java: + ext: ['.java'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +kotlin: + ext: ['.kt'] + comment: + open: '/*\n' + clone: ' */\n\n' + prefix: ' * ' + suffix: '' + +golang: + ext: ['.go'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +groovy: + ext: ['.groovy'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +haml: + ext: ['.haml', '.hamlc'] + comment: + open: '-#\n' + close: '-#\n' + prefix: '-# ' + suffix: '' + +coffee: + ext: ['.coffee'] + comment: + open: '###\n' + close: '###\n' + prefix: '' + suffix: '' + +# M4 macro language, use #, not dnl +m4: + ext: ['.m4'] + comment: + 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: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '#\n' + +# Use "-- " to make sure e.g. MySQL understands it +sql: + ext: ['.sql'] + comment: + 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. +# FIXME: only supports single line directives +xml: + ext: ['.xml', '.xsd', '.mxml'] + after: ['^<\?'] + comment: + open: '\n' + prefix: ' ' + suffix: '' + +yaml: + ext: ['.yml', '.yaml'] + comment: + open: '%repeat{#, :word_wrap:}%\n' + close: '%repeat{#, :word_wrap:}%\n\n' + prefix: '# ' + suffix: '#\n' + +action_script: + ext: ['.as'] + comment: + open: '//\n' + close: '//\n\n' + prefix: '// ' + suffix: '' + +sass: + ext: ['.sass', '.scss'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +verilog: + ext: ['.v', '.sv'] + comment: + open: '//\n' + close: '//\n\n' + prefix: '// ' + suffix: '' + +vhdl: + ext: ['.vhd'] + comment: + open: '--\n' + close: '--\n\n' + prefix: '-- ' + suffix: '' + +elm: + ext: ['.elm'] + comment: + open: '{-\n' + close: '-}\n\n' + prefix: ' ' + suffix: '' + +swift: + ext: ['.swift'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +rust: + ext: ['.rs'] + comment: + open: '/*\n' + close: ' */\n\n' + prefix: ' * ' + suffix: '' + +# Conf files i.e. apache config, splunk.conf files +conf: + ext: ['.conf'] + comment: + 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/maintainer-tools/copyright-headers/gekkofs-template.erb b/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb new file mode 100644 index 000000000..c96ba8a85 --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/gekkofs-template.erb @@ -0,0 +1,10 @@ +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. + +SPDX-License-Identifier: MIT 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 000000000..e944e12bb --- /dev/null +++ b/scripts/maintainer-tools/copyright-headers/manage-headers.sh @@ -0,0 +1,365 @@ +#!/bin/bash + +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/project.config b/scripts/maintainer-tools/copyright-headers/project.config new file mode 100644 index 000000000..972e97efd --- /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, 2020], :jgu => [2015, 2020]}" +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" +) -- GitLab From d5737a7cc9f45bc8ff6371ca9c2e6dff8e14756e Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Thu, 4 Feb 2021 17:59:29 +0100 Subject: [PATCH 3/5] Delete old copyright header scripts --- scripts/license/add_license_headers.sh | 12 -- scripts/license/copyright_header_syntax.yml | 225 -------------------- scripts/license/header | 10 - 3 files changed, 247 deletions(-) delete mode 100755 scripts/license/add_license_headers.sh delete mode 100644 scripts/license/copyright_header_syntax.yml delete mode 100644 scripts/license/header diff --git a/scripts/license/add_license_headers.sh b/scripts/license/add_license_headers.sh deleted file mode 100755 index b2d9eab0b..000000000 --- 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/license/copyright_header_syntax.yml b/scripts/license/copyright_header_syntax.yml deleted file mode 100644 index c9b649b53..000000000 --- a/scripts/license/copyright_header_syntax.yml +++ /dev/null @@ -1,225 +0,0 @@ -ruby: - ext: ['.rb', '.rake'] - after: ['^#!', '^#.*encoding:', '^#.*frozen_string_literal:'] - comment: - open: '\n#\n' - close: '#\n' - prefix: '# ' - -perl: - ext: ['.pl'] - after: ['^#!', '^#.*encoding:'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' - -# Support PEP 0263 comments: -# coding= -# -*- coding: -*- -# vim: set fileencoding= : -python: - ext: ['.py'] - after: ['^#!', '^#.*coding:', '^#.*coding=', '^#.*fileencoding='] - comment: - open: '\n' - close: '\n' - prefix: '# ' - -html: - ext: ['.html', '.htm', '.xhtml'] - comment: - open: '\n' - prefix: ' ' - -php: - ext: ['.php'] - after: [ '^#!' ] - comment: - open: '\n' - prefix: ' * ' - -javacript: - ext: ['.js', '.jsx'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -qml: - ext: ['.qml'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -qmake_project: - ext: ['.pro'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' - -css: - ext: ['.css'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -c: - ext: ['.c', '.h'] - comment: - open: '/*' - close: ' */\n\n' - prefix: ' * ' - -cpp: - ext: ['.cpp', '.hpp', '.cc', '.hh'] - comment: - open: '/*\n' - close: '*/\n\n' - prefix: ' ' - -java: - ext: ['.java'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -kotlin: - ext: ['.kt'] - comment: - open: '/*\n' - clone: ' */\n\n' - prefix: ' * ' - -golang: - ext: ['.go'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -groovy: - ext: ['.groovy'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -haml: - ext: ['.haml', '.hamlc'] - comment: - open: '-#\n' - close: '-#\n' - prefix: '-# ' - -coffee: - ext: ['.coffee'] - comment: - open: '###\n' - close: '###\n' - prefix: '' - -# M4 macro language, use #, not dnl -m4: - ext: ['.m4'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' - -# Most shells, really -shell: - ext: ['.sh'] - after: ['^#!'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' - -# Use "-- " to make sure e.g. MySQL understands it -sql: - ext: ['.sql'] - comment: - open: '-- \n' - close: '-- \n' - prefix: '-- ' - -# XML is *not* the same as HTML, and the comments need to go after a -# preprocessing directive, if present. -# FIXME: only supports single line directives -xml: - ext: ['.xml', '.xsd', '.mxml'] - after: ['^<\?'] - comment: - open: '\n' - prefix: ' ' - -yaml: - ext: ['.yml', '.yaml'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' - -action_script: - ext: ['.as'] - comment: - open: '//\n' - close: '//\n\n' - prefix: '// ' - -sass: - ext: ['.sass', '.scss'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -verilog: - ext: ['.v', '.sv'] - comment: - open: '//\n' - close: '//\n\n' - prefix: '// ' - -vhdl: - ext: ['.vhd'] - comment: - open: '--\n' - close: '--\n\n' - prefix: '-- ' - -elm: - ext: ['.elm'] - comment: - open: '{-\n' - close: '-}\n\n' - prefix: ' ' - -swift: - ext: ['.swift'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' - -rust: - ext: ['.rs'] - comment: - open: '/*\n' - close: ' */\n\n' - prefix: ' * ' -# Conf files i.e. apache config, splunk.conf files -conf: - ext: ['.conf'] - comment: - open: '#\n' - close: '#\n' - prefix: '# ' diff --git a/scripts/license/header b/scripts/license/header deleted file mode 100644 index fe3b01643..000000000 --- a/scripts/license/header +++ /dev/null @@ -1,10 +0,0 @@ -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 -- GitLab From 15e7ad8d13d0449092b83002efed5848661800de Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Thu, 4 Feb 2021 18:52:06 +0100 Subject: [PATCH 4/5] Add README.md's in scripts/maintainer-tools/ --- scripts/maintainer-tools/README.md | 9 + .../copyright-headers/README.md | 197 ++++++++++++++++++ 2 files changed, 206 insertions(+) create mode 100644 scripts/maintainer-tools/README.md create mode 100644 scripts/maintainer-tools/copyright-headers/README.md diff --git a/scripts/maintainer-tools/README.md b/scripts/maintainer-tools/README.md new file mode 100644 index 000000000..0d51a64bf --- /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/README.md b/scripts/maintainer-tools/copyright-headers/README.md new file mode 100644 index 000000000..56f1080e0 --- /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 + ``` -- GitLab From 2f8b79b0f6985b09e64ce63812ff4742b7df1510 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Sat, 6 Feb 2021 21:36:01 +0100 Subject: [PATCH 5/5] Update copyright headers --- CMake/FindAGIOS.cmake | 13 ++++++++++++ CMake/FindAbt.cmake | 13 ++++++++++++ CMake/FindDate.cmake | 13 ++++++++++++ CMake/FindJeMalloc.cmake | 13 ++++++++++++ CMake/FindLZ4.cmake | 13 ++++++++++++ CMake/FindMargo.cmake | 13 ++++++++++++ CMake/FindRocksDB.cmake | 13 ++++++++++++ CMake/FindSnappy.cmake | 13 ++++++++++++ CMake/FindSyscall_intercept.cmake | 13 ++++++++++++ CMake/FindZStd.cmake | 13 ++++++++++++ CMake/GkfsPythonTesting.cmake | 13 ++++++++++++ CMake/gkfs-code-coverage.cmake | 13 ++++++++++++ CMakeLists.txt | 13 ++++++++++++ examples/gfind/CMakeLists.txt | 13 ++++++++++++ examples/gfind/gfind.cpp | 4 ++-- examples/gfind/pfind.sh | 14 +++++++++++++ examples/gfind/sfind.cpp | 4 ++-- include/client/env.hpp | 4 ++-- include/client/gkfs_functions.hpp | 4 ++-- include/client/hooks.hpp | 4 ++-- include/client/intercept.hpp | 4 ++-- include/client/logging.hpp | 4 ++-- include/client/make_array.hpp | 4 ++-- include/client/open_dir.hpp | 5 ++--- include/client/open_file_map.hpp | 5 ++--- include/client/path.hpp | 4 ++-- include/client/preload.hpp | 4 ++-- include/client/preload_context.hpp | 4 ++-- include/client/preload_util.hpp | 5 ++--- include/client/rpc/forward_data.hpp | 5 ++--- include/client/rpc/forward_management.hpp | 5 ++--- include/client/rpc/forward_metadata.hpp | 5 ++--- include/client/rpc/rpc_types.hpp | 4 ++-- include/client/syscalls.hpp | 4 ++-- include/client/syscalls/args.hpp | 4 ++-- include/client/syscalls/decoder.hpp | 4 ++-- include/client/syscalls/detail/syscall_info.h | 4 ++-- include/client/syscalls/errno.hpp | 4 ++-- include/client/syscalls/rets.hpp | 4 ++-- include/client/syscalls/syscall.hpp | 4 ++-- include/config.hpp | 4 ++-- include/daemon/backend/data/chunk_storage.hpp | 4 ++-- include/daemon/backend/data/data_module.hpp | 4 ++-- include/daemon/backend/data/file_handle.hpp | 4 ++-- include/daemon/backend/exceptions.hpp | 4 ++-- include/daemon/backend/metadata/db.hpp | 4 ++-- include/daemon/backend/metadata/merge.hpp | 4 ++-- include/daemon/classes/fs_data.hpp | 5 ++--- include/daemon/classes/rpc_data.hpp | 5 ++--- include/daemon/daemon.hpp | 4 ++-- include/daemon/env.hpp | 4 ++-- include/daemon/handler/rpc_defs.hpp | 5 ++--- include/daemon/handler/rpc_util.hpp | 4 ++-- include/daemon/ops/data.hpp | 4 ++-- include/daemon/ops/metadentry.hpp | 5 ++--- include/daemon/scheduler/agios.hpp | 13 ++++++++++++ include/daemon/util.hpp | 4 ++-- include/global/arithmetic/arithmetic.hpp | 4 ++-- include/global/env_util.hpp | 4 ++-- include/global/global_defs.hpp | 4 ++-- include/global/log_util.hpp | 4 ++-- include/global/metadata.hpp | 4 ++-- include/global/path_util.hpp | 4 ++-- include/global/rpc/distributor.hpp | 4 ++-- include/global/rpc/rpc_types.hpp | 5 ++--- include/global/rpc/rpc_util.hpp | 5 ++--- scripts/benchmark_check.sh | 13 ++++++++++++ scripts/check_format.sh | 13 ++++++++++++ scripts/ci/coverage.sh | 8 +++----- scripts/compile_dep.sh | 13 ++++++++++++ scripts/dl_dep.sh | 13 ++++++++++++ .../copyright-headers/Dockerfile | 13 ++++++++++++ .../copyright-headers/gekkofs-syntax.yml | 13 ++++++++++++ .../copyright-headers/manage-headers.sh | 13 ++++++++++++ .../copyright-headers/project.config | 2 +- src/client/CMakeLists.txt | 13 ++++++++++++ src/client/gkfs_functions.cpp | 5 ++--- src/client/hooks.cpp | 4 ++-- src/client/intercept.cpp | 4 ++-- src/client/logging.cpp | 4 ++-- src/client/open_dir.cpp | 4 ++-- src/client/open_file_map.cpp | 5 ++--- src/client/path.cpp | 4 ++-- src/client/preload.cpp | 4 ++-- src/client/preload_context.cpp | 5 +++-- src/client/preload_util.cpp | 4 ++-- src/client/rpc/forward_data.cpp | 4 ++-- src/client/rpc/forward_management.cpp | 4 ++-- src/client/rpc/forward_metadata.cpp | 4 ++-- src/client/rpc/rpc_types.cpp | 4 ++-- src/client/syscalls/detail/syscall_info.c | 4 ++-- src/daemon/CMakeLists.txt | 13 ++++++++++++ src/daemon/backend/data/CMakeLists.txt | 13 ++++++++++++ src/daemon/backend/data/chunk_storage.cpp | 4 ++-- src/daemon/backend/data/data_module.cpp | 4 ++-- src/daemon/backend/metadata/CMakeLists.txt | 13 ++++++++++++ src/daemon/backend/metadata/db.cpp | 4 ++-- src/daemon/backend/metadata/merge.cpp | 4 ++-- src/daemon/classes/fs_data.cpp | 5 +++-- src/daemon/classes/rpc_data.cpp | 5 ++--- src/daemon/daemon.cpp | 5 ++--- src/daemon/handler/srv_data.cpp | 5 ++--- src/daemon/handler/srv_management.cpp | 5 ++--- src/daemon/handler/srv_metadata.cpp | 5 ++--- src/daemon/ops/data.cpp | 4 ++-- src/daemon/ops/metadentry.cpp | 5 ++--- src/daemon/scheduler/agios.cpp | 13 ++++++++++++ src/daemon/util.cpp | 5 +++-- src/global/CMakeLists.txt | 13 ++++++++++++ src/global/arithmetic/CMakeLists.txt | 20 +++++++++---------- src/global/env_util.cpp | 4 ++-- src/global/log_util.cpp | 4 ++-- src/global/metadata.cpp | 4 ++-- src/global/path_util.cpp | 4 ++-- src/global/rpc/distributor.cpp | 4 ++-- src/global/rpc/rpc_util.cpp | 5 ++--- test/CMakeLists.txt | 13 ++++++++++++ test/IO_test.cpp | 13 ++++++++++++ test/dir_test.cpp | 13 ++++++++++++ test/lseek.cpp | 13 ++++++++++++ test/main.cpp | 13 ++++++++++++ test/main_IO_testing.cpp | 13 ++++++++++++ test/main_MPI.cpp | 13 ++++++++++++ test/main_temp.cpp | 13 ++++++++++++ test/symlink_test.cpp | 13 ++++++++++++ test/truncate.cpp | 13 ++++++++++++ test/wr_test.cpp | 13 ++++++++++++ tests/CMakeLists.txt | 13 ++++++++++++ tests/integration/CMakeLists.txt | 13 ++++++++++++ tests/integration/conftest.py | 14 ++++++------- tests/integration/data/test_data_integrity.py | 14 ++++++------- tests/integration/data/test_truncate.py | 14 ++++++------- .../directories/test_directories.py | 14 ++++++------- .../directories/test_pathresolution.py | 14 ++++++------- tests/integration/directories/test_symlink.py | 14 ++++++------- tests/integration/forwarding/test_map.py | 14 ++++++------- tests/integration/harness/CMakeLists.txt | 13 ++++++++++++ tests/integration/harness/cli.py | 14 ++++++------- tests/integration/harness/cmd.py | 14 ++++++------- .../harness/gkfs.io/binary_buffer.hpp | 4 ++-- tests/integration/harness/gkfs.io/chdir.cpp | 4 ++-- tests/integration/harness/gkfs.io/command.hpp | 4 ++-- .../integration/harness/gkfs.io/commands.hpp | 4 ++-- .../harness/gkfs.io/getcwd_validate.cpp | 4 ++-- tests/integration/harness/gkfs.io/lseek.cpp | 4 ++-- tests/integration/harness/gkfs.io/main.cpp | 4 ++-- tests/integration/harness/gkfs.io/mkdir.cpp | 4 ++-- tests/integration/harness/gkfs.io/open.cpp | 4 ++-- tests/integration/harness/gkfs.io/opendir.cpp | 4 ++-- tests/integration/harness/gkfs.io/pread.cpp | 4 ++-- tests/integration/harness/gkfs.io/preadv.cpp | 4 ++-- tests/integration/harness/gkfs.io/pwrite.cpp | 4 ++-- tests/integration/harness/gkfs.io/pwritev.cpp | 4 ++-- tests/integration/harness/gkfs.io/read.cpp | 4 ++-- tests/integration/harness/gkfs.io/readdir.cpp | 4 ++-- tests/integration/harness/gkfs.io/readv.cpp | 4 ++-- .../harness/gkfs.io/reflection.hpp | 4 ++-- tests/integration/harness/gkfs.io/rmdir.cpp | 4 ++-- .../integration/harness/gkfs.io/serialize.hpp | 4 ++-- tests/integration/harness/gkfs.io/stat.cpp | 4 ++-- tests/integration/harness/gkfs.io/statx.cpp | 4 ++-- tests/integration/harness/gkfs.io/symlink.cpp | 4 ++-- .../integration/harness/gkfs.io/truncate.cpp | 4 ++-- .../harness/gkfs.io/util/file_compare.cpp | 4 ++-- tests/integration/harness/gkfs.io/write.cpp | 4 ++-- .../harness/gkfs.io/write_random.cpp | 4 ++-- .../harness/gkfs.io/write_validate.cpp | 4 ++-- tests/integration/harness/gkfs.io/writev.cpp | 4 ++-- tests/integration/harness/gkfs.py | 14 ++++++------- tests/integration/harness/io.py | 14 ++++++------- tests/integration/harness/logger.py | 14 ++++++------- tests/integration/harness/reporter.py | 14 ++++++------- tests/integration/harness/workspace.py | 14 ++++++------- .../operations/test_read_operations.py | 14 ++++++------- .../operations/test_write_operations.py | 14 ++++++------- tests/integration/position/test_lseek.py | 14 ++++++------- tests/integration/shell/test_concat.py | 14 ++++++------- tests/integration/shell/test_cp.py | 14 ++++++------- tests/integration/shell/test_stat.py | 14 ++++++------- tests/integration/status/test_status.py | 14 ++++++------- tests/unit/CMakeLists.txt | 13 ++++++++++++ tests/unit/catch_main.cpp | 13 ++++++++++++ tests/unit/test_example_00.cpp | 4 ++-- tests/unit/test_example_01.cpp | 4 ++-- tests/unit/test_utils_arithmetic.cpp | 4 ++-- 185 files changed, 982 insertions(+), 416 deletions(-) diff --git a/CMake/FindAGIOS.cmake b/CMake/FindAGIOS.cmake index a11910d33..9d93e2a26 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 5bd2328f3..69e8bf607 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 c60ce7906..16d7c31bd 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 26fb1748d..51584603f 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 1775e6db1..070d45a7c 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 fde1991ae..0c607a041 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 333920215..d5acc4128 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 f48b29291..1cd5e757b 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 5aff4b176..77bf56f54 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 cc76a3bd5..0e9480633 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 042adfc27..e76c9c06b 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 3c0e82973..2bbf65d86 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 6e1920cb2..ffcae7a7f 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 ba05dac89..ff80d2501 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 116b1344c..1370e528d 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 f390ffbdb..8493e9024 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 970263885..c06129339 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 5252a93f5..bfa41175e 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 3a3c0db5b..3b9ff648a 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 ca3ffdeee..b10637517 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 e3fe1d94d..06837cf90 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 db769d648..4c0227e79 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 ffd5ef3b3..4ff4ac03f 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 1988f1354..a7cd0c8a0 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 a35a05ff8..cc477da8d 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 6b6cf851c..e948400c1 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 2c6f01caa..230ef0333 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 c79dbcd61..89e8c5b3c 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 1e272c8f5..a515444fb 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 a150044f4..9ecc77c1f 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 48956f518..c48a06971 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 a5ae1976e..47134663a 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 021d3fc0a..58091099e 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 aa47d56f3..c63ff035b 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 3df34ea73..3ab85e871 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 d75491ca0..a07484682 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 16608c9aa..a357b93e1 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 31ee96af7..f3cd71a77 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 0767ec36d..da9d8458d 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 ed67dae53..19e8419c7 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 2fea22dfe..66fe6e3e4 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 6a8f2c433..5efc4d207 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 e6a14b686..b09097843 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 93b53c398..ffea577e1 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 1bb033ff6..502cc760c 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 4b1ace3a0..1d40bab66 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 17f28558b..590238478 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 ed582caa0..8329a0579 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 b8df6c71e..dcec0f68a 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 934f12a75..1b760fb41 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 4c55d370e..3506ea4d5 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 8321b9c85..03c444a9e 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 ebfbbb92d..8a0bd4389 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 808b807e4..8dbd89c42 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 4d017ae42..993060285 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 8263def3f..78a3778ec 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 6e2c7cea8..f41eae674 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 a49eabea0..0a10e4933 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 996a1bfcb..9c5613ef2 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 aec77c113..e57cf90a6 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 fe2cd89bb..2f0dd83b8 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 5a1410883..e6b7aecb0 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 d88e06e6b..24956a879 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 b3f9a926d..c841c53fc 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 5f1f5f745..080a71f84 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 3699e7bc1..5d4bb49f5 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 fe257f18c..f10da8058 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 c178ebc38..c516ec09e 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 e55bcb220..65e170f25 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 a7d35ebe6..4638de12a 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 342e32a5a..747e0b9f6 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/maintainer-tools/copyright-headers/Dockerfile b/scripts/maintainer-tools/copyright-headers/Dockerfile index 23ca9366b..5e542b8fb 100644 --- a/scripts/maintainer-tools/copyright-headers/Dockerfile +++ b/scripts/maintainer-tools/copyright-headers/Dockerfile @@ -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 # +################################################################################ + FROM ruby:slim diff --git a/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml index 362aa94e0..2260d49e8 100644 --- a/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml +++ b/scripts/maintainer-tools/copyright-headers/gekkofs-syntax.yml @@ -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 # +################################################################################ + ruby: ext: ['.rb', '.rake'] after: ['^#!', '^#.*encoding:', '^#.*frozen_string_literal:'] diff --git a/scripts/maintainer-tools/copyright-headers/manage-headers.sh b/scripts/maintainer-tools/copyright-headers/manage-headers.sh index e944e12bb..9bd9e553d 100755 --- a/scripts/maintainer-tools/copyright-headers/manage-headers.sh +++ b/scripts/maintainer-tools/copyright-headers/manage-headers.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_DIR=$(readlink -f .) PROJECT_CONFIG_FILE="project.config" diff --git a/scripts/maintainer-tools/copyright-headers/project.config b/scripts/maintainer-tools/copyright-headers/project.config index 972e97efd..6b31a47fb 100644 --- a/scripts/maintainer-tools/copyright-headers/project.config +++ b/scripts/maintainer-tools/copyright-headers/project.config @@ -6,7 +6,7 @@ # COPYRIGHT_SOFTWARE="gekkofs" # COPYRIGHT_DESCRIPTION="an ephemeral distributed file system for HPC applications" -COPYRIGHT_YEARS="{:bsc => [2018, 2020], :jgu => [2015, 2020]}" +COPYRIGHT_YEARS="{:bsc => [2018, 2021], :jgu => [2015, 2021]}" COPYRIGHT_LICENSE="gekkofs-template.erb" COPYRIGHT_SYNTAX="gekkofs-syntax.yml" COPYRIGHT_WORD_WRAP=80 diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 82f525c05..b72029147 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 927cc39c9..564a945f7 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 dbe997a4d..60cbbc666 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 c7f1934c2..b0eb00093 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 1f21f290f..9d60cf99d 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 f79316dc2..9bd1435fd 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 6ecec24dc..e25569bd8 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 b3004fa0c..81ff84923 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 8792ae10b..80b567bc8 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 fbba7683e..b1d0ab945 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 a18b902ef..967cf3396 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 4238287dd..4fc48cf2c 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 d666e8795..84bfccaf1 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 fa494e492..80f99fdb0 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 85b0de899..b6610b289 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 f4101237f..68aefcc67 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 960303ddb..eb9d5d7b9 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 8a9356d40..99096b00d 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 ecc56b942..5f257a8ab 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 d19157da1..7cf5fad17 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 8fdfce5b9..563ca18b7 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 c7fbc44a6..f6a0e306a 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 30591d9bd..9d88f3a10 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 23bc4863a..2acc94553 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 71251caa4..763516282 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 cb4f23a9d..4761e141a 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 027955c25..318d6dc7a 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 8156f8316..89ff75273 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 03f604324..8ea1bf6aa 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 b2fd78ae1..dd9a820b9 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 2f6457ffa..4fa195c80 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 037f1fb97..5709efbca 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 6a8cc0d34..61d8bf2b1 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 ca78030eb..ff00083f5 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 df70a8a5a..c512ae515 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 731afe2af..fa439a80f 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 76dd4564a..25cd3dfb4 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 cea52ad4d..60e338770 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 e43b023f0..6574d8fec 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 70ded66c9..199b8d7b9 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 0591fd6ac..c6ba4a76b 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 6238bfcde..cf2500d05 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 2b297ca8d..3d7353bc0 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 d504b902f..b8296efa2 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 ea3623119..2c7a8b571 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 4be0b1327..507e914eb 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 966e9a68d..ed37466a3 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 6b1b5abea..a1e33647f 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 3d617c782..2b103954c 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 ad2189395..b2d349b2d 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 2b40f9ea9..116f9f904 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 61347c6b9..f5b24080a 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 03d80a7f5..0d807102e 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 4d7f3ed7c..5faafa1f8 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 4dd28b8d6..f4a69bbe6 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 32f2df095..c28a0ee05 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 199af554d..04c25e7a3 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 4a60617dd..902a608f6 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 0413e369d..ba6afee48 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 b88b4b683..d964f08be 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 86c412bb0..153c3891f 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 3a9d47f05..e7b89b453 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 3144c9b8c..5cafab5d8 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 9285493de..c05ce1bbb 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 e5c7182e0..78eed3277 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 2940c5bf7..273440b2f 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 a14442575..cf0715898 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 4f2d79b32..6955a1045 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 de8b3edf3..4483bdd1c 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 828c13d53..76a2e0dc0 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 c0353ff09..d7ba11ee3 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 f22656176..b9d947d90 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 6ba1dc99a..6c88f2c0b 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 561b92f25..27609082b 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 974893801..a599d3ec9 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 88522fbbf..d75f5e0b5 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 bc55f131e..325de773f 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 dd3f020d5..44d4860de 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 224c904b8..d74ae0d63 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 3fdbadf6b..a4b59bd30 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 a47b1dda1..b796bc74f 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 b4f6e23e2..9c4e6b25f 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 0f00440a8..a10f52fbd 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 9cc096337..3a846cd9a 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 bab1745c3..5be29c9ff 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 b0b252f94..f09e27222 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 c4dff2ccd..5b432875f 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 eaf33a49e..995212e8f 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 d983d55c6..4f4cd7af3 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 081f8fea8..50cd5e7e4 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 5df7001b9..a2158a152 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 6783f41c3..ba3c8b190 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 475b3cba1..7d30123c7 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 056bb1463..f41114c7d 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 992e55e3d..c0cf06ca0 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 be4623c69..e074def8a 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 0b4a8bdd9..163d66cca 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 50f135c74..e0de7f1cd 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 3099b0c2c..c6e17e771 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 95a204c88..628bf23fb 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 356f34a64..c27029318 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 3f86ea708..b997ff618 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 e44fbbfeb..7c5680d63 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 feb19845a..57c873622 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 aaa883fd1..2ea2c74c6 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 29f392931..701108484 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 4ed06df1f..47a0fceaf 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 63d01fd08..6228e6f5e 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 f061d6186..8767aeadb 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 316a00e51..dcc701b1c 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). -- GitLab