Skip to content

Commit

Permalink
-- silkit: add missing license info
Browse files Browse the repository at this point in the history
Annotate files with missing license/copyright info with SPDX headers

Signed-off-by: Jan Kraemer <[email protected]>
  • Loading branch information
VJanKraemer committed Dec 20, 2023
1 parent 545b2fb commit ad0afbc
Show file tree
Hide file tree
Showing 54 changed files with 239 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/new-issue.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
SPDX-License-Identifier: MIT
-->

---
name: New Issue
about: Create a report to help us improve
Expand Down
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
SPDX-License-Identifier: MIT
-->

## Developer checklist (address before review)

- [ ] Changelog.md updated
Expand Down
6 changes: 6 additions & 0 deletions Demos/Benchmark/msg-size-scaling/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
SPDX-License-Identifier: MIT
-->

Message size scaling helper scripts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
5 changes: 5 additions & 0 deletions Demos/Benchmark/msg-size-scaling/benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

echo 'Cleanup'
rm ./result-msg-size-scaling.csv
rm ./result-msg-size-scaling-tcp.csv
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

#Usage: ./run-bench-msg-size-scaling.sh <path/to/SilKitDemoBenchmark> <path/to/result.csv> [<path/to/SilKitConfig>]

EXE=$1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

#Usage: ./run-latency-msg-size-scaling.sh <path/to/SilKitDemoLatency> <path/to/result.csv> [<path/to/SilKitConfig>]

EXE=$1
Expand Down
6 changes: 6 additions & 0 deletions Demos/Benchmark/performance-diff/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
SPDX-License-Identifier: MIT
-->

Message size scaling helper scripts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 4 additions & 0 deletions Demos/Benchmark/performance-diff/diff.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

import pandas as pd
import sys
pd.set_option('display.max_rows', 500)
Expand Down
5 changes: 5 additions & 0 deletions Demos/Benchmark/performance-diff/performance-diff.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

#Usage: ./performance-diff.sh <name-version-1> <path/to/SilKitDemoBenchmark1> <name-version-1> <path/to/SilKitDemoBenchmark2> <path/to/diff-result.csv>

NAME1=$1
Expand Down
4 changes: 4 additions & 0 deletions SilKit/IntegrationTests/ITest_Orchestration.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include <memory>
#include <thread>
#include <string>
Expand Down
4 changes: 4 additions & 0 deletions SilKit/ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

// vim: set ft=groovy:

//#################
Expand Down
5 changes: 5 additions & 0 deletions SilKit/ci/docker/fetch_apt_clang.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

set -e
set -u

Expand Down
5 changes: 5 additions & 0 deletions SilKit/ci/docker/fetch_boost.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

# fetch prebuilt binary boost 1.67.0 exported from subversion
# BinLog is linked against this file
set -u #bail on undefined var
Expand Down
5 changes: 5 additions & 0 deletions SilKit/ci/docker/fetch_cmake.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

# fetch an appropriate cmake if necessary
# we need at least cmake 3.11, ubuntu 18.04 LTS has 3.10
set -u #bail on undefined var
Expand Down
5 changes: 5 additions & 0 deletions SilKit/ci/docker/fetch_mingw.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

import urllib
import urllib.request
import ssl
Expand Down
5 changes: 5 additions & 0 deletions SilKit/ci/package.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
#
# SPDX-License-Identifier: MIT

# This tool packages the final deliverables for SIL Kit releases for a given target (VS2017, Linux etc.)
# the simplified cpack usage results in separate Debug and Release zip files.
# this tool is used to combine Debug and Release distribution zipfiles and make some
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/ConnectPeer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "ConnectPeer.hpp"

#include "util/TracingMacros.hpp"
Expand Down
6 changes: 6 additions & 0 deletions SilKit/source/core/vasio/README-network-compatibility.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
SPDX-License-Identifier: MIT
-->

VAsio Network Protocol Compatibility
====================================
The VAsio protocol requires an initial handshake and a service subscription.
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/AsioSocketOptions.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/IAcceptor.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/IConnector.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/IIoContext.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/IRawByteStream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/ITimer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/MakeAsioIoContext.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "MakeAsioIoContext.hpp"

#include "impl/AsioIoContext.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/MakeAsioIoContext.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioAcceptor.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once

#include "IAcceptor.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioCleanupEndpoint.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "AsioCleanupEndpoint.hpp"

#include "Filesystem.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioCleanupEndpoint.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "asio.hpp"


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioConnector.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once

#include "IConnector.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioFormatEndpoint.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "AsioFormatEndpoint.hpp"

#include "util/Exceptions.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioFormatEndpoint.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioGenericRawByteStream.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "AsioGenericRawByteStream.hpp"

#include "AsioFormatEndpoint.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioGenericRawByteStream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioIoContext.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "AsioIoContext.hpp"

#include "AsioAcceptor.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioIoContext.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioTimer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "AsioTimer.hpp"

#include "util/Exceptions.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/AsioTimer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/SetAsioSocketOptions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "SetAsioSocketOptions.hpp"

#include "ILogger.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/impl/SetAsioSocketOptions.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/util/Atomic.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/util/Buffer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/util/Exceptions.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once

#include "silkit/participant/exception.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#include "gtest/gtest.h"

#include "TracingMacros.hpp"
Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/io/util/TracingMacros.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

#pragma once


Expand Down
4 changes: 4 additions & 0 deletions SilKit/source/core/vasio/mock/MockVAsioPeer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Vector Informatik GmbH
//
// SPDX-License-Identifier: MIT

// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
Expand Down
Loading

0 comments on commit ad0afbc

Please sign in to comment.