Skip to content

Commit

Permalink
reuse: make linter happy
Browse files Browse the repository at this point in the history
Add header to the rest of the project to make
the reuse linter pass.

Signed-off-by: Albert Esteve <[email protected]>
  • Loading branch information
aesteve-rh committed Sep 2, 2022
1 parent 5292e33 commit 510c439
Show file tree
Hide file tree
Showing 359 changed files with 1,302 additions and 845 deletions.
3 changes: 3 additions & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

.PHONY: installdeps git_cfg_safe srpm

installdeps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

name: CI
on: [push, pull_request]
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

name: "Code scanning - action"

on:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

name: Containers
on:
# Be able to run the job manually when needed
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/network.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

name: Network CI
on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ost.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

name: OST

on:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

*.iml
*.o
*.pickle
Expand Down
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

image: quay.io/ovirt/vdsm-test-centos-8

variables:
Expand Down
3 changes: 3 additions & 0 deletions .gitreview
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

[gerrit]
host=gerrit.ovirt.org
defaultbranch=master
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

dist: bionic
group: edge
language: python
Expand Down
5 changes: 5 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

VDSM Author Credits
===================

Expand Down
5 changes: 5 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

# See github docs for more info on the syntax:
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Expand Down
5 changes: 5 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

# Community Code of Conduct

We want to keep the oVirt Community a great place to participate, but we
Expand Down
5 changes: 5 additions & 0 deletions README.logging
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

Logging in Vdsm
===============

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

# Virtual Desktop Server Manager

[![CI Status](https://github.com/oVirt/vdsm/actions/workflows/ci.yml/badge.svg)](https://github.com/oVirt/vdsm/actions)
Expand Down
3 changes: 3 additions & 0 deletions autobuild.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

set -e
set -v

Expand Down
3 changes: 3 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh -e

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

autoreconf -if

if test "x$1" = "x--system"; then
Expand Down
5 changes: 5 additions & 0 deletions automation/README
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
-->

Take a look to the [wiki] page on the details of what is in this directory and
how it's used.

Expand Down
2 changes: 2 additions & 0 deletions automation/artifacts.repo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

[artifacts]
name=artifacts
Expand Down
3 changes: 3 additions & 0 deletions automation/build-artifacts-manual.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

set -xe

# prepare env
Expand Down
2 changes: 2 additions & 0 deletions automation/build-artifacts.build-py3.packages.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
3 changes: 3 additions & 0 deletions automation/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

source automation/common.sh

prepare_env
Expand Down
3 changes: 3 additions & 0 deletions automation/check-patch.install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

source automation/common.sh

prepare_env
Expand Down
3 changes: 3 additions & 0 deletions automation/check-patch.linters.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

source automation/common.sh

prepare_env
Expand Down
2 changes: 2 additions & 0 deletions automation/check-patch.mounts.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
3 changes: 3 additions & 0 deletions automation/check-patch.nmstate-func-tests-ovs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

./tests/network/functional/run-tests.sh --switch-type=ovs \
--pytest-args="--skip-stable-link-monitor"
3 changes: 3 additions & 0 deletions automation/check-patch.nmstate-func-tests.environment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

- name: 'CI_PYTHON' # This variable needs to be in a 'pythonMAJOR' form because it's
value: 'python3' # used to run commands like 'python3-coverage' and for package names
- name: 'CONTAINER_IMAGE'
Expand Down
2 changes: 2 additions & 0 deletions automation/check-patch.nmstate-func-tests.packages.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
3 changes: 3 additions & 0 deletions automation/check-patch.nmstate-func-tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

./tests/network/functional/run-tests.sh
2 changes: 2 additions & 0 deletions automation/check-patch.packages.el9stream.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
2 changes: 2 additions & 0 deletions automation/check-patch.packages.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
2 changes: 2 additions & 0 deletions automation/check-patch.repos.el9stream.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
2 changes: 2 additions & 0 deletions automation/check-patch.repos.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
3 changes: 3 additions & 0 deletions automation/check-patch.tests-container.environment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

# TODO rename to DISTRO with DIST in .travis.yaml
- name: 'DIST'
value: 'centos-8 '
Expand Down
2 changes: 2 additions & 0 deletions automation/check-patch.tests-container.packages.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Red Hat, Inc.
SPDX-License-Identifier: GPL-2.0-or-later
3 changes: 3 additions & 0 deletions automation/check-patch.tests-container.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

podman run \
--env-host \
--privileged \
Expand Down
3 changes: 3 additions & 0 deletions automation/check-patch.tests-py3.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

source automation/common.sh

prepare_env
Expand Down
3 changes: 3 additions & 0 deletions automation/check-patch.tests-storage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

source automation/common.sh

prepare_env
Expand Down
3 changes: 3 additions & 0 deletions automation/common.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

set -e

# Common helpers
Expand Down
3 changes: 3 additions & 0 deletions automation/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -ex

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

shopt -s extglob
IFACES=(/proc/sys/net/ipv4/conf/!(all|default|lo))
shopt -u extglob
Expand Down
3 changes: 3 additions & 0 deletions automation/exclude_from_conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

from __future__ import absolute_import

import sys
Expand Down
3 changes: 3 additions & 0 deletions automation/lago-env_el7.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

domains:
vdsm_functional_tests_host-el7:
nics:
Expand Down
3 changes: 3 additions & 0 deletions automation/lago-env_fc29.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

domains:
vdsm_functional_tests_host-fc29:
nics:
Expand Down
3 changes: 3 additions & 0 deletions automation/lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

./autogen.sh --system
make
make lint
3 changes: 3 additions & 0 deletions automation/py2.environment.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

- name: 'CI_PYTHON' # This variable needs to be in a 'pythonMAJOR' form because it's
value: 'python2' # used to run commands like 'python3-coverage' and for package names
3 changes: 3 additions & 0 deletions automation/py3.environment.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

- name: 'CI_PYTHON' # This variable needs to be in a 'pythonMAJOR' form because it's
value: 'python3' # used to run commands like 'python3-coverage' and for package names
3 changes: 3 additions & 0 deletions automation/rpm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

export EXPORT_DIR="${EXPORT_DIR:-exported-artifacts}"

if [ "$GITHUB_EVENT_NAME" = "push" ]; then
Expand Down
3 changes: 3 additions & 0 deletions automation/tests-storage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh -e

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

print_help() {
echo "Usage: $0 USER"
echo ""
Expand Down
3 changes: 3 additions & 0 deletions automation/tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -xe

# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

# Enable IPv6
echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
# Load bonding module
Expand Down
20 changes: 2 additions & 18 deletions build-aux/Makefile.subs
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
#
# Copyright 2008-2012 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# Refer to the README and COPYING files for full details of the license
#
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

SUFFIXES: .in

Expand Down
2 changes: 2 additions & 0 deletions build-aux/gitlog-to-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ my $VERSION = '2009-10-30 13:46'; # UTC
# do its job. Otherwise, update this string manually.

# Copyright (C) 2008-2011 Free Software Foundation, Inc.
# SPDX-FileCopyrightText: 2022 Red Hat, Inc.
# SPDX-License-Identifier: GPL-2.0-or-later

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
Loading

0 comments on commit 510c439

Please sign in to comment.