summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-06-25 15:43:36 +0200
committernicolargo <nicolas@nicolargo.com>2022-06-25 15:43:36 +0200
commit5114231085632ee06b5d948366cb995cc147979a (patch)
treeb2a317ca06a92a92ede6272cb16e5c8fc80433b6
parentb6e4c3c8be5617c62153deebc6c1be49352bc972 (diff)
Make Glances (almost) compliant with REUSE #2042
-rw-r--r--glances/__init__.py14
-rw-r--r--glances/__main__.py14
-rw-r--r--glances/actions.py14
-rw-r--r--glances/amps/glances_amp.py14
-rw-r--r--glances/amps/glances_default.py14
-rw-r--r--glances/amps/glances_nginx.py14
-rw-r--r--glances/amps/glances_systemd.py14
-rw-r--r--glances/amps/glances_systemv.py14
-rw-r--r--glances/amps_list.py14
-rw-r--r--glances/attribute.py14
-rw-r--r--glances/autodiscover.py14
-rw-r--r--glances/client.py14
-rw-r--r--glances/client_browser.py14
-rw-r--r--glances/compat.py14
-rw-r--r--glances/config.py14
-rw-r--r--glances/cpu_percent.py14
-rw-r--r--glances/events.py14
-rw-r--r--glances/exports/glances_cassandra.py14
-rw-r--r--glances/exports/glances_couchdb.py14
-rw-r--r--glances/exports/glances_csv.py14
-rw-r--r--glances/exports/glances_elasticsearch.py14
-rw-r--r--glances/exports/glances_export.py14
-rw-r--r--glances/exports/glances_graph.py14
-rw-r--r--glances/exports/glances_graphite.py14
-rw-r--r--glances/exports/glances_influxdb.py14
-rw-r--r--glances/exports/glances_influxdb2.py14
-rw-r--r--glances/exports/glances_kafka.py14
-rw-r--r--glances/exports/glances_mqtt.py14
-rw-r--r--glances/exports/glances_opentsdb.py14
-rw-r--r--glances/exports/glances_prometheus.py14
-rw-r--r--glances/exports/glances_rabbitmq.py14
-rw-r--r--glances/exports/glances_restful.py14
-rw-r--r--glances/exports/glances_riemann.py14
-rw-r--r--glances/exports/glances_statsd.py14
-rw-r--r--glances/exports/glances_zeromq.py14
-rw-r--r--glances/filter.py14
-rw-r--r--glances/folder_list.py14
-rw-r--r--glances/globals.py14
-rw-r--r--glances/history.py14
-rw-r--r--glances/logger.py14
-rw-r--r--glances/main.py14
-rw-r--r--glances/outdated.py14
-rw-r--r--glances/outputs/glances_bars.py14
-rw-r--r--glances/outputs/glances_bottle.py14
-rw-r--r--glances/outputs/glances_curses.py14
-rw-r--r--glances/outputs/glances_curses_browser.py14
-rw-r--r--glances/outputs/glances_sparklines.py14
-rw-r--r--glances/outputs/glances_stdout.py14
-rw-r--r--glances/outputs/glances_stdout_apidoc.py14
-rw-r--r--glances/outputs/glances_stdout_csv.py14
-rw-r--r--glances/outputs/glances_stdout_issue.py14
-rw-r--r--glances/outputs/glances_stdout_json.py14
-rw-r--r--glances/outputs/glances_unicode.py14
-rw-r--r--glances/password.py14
-rw-r--r--glances/password_list.py14
-rw-r--r--glances/plugins/glances_alert.py14
-rw-r--r--glances/plugins/glances_amps.py14
-rw-r--r--glances/plugins/glances_cloud.py14
-rw-r--r--glances/plugins/glances_connections.py14
-rw-r--r--glances/plugins/glances_core.py14
-rw-r--r--glances/plugins/glances_cpu.py14
-rw-r--r--glances/plugins/glances_diskio.py14
-rw-r--r--glances/plugins/glances_docker.py14
-rw-r--r--glances/plugins/glances_folders.py14
-rw-r--r--glances/plugins/glances_fs.py14
-rw-r--r--glances/plugins/glances_gpu.py12
-rw-r--r--glances/plugins/glances_help.py14
-rw-r--r--glances/plugins/glances_ip.py14
-rw-r--r--glances/plugins/glances_irq.py12
-rw-r--r--glances/plugins/glances_load.py14
-rw-r--r--glances/plugins/glances_mem.py14
-rw-r--r--glances/plugins/glances_memswap.py14
-rw-r--r--glances/plugins/glances_network.py14
-rw-r--r--glances/plugins/glances_now.py14
-rw-r--r--glances/plugins/glances_percpu.py14
-rw-r--r--glances/plugins/glances_plugin.py14
-rw-r--r--glances/plugins/glances_ports.py14
-rw-r--r--glances/plugins/glances_processcount.py14
-rw-r--r--glances/plugins/glances_processlist.py14
-rw-r--r--glances/plugins/glances_psutilversion.py14
-rw-r--r--glances/plugins/glances_quicklook.py14
-rw-r--r--glances/plugins/glances_raid.py14
-rw-r--r--glances/plugins/glances_sensors.py14
-rw-r--r--glances/plugins/glances_smart.py12
-rw-r--r--glances/plugins/glances_system.py14
-rw-r--r--glances/plugins/glances_uptime.py14
-rw-r--r--glances/plugins/glances_wifi.py14
-rw-r--r--glances/plugins/sensors/glances_batpercent.py14
-rw-r--r--glances/plugins/sensors/glances_hddtemp.py14
-rw-r--r--glances/ports_list.py14
-rw-r--r--glances/processes.py14
-rw-r--r--glances/programs.py14
-rw-r--r--glances/secure.py14
-rw-r--r--glances/server.py14
-rw-r--r--glances/snmp.py14
-rw-r--r--glances/standalone.py14
-rw-r--r--glances/static_list.py14
-rw-r--r--glances/stats.py14
-rw-r--r--glances/stats_client.py14
-rw-r--r--glances/stats_client_snmp.py14
-rw-r--r--glances/stats_server.py14
-rw-r--r--glances/thresholds.py14
-rw-r--r--glances/timer.py14
-rw-r--r--glances/web_list.py14
-rw-r--r--glances/webserver.py14
-rwxr-xr-xunitest-restful.py14
-rwxr-xr-xunitest-xmlrpc.py14
-rwxr-xr-xunitest.py14
108 files changed, 213 insertions, 1293 deletions
diff --git a/glances/__init__.py b/glances/__init__.py
index 7d055c96..62cef342 100644
--- a/glances/__init__.py
+++ b/glances/__init__.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2021 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""Init the Glances software."""
diff --git a/glances/__main__.py b/glances/__main__.py
index 197d5ce8..06d73c72 100644
--- a/glances/__main__.py
+++ b/glances/__main__.py
@@ -3,20 +3,10 @@
#
# Glances - An eye on your system
#
-# Copyright (C) 2019 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Allow user to run Glances as a module."""
diff --git a/glances/actions.py b/glances/actions.py
index 8951cb59..4880d69e 100644
--- a/glances/actions.py
+++ b/glances/actions.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2021 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Manage on alert actions."""
diff --git a/glances/amps/glances_amp.py b/glances/amps/glances_amp.py
index 1cbc5952..ecb7092f 100644
--- a/glances/amps/glances_amp.py
+++ b/glances/amps/glances_amp.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2019 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
I am your father...
diff --git a/glances/amps/glances_default.py b/glances/amps/glances_default.py
index 97116d3e..0305af3b 100644
--- a/glances/amps/glances_default.py
+++ b/glances/amps/glances_default.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2019 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
r"""
Default AMP
diff --git a/glances/amps/glances_nginx.py b/glances/amps/glances_nginx.py
index 6911cd12..04ff5236 100644
--- a/glances/amps/glances_nginx.py
+++ b/glances/amps/glances_nginx.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2019 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
r"""
Nginx AMP
diff --git a/glances/amps/glances_systemd.py b/glances/amps/glances_systemd.py
index 993bfefc..cdba14fd 100644
--- a/glances/amps/glances_systemd.py
+++ b/glances/amps/glances_systemd.py