Просмотр исходного кода

Remove contrib now that we use cpack for DEB packages (#17614)

vkalintiris 10 месяцев назад
Родитель
Сommit
059e114cb4

+ 0 - 1
.codacy.yml

@@ -4,7 +4,6 @@ exclude_paths:
   - src/collectors/python.d.plugin/python_modules/pyyaml3/**
   - src/collectors/python.d.plugin/python_modules/urllib3/**
   - src/collectors/python.d.plugin/python_modules/third_party/**
-  - contrib/**
   - packaging/makeself/**
   - src/web/gui/css/**
   - src/web/gui/lib/**

+ 0 - 1
.github/CODEOWNERS

@@ -7,7 +7,6 @@
 # Ownership by directory structure
 .github/ @netdata/agent-sre
 src/aclk/ @stelfrag
-contrib/debian @netdata/agent-sre
 src/collectors/ @thiagoftsm
 src/collectors/ebpf.plugin/ @thiagoftsm
 src/collectors/charts.d.plugin/ @ilyam8 @Ferroin

+ 0 - 1
.github/labeler.yml

@@ -252,7 +252,6 @@ area/packaging:
   - any:
       - changed-files:
           - any-glob-to-any-file:
-              - contrib/**
               - packaging/**
               - system/**
               - Dockerfile*

+ 0 - 1
.github/workflows/packaging.yml

@@ -53,7 +53,6 @@ jobs:
             **/*.patch
             **/*.cmake
             netdata.spec.in
-            contrib/debian/
             CMakeLists.txt
             .github/data/distros.yml
             .github/workflows/packaging.yml

+ 0 - 65
contrib/README.md

@@ -1,65 +0,0 @@
-<!--
-title: "Netdata contrib"
-custom_edit_url: https://github.com/netdata/netdata/edit/master/contrib/README.md
-sidebar_label: "Netdata contrib"
-learn_status: "Published"
-learn_topic_type: "References"
-learn_rel_path: "Developers"
--->
-
-# Netdata contrib
-
-## Building .deb packages
-
-The `contrib/debian/` directory contains basic rules to build a
-Debian package.  It has been tested on Debian Jessie and Wheezy,
-but should work, possibly with minor changes, if you have other
-dpkg-based systems such as Ubuntu or Mint.
-
-To build Netdata for a Debian Jessie system, the debian directory
-has to be available in the root of the Netdata source. The easiest
-way to do this is with a symlink:
-
-```sh
-ln -s contrib/debian
-```
-
-Edit the `debian/changelog` file to reflect the package version and
-the build time:
-
-```sh
-netdata (1.21.0) unstable; urgency=medium
-
-  * Initial Release
-
- -- Netdata Builder <bot@netdata.cloud>   Tue, 12 May 2020 10:36:52 +0200
-```
-
-Then build the debian package:
-
-```sh
-dpkg-buildpackage -us -uc -rfakeroot
-```
-
-This should give a package that can be installed in the parent
-directory, which you can install manually with dpkg.
-
-```sh
-ls -1 ../*.deb
-../netdata_1.21.0_amd64.deb
-../netdata-dbgsym_1.21.0_amd64.deb
-../netdata-plugin-cups_1.21.0_amd64.deb
-../netdata-plugin-cups-dbgsym_1.21.0_amd64.deb
-../netdata-plugin-freeipmi_1.21.0_amd64.deb
-../netdata-plugin-freeipmi-dbgsym_1.21.0_amd64.deb
-sudo dpkg -i ../netdata_1.21.0_amd64.deb
-```
-
-### Reinstalling Netdata
-
-The recommended way to upgrade Netdata packages built from this
-source is to remove the current package from your system, then
-install the new package. Upgrading on wheezy is known to not
-work cleanly; Jessie may behave as expected.
-
-

+ 0 - 6
contrib/debian/changelog

@@ -1,6 +0,0 @@
-netdata (PREVIOUS_PACKAGE_VERSION) unstable; urgency=medium
-
-  * Initial Release
-
- -- Netdata Builder <bot@netdata.cloud>  PREVIOUS_PACKAGE_DATE
-

+ 0 - 1
contrib/debian/compat

@@ -1 +0,0 @@
-10

+ 0 - 5
contrib/debian/conffiles

@@ -1,5 +0,0 @@
-/etc/default/netdata
-/etc/init.d/netdata
-/etc/logrotate.d/netdata
-/etc/netdata/netdata.conf
-/etc/netdata/netdata-updater.conf

+ 0 - 237
contrib/debian/control

@@ -1,237 +0,0 @@
-Source: netdata
-Build-Depends: debhelper (>= 10),
-               dpkg-dev (>= 1.13.19),
-               bison,
-               cmake,
-               curl,
-               flex,
-               golang (>= 1.21),
-               libcups2-dev,
-               libcurl4-openssl-dev,
-               libelf-dev,
-               libipmimonitoring-dev,
-               libjson-c-dev,
-               liblz4-dev,
-               libmnl-dev,
-               libmongoc-dev,
-               libnetfilter-acct-dev,
-               libpcre2-dev,
-               libprotobuf-dev,
-               libprotoc-dev,
-               libsnappy-dev,
-               libssl-dev,
-               libsystemd-dev,
-               libuv1-dev,
-               libyaml-dev,
-               pkg-config,
-               protobuf-compiler,
-               uuid-dev,
-               zlib1g-dev
-Section: net
-Priority: optional
-Maintainer: Netdata Builder <bot@netdata.cloud>
-Standards-Version: 3.9.6
-Homepage: https://netdata.cloud
-
-Package: netdata
-Architecture: any
-Depends: openssl,
-         ${misc:Depends},
-         ${shlibs:Depends},
-         netdata-plugin-ebpf (= ${source:Version}) [amd64],
-         netdata-plugin-apps (= ${source:Version}),
-         netdata-plugin-pythond (= ${source:Version}),
-         netdata-plugin-go (= ${source:Version}),
-         netdata-plugin-debugfs (= ${source:Version}),
-         netdata-plugin-nfacct (= ${source:Version}),
-         netdata-plugin-chartsd (= ${source:Version}),
-         netdata-plugin-slabinfo (= ${source:Version}),
-         netdata-plugin-perf (= ${source:Version})
-Pre-Depends: adduser,
-             dpkg (>= 1.17.14),
-             libcap2-bin (>=1:2.0),
-             lsb-base (>= 3.1-23.2)
-Conflicts: netdata-core,
-           netdata-plugins-bash,
-           netdata-plugins-python,
-           netdata-web
-Suggests: netdata-plugin-cups (= ${source:Version}),
-          netdata-plugin-freeipmi (= ${source:Version})
-Recommends: netdata-plugin-systemd-journal (= ${source:Version}),
-            netdata-plugin-logs-management (= ${source:Version}),
-            netdata-plugin-network-viewer (= ${source:Version})
-Description: real-time charts for system monitoring
- Netdata is a daemon that collects data in realtime (per second)
- and presents a web site to view and analyze them. The presentation
- is also real-time and full of interactive charts that precisely
- render all collected values.
-
-Package: netdata-plugin-cups
-Architecture: any
-Depends: cups,
-         ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: adduser
-Description: The CUPS metrics collection plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect metrics from the Common
- UNIX Printing System.
-
-Package: netdata-plugin-freeipmi
-Architecture: any
-Depends: freeipmi,
-         ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: adduser
-Description: The FreeIPMI metrics collection plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect metrics from hardware
- using FreeIPMI.
-
-Package: netdata-plugin-nfacct
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The NFACCT metrics collection plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect metrics from the firewall
- using NFACCT objects.
-
-Package: netdata-plugin-chartsd
-Architecture: all
-Depends: bash,
-         netdata (= ${source:Version})
-Pre-Depends: adduser
-Conflicts: netdata (<< ${source:Version})
-Suggests: apcupsd, iw, sudo
-Description: The charts.d metrics collection plugin for the Netdata Agent
- This plugin adds a selection of additional collectors written in shell
- script to the Netdata Agent. It includes collectors for APCUPSD,
- LibreSWAN, OpenSIPS, and Wireless access point statistics.
-
-Package: netdata-plugin-ebpf
-Architecture: amd64
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version}),
-         netdata-ebpf-code-legacy (= ${source:Version})
-Pre-Depends: adduser
-Recommends: netdata-plugin-apps (= ${source:Version})
-Conflicts: netdata (<< ${source:Version})
-Description: The eBPF metrics collection plugin for the Netdata Agent
- This plugin allows the Netdata Agent to use eBPF code to collect more
- detailed kernel-level metrics for the system.
-
-Package: netdata-ebpf-code-legacy
-Architecture: amd64
-Depends: netdata-plugin-ebpf (= ${source:Version})
-Pre-Depends: adduser
-Conflicts: netdata (<< ${source:Version})
-Description: Compiled eBPF legacy code for the Netdata eBPF plugin
- This package provides the pre-compiled eBPF legacy code for use by
- the Netdata eBPF plugin.  This code is only needed when using the eBPF
- plugin with kernel that do not include BTF support (mostly kernel
- versions lower than 5.10)..
-
-Package: netdata-plugin-pythond
-Architecture: all
-Depends: netdata (= ${source:Version})
-Pre-Depends: adduser
-Suggests: sudo
-Conflicts: netdata (<< ${source:Version})
-Description: The python.d metrics collection plugin for the Netdata Agent
- Many of the collectors provided by this package are also available
- in netdata-plugin-god. In msot cases, you probably want to use those
- versions instead of the Python versions.
-
-Package: netdata-plugin-go
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Suggests: nvme-cli, sudo
-Conflicts: netdata (<< ${source:Version})
-Description: The go.d metrics collection plugin for the Netdata Agent
- This plugin adds a selection of additional collectors written in Go to
- the Netdata Agent. A significant percentage of the application specific
- collectors provided by Netdata are part of this plugin, so most users
- will want it installed.
-
-Package: netdata-plugin-apps
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The per-application metrics collection plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect per-application and
- per-user metrics without using cgroups.
-
-Package: netdata-plugin-slabinfo
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The slabinfo metrics collector for the Netdata Agent
- This plugin allows the Netdata Agent to collect perfromance and
- utilization metrics for the Linux kernel’s SLAB allocator.
-
-Package: netdata-plugin-perf
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The perf metrics collector for the Netdata Agent
- This plugin allows the Netdata to collect metrics from the Linux perf
- subsystem.
-
-Package: netdata-plugin-debugfs
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The debugfs metrics collector for the Netdata Agent
- This plugin allows the Netdata Agent to collect Linux kernel metrics
- exposed through debugfs.
-
-Package: netdata-plugin-systemd-journal
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The systemd-journal collector for the Netdata Agent
- This plugin allows the Netdata Agent to present logs from the systemd
- journal on Netdata Cloud or the local Agent dashboard.
-
-Package: netdata-plugin-xenstat
-Architecture: amd64 arm64
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The xenstat plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect metrics from the Xen
- Hypervisor.
-
-Package: netdata-plugin-logs-management
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Conflicts: netdata (<< ${source:Version})
-Description: The logs-management plugin for the Netdata Agent
- This plugin allows the Netdata Agent to collect logs from the system
- and parse them to extract metrics.
-
-Package: netdata-plugin-network-viewer
-Architecture: any
-Depends: ${shlibs:Depends},
-         netdata (= ${source:Version})
-Pre-Depends: libcap2-bin, adduser
-Recommends: netdata-plugin-ebpf (= ${source:Version}) [amd64]
-Conflicts: netdata (<< ${source:Version})
-Description: The network viewer plugin for the Netdata Agent
- This plugin allows the Netdata Agent to provide network connection
- mapping functionality for use in netdata Cloud.

+ 0 - 10
contrib/debian/copyright

@@ -1,10 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: Netdata
-Upstream-Contact: Costa Tsaousis <costa@tsaousis.gr>
-Source: https://github.com/netdata/netdata
-
-Files: *
-Copyright: 2014-2016, Costa Tsaousis
-License: GPL-3+
- On Debian systems, the complete text of the GNU General Public
- License version 3 can be found in /usr/share/common-licenses/GPL-3.

Некоторые файлы не были показаны из-за большого количества измененных файлов