Skip to content

Commit 1548ff5

Browse files
committed
Merge branch 'e1.20-2025' of https://github.com/peternewman/ola into e1.20-2025
2 parents 119fcc2 + 2e247b9 commit 1548ff5

20 files changed

Lines changed: 60 additions & 16 deletions

.codespellignorelines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const uint8_t BaseRobeWidget::SOM;
6262
/^(?:([0-9]{1,3})(?:\s(THRU)\s(?:([0-9]{1,3}))?)?(?:\s(@)\s(?:([0-9]{1,3}|FULL))?)?)/;
6363
$scope.input(' THRU ');
6464
manufacturer_name: "ALS Stanislaw Binkiewicz"
65-
manufacturer_name: "Guangzhou Litewise Lighting Equipments Co., Ltd. dba \"EK Lights\""
65+
manufacturer_name: "EK INC (formerly Guangzhou Litewise Lighting Equipments Co., Ltd.)"
6666
manufacturer_name: "Guangzhou VAS Lighting Co., Ltd."
6767
manufacturer_name: "ARRI -- Arnold & Richter Cine Technik GmbH & Co. Betriebs KG"
6868
manufacturer_name: "MEDIAM Ltd. (Modus brand)"

.github/workflows/build.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: build
22
on: [push, pull_request]
3+
4+
permissions:
5+
contents: read
6+
37
jobs:
48
build:
59
name: "${{ matrix.id }}"
@@ -57,6 +61,8 @@ jobs:
5761
- name: Install Git
5862
run: apt-get -y install git
5963
- uses: actions/checkout@v4
64+
with:
65+
persist-credentials: false
6066
- name: Install build tools
6167
shell: bash
6268
run: |
@@ -114,7 +120,8 @@ jobs:
114120
# actually exclude it, so it must first be touched
115121
run: |
116122
touch ola-${{ matrix.id }}-source-tree.tar.gz
117-
tar --exclude=ola-${{ matrix.id }}-source-tree.tar.gz -cvzf ola-${{ matrix.id }}-source-tree.tar.gz .
123+
touch .git
124+
tar --exclude=ola-${{ matrix.id }}-source-tree.tar.gz --exclude=.git -cvzf ola-${{ matrix.id }}-source-tree.tar.gz .
118125
- name: SHA256 artifact archives
119126
if: always()
120127
run: sha256sum ola-*.tar.gz

.github/workflows/debian.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
name: debian
55
on: [push, pull_request]
6+
7+
permissions:
8+
contents: read
9+
610
jobs:
711
debian-build:
812
name: 'Debian Build ${{ matrix.image_tag }} ${{ matrix.architecture }}'
@@ -28,6 +32,8 @@ jobs:
2832
- name: Install Git
2933
run: apt-get -y install git
3034
- uses: actions/checkout@v4
35+
with:
36+
persist-credentials: false
3137
- name: Install build tools
3238
run: apt-get -y install devscripts adduser fakeroot sudo
3339
- name: Install build dependencies
@@ -70,7 +76,9 @@ jobs:
7076
architecture: [amd64]
7177
container: debian:${{ matrix.image_tag }}
7278
steps:
73-
- uses: actions/checkout@master
79+
- uses: actions/checkout@v4
80+
with:
81+
persist-credentials: false
7482
- name: Download build artifact
7583
uses: actions/download-artifact@v4
7684
with:

.github/workflows/isort.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: isort
22

3-
on:
4-
- push
5-
- pull_request
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read
67

78
jobs:
89
isort:
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
1215
- uses: isort/isort-action@v1

.github/workflows/lint.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: lint
22
on: [push, pull_request]
3+
4+
permissions:
5+
contents: read
6+
37
jobs:
48
build:
59
name: Build for Lint Tasks
@@ -17,6 +21,8 @@ jobs:
1721
- name: Install Git
1822
run: apt-get -y install git
1923
- uses: actions/checkout@v4
24+
with:
25+
persist-credentials: false
2026
- name: Install build tools
2127
shell: bash
2228
run: |
@@ -53,7 +59,8 @@ jobs:
5359
# actually exclude it, so it must first be touched
5460
run: |
5561
touch ola-debian-stable-built-source-tree.tar.gz
56-
tar --exclude=ola-debian-stable-built-source-tree.tar.gz -cvzf ola-debian-stable-built-source-tree.tar.gz .
62+
touch .git
63+
tar --exclude=ola-debian-stable-built-source-tree.tar.gz --exclude=.git -cvzf ola-debian-stable-built-source-tree.tar.gz .
5764
- name: SHA256 artifact archive
5865
run: sha256sum ola-debian-stable-built-source-tree.tar.gz
5966
- uses: actions/upload-artifact@v4
@@ -261,6 +268,8 @@ jobs:
261268
runs-on: ubuntu-latest
262269
steps:
263270
- uses: actions/checkout@v4
271+
with:
272+
persist-credentials: false
264273
- name: Setup Node.js v18
265274
uses: actions/setup-node@v4
266275
with:

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ else
247247
endif
248248

249249
# cpplint linter
250-
CPP_LINT_FILTER = "-legal/copyright,-readability/streams,-runtime/arrays"
250+
CPP_LINT_FILTER = "-legal/copyright,-readability/streams,-runtime/arrays,-whitespace/indent_namespace"
251251
CPP_LINT_FILES = $(shell find . \( -name "*.h" -or -name "*.cpp" \) -and ! \( \
252252
-wholename "./common/protocol/Ola.pb.*" -or \
253253
-wholename "./common/rpc/Rpc.pb.*" -or \

common/io/SelectServerTest.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ class SelectServerTest: public CppUnit::TestFixture {
122122

123123
void Terminate() {
124124
OLA_DEBUG << "Terminate called";
125-
if (m_ss) { m_ss->Terminate(); }
125+
if (m_ss) {
126+
m_ss->Terminate();
127+
}
126128
}
127129

128130
void SingleIncrementTimeout() {
@@ -147,8 +149,9 @@ class SelectServerTest: public CppUnit::TestFixture {
147149
void NullHandler() {}
148150

149151
bool IncrementTimeout() {
150-
if (m_ss && m_ss->IsRunning())
152+
if (m_ss && m_ss->IsRunning()) {
151153
m_timeout_counter++;
154+
}
152155
return true;
153156
}
154157

common/rdm/RDMHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ string UnitToString(uint8_t unit) {
12231223
case UNITS_RPM:
12241224
return "RPM";
12251225
case UNITS_BYTE_PER_SECOND:
1226-
return "bps";
1226+
return "Bps";
12271227
default:
12281228
ostringstream str;
12291229
str << "Unknown, was " << static_cast<int>(unit);

common/testing/GenericTester.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <cppunit/CompilerOutputter.h>
2626
#include <cppunit/extensions/TestFactoryRegistry.h>
2727
#include <cppunit/ui/text/TestRunner.h>
28+
#include <iostream>
2829
#include <string>
2930

3031
#include "ola/base/Env.h"

doxygen/examples/callback_client_transmit.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include <ola/client/ClientWrapper.h>
2323
#include <ola/Callback.h>
2424

25+
#include <iostream>
26+
2527
using std::cout;
2628
using std::endl;
2729

0 commit comments

Comments
 (0)