Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
365 commits
Select commit Hold shift + click to select a range
8f95b54
Merge pull request #981 from lgoenner/readme
john30 Aug 15, 2023
ebd68a4
Merge pull request #961 from samm-git/patch-1
john30 Aug 15, 2023
76184c7
some docs (also closes #974)
john30 Aug 15, 2023
f633e07
include temperatures in Kelvin (closes #989)
john30 Sep 9, 2023
689c386
better defines for debugging
john30 Sep 17, 2023
9bd534a
allow notifying queue and improve shutdown duration
john30 Sep 23, 2023
b0cfb52
bring back missing scanconfig default, better help texts, add "off" t…
john30 Sep 23, 2023
70db4fa
log invalid env setting more readable
john30 Sep 23, 2023
1c1b39e
send empty topic instead of logging an error on messages without a si…
john30 Sep 23, 2023
0698906
allow limiting number of scan retries (fixes 1013)
john30 Sep 23, 2023
d89b7cf
fix macos build (closes #673)
john30 Sep 23, 2023
087209f
fix missing defines
john30 Sep 24, 2023
26102d0
simplify some dir/file defines
john30 Sep 24, 2023
03483ba
updated
john30 Sep 24, 2023
8662ff7
Update mqtt-hassio.cfg
Danit2 Sep 24, 2023
1b9723c
fix long-running cmds
john30 Sep 24, 2023
22b6f02
get rid of argp dependency
john30 Oct 1, 2023
acc6edd
fix previous commit, formatting
john30 Oct 1, 2023
c71b1da
remove unused param to arg parser
john30 Oct 1, 2023
d9f1bc5
fix building ebusfeed
john30 Oct 1, 2023
5f49325
prepare logging without timestamp
john30 Oct 1, 2023
cb0bfe7
fix timeout
john30 Oct 1, 2023
fe49e9b
separate arg parsing
john30 Oct 1, 2023
28bebfa
check for timegm()
john30 Oct 1, 2023
37334c5
allow envp missing
john30 Oct 3, 2023
9e236bb
abstract MQTT client
john30 Oct 7, 2023
7cc7e64
fix HA entity name prefix warnings (closes #1011)
john30 Oct 7, 2023
f0d737d
add time fields from timer messages (closes #1006)
john30 Oct 7, 2023
e5886e9
Merge pull request #1023 from Danit2/master
john30 Oct 7, 2023
0c63dc6
use readable message counter part only for writable message with mult…
john30 Oct 7, 2023
6a6e68a
add readonly timers
john30 Oct 7, 2023
4133c67
log restart topic
john30 Oct 8, 2023
6c66fd5
lint, docs, remove unused includes
john30 Oct 12, 2023
730d92d
abstract bus protocol handling
john30 Oct 13, 2023
dc78076
support json index
john30 Oct 13, 2023
8b302de
fix startup
john30 Oct 14, 2023
7198a1f
dont wait when not running
john30 Oct 14, 2023
be916c7
fix shutdown
john30 Oct 14, 2023
8646b0d
updated
john30 Oct 14, 2023
f2a845d
fix initial broadcast scan message
john30 Oct 14, 2023
5e2509b
allow initsend for enhanced as well, cleaner separation
john30 Oct 14, 2023
4c453a2
formatting
john30 Oct 14, 2023
ef8be01
workaround for potentially unusable SSL context
john30 Oct 14, 2023
b752062
corrected links
john30 Oct 20, 2023
b901232
add /templates endpoint and include types+templates+conditions+chains…
john30 Oct 22, 2023
3d9dd9b
add positionals to arg parser, avoid unnecessary parts in arg options
john30 Nov 1, 2023
607fc00
move raw logging+dump to proto, more abstraction
john30 Nov 4, 2023
077d09b
lint
john30 Nov 4, 2023
e345b40
rename method
john30 Nov 10, 2023
009729c
extract method
john30 Nov 10, 2023
0468643
add enum, small optimization, formatting
john30 Nov 10, 2023
307786e
move factory method
john30 Nov 10, 2023
dbbf235
fix syn generator timing
john30 Nov 10, 2023
bfe7b45
add result code to protocol listener
john30 Nov 11, 2023
dd3721e
rework info transfer, missed commit
john30 Nov 11, 2023
a8bd30a
check pb+sb for validity, simplify request notification on signal loss
john30 Nov 11, 2023
bceeb5f
add access to data
john30 Nov 11, 2023
15de49c
fix non-ssl build
john30 Nov 11, 2023
a7d6eed
lint
john30 Nov 11, 2023
82693fb
rework ebus protocol engine (consume buffered data in a row, avoid st…
john30 Nov 26, 2023
92675ba
fix last syn receive time
john30 Nov 26, 2023
8bbb681
Update mqtt-hassio.cfg to include humidity
apbarratt Nov 27, 2023
f00db14
more const, safety checks, formatting, docs
john30 Dec 1, 2023
3aadafa
fir for invalid scan status on no signal
john30 Dec 1, 2023
53fcc90
missed change in 3d9dd9b1c3f9cc7e9f59c177883dd906c5294e5d (fixes #1092)
john30 Dec 17, 2023
2b5bd1b
fix dpt 9 with negative values (closes #1074) and add rounding
john30 Dec 24, 2023
f587fea
better rounding and avoid to loose precision, move 16 bit float to da…
john30 Dec 24, 2023
68d05f3
use nan for float replacement value
john30 Dec 24, 2023
ab91d27
Merge pull request #1070 from apbarratt/patch-1
john30 Dec 25, 2023
79c14a5
fix escaping
john30 Dec 25, 2023
84433b3
add missing dependency for --with-knxd
john30 Dec 25, 2023
a9a2484
include knxd support in devel image (closes #1051)
john30 Dec 25, 2023
e59fbc4
avoid using less portable basename() (fixes #1094)
john30 Dec 25, 2023
97aa449
updated
john30 Dec 25, 2023
5ff16a4
add dependabot
john30 Dec 26, 2023
642e57d
Bump docker/setup-qemu-action from 2 to 3
dependabot[bot] Dec 26, 2023
e7b8e5e
Bump proudust/gh-describe from 1.4.6 to 1.6.0
dependabot[bot] Dec 26, 2023
0301bde
Bump actions/upload-artifact from 2 to 4
dependabot[bot] Dec 26, 2023
314b8f8
Bump docker/login-action from 2 to 3
dependabot[bot] Dec 26, 2023
f6364d4
Bump actions/checkout from 3 to 4
dependabot[bot] Dec 26, 2023
9897577
Merge pull request #1102 from john30/dependabot/github_actions/docker…
john30 Dec 26, 2023
cf72a23
Merge pull request #1103 from john30/dependabot/github_actions/proudu…
john30 Dec 26, 2023
167e9dc
Merge pull request #1104 from john30/dependabot/github_actions/action…
john30 Dec 26, 2023
f60e013
Merge pull request #1105 from john30/dependabot/github_actions/docker…
john30 Dec 26, 2023
2aee1f6
Merge pull request #1106 from john30/dependabot/github_actions/action…
john30 Dec 26, 2023
115ef29
better loop variable
john30 Dec 26, 2023
8fdab79
add CodeQL, add knxd dependancy
john30 Dec 26, 2023
8ac8e59
mark unused attributes
john30 Dec 26, 2023
1cdb714
less copying, remove unnecessary call
john30 Dec 26, 2023
b320fb6
fix helper script, add helper scripts for checking the build
john30 Dec 26, 2023
44c59ae
update buildx action
john30 Dec 26, 2023
6630a81
updated to optional voltage levels, rephrased
john30 Dec 26, 2023
442ff4e
add rssi info, reset stored enhanced infos when device was reset
john30 Dec 26, 2023
62db6ec
updated to 23.3
john30 Dec 26, 2023
a5e315c
updated to 23.3
john30 Dec 26, 2023
303ea96
align with upcoming upstream, switch to edge for newest gcc as used i…
john30 Dec 30, 2023
3384f37
add missed includes as reported by gcc13
john30 Dec 30, 2023
412f65d
fix previous commit
john30 Dec 30, 2023
47d2a3a
remove no longer maintained ebusfeed (closes #1111)
john30 Dec 31, 2023
6c2d102
configure.ac: quote CXXFLAGS
ConiKost Jan 13, 2024
fcb8066
CMakeLists.txt: add BUILD_SHARED_LIBS=OFF
ConiKost Jan 13, 2024
80792ff
src/{ebusd,tools}/CMakeLists.txt: remove usr path
ConiKost Jan 13, 2024
1fbf13f
configure.ac: guard docs behind an option
ConiKost Jan 13, 2024
4397e14
Update Gentoo initd/confd files
ConiKost Jan 13, 2024
a9bb6cf
Add Gentoo systemd unit
ConiKost Jan 13, 2024
3232f4f
add missed include for debugging
john30 Jan 14, 2024
1316291
also send MQTT definition topic and handle knx subscription for condi…
john30 Jan 14, 2024
5e10f72
add inject command
john30 Jan 14, 2024
175c990
fix csv dump
john30 Jan 14, 2024
f9fb039
Merge branch 'CXXFLAGS' of github.com:ConiKost/ebusd into gentoo
john30 Jan 20, 2024
e998718
Merge branch 'gentoo' of github.com:ConiKost/ebusd into gentoo
john30 Jan 20, 2024
84282e9
Merge branch 'cmake-prefix' of github.com:ConiKost/ebusd into gentoo
john30 Jan 20, 2024
9af53bc
Merge branch 'docs' of github.com:ConiKost/ebusd into gentoo
john30 Jan 20, 2024
344f044
use --with-docs instead of --without-docs and fail if doxygen is missing
john30 Jan 20, 2024
e089cda
Merge branch 'gentoo-scripts' of github.com:ConiKost/ebusd into gentoo
john30 Jan 20, 2024
1a1c063
fix previous commit
john30 Jan 20, 2024
ec5c91f
avoid egrep
john30 Jan 20, 2024
fe80841
update links, use enhanced prefix in docs
john30 Jan 20, 2024
5c9153f
use enhanced prefix in docs
john30 Jan 20, 2024
3a91fe8
fix previous commit
john30 Jan 20, 2024
64b2b2e
missed commit
john30 Jan 21, 2024
64727a4
fix DTM type with recent dates (fixes #1172)
john30 Jan 27, 2024
2ea20ed
add config path to verbose info command (closes #1087)
john30 Jan 27, 2024
f21adf6
more abstraction, better naming
john30 Feb 3, 2024
5bf0ab8
updated year
john30 Feb 4, 2024
8298eaa
make method const
john30 Feb 4, 2024
fa5c959
Bump codecov/codecov-action from 3 to 4
dependabot[bot] Feb 5, 2024
7456bd6
Merge pull request #1183 from john30/dependabot/github_actions/codeco…
john30 Feb 11, 2024
660e496
Bump proudust/gh-describe from 1.6.0 to 2.0.0
dependabot[bot] Feb 12, 2024
ce8dd96
add missed listener
john30 Feb 17, 2024
741860f
Merge remote-tracking branch 'origin/dependabot/github_actions/proudu…
john30 Feb 17, 2024
6d49fd7
don't skip initial data on tcp
john30 Feb 24, 2024
3d62365
allow device to start with reset message, spelling
john30 Feb 24, 2024
d6ea68d
simplify log facility handling
john30 Feb 24, 2024
c063fb3
add option to answer request to non-own addresses (part of #42)
john30 Mar 8, 2024
393c9f8
make port in device string optional, updated help, formatting
john30 Mar 9, 2024
f26c48e
fix m-m auto-answer response length and message search
john30 Mar 9, 2024
c53ca68
check answer command enabled more thoroughly, fix blank answer, more …
john30 Mar 9, 2024
1ac29d6
add token
john30 Mar 9, 2024
38a6b7b
align with wiki, updated
john30 Mar 9, 2024
866a71f
fix setting log facilities
john30 Mar 27, 2024
033586c
fix missed fd_set
john30 Mar 27, 2024
60088b1
fix for potentially missed updates (#1226)
john30 Mar 29, 2024
29e0232
fix condition range parse (#1244)
john30 Mar 29, 2024
d9628fa
const name spelling
john30 Mar 29, 2024
c70d8ff
track changes only per data sink (#1226)
john30 Apr 10, 2024
9b476a6
allow commands being injected as well
john30 May 5, 2024
c084dd2
add enum for predefined symbols, enhance getStr()
john30 May 5, 2024
decbd40
prepare for cdn
john30 May 7, 2024
92e0faf
spelling
john30 May 26, 2024
d45c5a7
remove invalid notification
john30 May 26, 2024
08515d1
unify decodeLastData usage, add raw logging to read cmd
john30 Jun 27, 2024
d5f448a
unify decode output result+log, fix special broadcast write output
john30 Jun 28, 2024
6e59fd2
add verbosity to write cmd
john30 Jun 28, 2024
a8362bd
keep generated decode output and append it to error prefix on error
john30 Jun 28, 2024
20982e5
allow define in write direction if given more than once
john30 Jun 28, 2024
6a2fced
updated
john30 Jun 28, 2024
f8e8b23
fix for reload not starting the scan again (closes #1283)
john30 Jun 28, 2024
b22a113
switch to gh pages config service
john30 Jul 7, 2024
ef4d689
support dumping whole subdir from gh pages
john30 Jul 7, 2024
b5899fc
updated
john30 Jul 7, 2024
0efcdf1
support cdn redirection
john30 Jul 8, 2024
0b49f9d
fix "as" casing
john30 Jul 9, 2024
efcb0f3
allow test lang as well
john30 Jul 9, 2024
d6e790b
fix de/en order
john30 Jul 10, 2024
ad364c6
fix extra trailing newline (fixes #1304)
john30 Jul 11, 2024
9c3371c
report unexpected env vars as notice only (closes #1291)
john30 Jul 13, 2024
f3baf85
doc for wildcard (related to #1218)
john30 Jul 13, 2024
d117acd
add duration class for uptime (closes #1264)
john30 Jul 13, 2024
e703e9b
assert names are valid identifier with little exceptions only (closes…
john30 Jul 13, 2024
c5668a0
adjust tests to hardened id check
john30 Jul 13, 2024
492418b
updated
john30 Jul 13, 2024
f6402f3
add mdns discovery and make it the default
john30 Sep 11, 2024
52c3060
Merge branch 'master' of github.com:john30/ebusd
john30 Sep 12, 2024
59edf1a
fix early break
john30 Sep 12, 2024
981b267
better helpt text
john30 Oct 1, 2024
441a3f6
include passive with new def in read+write
john30 Oct 1, 2024
5d8c973
formatting, lint
john30 Oct 1, 2024
85855ea
more logging
john30 Oct 1, 2024
1a8de22
add dedicated log level for device (closes #1280)
john30 Oct 1, 2024
5d5543e
fix previous commit
john30 Oct 1, 2024
1511db2
fix datetime mapping
john30 Oct 2, 2024
eebb2ef
allow extending existing vars
john30 Oct 2, 2024
6d0511a
add date+datetime mapping (closes #1120 and #1134)
john30 Oct 2, 2024
32aa1e3
workaround for badly typed strdupa on alpine
john30 Oct 3, 2024
6e552c3
updated
john30 Oct 5, 2024
8c5c6c4
enhance device update check
john30 Oct 5, 2024
254517f
better comments, adhere to cdn normalization
john30 Oct 5, 2024
3a9ee44
stop with error on multiple non-matching mdns responses
john30 Oct 22, 2024
0dd3a80
Bump proudust/gh-describe from 2.0.0 to 2.1.0 (#1356)
dependabot[bot] Oct 26, 2024
619f15d
remove field name from HA discovery for single-field messages
john30 Oct 26, 2024
21f2d1d
another try to make alpine compile
john30 Oct 27, 2024
d2d0f5a
better workaround for alpine
john30 Oct 27, 2024
c7fd412
updated version to 24.1
john30 Oct 27, 2024
029aa27
updated to 24.1
john30 Oct 27, 2024
c20399b
wording
john30 Oct 27, 2024
46996c8
add mdns hint
john30 Oct 30, 2024
eeb8f2e
install in /usr/bin and not /bin
john30 Oct 30, 2024
b315cb5
formatting
john30 Oct 31, 2024
bcea04b
aligned with help text, missed special cases for env arg parsing
john30 Oct 31, 2024
8d2986c
fix for symlinks with colon (fixes #1374)
john30 Nov 11, 2024
52af010
fix read/write response on tcp client
john30 Nov 13, 2024
2790860
updated
john30 Nov 26, 2024
85a3eef
fix dump of divisor
john30 Dec 12, 2024
1fb10f0
corrected+enhanced docs
john30 Dec 22, 2024
da3a704
enhance encode+decode commands
john30 Dec 24, 2024
692ed8a
add argFind and use it for more generic special args handling from en…
john30 Dec 25, 2024
776cf05
missed commit
john30 Dec 25, 2024
c42d06d
fix max value on some signed number types
john30 Dec 28, 2024
d25551e
fix knx socket options (closes #1422)
john30 Dec 29, 2024
58e6ec8
parse partial URLs as well
john30 Dec 31, 2024
6f16175
add option to parse partial to parseInt()
john30 Dec 31, 2024
2da8516
updated
john30 Dec 31, 2024
5d4d75d
add output for executed commands
john30 Dec 31, 2024
3eb51e7
fix packages
john30 Dec 31, 2024
edcb019
add secondary replacement value 0 for date types (closes #1391)
john30 Dec 31, 2024
fab1dd1
fix constant value encoding in json
john30 Jan 1, 2025
88b039e
simplify value list parsing
john30 Jan 6, 2025
e795ce6
add value range and step support, fix value list validation
john30 Jan 6, 2025
2b3aa08
fix previous commit for i386, optimize comparison
john30 Jan 7, 2025
0445e44
fix parsing unexpected mdns txt response
john30 Jan 9, 2025
34552ea
fix ignored message id key for NN>3, fix longer message key check (fi…
john30 Jan 12, 2025
4ebecb1
add dump with id key
john30 Jan 12, 2025
a8f876d
reduce to cdnversions only
john30 Jan 21, 2025
1a2c810
avoid poll on scan messages
john30 Jan 26, 2025
1965639
add getter to grabbed message
john30 Jan 26, 2025
d8b2ae1
fix constant field dump
john30 Feb 21, 2025
b7a65fc
treat write message as read for mqtt when excluded by config (fixes #…
john30 Apr 13, 2025
5823d4f
fix outsidetemp def
john30 Apr 13, 2025
f27464f
add ignore case option to match()
john30 Apr 13, 2025
177e474
updated
john30 Apr 13, 2025
5c61f47
fix knxd inclusion
john30 Apr 13, 2025
ff340be
formatting
john30 Apr 13, 2025
f1818cf
updated version to 25.1
john30 Apr 13, 2025
4732f51
updated to 25.1
john30 Apr 13, 2025
ef6631f
update copyright year
john30 Apr 14, 2025
c3fc486
add ebus adapter stick
john30 Apr 14, 2025
32dc408
align with help
john30 Apr 14, 2025
395fcc7
some more tests
john30 May 17, 2025
1474af4
add isLink to openFile()
john30 May 17, 2025
1e3af90
add AddAttributes interface
john30 May 17, 2025
83e2527
extract some parts of run()
john30 May 17, 2025
d02e3b1
add missed min/max/step
john30 May 21, 2025
b0e75d2
add cleanup once only, fix comment, more tests
john30 May 21, 2025
d72aa81
remove outdated webervice
john30 May 22, 2025
f5a4662
fix #1553
john30 Aug 10, 2025
8750d44
fix read from cache for passive+write messages in TCP client (closes …
john30 Sep 27, 2025
c68b281
prefer more concrete file name over less (fixes #1592)
john30 Sep 27, 2025
9b511cf
allow several rounds of executing instructions to e.g. support load w…
john30 Sep 28, 2025
255f176
add newer interfaces
john30 Sep 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is. Anything related to actual message definitions in [ebusd-configuration](https://github.com/john30/ebusd-configuration), serial bridge in [ebusd-esp](https://github.com/john30/ebusd-esp), or [eBUS adapter v3/v2](https://github.com/eBUS/adapter) do not belong here! Use the appropriate repository for those.
description: A clear and concise description of what the bug is. Anything related to actual message definitions in [ebusd-configuration](https://github.com/john30/ebusd-configuration), [eBUS Adapter Shield v5](https://github.com/john30/ebusd-esp32), serial bridge in [ebusd-esp](https://github.com/john30/ebusd-esp), or [eBUS adapter v3/v2](https://github.com/eBUS/adapter) do not belong here! Use the appropriate repository for those.
placeholder: e.g. during startup, an error message as described below is reported instead of...
validations:
required: true
Expand All @@ -35,6 +35,11 @@ body:
description: the ebusd version in use
options:
- current source from git
- '25.1'
- '24.1'
- '23.3'
- '23.2'
- '23.1'
- '22.4'
- '22.3'
- '22.2'
Expand All @@ -58,6 +63,7 @@ body:
label: Operating system
description: the operating system in use
options:
- Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)
- Debian 11 (Bullseye) / Ubuntu 20-21 / Raspbian 11 / Raspberry Pi OS 11 (including lite)
- Debian 10 (Buster) / Ubuntu 18-19 / Raspbian 10 / Raspberry Pi OS 10 (including lite)
- Debian 9 (Stretch) / Ubuntu 16-17 / Raspbian 9 / Raspberry Pi OS 9 (including lite)
Expand Down Expand Up @@ -93,17 +99,15 @@ body:
label: Hardware interface
description: the eBUS hardware interface in use
options:
- adapter 3.1 USB
- adapter 3.1 WiFi
- adapter 3.1 Ethernet
- adapter 3.1 RPi
- adapter 3.0 USB
- adapter 3.0 WiFi
- adapter 3.0 Ethernet
- adapter 3.0 RPi
- adapter 2
- Esera USB
- Esera Ethernet
- Adapter Shield v5/C6/Stick via USB
- Adapter Shield v5/C6/Stick via WiFi
- Adapter Shield v5/C6/Stick via Ethernet
- Adapter Shield v5/C6 via Raspberry GPIO
- Adapter v3 USB
- Adapter v3 WiFi
- Adapter v3 Ethernet
- Adapter v3 RPi
- Adapter v2
- other
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
id: description
attributes:
label: Description
description: A clear and concise description of the requested feature, additional behaviour, different functionality. Anything related to actual message definitions in ebusd-configuration, serial bridge in ebusd-esp, or adapter v3/v2 do not belong here! Use the appropriate repository for those.
placeholder: e.g. during startup, an error message as described below is reported instead of...
description: A clear and concise description of the requested feature, additional behaviour, different functionality. Anything related to actual message definitions in ebusd-configuration, serial bridge in ebusd-esp, or adapter v5/v3/v2 do not belong here! Use the appropriate repository for those.
placeholder: e.g. add direct integration with xxx...
validations:
required: true
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ jobs:
steps:
-
name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: gh-describe
id: gittag
uses: proudust/gh-describe@v1.4.6
uses: proudust/gh-describe@v2.1.0
-
name: set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
-
name: set up buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
name: login to docker hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
-
name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: packages
run: sudo apt-get update && sudo apt-get install -y libmosquitto1 libmosquitto-dev libssl1.1 libssl-dev
run: sudo apt-get update && sudo apt-get install -y libmosquitto1 libmosquitto-dev libssl3 libssl-dev
-
name: build
run: cmake -Dcoverage=1 -DBUILD_TESTING=1 . && make
Expand All @@ -40,9 +40,10 @@ jobs:
run: ./test_coverage.sh
-
name: push result
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
gcov: true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/preparerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@ on:
type: choice
options:
- ''
- bookworm
- bullseye
- buster
- stretch

jobs:
prepare-release:
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: gh-describe
id: gittag
uses: proudust/gh-describe@v1.4.6
uses: proudust/gh-describe@v2.1.0
-
name: set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
-
name: set up buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
Expand All @@ -61,7 +61,7 @@ jobs:
LIMITIMG: ${{ github.event.inputs.limitimg }}
-
name: archive
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: debian packages
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
steps:
-
name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
-
name: set up buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
name: login to docker hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Testing
cmake_install.cmake
Makefile
Makefile.in
/build/*
/build/
/cmake-build-*/
build-/
/aclocal.m4
/autom4te.cache/
/config.*
Expand All @@ -21,23 +23,20 @@ Makefile.in
/stamp-h?
.deps/
*.o
*.a
*.dirstamp
*.gc*
app.info
/src/ebusd/ebusd
/src/tools/ebusctl
/src/tools/ebusfeed
/src/lib/utils/libutils.a
/src/lib/ebus/libebus.a
/src/lib/ebus/contrib/test/test_tem
/src/lib/ebus/test/test_symbol
/src/lib/ebus/test/test_data
/src/lib/ebus/test/test_message
/src/lib/ebus/test/test_filereader
/src/lib/ebus/contrib/libebuscontrib.a
/src/lib/ebus/contrib/test/test_contrib
/docs/Doxyfile
/docs/doxyfile.stamp
/docs/html
/cmake-build-debug*/
/.idea/
/.idea/
25 changes: 11 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ file(STRINGS "VERSION" VERSION)

project(ebusd)

include(GNUInstallDirs)
include(CheckFunctionExists)
include(CheckCXXSourceRuns)
include(CheckIncludeFile)

set(PACKAGE ${CMAKE_PROJECT_NAME})
set(PACKAGE_NAME ${CMAKE_PROJECT_NAME})
set(PACKAGE_TARNAME ${CMAKE_PROJECT_NAME})
Expand Down Expand Up @@ -45,13 +50,11 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "" CACHE PATH "..." FORCE)
endif()
include(GNUInstallDirs)
include(CheckFunctionExists)
include(CheckCXXSourceRuns)
include(CheckIncludeFile)

add_definitions(-fpic -Wall -Wno-unused-function -Wextra)

set(BUILD_SHARED_LIBS OFF)

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)
check_include_file(dirent.h HAVE_DIRENT_H)
check_include_file(fcntl.h HAVE_FCNTL_H)
Expand All @@ -61,25 +64,19 @@ check_include_file(pthread.h HAVE_PTHREAD_H)
check_include_file(sys/ioctl.h HAVE_SYS_IOCTL_H)
check_include_file(sys/select.h HAVE_SYS_SELECT_H)
check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(syslog.h HAVE_SYSLOG_H)
check_include_file(time.h HAVE_TIME_H)
check_include_file(termios.h HAVE_TERMIOS_H)
check_function_exists(cfsetspeed HAVE_CFSETSPEED)

set(CMAKE_REQUIRED_LIBRARIES pthread rt)
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
check_function_exists(pselect HAVE_PSELECT)
check_function_exists(ppoll HAVE_PPOLL)
check_function_exists(timegm HAVE_TIMEGM)
check_include_file(linux/serial.h HAVE_LINUX_SERIAL -DHAVE_LINUX_SERIAL=1)
check_include_file(dev/usb/uftdiio.h HAVE_FREEBSD_UFTDI -DHAVE_FREEBSD_UFTDI=1)

check_function_exists(argp_parse HAVE_ARGP)
if(NOT HAVE_ARGP)
find_library(LIB_ARGP argp)
if (NOT LIB_ARGP)
message(FATAL_ERROR "argp library not available")
endif(NOT LIB_ARGP)
set(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES} ${LIB_ARGP}")
endif(NOT HAVE_ARGP)

option(coverage "enable code coverage tracking." OFF)
if(NOT coverage STREQUAL OFF)
add_definitions(-g -O0 --coverage -Wall)
Expand Down Expand Up @@ -167,7 +164,7 @@ int main() {
endif(HAVE_DIRECT_FLOAT_FORMAT_REV)
endif(NOT HAVE_DIRECT_FLOAT_FORMAT)

add_definitions(-D_GNU_SOURCE -DHAVE_CONFIG_H -DSYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}" -DLOCALSTATEDIR="${CMAKE_INSTALL_FULL_LOCALSTATEDIR}")
add_definitions(-D_GNU_SOURCE -DHAVE_CONFIG_H)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${ebusd_SOURCE_DIR}/src)
Expand Down
Loading