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

E1.33 cherry pick third time lucky #1947

Merged
merged 33 commits into from
Mar 27, 2024

Conversation

peternewman
Copy link
Member

@peternewman peternewman commented Mar 22, 2024

But maybe not for you, apologies I probably pulled a bit too much into this sorry.

Let me know if it's too much and I'll rethink somehow...

More of #1841

(cherry picked from commit 32ecc52)
(cherry picked from commit c2126d1)
(cherry picked from commit 2a43710)
(cherry picked from commit f49c1f8)
Tests still required for these!

(cherry picked from commit 9fab749)
(cherry picked from commit 6d4d923)
(cherry picked from commit 81b8e38)
(cherry picked from commit b23bc6b)
@peternewman peternewman added this to the 0.11.0 milestone Mar 22, 2024
Copy link
Member

@kripton kripton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! See inline comments.
Keep 'em coming :)

include/ola/e133/E133Enums.h Outdated Show resolved Hide resolved
@@ -96,6 +96,11 @@ enum E133DisconnectStatusCode {
enum {
MAX_E133_STATUS_STRING_SIZE = 64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mh, you use single-element enums here and static const uint8_t in include/ola/rdm/RDMEnums.h (see MAX_RDM_DOMAIN_NAME_LENGTH). Is this on purpose or an inconsistency? Same for E133_VERSION below.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ask @nomis52 from 11 years ago! 😆
https://github.com/OpenLightingProject/ola/blame/f0b01b359b4bfc3e24eb0a7a2aa96028638128ef/include/ola/e133/E133Enums.h#L95

I just copied it for the version, but I guess we could theoretically support a few versions at the same time so maybe they should be an enum at least?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, if multiple values make sense, keep it as an enum. How about this MAX_STRING_SIZE?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely sure they do necessarily. I've kicked it down the road a bit and added a todo in #1841 anyway.

plugins/uartdmx/README.md Show resolved Hide resolved
plugins/kinet/README.md Show resolved Hide resolved
libs/acn/BrokerPDU.cpp Outdated Show resolved Hide resolved
libs/acn/LLRPProbeReplyInflator.h Show resolved Hide resolved
libs/acn/LLRPProbeRequestInflator.cpp Outdated Show resolved Hide resolved
libs/acn/LLRPProbeRequestInflator.h Outdated Show resolved Hide resolved
libs/acn/LLRPProbeRequestInflator.h Show resolved Hide resolved
libs/acn/RDMInflator.h Show resolved Hide resolved
@peternewman
Copy link
Member Author

I've pushed. Do you want to re-review or are you happy if I just merge @kripton ?

@kripton
Copy link
Member

kripton commented Mar 27, 2024

I've pushed. Do you want to re-review or are you happy if I just merge @kripton ?

You can merge 👍 . If I approve on the first review, it's just minor stuff that I trust people to fix (or at least triage) before they merge. If it something I want to check again, I finish the review with "Comment only, no approval" :)

@peternewman peternewman mentioned this pull request Mar 27, 2024
8 tasks
@peternewman
Copy link
Member Author

You can merge 👍 . If I approve on the first review, it's just minor stuff that I trust people to fix (or at least triage) before they merge.

Cool, I think I'll park a chunk of the more complex ones or those that require a bit more thought/clean-up into the main issue to try and avoid conflicts and tidying up multiple times as different bits are merged. I think we're only around 1/3 to 1/4 of the way through so far unfortunately.

If it something I want to check again, I finish the review with "Comment only, no approval" :)

Or maybe you could use one of the specific options GitHub offers, then it's not actually possible to merge until you get an approval? :)

Comment
Submit general feedback without explicit approval.
Approve
Submit feedback and approve merging these changes.
Request changes
Submit feedback that must be addressed before merging.

@peternewman
Copy link
Member Author

Force merging as the CI error is already covered in #1948 .

@peternewman peternewman merged commit a05acc2 into OpenLightingProject:master Mar 27, 2024
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants