Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iox-#346 Add copyright header check #347

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install iceoryx dependencies
# Softwares installed in ubuntu-18.04 instance
# Softwares installed in ubuntu-18.04 instance
# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
run: sudo apt-get update && sudo apt-get install -y libacl1-dev libncurses5-dev

- name : Checkout
uses: actions/checkout@v2

- name: Build sources
run: |
export NUM_CORES=`nproc`
Expand All @@ -48,13 +48,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install iceoryx dependencies
# Softwares installed in ubuntu-18.04 instance
# Softwares installed in ubuntu-18.04 instance
# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
run: sudo apt-get update && sudo apt-get install -y libacl1-dev libncurses5-dev

- name : Checkout
uses: actions/checkout@v2

- name: Build sources
run: |
export NUM_CORES=`nproc`
Expand All @@ -76,7 +76,7 @@ jobs:
macos-build-script:
runs-on: macos-10.15
# Softwares installed in macos-10.15 instance
# https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md
# https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -89,10 +89,10 @@ jobs:
cd $GITHUB_WORKSPACE
mkdir -p build
cd build
git clone https://github.com/mirror/ncurses.git
git clone https://github.com/mirror/ncurses.git
cd ncurses
git checkout v6.2
./configure --prefix=$GITHUB_WORKSPACE/build/install/prefix/ --exec-prefix=$GITHUB_WORKSPACE/build/install/prefix/ --with-termlib
./configure --prefix=$GITHUB_WORKSPACE/build/install/prefix/ --exec-prefix=$GITHUB_WORKSPACE/build/install/prefix/ --with-termlib
make
make install

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_test_cov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow builds & runs test cases in iceoryx

name: Build, Test and get Test-Coverage
name: Build, Test and get Test-Coverage

# Triggers the workflow on push or pull request events but only for the master branch
on:
Expand All @@ -19,13 +19,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install iceoryx dependencies
# Softwares installed in ubuntu-18.04 instance
# Softwares installed in ubuntu-18.04 instance
# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
run: sudo apt-get update && sudo apt-get install -y libacl1-dev libncurses5-dev git cmake build-essential lcov

- name : Checkout
uses: actions/checkout@v2

- name: Build, test and generate gcov report
run: |
export NUM_CORES=`nproc`
Expand All @@ -35,4 +35,4 @@ jobs:
uses: codecov/codecov-action@v1
with:
file: ./build/lcov/iceoryx_filter.info
name: iceoryx
name: iceoryx
12 changes: 9 additions & 3 deletions .github/workflows/colcon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]

steps:
- name: Setup ROS
uses: ros-tooling/[email protected]
Expand All @@ -32,10 +32,16 @@ jobs:
sudo apt-get update && sudo apt-get install -y cmake libacl1-dev libncurses5-dev pkg-config
mkdir -p src/iceoryx
cd $GITHUB_WORKSPACE/src/iceoryx

- name: Checkout
uses: actions/checkout@v2


- name: Check copyrights
run: |
source /opt/ros/foxy/setup.bash
cd $GITHUB_WORKSPACE
ament_copyright --exclude LICENSE CONTRIBUTING.md

- name: Build & Test
run: |
cd $GITHUB_WORKSPACE
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/cmake/iceoryx_poshConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/cmake/iceoryx_posh_deployment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/cmake/iceoryxversions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/cmake/install_help_and_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/capro/service_description.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/capro/service_description.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/building_blocks/condition_variable_signaler.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/building_blocks/condition_variable_waiter.hpp"
#include "iceoryx_utils/error_handling/error_handling.hpp"
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/popo/condition.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/guard_condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/popo/guard_condition.hpp"
#include "iceoryx_posh/runtime/posh_runtime.hpp"
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/base_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/base_port.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/base_port_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/base_port_data.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/client_port_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/client_port_data.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/client_port_roudi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/client_port_roudi.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/client_port_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/client_port_user.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/publisher_port_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/publisher_port_data.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/publisher_port_roudi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/publisher_port_roudi.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/publisher_port_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/publisher_port_user.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/server_port_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/server_port_data.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/server_port_roudi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/server_port_roudi.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/server_port_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/server_port_user.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/subscriber_port_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/subscriber_port_data.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/subscriber_port_multi_producer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/subscriber_port_roudi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/subscriber_port_roudi.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/subscriber_port_single_producer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/ports/subscriber_port_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/internal/popo/ports/subscriber_port_user.hpp"
#include "iceoryx_posh/internal/log/posh_logging.hpp"
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/popo/wait_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_posh/popo/wait_set.hpp"

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_utils/cmake/IceoryxPackageHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_utils/cmake/IceoryxPlatformDetection.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_utils/cmake/iceoryx_utilsConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_utils/cmake/iceoryx_utils_testingConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_utils/platform/win/source/semaphore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
// limitations under the License.

#include "iceoryx_utils/platform/semaphore.hpp"

Expand Down
Loading