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

Test annotation PR merge #28

Open
wants to merge 973 commits into
base: 0.10-travis-g++8-fix
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
973 commits
Select commit Hold shift + click to select a range
337a4b4
cpplint fix indents for goto targets in protoc/StrUtil.cpp
DaAwesomeP Feb 17, 2023
ba7d9e3
change wording in count_generic_nolints.sh (@peternewman)
DaAwesomeP Feb 17, 2023
bcff274
lint switch to GITHUB_ACTIONS env var
DaAwesomeP Feb 17, 2023
2fd1d98
add note from where to install cpplint
DaAwesomeP Feb 17, 2023
de4b59c
speed up gh actions lint artifacts
DaAwesomeP Feb 17, 2023
9008033
speed up gh actions lint artifacts switch from xz to gz
DaAwesomeP Feb 17, 2023
db6d295
attempt gh actions lint problem matcher for check-licences, intention…
DaAwesomeP Feb 17, 2023
47a6dee
gh actions lint fix path to check-licences problem matcher
DaAwesomeP Feb 17, 2023
1c8eef2
attempt fix check-licence problem matcher, fix flake8 for check-licence
DaAwesomeP Feb 17, 2023
f007ee5
check-licence problem matcher works, revert force-fail files
DaAwesomeP Feb 17, 2023
1e94a76
attempt gh actions lint problem matcher for generic-nolints, intentio…
DaAwesomeP Feb 17, 2023
bf337f6
generic-nolints problem matcher works, revert force-fail files
DaAwesomeP Feb 17, 2023
5242ccc
attempt gh actions lint problem matcher for cpplint, intentionally fa…
DaAwesomeP Feb 17, 2023
fd60a4b
gh actions cpplint problem matcher again with debug
DaAwesomeP Feb 17, 2023
18e11cf
gh actions cpplint problem matcher again with debug 2
DaAwesomeP Feb 18, 2023
2a4978c
fix cpplint and flake8 problem matcher annotations file matching
DaAwesomeP Feb 18, 2023
d090920
gh actions lint cpplint matcher show error code in message text, remo…
DaAwesomeP Feb 18, 2023
a9d0f62
gh actions cpplint problem matcher annotations work with file matchin…
DaAwesomeP Feb 18, 2023
d06f590
gh actions lint problem matcher change info to notice to match proble…
DaAwesomeP Feb 18, 2023
6be6c78
gh actions lint licences problem matcher does not find dirs, problem …
DaAwesomeP Feb 18, 2023
573a83e
remove old flake8 gh actions workflow that does not build first
DaAwesomeP Feb 18, 2023
cbe7dc4
add gh actions note to AUTHORS
DaAwesomeP Feb 18, 2023
c35da8a
gh actions lint spellintian
DaAwesomeP Feb 19, 2023
98767f7
gh actions lint spellintian and codespell
DaAwesomeP Feb 19, 2023
66c662e
gh actions lint spelling python3
DaAwesomeP Feb 19, 2023
652603f
revert license check to be non-specific to python3
DaAwesomeP Feb 20, 2023
05ab75a
add back Python 2 flake8 checking
DaAwesomeP Feb 20, 2023
4b4b6b6
all lint tasks depend on build
DaAwesomeP Feb 20, 2023
718c89f
gh actions lint fix 80 character line limit comment
DaAwesomeP Feb 20, 2023
4ee032a
gh actions lint fix python for check licences
DaAwesomeP Feb 20, 2023
b639fef
gh actions lint check-licences use python-is-python3
DaAwesomeP Feb 20, 2023
9ceee09
gh actions lint remove cpplint repository flag
DaAwesomeP Feb 20, 2023
02252de
specify which cpplint in error
DaAwesomeP Feb 20, 2023
f28976a
fix english comma errors for check licences
DaAwesomeP Feb 20, 2023
0ea3b73
licence check remove relative dir ./ style
DaAwesomeP Feb 20, 2023
2bbc5c5
Merge pull request #1816 from peternewman/0.10-clang-latest
peternewman Feb 20, 2023
c1594fb
gh actions lint add touch before tar note
DaAwesomeP Feb 20, 2023
5434a7a
gh actions remove additional python3 flake8
DaAwesomeP Feb 20, 2023
91c7988
gh actions lint enable dir listing only for debug logging
DaAwesomeP Feb 20, 2023
5428e8f
gh actions lint build job step clarify which build make task
DaAwesomeP Feb 20, 2023
cee6919
Merge remote-tracking branch 'upstream/0.10' into DaAwesomeP-GitHubAc…
DaAwesomeP Feb 20, 2023
fb8a0f5
Merge branch 'DaAwesomeP-GitHubActionsLint' into DaAwesomeP-GitHubAct…
DaAwesomeP Feb 20, 2023
369d7b4
gn actions lint use provided conspell annotations, spellintian as war…
DaAwesomeP Feb 20, 2023
924f970
spelling script omit compiled *.cc files
DaAwesomeP Feb 20, 2023
171b4b0
Merge pull request #1817 from DaAwesomeP/DaAwesomeP-GitHubActionsLint
peternewman Feb 20, 2023
7cb2051
Merge remote-tracking branch 'upstream/0.10' into DaAwesomeP-GitHubAc…
DaAwesomeP Feb 20, 2023
2900052
spelling remove extra comments
DaAwesomeP Feb 21, 2023
6abac14
spelling more specific exclude
DaAwesomeP Feb 21, 2023
568d533
spelling neater elif
DaAwesomeP Feb 21, 2023
2594579
Merge branch 'DaAwesomeP-GitHubActionsLint2' of github.com:DaAwesomeP…
DaAwesomeP Feb 21, 2023
78a58e2
gh action lint use latest codespell from git
DaAwesomeP Feb 21, 2023
3ca702b
gh action lint use latest codespell from git...with git
DaAwesomeP Feb 21, 2023
1bb2efc
codespell fixes
DaAwesomeP Feb 21, 2023
5001e06
build debian packages on gh actions
DaAwesomeP Jan 29, 2023
95b9d2f
debian fix python package names, build deps, and paths
DaAwesomeP Jan 29, 2023
ce470f3
ignore codespell line for debian gh actions build
DaAwesomeP Jan 29, 2023
5f7a379
debian gh action add test
DaAwesomeP Jan 29, 2023
1516247
gh actions debian build allow test fail
DaAwesomeP Feb 17, 2023
e48696c
Reorder build command line in autopkgtest; Closes: Debian #913704.
yoe Nov 14, 2018
e06c239
gh actions debian fix missing python tools, proper git, remove allow …
DaAwesomeP Feb 21, 2023
e251bab
gh actions debian allow some builds to fail to allow successful build…
DaAwesomeP Feb 21, 2023
c374bc8
github actions debian parallel build
DaAwesomeP Feb 21, 2023
74a73e7
debian attempt revert python install to dist-packages
DaAwesomeP Feb 21, 2023
de1febd
More updates for python3
yoe Nov 18, 2020
4af4b75
Update .codespellignorewords wronly
DaAwesomeP Feb 23, 2023
2951908
spelling name unknown test in error
DaAwesomeP Feb 23, 2023
37bcc49
spelling sort file exclude list
DaAwesomeP Feb 23, 2023
e3f5d5d
spelling add todo for spellintian
DaAwesomeP Feb 23, 2023
115cbbb
spelling wrap codespell line
DaAwesomeP Feb 23, 2023
74f80b2
Merge pull request #1818 from DaAwesomeP/DaAwesomeP-GitHubActionsLint2
peternewman Feb 24, 2023
cfbfe34
Merge pull request #42 from OpenLightingProject/0.10
peternewman Feb 24, 2023
58f7fa8
Test building without Python lint tools
peternewman Feb 24, 2023
4a77dcd
Fix some whitespace around the cpplint error
peternewman Feb 24, 2023
7b4a273
Add back in the missing dependencies for configure
peternewman Feb 24, 2023
688cfe1
Try drastically trimming some dependencies
peternewman Feb 24, 2023
e523002
Merge pull request #1821 from peternewman/0.10-clang-latest
peternewman Feb 25, 2023
40e8910
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Feb 25, 2023
c41589d
Revert "Remove some statements that won't be true until another PR ha…
peternewman Feb 25, 2023
7a55db7
Remove some duplicate codespell ignore lines
peternewman Feb 25, 2023
f917588
Ignore more codespell lines
peternewman Feb 25, 2023
f5be4e7
Fix a comment
peternewman Feb 25, 2023
bb3fb8b
Merge pull request #1761 from peternewman/0.10-c11-compat
peternewman Feb 26, 2023
a3634c6
Release 0.10.9
peternewman Feb 26, 2023
0f4264c
Merge pull request #1823 from peternewman/0.10-c11-compat
peternewman Feb 26, 2023
7f9ad85
New placeholder for NEWS
peternewman Feb 26, 2023
3df6c48
Merge branch '0.10' into 0.10-c11-compat
peternewman Feb 26, 2023
bed74fc
Merge pull request #1824 from peternewman/0.10-c11-compat
peternewman Feb 26, 2023
478c16c
Merge remote-tracking branch 'upstream/0.10' into DaAwesomeP-GitHubAc…
DaAwesomeP Feb 26, 2023
21d4321
gh actions debian remove python3 lint tools
DaAwesomeP Feb 26, 2023
7d2fc11
gh actions debian test only python3
DaAwesomeP Feb 26, 2023
98420b6
gh actions debian upload test output
DaAwesomeP Feb 26, 2023
77b73c0
gh actions debian fix codespell
DaAwesomeP Feb 26, 2023
7028dc9
gh actions debian fix test command3 change directory
DaAwesomeP Feb 26, 2023
cdbacd8
gh actions debian always upload build artifacts
DaAwesomeP Feb 26, 2023
c5dbb4a
gh actions debian correct path for rdm tests
DaAwesomeP Feb 26, 2023
9d8fd10
gh actions debian fix ola-rdm-tests dependency ola-python version
DaAwesomeP Feb 26, 2023
c293c89
gh actions debian attempt fix codespell lint again
DaAwesomeP Feb 26, 2023
f435c41
gh actions debian rdm tests test deps
DaAwesomeP Feb 26, 2023
82906ac
gh actions debian rdm tests no python2
DaAwesomeP Feb 27, 2023
69f2914
gh actions debian pybuild env
DaAwesomeP Feb 27, 2023
7bebcac
bump debhelper version
DaAwesomeP Feb 27, 2023
49841fe
bump debhelper version 13
DaAwesomeP Feb 27, 2023
f1fc4cf
bump debhelper version 13 less strict
DaAwesomeP Feb 27, 2023
67a88ee
Update our dependencies in the package.json file
kripton Mar 5, 2023
8aca621
Update generated new JavaScript app
kripton Mar 5, 2023
7032f52
Merge pull request #1827 from kripton/updateNodeDependencies
kripton Mar 5, 2023
d1e9f6a
Add a missing file to the Python install list
peternewman Mar 8, 2023
2902c30
Add a missing file to the Python install list
peternewman Mar 8, 2023
ed78841
Merge pull request #1835 from peternewman/0.10-c11-compat
peternewman Mar 11, 2023
cfe0772
Merge remote-tracking branch 'upstream/0.10' into DaAwesomeP-GitHubAc…
DaAwesomeP Mar 11, 2023
a44c1de
gh actions debian is it inferring python2 from the shebangs?
DaAwesomeP Mar 11, 2023
586258e
Revert "gh actions debian is it inferring python2 from the shebangs?"
DaAwesomeP Mar 12, 2023
7bb6cb8
gh actions debian try to rewrite python shebangs to python3
DaAwesomeP Mar 12, 2023
b194a1b
gh actions debian try to rewrite python shebangs to python3 tab chara…
DaAwesomeP Mar 12, 2023
4bc3826
gh actions debian add python3 shebang patch to changelog
DaAwesomeP Mar 12, 2023
bacbcc6
Update debian/changelog proper new release build
DaAwesomeP Mar 20, 2023
0b1d815
gh actions debian ola-rdm-tests revert to binary ola-python dep
DaAwesomeP Mar 20, 2023
1fa474b
gh actions debian try without override_dh_clean manual python clean
DaAwesomeP Mar 20, 2023
ae3e9ef
gh actions debian matrix arch
DaAwesomeP Mar 21, 2023
4385e6e
gh actions debian matrix arch test too
DaAwesomeP Mar 21, 2023
0157b0b
gh actions debian rerun
DaAwesomeP Mar 21, 2023
e66b26d
Merge pull request #1812 from DaAwesomeP/DaAwesomeP-GitHubActionsDebi…
peternewman Mar 22, 2023
b33d102
Merge branch '0.10-c11-compat' of https://github.com/peternewman/ola …
peternewman Mar 24, 2023
fe8c444
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Mar 24, 2023
4cc2a61
Fix a comment typo
peternewman Mar 21, 2023
21177c4
Correct the PID used for SetDmxStartupMode, closes #1843, since 5369e…
peternewman Mar 24, 2023
a643fd5
Correct and standardise some DMX_FAIL_MODE and DMX_STARTUP_MODE test …
peternewman Mar 24, 2023
a0c1ad7
Fix the order of hold time and delay times for DMX_STARTUP_MODE and D…
peternewman Mar 24, 2023
7a2aec2
Merge pull request #1847 from peternewman/0.10-c11-compat
peternewman Apr 19, 2023
c8468bd
Fix codespell typo in RDMCommand
DaAwesomeP Apr 30, 2023
b6900db
Merge pull request #1857 from DaAwesomeP/DaAwesomeP-fix-codespell-typo2
peternewman May 1, 2023
97d52b4
initial distcheck
DaAwesomeP Mar 6, 2023
1dfd6b8
initial distcheck typo
DaAwesomeP Mar 6, 2023
a17fe96
initial distcheck typo again
DaAwesomeP Mar 6, 2023
e7808b4
print configure command, install javacc
DaAwesomeP Mar 6, 2023
e1b00bd
gh actions install jdk
DaAwesomeP Mar 6, 2023
4303b76
gh actions build install maven, clang and gcc, upload artifacts
DaAwesomeP Mar 6, 2023
cf64782
gh actions build install maven, clang and gcc, upload artifacts typo
DaAwesomeP Mar 6, 2023
8cdf02b
gh actions build install maven, clang and gcc, upload artifacts typo2
DaAwesomeP Mar 6, 2023
e98c019
gh actions build install maven, clang and gcc, upload artifacts typo3
DaAwesomeP Mar 6, 2023
6f3fa1f
gh actions build remove colon from build id, install compilers
DaAwesomeP Mar 6, 2023
a42d0a7
gh actions build fix cxx compiler, name upload steps
DaAwesomeP Mar 6, 2023
975d65e
gh actions build fix compiler env vars
DaAwesomeP Mar 6, 2023
5f92fdf
gh actions build distcheck verify trees
DaAwesomeP Mar 6, 2023
f90e8f2
gh actions build add job timeout time
DaAwesomeP Mar 7, 2023
30dcc16
try ubuntu-20.04
DaAwesomeP Mar 12, 2023
3dbf9ec
gh actions build make check instead of distcheck
DaAwesomeP Apr 30, 2023
32e8ac2
gh actions build check but without usbdmx
DaAwesomeP Apr 30, 2023
7d33bfe
gh actions build check but without usbpro
DaAwesomeP Apr 30, 2023
49fb974
gh actions build check disable ja-rule too in order to disable usbdmx
DaAwesomeP Apr 30, 2023
811f584
gh actions build check disable usbpro again
DaAwesomeP Apr 30, 2023
53ab713
gh actions build check put back usbdmx, usbpro, and ja-rule but no pa…
DaAwesomeP Apr 30, 2023
e4d2326
gh actions build check run distcheck too now
DaAwesomeP Apr 30, 2023
a553292
gh actions build check run distcheck too now typo
DaAwesomeP Apr 30, 2023
ee0091b
gh actions build check update step and file naming
DaAwesomeP Apr 30, 2023
7a0f779
gh actions build check cannot run as root for CredentialsTest
DaAwesomeP Apr 30, 2023
c04291e
gh actions build check create new user to run as like with Debian build
DaAwesomeP Apr 30, 2023
81e8d27
gh actions build check new user install sudo, add comment for why
DaAwesomeP Apr 30, 2023
e8de4c8
gh actions build check container in matrix, only verify trees in dist…
DaAwesomeP Apr 30, 2023
e806852
gh actions build check separate args for check
DaAwesomeP May 1, 2023
28643db
gh actions build check skip verify trees for check
DaAwesomeP May 1, 2023
28d1731
gh actions build check skip verify trees for check typo
DaAwesomeP May 1, 2023
f2a4eb0
gh actions build move verify trees to separate job
DaAwesomeP May 1, 2023
1758910
gh actions check only once for coverage (no difference with gcc vs. c…
DaAwesomeP May 1, 2023
784d9eb
gh actions check only once for coverage (no difference with gcc vs. c…
DaAwesomeP May 1, 2023
90871c7
gh actions build verify trees extract underlying job
DaAwesomeP May 1, 2023
f067048
gh actions build verify trees problem matcher, smoother artifact extr…
DaAwesomeP May 1, 2023
73cbebb
gh actions build coveralls step name typo
DaAwesomeP May 1, 2023
29f667d
gh actions build coveralls requires curl
DaAwesomeP May 1, 2023
33721be
gh actions build coveralls run gcov, separate job
DaAwesomeP May 1, 2023
4fc8411
gh actions build latest gcovr, use coveralls format, upload all forma…
DaAwesomeP May 1, 2023
eb2adb4
gh actions build gcov-10 correct package
DaAwesomeP May 1, 2023
f70faa7
gh actions build coverage requires libcppunit
DaAwesomeP May 1, 2023
4f0dbac
github actions build move coverage to makefile
DaAwesomeP May 1, 2023
6e1bbca
github actions build do not upload dist for non-dist tasks
DaAwesomeP May 1, 2023
780e80f
github actions build do not upload dist for non-dist tasks typo
DaAwesomeP May 1, 2023
a8878cf
github actions build coveralls use gcov
DaAwesomeP May 1, 2023
f9c2175
github actions build coverage separate folder, try coverallswith xml
DaAwesomeP May 1, 2023
6f61349
github actions build coveralls cobertura xml
DaAwesomeP May 1, 2023
8534283
github actions build name dist artifact as dist
DaAwesomeP May 1, 2023
5111f93
gh actions build coveralls coverage fix commented out coveralls forma…
DaAwesomeP May 2, 2023
56e0025
gh actions build different format for matrices
DaAwesomeP May 2, 2023
3683471
gh actions build always succeed verify trees and disable problem matc…
DaAwesomeP May 2, 2023
1b20510
github actions build coverage task require gcov enabled, build when r…
DaAwesomeP May 4, 2023
17666a5
github actions build coverage task build all and checks but do not check
DaAwesomeP May 4, 2023
d4b19a7
github actions build coverage steps for coverage task
DaAwesomeP May 4, 2023
d9c8382
Update .github/workflows/build.yaml TODO Perry
DaAwesomeP Jun 13, 2023
8eebac0
github actions build move multicore count limit
DaAwesomeP Jun 13, 2023
771604d
github actions build and lint fix python3 venv debian
DaAwesomeP Jun 13, 2023
d172290
github actions build and lint fix python3 venv also use system packages
DaAwesomeP Jun 13, 2023
f74f6b4
github actions build python3 venv PATH in builduser
DaAwesomeP Jun 13, 2023
67fd34e
github actions build revert to Debian 11 now due to OOM issue with CI…
DaAwesomeP Jun 13, 2023
57b9d30
github actions build literal j1
DaAwesomeP Jun 13, 2023
38c3091
github actions build debian 12 stable
DaAwesomeP Jun 13, 2023
fd4a3da
github actions build ubuntu latest
DaAwesomeP Jun 13, 2023
b8d4879
github actions build fix num cpu cores
DaAwesomeP Jun 13, 2023
ad508e5
github actions build verify trees todo Perry
DaAwesomeP Jun 18, 2023
175ea59
Merge pull request #1836 from DaAwesomeP/DaAwesomeP-GitHubActionsMake…
peternewman Jun 18, 2023
7d344e0
update README build badge, replace some references to Travis with GitHub
DaAwesomeP Jun 18, 2023
abffaa1
github actions weblint
DaAwesomeP Jun 18, 2023
694de97
github actions weblint install curl
DaAwesomeP Jun 18, 2023
fff3a85
github actions weblint create package-lock.json
DaAwesomeP Jun 18, 2023
1562f33
github actions weblint job step names
DaAwesomeP Jun 18, 2023
2554fda
github actions weblint use setup-node
DaAwesomeP Jun 19, 2023
8991ca9
github actions weblint cache package-lock
DaAwesomeP Jun 19, 2023
067ec3d
github actions remove python2
DaAwesomeP Jun 19, 2023
aa6d62f
github actions weblint no container
DaAwesomeP Jun 19, 2023
b11591a
github actions weblint npm dependencies step name
DaAwesomeP Jun 19, 2023
6ca511f
github actions debian add trixie (new testing)
DaAwesomeP Jun 19, 2023
43e7654
Merge pull request #1863 from DaAwesomeP/DaAwesomeP-GitHubActionsWeblint
peternewman Jun 21, 2023
0e8eb89
Merge branch '0.10' into DaAwesomeP-GitHubActionsDebianBuildsTrixie
peternewman Jun 21, 2023
4520224
Merge branch '0.10' into DaAwesomeP-GitHubActionsRemovePython2
peternewman Jun 21, 2023
447f90a
Merge pull request #1865 from DaAwesomeP/DaAwesomeP-GitHubActionsRemo…
peternewman Jun 21, 2023
c3d6102
Merge branch '0.10' into DaAwesomeP-GitHubActionsDebianBuildsTrixie
DaAwesomeP Jun 21, 2023
4e0ad13
Merge pull request #1866 from DaAwesomeP/DaAwesomeP-GitHubActionsDebi…
peternewman Jun 21, 2023
6e79847
Merge branch '0.10' into DaAwesomeP-update-readme-status-badge
DaAwesomeP Jun 22, 2023
d4cb022
CONTRIBUTING GitHub CI to GitHub Actions
DaAwesomeP Jun 22, 2023
75fe9d0
README.developer GitHub CI to GitHub Actions
DaAwesomeP Jun 22, 2023
a2847dd
README add gh actions lint badge
DaAwesomeP Jun 22, 2023
e60fd25
Update README link badges to specific builds, update coveralls badge…
DaAwesomeP Jun 22, 2023
a9e7367
Merge pull request #1861 from DaAwesomeP/DaAwesomeP-update-readme-sta…
peternewman Jun 22, 2023
1a4b0d3
codespell ignore package lock
DaAwesomeP Jun 22, 2023
8e8cf96
Merge pull request #1869 from DaAwesomeP/DaAwesomeP-CodespellIgnorePa…
peternewman Jun 22, 2023
d4414fe
Fix protoc version checking, since v20.x
peternewman Jul 7, 2023
546d9ee
Protoc check - correctly match multi-digit major versions
peternewman Jul 7, 2023
7e8325f
fix codespell typos
DaAwesomeP Jul 11, 2023
6c39ef9
Merge pull request #1877 from DaAwesomeP/DaAwesomeP-fix-codespell-typo3
peternewman Jul 11, 2023
35c035e
Merge branch '0.10' into 0.10-c11-compat
peternewman Jul 11, 2023
7e79607
Fix distcheck configure args
peternewman Jul 18, 2023
38bd9de
fix ci java build using correct autotools env var (closes #1883)
DaAwesomeP Jul 26, 2023
b153941
fix codespell typos
DaAwesomeP Jul 27, 2023
514b05a
github actions build remove redundant condfigure flags
DaAwesomeP Jul 27, 2023
50de3e8
github actions build disable java for now
DaAwesomeP Jul 27, 2023
99c4a93
Merge pull request #1886 from DaAwesomeP/DaAwesomeP-fix-codespell-typo4
peternewman Jul 27, 2023
64d3840
Merge branch '0.10' into daawesomep-peternewman-0.10-fix-distcheck-co…
DaAwesomeP Jul 27, 2023
9aceea7
Merge pull request #1885 from DaAwesomeP/daawesomep-peternewman-0.10-…
peternewman Aug 9, 2023
5198188
Fix another minor typo
peternewman Aug 9, 2023
2f8ea5f
Fix some more typos Codespell found
peternewman Sep 19, 2023
cf90923
Merge pull request #1902 from peternewman/0.10-clang-latest
peternewman Sep 19, 2023
155d539
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
09e61ca
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Sep 20, 2023
aa35b87
Merge pull request #1905 from peternewman/0.10-clang-latest
peternewman Sep 20, 2023
af3a814
fix codespell typo
DaAwesomeP Oct 10, 2023
3b18f4e
fix flake8 errors
DaAwesomeP Oct 10, 2023
0a5c7ce
Merge pull request #1910 from DaAwesomeP/DaAwesomeP-fix-codespell-typo5
peternewman Oct 11, 2023
3ad7d96
Merge branch '0.10' into DaAwesomeP-fix-flake8-error
DaAwesomeP Oct 11, 2023
f3074fe
Merge pull request #1911 from DaAwesomeP/DaAwesomeP-fix-flake8-error
peternewman Oct 23, 2023
27b40d2
Fix a typo
peternewman Oct 28, 2023
8142298
Merge pull request #1918 from peternewman/0.10-clang-latest
peternewman Oct 28, 2023
0270390
Merge branch '0.10' into 0.10-c11-compat
peternewman Dec 10, 2023
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
27 changes: 21 additions & 6 deletions .codespellignore → .codespellignorelines
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
* Renamed protocol convertor(sic) to protocol converter in the RDM code (C++
* Renamed valiator(sic) to validator, incomming(sic) to incoming, mimimun(sic)
to minimum and overiding(sic) to overriding, all of which may or may not
* Renamed RESONSE_INVALID_DESTINATION(sic) to RESPONSE_INVALID_DESTINATION in
* Rename CircularDepdendancyException(sic) to CircularDependencyException in
* Rename AppendMultipler(sic) to AppendMultiplier in the RDM messaging code
/^(?:([0-9]{1,3})(?:\s(THRU)\s(?:([0-9]{1,3}))?)?(?:\s(@)\s(?:([0-9]{1,3}|FULL))?)?)/;
* channel_range ::= "ALL" | "*" | channel "THRU" channel | channel > channel
/(?:([0-9]{1,3})(?:\s+THRU\s+([0-9]{0,3}))?)\s+@\s+([0-9]{0,3})$/);
/(?:([0-9]{1,3})(?:\s+THRU\s+([0-9]{0,3}))?)(?:\s+@\s+([0-9]{0,3}))?$/);
str = str.replace('>', 'THRU');
' THRU ' + ola.common.DmxConstants.MAX_CHANNEL_NUMBER);
' THRU ' + ola.common.DmxConstants.MAX_CHANNEL_NUMBER);
// If it's the T or > keys, autocomplete 'THRU'
case 'U': // THRU
var values = ['7', '8', '9', ' THRU ', '4', '5', '6', ' @ ', '1', '2', '3',
Expand Down Expand Up @@ -115,9 +117,6 @@ class AsyncronousLibUsbAdaptor : public BaseLibUsbAdaptor {
OLA_ASSERT_EQ(expected, JsonWriter::AsString(uint_value));
* Test the uint item
" \"type\": \"uint\",\n"
" \"type\": \"uint\",\n"
" \"type\": \"uint\",\n"
" \"type\": \"uint\",\n"
std::map<std::string, UIntMap*> m_uint_map_variables;
if (message.uint_offset < MAX_UINT_FIELDS) {
message.uint16_fields[message.uint_offset++] = field->Value();
Expand All @@ -128,10 +127,8 @@ class AsyncronousLibUsbAdaptor : public BaseLibUsbAdaptor {
status_message() : uint_offset(0), int_offset(0), status_type(0),
std::string Type() const { return "uint"; }
if (items[i]['type'] == 'uint') {
if (items[i]['type'] == 'uint') {
if (type == 'string' || type == 'uint' || type == 'hidden') {
const char RDMHTTPModule::GENERIC_UINT_FIELD[] = "int";
section.AddItem(new HiddenItem("1", GENERIC_UINT_FIELD));
section.AddItem(new HiddenItem("1", GENERIC_UINT_FIELD));
SelectItem *item = new SelectItem("Personality", GENERIC_UINT_FIELD);
string personality_str = request->GetParameter(GENERIC_UINT_FIELD);
Expand Down Expand Up @@ -182,3 +179,21 @@ function ok(a,b){for(var c=a.wa[b].data.items,d=c.length,g=N(a.wa[b].id),h="",i=
import java.nio.ByteOrder;
byte[] header = ByteBuffer.allocate(4).order(ByteOrder.nativeOrder()).putInt(headerContent).array();
int headerValue = ByteBuffer.wrap(header).order(ByteOrder.nativeOrder()).getInt();
# This is a very bodgy workaround to the fact that the pip install of the archive doesn't seem to work properly now on Travis
"uest\032\036.ola.rpc.STREAMING_NO_RESPONSEB\006\200\001"
s1 = "one\"two\\three/four\bfive\fsix\nseven\reight\tnine";
string("one\\\"two\\\\three\\/four\\bfive\\fsix\\nseven\\reight\\tnine"),
s1 = "one\"two\\three/four\bfive\fsix\nseven\reight\tnine";
string("one\\\"two\\\\three\\/four\\bfive\\fsix\\nseven\\reight\\tnine"),
self.assertEqual(rtf._EscapeData(u'caf\xe9'), "caf\\xe9")
self.assertEqual('%s' % rtf._EscapeData(u'caf\xe9'), "caf\\xe9")
self.assertEqual('%s' % rtf._EscapeData(['caf\xe9']), "['caf\\\\xe9']")
self.assertEqual('%s' % rtf._EscapeData({"a": "caf\xe9"}),
"{'a': 'caf\\\\xe9'}")
# self.assertEqual('%s' % rtf._EscapeData({"caf\xe9": "bar"}),
# "{'caf\xe9': 'bar'}")
self.assertEqual('caf\\xe9', StringEscape(u'caf\xe9'))
self.assertEqual('caf\\xe9', ("%s" % StringEscape(u'caf\xe9')))
"forin": true,
dcmd mv ../*ges built/
run: autopkgtest --output-dir=test-output built/*ges -- null
5 changes: 5 additions & 0 deletions .codespellignorewords
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
acn
ACN
inflight
thead
wronly
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-line-length = 80
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,*_pb2.py
ignore = E111,E114,E121,E127,E129,W504
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
version: 2

updates:
# Configure check for outdated GitHub Actions actions in workflows.
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
- package-ecosystem: github-actions
directory: / # Check the repository's workflows under /.github/workflows/
schedule:
interval: daily
15 changes: 15 additions & 0 deletions .github/problem-matcher-build-verify-trees.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"problemMatcher": [
{
"owner": "build-verify-trees",
"severity": "error",
"pattern": [
{
"regexp": "^(Missing from tarball)(\\s+)(.+)$",
"message": 1,
"file": 3
}
]
}
]
}
16 changes: 16 additions & 0 deletions .github/problem-matcher-lint-check-licences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "lint-check-licences",
"pattern": [
{
"regexp": "^(notice|error)(:(file|dir):([^:]+)(:lines? (\\d+)(-(\\d+))?)?)?: (.+)$",
"severity": 1,
"file": 4,
"line": 6,
"message": 9
}
]
}
]
}
17 changes: 17 additions & 0 deletions .github/problem-matcher-lint-cpplint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "lint-cpplint",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s+((.+)\\s+\\[(.*)\\]\\s\\[(.*)\\])$",
"file": 1,
"line": 2,
"message": 3,
"code": 5
}
]
}
]
}
16 changes: 16 additions & 0 deletions .github/problem-matcher-lint-generic-nolints.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "lint-generic-nolints",
"pattern": [
{
"regexp": "^(notice|error)(:(file|dir):([^:]+)(:lines? (\\d+)(-(\\d+))?)?)?: (.+)$",
"severity": 1,
"file": 4,
"line": 6,
"message": 9
}
]
}
]
}
15 changes: 15 additions & 0 deletions .github/problem-matcher-lint-spellintian.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"problemMatcher": [
{
"owner": "lint-spellintian",
"severity": "warning",
"pattern": [
{
"regexp": "^([^:]+):(\\s+)(.+)$",
"file": 1,
"message": 3
}
]
}
]
}
200 changes: 200 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
name: build
on: [push, pull_request]
jobs:
build:
name: "${{ matrix.id }}"
runs-on: ubuntu-latest
container: ${{ matrix.container }}
timeout-minutes: 360
strategy:
fail-fast: false
matrix:
include:
- id: "coverage-debian-stable-amd64-gcc"
task: "coverage"
configure-args: "--enable-ja-rule --enable-e133 --enable-unittests --enable-gcov"
# TODO(Perry): Fix Debian 12 OOM issue on GitHub Actions
container: "debian:stable"
compiler:
CC: "/usr/bin/gcc"
CXX: "/usr/bin/g++"
pkg: "gcc g++"
- id: "distcheck-debian-stable-amd64-gcc"
task: "distcheck"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests"
# TODO(Perry): Fix Debian 12 OOM issue on GitHub Actions
container: "debian:stable"
compiler:
CC: "/usr/bin/gcc"
CXX: "/usr/bin/g++"
pkg: "gcc g++"
- id: "distcheck-debian-stable-amd64-clang"
task: "distcheck"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests"
# TODO(Perry): Fix Debian 12 OOM issue on GitHub Actions
container: "debian:stable"
compiler:
CC: "/usr/bin/clang"
CXX: "/usr/bin/clang++"
pkg: "clang"
env:
CC: "${{ matrix.compiler.CC }}"
CXX: "${{ matrix.compiler.CXX }}"
steps:
- name: Get number of CPU cores
id: num-cpu-cores
# TODO(Perry): Parallelization causes GH Actions to hang -j${{ steps.num-cpu-cores.outputs.NUM_CPU_CORES }}
# run: echo "NUM_CPU_CORES=$(grep -c processor /proc/cpuinfo)" >> $GITHUB_OUTPUT
run: echo "NUM_CPU_CORES=1" >> $GITHUB_OUTPUT
- name: Update package database
run: apt-get update -y
# See comments beginning at
# https://github.com/actions/runner/issues/763#issuecomment-1435474884
# Without Git, actions/checkout@v4 will resort to REST and will not
# create a .git folder or .git.config. The Problem Matcher looks for
# .git/config to find where the root of the repo is, so it must be
# present.
- name: Install Git
run: apt-get -y install git
- uses: actions/checkout@v4
- name: Install build tools
shell: bash
run: |
apt-get -y install adduser sudo pkg-config libtool autoconf \
automake g++ bison flex make bash-completion dh-autoreconf \
debhelper devscripts wget python3-full python3-pip
- name: Setup Python venv
shell: bash
run: |
python3 -m venv --system-site-packages ../venv
source ../venv/bin/activate
echo "PATH=$PATH" >> $GITHUB_ENV
- name: Install Python build tools
run: python3 -m pip install --no-input gcovr
- name: Install build dependencies
shell: bash
run: |
apt-get -y install libcppunit-dev uuid-dev libncurses5-dev \
libmicrohttpd-dev protobuf-compiler python3-protobuf \
libprotobuf-dev libprotoc-dev zlib1g-dev libftdi-dev \
libusb-1.0-0-dev liblo-dev libavahi-client-dev python3-numpy \
default-jdk-headless maven
- name: Install compiler
shell: bash
run: apt-get -y install ${{ matrix.compiler.pkg }}
- name: Set up build user # CredentialsTest cannot run as root
run: |
adduser --disabled-password --gecos "" builduser
chown -R builduser:builduser .
chown builduser:builduser ..
- name: Autoreconf
run: sudo --preserve-env -u builduser env "PATH=$PATH" autoreconf -i
- name: Set configure arguments
# Env var name DISTCHECK_CONFIGURE_FLAGS must be used, see #1881 and #1883
run: |
echo "DISTCHECK_CONFIGURE_FLAGS=${{ matrix.configure-args }}" >> $GITHUB_ENV
- name: Set additional Linux configure arguments
if: runner.os == 'Linux'
# Silence all deprecated declarations on Linux due to auto_ptr making the build log too long
run: |
echo "DISTCHECK_CONFIGURE_FLAGS=$DISTCHECK_CONFIGURE_FLAGS CPPFLAGS=-Wno-deprecated-declarations" >> $GITHUB_ENV
- name: Print configure command
run: echo "./configure $DISTCHECK_CONFIGURE_FLAGS"
- name: Configure
run: sudo --preserve-env -u builduser env "PATH=$PATH" ./configure $DISTCHECK_CONFIGURE_FLAGS
- name: ${{ matrix.task }}
run: sudo --preserve-env -u builduser env "PATH=$PATH" make ${{ matrix.task }} -j${{ steps.num-cpu-cores.outputs.NUM_CPU_CORES }} VERBOSE=1
- name: Display structure of the built files
if: always() && env.ACTIONS_STEP_DEBUG == 'true'
run: ls -alR
- name: Archive artifacts to speed up slow GH Actions upload/download
if: always()
shell: bash
# If the file does not exist when tar excludes it, then it will not
# actually exclude it, so it must first be touched
run: |
touch ola-${{ matrix.id }}-source-tree.tar.gz
tar --exclude=ola-${{ matrix.id }}-source-tree.tar.gz -cvzf ola-${{ matrix.id }}-source-tree.tar.gz .
- name: SHA256 artifact archives
if: always()
run: sha256sum ola-*.tar.gz
- name: Upload source tree artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: ola-${{ matrix.id }}-source-tree
path: ola-${{ matrix.id }}-source-tree.tar.gz
- name: Upload built artifact
if: matrix.task == 'distcheck' || matrix.task == 'dist'
uses: actions/upload-artifact@v3
with:
name: ola-${{ matrix.id }}-dist
path: |
ola-*.tar.gz
!ola-${{ matrix.id }}-source-tree.tar.gz
- name: Install coverage tools
if: matrix.task == 'coverage'
run: apt-get -y install curl
- name: Upload coverage to Coveralls
if: matrix.task == 'coverage'
uses: coverallsapp/github-action@v2
with:
# Coveralls GitHub action does not support its own format
# see: https://github.com/coverallsapp/github-action/issues/104
# file: coverage/coverage.coveralls.json
file: coverage/coverage.cobertura.xml
format: cobertura
flag-name: ${{ matrix.id }}
- name: Upload coverage artifacts
if: always() && matrix.task == 'coverage'
uses: actions/upload-artifact@v3
with:
name: ola-${{ matrix.id }}-coverage
path: coverage/
verify-trees:
name: 'Verify trees for ${{ matrix.id }}'
needs: build
if: "always()" # Run if some builds fail but ensure they all complete first
container: debian:stable
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- id: "distcheck-debian-stable-amd64-gcc"
- id: "distcheck-debian-stable-amd64-clang"
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
with:
name: ola-${{ matrix.id }}-source-tree
path: .
- name: SHA256 artifact archive
run: sha256sum ola-${{ matrix.id }}-source-tree.tar.gz
- name: Unarchive artifacts and delete archive
shell: bash
run: |
tar -xvzf ola-${{ matrix.id }}-source-tree.tar.gz .
rm ola-${{ matrix.id }}-source-tree.tar.gz
- name: Display structure of extracted files
if: env.ACTIONS_STEP_DEBUG == 'true'
run: ls -alR
- name: Update package database
run: apt-get update -y
- name: Install Python
run: apt-get -y install python3 python-is-python3
# TODO(Perry): Disable problem matcher for now until verify trees is fixed
# - name: Enable Problem Matcher for GitHub annotations
# run: echo "::add-matcher::.github/problem-matcher-build-verify-trees.json"
- name: Find dist build tarball
run: |
echo "GH_OLA_VERIFY_TREES_TARBALL=$(ls -t --time=birth ola*.tar.gz| head -1)" >> $GITHUB_ENV
- name: Print dist build tarball name
run: echo "$GH_OLA_VERIFY_TREES_TARBALL"
- name: Extract dist build
run: tar -xvzf $GH_OLA_VERIFY_TREES_TARBALL
- name: Verify trees
shell: bash
# TODO(Perry): Always succeed for now until verify trees is fixed
# run: ./scripts/verify_trees.py ./ $(echo $GH_OLA_VERIFY_TREES_TARBALL | sed 's/.tar.gz$//')
run: "./scripts/verify_trees.py ./ $(echo $GH_OLA_VERIFY_TREES_TARBALL | sed 's/.tar.gz$//') || true"
Loading