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

Merge upstream master #4

Open
wants to merge 5,561 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5561 commits
Select commit Hold shift + click to select a range
f43dc92
ChangeLog: Add recent bugfix merges …
octo Nov 15, 2019
97a03f1
Address some clang-format issues
efuss Nov 15, 2019
071af20
Fix linking with Python 3.8
Self-Perfection Nov 16, 2019
e20f908
Rewrite to use only one config array
ometol Nov 21, 2019
dd94657
Utility for filtering and parsing log messages
krzysztofx Jan 8, 2017
55005f9
message log parser util: ignore patterns after message is completed
kwiatrox Feb 7, 2017
2fe84f8
utils_message_parser: added message buffer shrinkage
krzysztofx Mar 29, 2017
c0c75f7
pcie_errors plugin: possibility only to filter messages from log file.
kwiatrox May 10, 2017
e1ae664
logparser plugin: Plugin used to parse log files using regexes
mmozejkx Apr 18, 2018
9c10ab1
logparser plugin: Add unit tests
mmozejkx Oct 16, 2018
483278d
Fix Klocwork issues
aboczkox Dec 12, 2018
0976eb7
daemon: Fix regression caused by #3217
rpv-tomsk Nov 23, 2019
d96e10d
Merge pull request #3349 from rpv-tomsk/master
rubenk Nov 25, 2019
7ca06f5
logparser plugin: move utils_* to src/utils
kwiatrox Apr 25, 2019
f22e31f
amqp1: Fix leaks on error paths
ryan-mccabe Dec 4, 2019
de407dd
network: Add missing freeaddrinfo on error path.
ryan-mccabe Dec 4, 2019
0065384
Fix memory leak in write_riemann
Dec 4, 2019
f3502f2
Merge pull request #3351 from ccin2p3/f/write_riemann-memleak
rubenk Dec 5, 2019
3d0b321
updates based on review comments
n2yen Dec 5, 2019
22e0f18
Merge pull request #3344 from Self-Perfection/patch-2
mrunge Dec 9, 2019
e95e850
Remove grpc from Mac builds for now
mrunge Dec 17, 2019
9fa4e7a
Merge pull request #3352 from ryan-mccabe/leak-fixes
mrunge Dec 17, 2019
071568a
Merge pull request #3353 from mrunge/master
mrunge Dec 17, 2019
463f500
Updated a few metrics names and descriptions to be more intuitive.
htg1 Dec 18, 2019
f7ba141
Factor out read_text_file_contents to ensure that data read from text…
igorpeshansky Dec 19, 2019
2c6dc2c
Remove old varnish and support for varnish 6
ismaelpuerto Dec 22, 2019
f53b448
VSM only apply for Varnish 4
ismaelpuerto Dec 23, 2019
93a7c42
Addapt conf files
ismaelpuerto Dec 23, 2019
ba1c89c
clang-format
ismaelpuerto Dec 23, 2019
bbe35dd
Add counter for vmod-goto, only for Varnish Plus 6
ismaelpuerto Dec 27, 2019
0d67278
Update counters for MSE 3.0 - varnish plugin
ismaelpuerto Dec 28, 2019
cb3ad54
clang-format
ismaelpuerto Dec 28, 2019
ead3978
remove old metrics
ismaelpuerto Dec 29, 2019
883b41f
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance …
qingling128 Nov 27, 2019
d931e9e
cosmetic changes.
qingling128 Dec 16, 2019
d56aca9
Merge pull request #3350 from qingling128/master
mrunge Jan 7, 2020
5ebc182
Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read…
mrunge Jan 7, 2020
ce52822
exec plugin: replace select with poll
kwiatrox Nov 20, 2019
03d78f9
fixed gather data from sensors
mkobyli Jan 10, 2020
ccf4cd8
This plugin, named mdevents, is responsible for gathering the events …
mkobyli Jan 13, 2020
863d9ec
Merge branch 'master' into feat_redfish
kkepka Jan 14, 2020
65645fc
Merge branch 'master' into upstream_redfish_v0.2
kkepka Jan 14, 2020
fa839cc
Merge branch 'upstream_redfish_v0.2' into feat_redfish
kkepka Jan 14, 2020
13494d4
fix: potential null pointer dereference
kkepka Jan 17, 2020
f43a473
Merge pull request #3342 from zebity/master
mrunge Feb 6, 2020
97814b4
Merge pull request #3339 from jkohen/patch-1
mrunge Feb 6, 2020
7085a9d
Remove unneeded warning
ometol Feb 10, 2020
5ab0759
intel_pmu plugin: support for uncore multi pmu
kwiatrox Feb 11, 2020
47c4fa6
Merge pull request #3265 from n2yen/write-http-curl-stats
dago Feb 18, 2020
d9e6f48
Apply clang-format to src/nfs.c
dago Feb 18, 2020
de6653b
Avoid $< (implied source) in non-inference rules
efuss Oct 29, 2019
0a0c736
Reorder conditions so that on Linux the Linux-specific code is execut…
dago Feb 18, 2020
7c8c242
Implement NFS plugin for NetBSD
efuss Oct 31, 2019
4bc3606
Revert accidental commit to master branch
efuss Oct 31, 2019
27c6b68
Native (sysctl) NetBSD disk plugin implementation
efuss Oct 31, 2019
809b65c
Fix stupid merging typo
efuss Nov 15, 2019
fb97bf1
Address some clang-format issues
efuss Nov 15, 2019
1541ba8
clang-format on src/disk.c
dago Feb 18, 2020
9b71b27
Remove section about self-approve patches
mrunge Feb 19, 2020
a1fdeb4
Merge pull request #3376 from dago/efuss-fix-3313
mrunge Feb 19, 2020
7370ddf
Merge pull request #3379 from dago/efuss-netbsd-disk
mrunge Feb 19, 2020
6c3106f
text protocol: Add support for meta_data in PUTVAL
RafaelMarinheiro Mar 23, 2018
fd4c8bc
text protocol: Require quotes for string metadata.
RafaelMarinheiro May 21, 2018
8d197a3
text protocol: Run clang-format on utils_cmds_test
RafaelMarinheiro May 21, 2018
77b4c18
text protocol: Fix memory leak in PUTVAL parsing.
RafaelMarinheiro May 21, 2018
9f0d72f
text protocol: Handle errors in set_option.
RafaelMarinheiro Jun 8, 2018
efe3c36
clang-format on cmds_test.c
dago Feb 19, 2020
1047153
Use new location for common.h
pllopis Feb 21, 2020
3910891
Warn user on unimplemented NFS stat requests on NetBSD
dago Feb 21, 2020
6b21f11
Merge pull request #3377 from dago/efuss-netbsd-nfs
dago Feb 21, 2020
3d89817
Merge pull request #3303 from asafkahlon/add-buddyinfo-plugin
kwiatrox Feb 21, 2020
83b9b8f
Fix condition on libkstat existence
dago Feb 23, 2020
5cbb15a
Merge pull request #3382 from dago/fix-libkstat-condition
mrunge Feb 24, 2020
95fec59
Merge pull request #3378 from dago/issue3253
mrunge Feb 24, 2020
8f22018
Merge pull request #3273 from reshmapattan/upstream_dpdk_telemetry
dago Feb 24, 2020
9f1875b
Merge pull request #3274 from htg1/upstream_dcpmm
dago Feb 24, 2020
ff2c079
Merge pull request #1034 from manuelluis/mlsr/autoload_match_target
dago Feb 25, 2020
17699d8
Merge pull request #3244 from yousong/droprate-range
dago Feb 25, 2020
b946100
Add PLUGIN_NAME to all ERRORs
pllopis Feb 21, 2020
2939618
Merge branch 'master' into master
dago Feb 25, 2020
5f33e33
Merge pull request #3187 from ometol/master
dago Feb 25, 2020
471f18b
Merge pull request #3204 from pticon/master
dago Feb 25, 2020
103f50a
Fix apache BusyWorkers/IdleWorkers
zuckschwerdt Mar 28, 2019
d43d661
Merge pull request #3131 from zuckschwerdt/fix-apache
dago Feb 25, 2020
733c008
Fix constant for max plugin name length
dago Feb 25, 2020
81f7ee8
Add sstrndup to common.c
dago Feb 25, 2020
3be65ab
Re-add erranously removed continue
dago Feb 25, 2020
75573d4
Fix error/warning messages to contain more information
dago Feb 25, 2020
b934f15
capabilities plugin: new plugin to read static platform data
kwiatrox May 17, 2019
2c31829
capabilities plugin: address review comments
kwiatrox Sep 4, 2019
6ab16b1
capabilities plugin: few minor updates in comments
kwiatrox Sep 11, 2019
d7b1a7a
capabilities plugin: update checks in configure.ac
kwiatrox Nov 22, 2019
acf55f0
network plugin: Add a new metadata "network:ip_address"
ashie Feb 26, 2020
cbe2c17
Merge pull request #3191 from ashie/network-ipaddress-metadata-201906…
dago Feb 26, 2020
887409e
Merge pull request #3190 from maclomhair/batteryfix
dago Feb 26, 2020
44583c1
Merge pull request #3083 from guillemj/pu/perl-robust-unixsock
dago Feb 26, 2020
0742a60
Merge pull request #3385 from dago/fix-max-plugin-name-constant
dago Feb 26, 2020
cc50dd6
Apply format.sh on plugin.c
dago Feb 26, 2020
4bf2841
Merge pull request #2762 from mkauf/set_thread_name
dago Feb 26, 2020
8b31311
Rework slurm types
pllopis Feb 25, 2020
7c3bc34
contrib/format.sh src/slurm.c
pllopis Feb 26, 2020
605fcdc
New plugin to send values to InfluxDB using line protocol via udp.
carlospeon May 21, 2019
57bb481
Merge pull request #3162 from carlospeon/master
dago Feb 27, 2020
74ecb87
Merge pull request #3386 from dago/yellowpattern-error-warning-messages
dago Feb 27, 2020
64321ae
Merge pull request #2528 from elratt0r/nut_power_output
dago Feb 27, 2020
e33dace
Merge pull request #3231 from clear-code/match-regex-accept-all-meta-…
dago Feb 27, 2020
938e9d7
Merge pull request #2635 from wrp/grep
dago Feb 27, 2020
b6be3c9
Merge pull request #3380 from mrunge/self_approval
kkepka Feb 28, 2020
1ec0d53
Merge pull request #2926 from elfiesmelfie/feat_redfish
dago Feb 28, 2020
e1a5978
Fix sstrndup
dago Feb 28, 2020
fba35a7
Add meta data documentation to exec and unixsock plugin docs
dago Feb 28, 2020
ec97654
Fix clang formatting
dago Feb 28, 2020
990b061
Merge pull request #3381 from dago/rafael-putval_supports_meta_data
dago Feb 28, 2020
471367d
Merge pull request #3388 from kwiatrox/multi_pmu_feat
sunkuranganath Feb 28, 2020
d317751
Merge pull request #3045 from elfiesmelfie/feat_logparser
dago Feb 29, 2020
3e888c9
Retrigger CI test which has passed but not recognized
dago Feb 29, 2020
f490346
Merge pull request #3384 from dago/elfiesmelfie-feat_capabilities
dago Feb 29, 2020
c4f934e
Merge pull request #3363 from kwiatrox/exec_select_to_poll
dago Feb 29, 2020
039ccb9
Retrigger CI
dago Feb 29, 2020
2756414
Merge pull request #3044 from Caden94/patch-1
dago Feb 29, 2020
6884a2c
Merge pull request #2998 from salemgolemugoo/write_graphite_escape_fix
dago Feb 29, 2020
179eaa1
Merge pull request #2991 from chris9871/master
dago Feb 29, 2020
d93ba3f
collection.cgi: parse types.db to discover DS names
mgedmin Nov 6, 2015
c3402e2
Merge pull request #3226 from jaroslawprzybylowicz/master
dago Feb 29, 2020
e4808ad
amqp: add tls support
Feb 28, 2020
a48e8fd
LogOnce option for df plugin
themylogin Aug 27, 2018
12b0842
procs_running: added rationale into comments
badevos Mar 1, 2020
e9b90eb
Apply code review suggestion
mgedmin Mar 2, 2020
c365257
Merge pull request #1339 from mgedmin/collection-cgi-for-v5
dago Mar 2, 2020
afde89d
Merge pull request #3360 from ismaelpuerto/master
dago Mar 2, 2020
f3fc66d
Merge pull request #3391 from mbakhoff/amqp-tls
dago Mar 2, 2020
9c0c93a
Merge pull request #3243 from badevos/master
dago Mar 2, 2020
6c2ad36
Merge pull request #2910 from themylogin/df-LogOnce
dago Mar 2, 2020
2a8a843
gpu_nvidea plugin: fix build
rubenk Oct 28, 2019
fa718c8
Fix compilation with libcuda
rubenk Oct 30, 2019
5d46525
Merge pull request #3393 from kkepka/port-gpu_nvidia-build-fix
dago Mar 3, 2020
84b6d12
Merge pull request #3264 from rdietric/gpu-index
dago Mar 3, 2020
8976efd
Add a FieldSeaparator option to tail_csv plugin
redbaron4 Mar 3, 2020
be05f1b
Merge pull request #3394 from redbaron4/tail_sep
dago Mar 3, 2020
7814c03
styleguide
dothebart Oct 8, 2017
242eb02
fix warning
dothebart Oct 8, 2017
04569e1
implement sourcecode review
dothebart Oct 9, 2017
f638f7c
add jolokia documentation & configuration
dothebart Oct 9, 2017
1db1ab4
implement review sugestions.
dothebart Oct 10, 2017
3ddad4e
rename value, add intermediate pointer
dothebart Oct 10, 2017
f0aed0d
format
dothebart Mar 3, 2020
986c2fe
fix syntax
dothebart Mar 3, 2020
951a615
fix include
dothebart Mar 3, 2020
73317f3
lint
dothebart Mar 3, 2020
39b1f28
future yjail
dothebart Mar 3, 2020
55c898f
future yjail
dothebart Mar 3, 2020
3ced124
add helper scripts
dothebart Mar 3, 2020
d32c8e2
quick fix for UT fails
mkobyli Mar 3, 2020
185c754
Merge pull request #3037 from pllopis/slurm
dago Mar 3, 2020
76a4d49
removed profiling options from unit tests
mkobyli Mar 3, 2020
0141f39
Revert "collection.cgi: parse types.db to discover DS names"
rpv-tomsk Mar 3, 2020
0107bb2
collection.cgi: Use `value` as ds_names
rpv-tomsk Mar 3, 2020
6079acc
Merge pull request #3395 from collectd/revert-1339-collection-cgi-for-v5
dago Mar 4, 2020
05100c4
Fix coding style
dago Mar 4, 2020
b5eff86
Merge pull request #3397 from dago/fix-LogOnce-option-for-df-plugin
dago Mar 4, 2020
7feb204
intel_pmu plugin: add check for lib symbol in configure.ac
kwiatrox Mar 5, 2020
d6184b1
fix missing package in specfile
Oct 24, 2019
d161ce4
Merge pull request #3399 from ccin2p3/f/merge_specfile_5_10
dago Mar 5, 2020
62ae49f
CODEOWNERS: Add "core maintainers" owning daemon and important plugins.
octo Feb 17, 2020
9f2e519
Add error handling for PyType_Ready
ZhouyangJia Mar 9, 2020
2825fae
Fix the return-value check of PyType_Ready
ZhouyangJia Mar 9, 2020
a420590
CODE_OF_CONDUCT.md: Add initial Code of Conduct.
octo Mar 9, 2020
1586782
CODE_OF_CONDUCT.md: Insert contact method and responsible persons.
octo Mar 8, 2020
d1ff806
Merge pull request #3407 from kwiatrox/intel_pmu_libcheck
mrunge Mar 12, 2020
c699053
write_sensu: add the IncludeSource option
Mar 3, 2020
9e99829
amqp: allow multiple hosts for failover
Mar 13, 2020
a948533
specfile: Add support for EL8
Oct 4, 2019
9b01eed
Revert "remove old metrics"
mrunge Mar 13, 2020
59350d8
Revert "clang-format"
mrunge Mar 13, 2020
1b5fb40
Revert "Update counters for MSE 3.0 - varnish plugin"
mrunge Mar 13, 2020
81cd575
Revert "Add counter for vmod-goto, only for Varnish Plus 6"
mrunge Mar 13, 2020
ccfdfba
Revert "clang-format"
mrunge Mar 13, 2020
f647b43
Revert "Addapt conf files"
mrunge Mar 13, 2020
254f144
Revert "VSM only apply for Varnish 4"
mrunge Mar 13, 2020
1a4798b
Revert "Remove old varnish and support for varnish 6"
mrunge Mar 13, 2020
cccd23b
Remove trailing whitespace in collectd.conf
rubenk Mar 13, 2020
fccbbe6
collectd.conf.pod: remove trailing whitespaces
rubenk Mar 13, 2020
c9763d3
Merge pull request #3414 from mrunge/collectd-5.11-revert-3360
rubenk Mar 13, 2020
91a407f
Merge pull request #3415 from rubenk/5.10/collectd-conf-remove-traili…
mrunge Mar 13, 2020
91b2c3e
Merge pull request #3416 from rubenk/5.10/collectd-pod-whitespace
mrunge Mar 13, 2020
25aab3b
Merge remote-tracking branch 'origin/collectd-5.10' into collectd-5.11
rubenk Mar 13, 2020
2a79322
Merge pull request #3408 from rubenk/collectd-5.11
mrunge Mar 13, 2020
99e98fb
Merge pull request #3417 from collectd/collectd-5.11
rubenk Mar 13, 2020
1f26c3a
Merge branch 'master' into f/specfile
rubenk Mar 13, 2020
87865ea
Merge pull request #3402 from ZhouyangJia/master
rubenk Mar 13, 2020
ca868dd
Merge pull request #3346 from ccin2p3/f/specfile
mrunge Mar 14, 2020
78ee11c
Prepare collectd-5.11 release
mrunge Mar 16, 2020
6142afa
Use real name instead of Github account
rpv-tomsk Mar 16, 2020
1cb8a36
Replace github usernames with real names
mrunge Mar 16, 2020
3d2bb42
Merge branch 'collectd-5.11' of github.com:mrunge/collectd into colle…
mrunge Mar 16, 2020
37e3854
Update collectd.spec file to 5.11.0
mrunge Mar 16, 2020
9902cbe
openvpn plugin: Fix parsing empty fields
rpv-tomsk Mar 17, 2020
cd9606b
Replace all github handles with real names
mrunge Mar 17, 2020
bb5cfbc
Merge pull request #3421 from mrunge/collectd-5.11
kkepka Mar 18, 2020
d0f4db4
Merge remote-tracking branch 'community/collectd-5.11' into update-ma…
kkepka Mar 18, 2020
88f9ee6
Merge pull request #3427 from kkepka/update-master-with-5.11-changelog
rpv-tomsk Mar 18, 2020
ca84bcb
Merge pull request #3425 from rpv-tomsk/openvpn
rpv-tomsk Mar 19, 2020
765cc77
Merge pull request #1 from collectd/master
duckfez Mar 21, 2020
efddd44
Merge branch 'http_output_fix' into http_fix_2
duckfez Mar 23, 2020
785decf
Merge pull request #3433 from collectd/collectd-5.9
mrunge Mar 24, 2020
e7dd149
amqp1: Add option to limit internal send queue length
ryan-mccabe Mar 23, 2020
66f919d
write_http: improved logging of server response
duckfez Apr 5, 2020
b08d2b3
clang-format
duckfez Apr 5, 2020
71590b3
Merge pull request #3432 from ryan-mccabe/master
mrunge Apr 9, 2020
86275a6
Merge pull request #2841 from elfiesmelfie/feat_mdevents
dago Apr 9, 2020
70318d6
src/dpdk_telemetry.c: fix build on musl
ffontaine Apr 14, 2020
ade579f
Merge pull request #3439 from ffontaine/master
mrunge Apr 15, 2020
2b8336d
Code files don't need execute permission
maciejsszmigiero Apr 19, 2020
c0e4e19
Provide an udev rule with ID_SERIAL based, disk plugin usable ID attr…
maciejsszmigiero Apr 19, 2020
2a177d3
collectd.conf(5): Document the format expected by "sensors"' ignore l…
octo Apr 23, 2020
71db87c
Merge pull request #2730 from viulian/master
mrunge Apr 23, 2020
e9bdd41
Add varnish 6 support
Cactusbone Apr 23, 2020
2a2b971
Update conf files
Cactusbone Apr 23, 2020
88b25c4
Merge pull request #3441 from maciejsszmigiero/disk-plugin-udev-rule
octo Apr 26, 2020
38e6345
amqp: improve example conf
Apr 27, 2020
af3e316
Merge pull request #3410 from mbakhoff/amqp-failover
octo Apr 27, 2020
bc32818
Add varnish 6 new values
Cactusbone Apr 23, 2020
0ab61ec
VSM only apply for Varnish 4 or 5
ismaelpuerto Dec 23, 2019
f4a9ab0
Add counter for vmod-goto, only for Varnish Plus 6
ismaelpuerto Dec 27, 2019
c5d45c9
Update counters for MSE 3.0 - varnish plugin
ismaelpuerto Dec 28, 2019
bdd7935
Restrict workers stats to versions before v6
Cactusbone Apr 23, 2020
ce8a982
Merge pull request #3445 from F4-Group/varnish6-support
octo Apr 27, 2020
5661d79
Split stat key on dot, extract target for SMA/SMF and use it in category
Cactusbone Apr 24, 2020
e393d6c
Add backend name in vbe stat
Cactusbone Apr 27, 2020
402e6b0
Merge pull request #3446 from F4-Group/handle-full-stat-name
octo Apr 28, 2020
63f33fd
Zookeeper - Add missing 3.5 mntr fields
hightea Apr 28, 2020
41d77a5
Merge pull request #3450 from hightea/zk-add-mntr-fields
octo Apr 28, 2020
9d5c685
MQTT: Resubscribe after a reconnect
maciejsszmigiero May 1, 2020
22cc641
Fix code style issues in src/mqtt.c
maciejsszmigiero May 1, 2020
5cd43eb
Merge pull request #3452 from maciejsszmigiero/mqtt-reconnect-fix
octo May 2, 2020
ef44332
Merge pull request #3443 from octo/sensors-man
mrunge May 6, 2020
7e72297
Merge pull request #3398 from mbakhoff/sensu-source
mrunge May 6, 2020
8dc2066
types.db(5): Improve wording and document conventions.
octo May 11, 2020
9a89d60
Merge pull request #3458 from octo/man-types-db
octo May 12, 2020
e6693a2
mysql: report slave status running io and sql
May 13, 2020
18321e8
replace slave_running with generic bool
May 20, 2020
2eb01ac
replace long if else with compact code
May 20, 2020
f41de1b
run format.sh to comply with coding style
May 20, 2020
d4c3c59
Merge pull request #3463 from miesi/master
octo May 20, 2020
6b24c52
Merge pull request #3263 from duckfez/http_output_fix
mrunge Jun 6, 2020
9d24f7b
intel_pmu plugin: fix crash after specifying incorrect HardwareEvents…
kwiatrox Mar 26, 2020
597afd7
Merge pull request #3480 from kwiatrox/intel_pmu_fix
kwiatrox Jun 17, 2020
7cb2400
processes: increase reading buffer for /proc/stat
mhumpula Jun 11, 2020
f434908
Merge pull request #3479 from mhumpula/processes
sunkuranganath Jun 19, 2020
8b4d5e9
Merge pull request #2470 from dothebart/curl_jolokia_2
octo Aug 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
225 changes: 225 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
env:
LANG: C
CIRRUS_CLONE_DEPTH: 1
DEFAULT_CONFIG_OPTS: --enable-debug --without-libstatgrab --disable-dependency-tracking


###
# make distcheck and other sanity checks
#
release_ready_task:
container:
image: collectd/ci:stretch_amd64
lint_script:
- /checks/check-bashisms.sh
- /checks/check-pod.sh
configure_script:
- ./build.sh
- ./configure $DEFAULT_CONFIG_OPTS
checks_script:
- make -j2 -s distcheck DISTCHECK_CONFIGURE_FLAGS="${DEFAULT_CONFIG_OPTS}"

###
# Default toolchain and build flags used in deb packages, on a range of Debian
# and Ubuntu releases (+ Debian/unstable)
# Most should succeed, and PRs shouldn't break them.
#
debian_default_toolchain_task:
matrix:
- allow_failures: false
container:
image: collectd/ci:jessie_amd64
- allow_failures: false
container:
image: collectd/ci:stretch_amd64
- allow_failures: false
container:
image: collectd/ci:stretch_i386
- allow_failures: false
container:
image: collectd/ci:trusty_amd64
- allow_failures: false
container:
image: collectd/ci:xenial_amd64
# debian/unstable is expected to fail
- allow_failures: true
skip_notifications: true
only_if: $CIRRUS_BRANCH == 'master'
container:
image: collectd/ci:sid_amd64
configure_script:
- ./build.sh
- gcc --version
- >
./configure CC=gcc $DEFAULT_CONFIG_OPTS
CFLAGS="$(dpkg-buildflags --get CFLAGS)"
CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
build_script:
- make -j2 -sk
tests_script:
- make -j2 -sk check
- /checks/check-built-plugins.sh

###
# Default toolchain and build flags used in RPM packages, on a range of RedHat
# and Fedora releases (+ Fedora/rawhide)
# Most should succeed, and PRs shouldn't break them.
#
redhat_default_toolchain_task:
matrix:
- allow_failures: false
skip_notifications: false
container:
image: collectd/ci:el6_x86_64
- allow_failures: true
skip_notifications: true
container:
image: collectd/ci:el7_x86_64 # TODO: fix this platform
- allow_failures: true
skip_notifications: true
container:
image: collectd/ci:fedora28_x86_64
# fedora/rawhide is expected to fail
- allow_failures: true
skip_notifications: true
only_if: $CIRRUS_BRANCH == 'master'
container:
image: collectd/ci:fedora_rawhide_x86_64
configure_script:
- ./build.sh
- gcc --version
- ./configure CC=gcc $DEFAULT_CONFIG_OPTS CFLAGS="$(rpm --eval '%optflags')"
build_script:
- make -j2 -sk
tests_script:
- make -j2 -sk check
- /checks/check-built-plugins.sh


###
# Misc non-standard build environment & options on most recent released debian
# version.
# Some are expected to fail, others should always pass
non_standard_toolchains_task:
container:
image: collectd/ci:stretch_amd64
only_if: $CIRRUS_PR == ''

matrix:

# build using clang with default build flags, should always pass
- env:
LABEL: clang
allow_failures: true # TODO: fix this platform
skip_notifications: true
configure_script:
- ./build.sh
- clang --version
- >
./configure CC=clang CXX=clang++
$DEFAULT_CONFIG_OPTS
CFLAGS="$(dpkg-buildflags --get CFLAGS)"
CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
build_script:
- make -j2 -sk
tests_script:
- make -j2 -sk check

# build against libstatgrab, should always pass
- env:
LABEL: statgrab
allow_failures: false
skip_notifications: false
configure_script:
- ./build.sh
- gcc --version
- >
./configure --with-libstatgrab --enable-debug
CFLAGS="$(dpkg-buildflags --get CFLAGS)"
CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
build_script:
- make -j2 -sk
tests_script:
- >
for i in cpu disk interface load memory swap users; do
if ! $(ldd ".libs/${i}.so" 2>/dev/null | grep -q 'libstatgrab.so'); then
echo "plugin $i NOT linked against libstatgrab"
exit 1
fi
done

# build using clang with a collection of strict build flags, will most
# probably always fail
- env:
LABEL: clang strict
allow_failures: true
skip_notifications: true
configure_script:
- ./build.sh
- clang --version
- >
./configure CC=clang CXX=clang++
$DEFAULT_CONFIG_OPTS
CFLAGS='-Wall
-Wno-error
-Wextra
-Wformat=2
-Wformat-security
-Wformat-nonliteral
-Wmissing-include-dirs
-Wold-style-definition
-Wpointer-arith
-Winit-self
-Wmissing-prototypes
-Wimplicit-function-declaration
-Wmissing-declarations
-Wstrict-prototypes
-Wmissing-noreturn
-Wshadow
-Wendif-labels
-Wwrite-strings
-Wno-unused-parameter
-Wno-missing-field-initializers
-Wdate-time
-Wnested-externs
-Wno-typedef-redefinition
-Wno-gnu-variable-sized-type-not-at-end'
build_script:
- make -j2 -sk
tests_script:
- make -j2 -sk check

###
# Build using a range of compilers, available in debian/unstable. NB: might
# fail because of changes to the distro, not the compiler used.
#
bleeding_edge_compilers_task:
container:
image: collectd/ci:sid_amd64
only_if: $CIRRUS_BRANCH == 'master'
allow_failures: true
skip_notifications: true
env:
matrix:
CC: gcc-7
CC: gcc-8
CC: clang-6.0
CC: clang-7
CC: clang-8
CC: clang-9
configure_script:
- ./build.sh
- $CC --version
- >
./configure CC=$CC
$DEFAULT_CONFIG_OPTS
CFLAGS="$(dpkg-buildflags --get CFLAGS)"
CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
build_script:
- make -j2 -sk
tests_script:
- make -j2 -sk check
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
BasedOnStyle: LLVM
IncludeCategories:
- Regex: '"collectd.h"'
- Priority: -1
17 changes: 17 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* Version of collectd:
* Operating system / distribution:
* Kernel version (if applicable):

## Expected behavior

(Description of the behavior / output that you expected)

## Actual behavior

(Description of the behavior / output that you observed)

## Steps to reproduce

* step 1
* step 2
* step 3
63 changes: 43 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Makefile.in
/aclocal.m4
/autom4te.cache
/autom4te.cache
/build-aux/
/compile
/config.guess
/config.sub
Expand All @@ -12,15 +13,21 @@ Makefile.in
/install-sh
/libltdl/
/ltmain.sh
/m4/libtool.m4
/m4/ltargz.m4
/m4/ltdl.m4
/m4/lt~obsolete.m4
/m4/ltoptions.m4
/m4/ltsugar.m4
/m4/ltversion.m4
/missing
src/config.h.in
/src/config.h.in

# configure stuff:
Makefile
config.log
config.status
libtool
src/.deps
src/collectd.conf
src/config.h
src/libcollectdclient/libcollectdclient.pc
Expand All @@ -30,17 +37,17 @@ src/stamp-h1
*.la
*.lo
*.o
.dirstamp
.libs/
src/collectd
src/collectd-nagios
src/collectd-tg
src/collectdctl
src/collectdmon
.deps/
/collectd-nagios
/collectd-tg
/collectdctl
/collectdmon
src/*.1
src/*.5
src/.pod2man.tmp.*
src/libcollectdclient/collectd/lcc_features.h
src/utils_vl_lookup_test

# patch stuff
*.rej
Expand All @@ -53,32 +60,48 @@ src/liboconfig/parser.h
src/liboconfig/scanner.c

# protobuf stuff:
src/*.pb-c.[ch]
*.pb-c.[ch]
*.grpc.pb.cc
*.pb.cc
*.pb.h

# make dist stuff:
/collectd-*.tar.gz
/collectd-*.tar.bz2

# perl stuff:
bindings/.perl-directory-stamp
/.perl-directory-stamp
bindings/perl/Collectd/pm_to_blib
bindings/perl/blib/
bindings/perl/pm_to_blib
bindings/buildperl
/buildperl

# java stuff
bindings/java/java-build-stamp
bindings/java/org/collectd/api/*.class
bindings/java/org/collectd/java/*.class
*.jar
/org/collectd/api/*.class
/org/collectd/java/*.class
/bindings/java/java-build-stamp
/classnoinst.stamp

# python stuff
*.pyc

# tag stuff
src/tags

# backup stuff
*~
# tests stuff
src/tests/.deps/
src/tests/mock/.deps/

# lint stuff
*.ln

#ide stuff
.vscode

# cscope stuff
cscope.*

# Unit tests
test-suite.log
src/tests/
test_*

# src/daemon/...
/collectd
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "gnulib"]
path = gnulib
url = git://git.savannah.gnu.org/gnulib.git
Loading