summaryrefslogtreecommitdiffstats
path: root/contrib
AgeCommit message (Collapse)Author
2023-03-20Bundle libyaml (#14704)Emmanuel Vasilakis
* bundle libyaml * remove comment * .github/workflows/coverity.yml * add to coverity and tests * add deps * add to netdata.spec.in * add to contrib/debia/control * remove extra gentoo libyaml
2023-03-10Revert "Handle conffiles for DEB packages explicitly instead of ↵Tasos Katsoulas
automatically." (#14700) Revert "Handle conffiles for DEB packages explicitly instead of automatically. (#14662)" This reverts commit 95ccc9cd47510988c77c97b93308548efbc7d939.
2023-03-07Handle conffiles for DEB packages explicitly instead of automatically. (#14662)Austin S. Hemmelgarn
2023-02-27Reorganize system directory to better reflect what files are actually used ↵Austin S. Hemmelgarn
for. (#14544) * Move systemd-specific system files to their own directory. * Move non-systemd init scripts to individual subdirectories. * Move cron files to their own directory. * Move logrotate config to it’s own directory. * Fix typos in Makefile.am. * Fix Debian package builds. * Fixed issues reported by @andrewm4894.
2023-02-08Add markdown files in Learn (#14466)Fotis Voutsas
* add metadata for learn * first batch of adding metadata to md files * second batch of adding metadata to md files * third batch of adding metadata to md files * test one sidebar_label * add missing sidebar_labels * add missing sidebar_labels to files left behind * test, ansible doc is stubborn * fix * fix * fix * don't use questionmarks in the sidebar label * don't use exclamation marks and symbols in the sidebar label * fix style guide * fixes * fixes
2023-01-25Assorted infrastructure cleanup. (#14223)Austin S. Hemmelgarn
* Remove old documentation check related config files. These are no longer used by any of our CI as far as I can tell. * Purge LGTM configuration and references. It has been fully shut down, so none of this works anymore. * Purge Travis CI config, scripts, and references. We are no longer using Travis CI, so all of this is useless. * Pureg config for other CI tools we are no longer using. * Remove old packaging related test scripts. These haven’t been used in years, and are potentially confusing for new contributors. * Restore MLC configuration. It is, in fact, still in use. * Fix bogus CI config in dist files. * Fix botched merge in CODEOWNERS.
2022-12-22feat(packaging): add netdata to www-data group on Proxmox (#14168)Ilya Mashchenko
2022-12-22fix a typo in debian postinst (#14171)Ilya Mashchenko
2022-10-31feat(packaging): add CAP_NET_RAW to go.d.plugin (#13909)Ilya Mashchenko
2022-08-11fix(packaging): add CAP_NET_ADMIN for go.d.plugin (#13507)Ilya Mashchenko
2022-07-22include Judy into our source tree (#13362)Timotej S
2022-06-30Fix issues with DEB postinstall script. (#13252)Austin S. Hemmelgarn
* Also run user and statoverride setup on reconfigure hook. This allows users to fix issues with user/group setup and statoverrides by running `dpkg-reconfigure netdata`. * Use correct shell construct for setting filecaps for perf.plugin. This ensures predictable behavior, and should also get rid of the warnings we see on some systems on install. * Run all configuration steps on all configuration hooks. This ensures we actually handle users/groups and similar even on updates and not just on an initial install.
2022-06-16Don’t manipulate positional parameters in DEB postinst script. (#13169)Austin S. Hemmelgarn
2022-06-13Add user netdata to secondary group in DEB package (#13109)Igor Karpov
* Add user netdata to secondary group * Update netdata.postinst
2022-05-31Write pid file (needed by logrotate) (#9377)Luca Olivetti
2022-05-17include proper package dependency (#12518)Andika Triwidada
2022-05-03Remove node.d.plugin and relevant files (#12769)Suraj Neupane
* Remove node.d.plugin and relevant files * fix build packages * remove node.d related words/phrases from docs and tests
2022-04-18Disable automake dependency tracking in our various one-time builds. (#12701)Austin S. Hemmelgarn
* Disable automake dependency tracking in our various one-time builds. * Also disable dependency tracking code in package builds.
2022-04-01fix ioping permissions (#12580)Ilya Mashchenko
2022-03-31Explicitly use debhelper to enable systemd service (#12542)Ralph Meijer
2022-03-23Bump the debhelper compat level to 10 in our DEB packaging code. (#12488)Austin S. Hemmelgarn
2022-03-15chore: remove contrib/sles11 (#12410)Ilya Mashchenko
2022-03-15chore: remove "web files" options leftovers (#12403)Ilya Mashchenko
2022-03-14Remove owner check from webserver (#12339)thiagoftsm
2022-03-08CO-RE and syscalls (#12318)thiagoftsm
2022-03-02Add support to the updater to toggle auto-updates on and off. (#12202)Austin S. Hemmelgarn
* Add support to the updater to toggle auto-updates on and off. This also adds the updater script to our native packages. * Move argument handling logic to updater enabler function. * Properly handle crontab case.
2022-02-18Revert "Overhaul handling of auto-updates in the installer code. (#12076)" ↵Austin S. Hemmelgarn
(#12182) This reverts commit da7f215ad6c98cbf54ab93dbc1d2457ac01dbb08.
2022-02-18Overhaul handling of auto-updates in the installer code. (#12076)Austin S. Hemmelgarn
* Bundle updater script in native packages. * Move code for enabling/disabling auto-updates to netdata-updater.sh This lets us handle the logic sanely from the kickstart script regardless of the install method, and allows users to more reliably toggle auto-updates themselves without having to understand what is being done. * Add proper case-agnosticism to auto-update type selection. * Move auto-updater handling code to kickstart script. * Properly handle running against an older source tree. * First part of updater docmentation updates. * Fixed handling of updater in DEB packages. * Further documentation updates. * Minor typo fixes.
2022-02-17Docs: Removed Google Analytics tags (#12145)Tina Luedtke
2022-01-04Removes ACLK Legacy (#11841)Timotej S
* remove legacy from makefiles * remove ACLK Legacy from installer * remove ACLK Legacy from configure.ac * remove legacy from cmake * aclk api cleanup * remove legacy files from packaging * changes for CI from Austin
2021-12-06Explicitly conflict with netdata-core DEB package. (#11855)Austin S. Hemmelgarn
This simplifies transitioning from distor-provided packages to our official packages.
2021-10-04Added ARM binary package builds to CI. (#10769)Austin S. Hemmelgarn
* Added ARM binary package builds to CI. * Tidy-up workflow so it runs faster. * Update cmake options for LWS. * Package build process tweaks. * Add Fedora 34 32-bit ARM package build. * Disable eBPF in ARM package builds. * Fix conditional in DEB package build. * Fix RPM architecture handling. * Really fix conditional in DEB package build. * Fix handling of eBPF in DEB packages. * Fix RPM libbpf bundling. * Differentiate uploaded artifacts by architecture. * Add CentOS 8 ARMv8 package build.
2021-08-26#10773 add capsh check (#11386)rgiovanardi
2021-08-18Add Debian 11 (Bullseye) to CI. (#11334)Austin S. Hemmelgarn
* Add Debian 11 (Bullseye) to CI. Official feature freeze is in a couple of days, and the release is soon to follow. * Fix handling of Debian 11 package builds. * Fix build dependencies for Debian 11. `dh-systemd` has long since been deprecated, we should instead be depending on the minimum version of `debhelper` that includes the required code. We need to special-case Ubuntu 16.04 because it predates the merge of `dh-systemd` into `debhelper`. * Use correct Docker image for Debian 11. * Add repoconfig package build for Debian 11. * Simplify handling of package building and testing. This should fix the CI issues we’re seeing with package builds, or at least make them easier to diagnose.
2021-06-01Compile/Link with absolute paths for bundled/vendored deps. (#11129)vkalintiris
* Do not accept a path when using --with-bundled-lws. The bundled library is always placed under externaldeps/libwebsockets, when using the netdata-installer.sh script. When this option is missing, we look for the system-wide installed version. * Do not accept a path when using --with-bundled-libJudy. The bundled library is always placed under externaldeps/libJudy. When the option is not given, we look for the system-wide installed version. * Use absolute header paths for repo-internal deps. * Use absolute library paths for repo-internal deps.
2021-05-14Bundle the react dashboard code into the agent repo directly. (#11139)Austin S. Hemmelgarn
* Remove code for bundling the dashoard on install. * Bundle the dashboard code directly into the agent repo. This diffstat looks huge, but it’s actually relatively simple. The only _actual_ changes are in the Makefiles, `configure.ac`, and the addition of `generate_dashboard_makefile.py`. Everything else consists of removing files that are included in the dashboard tarball, and extracting the contents of the tarball into `web/gui/dashboard`. * CI cleanup. * Automate bundling of the dashboard code. This replaces the makefile generator script with one that handles bundling of the dashboard code in it’s entirety, and updates the GHA workflow used for generating dashboard PRs to use that instead of the existing shell commands. It also removes the packaging/dashboard.* files, as they are no longer needed.
2021-04-05Spelling build (#10428)Josh Soref
* spelling: alleviate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: available Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: berkeley Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: cannot Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: centos Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: context Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: continuously Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: correlate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: defaults Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dependencies Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dependency Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: different Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: doesn't Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: example Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: forbidden Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: necessary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: nightly Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: normally Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: overridden Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: packet Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: program Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: prompted for Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: proxyadmin Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: red hat Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: relative Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: script Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: scriptlet Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: somewhere Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: spinning Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: substitution Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: success Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: successfully Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: sysadmin Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: tarball Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: telemetry Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: temporary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: timeout Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: unsupported Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: updates Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: useful Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: way Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * Update kickstart script checksums in documentation Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2021-03-15Docker-based packaging workflow in GitHub Actions. (#9964)Austin S. Hemmelgarn
* Add a new GHA workflow for building and publishing binary packages. This greatly simplifies the package handling code, significantly reduces the amount of things we are running in Travis, adds better CI for package builds for PRs, finally eliminates LXC from any of our CI, and enables us to make further major improvements much easier. * Migrate repo cleanup to GHA and remove dead code. * Fix RPM package builds. * Fix DEB installation.
2021-03-12Fixed handling of permissions for some plugins. (#10490)Austin S. Hemmelgarn
* Removed pointless capabilities in our RPM spec file. * Shifted slabinfo and perf plugins to use proper capabilties instead of being SUID root.
2021-01-11Fixed bundling of libwebsockets in binary packages. (#10460)Austin S. Hemmelgarn
Unintentionally broken by #9984. This re-enables cloud support in binary packages.
2021-01-07Docs housekeeping for SEO and syntax, part 1 (#10388)Joel Hans
* First pass to get the script working right * Finish adding analytics tags
2020-10-16Removed redundant build dependencies from Debian control file (#10085)Alex Myczko
https://lintian.debian.org/tags/build-depends-on-build-essential-package-without-using-version.html
2020-09-28Fix missing libelf-dev dependency. (#9974)Sander Klein
2020-09-01rpm: Fix rpm build script version issues (#9808)Adrien Mahieux
When creating a package using this script, it's not straighforward that the version is fetched at the "configure" stage, by "git describe" which generates a 'lasttag-ncommits-lastcommit' format description. RPM doesn't allow - in version, so the rpmbuild stage fails. Add hints of actions to perform to get this script working Use package standard functions for the message to be seen easily
2020-08-25Fix install if system does not have ebpf.plugin (#9809)Sander Klein
2020-08-19Debian packaging (#8982)Sander Klein
* Add protobuf-compiler This adds the package protobuf-compiler to the dependencies. Without it, prometheus support will not be included. * Remove libraries from dependencies There is no need to include the libraries since they will automaticaly be added by ${shlibs:Depends} * Remove various control files - control.buster - control.eoan - control.xenial Default control file can be used - control.jessie About to be unsupported - control.wheezy unsupported - control.trusty Since Netdata need libuv1-dev to build, it cannot be build on Trusty anymore because it doesn't have that library. * Fix sysv init scripts Set the location of the pidfile using $PIDFILE in the init script and in the defaults file. This way no changes are needed when compiling for systemd or sysv. * Update documentation to reflect the changes * Add note about updating the changelog * Update install instructions * Remove travis control file adjustments Since these control files have been removed, this code is now obsolete. * Remove unused control.focal file
2020-08-07Add support for DEB packages for Ubuntu 20.04 (focal) (#9592)James Mills
* Add support for Ubuntu 20.04 DEB packages * Add Travis config to also build the DEB packages for Ubuntu 20.04 (focal)
2020-08-06Remove obsoleted libraries from install/uninstall scripts (#9661)Vladimir Kobal
2020-07-30Added eBPF collector support to DEB and RPM packages. (#9628)Austin S. Hemmelgarn
* Add DEB/RPM package build tests to Travis. * Add working support for bundling eBPF in binary packages. * Show stdout and stderr from commands run in LXC. * Add proper bundling code for libbpf. * Use AC_CHECK_FILE for libbpf.a external dep. This way it gets properly logged in both configure output and the configure log.
2020-07-16Revert the eBPF package bundling that breaks the release and DEB packages. ↵James Mills
(#9552) * Revert "Fix SHA256 handling in eBPF bundling code. (#9546)" This reverts commit 7ff315810e1d2c5871c4e87049687852b2cee7ee. * Revert "Add eBPF bundling script to `make dist`. (#9539)" This reverts commit 3a7961d4176aee63f24c4cbc96dabaa13010d6f1. * Revert "Properly include eBPF collector in binary packages. (#9450)" This reverts commit 690fbcefd3ae0cbc858870ad64d320f6f251e5fc.