Skip to content

ola_rdm_get/set should only display actionable PIDs - #1647

Merged
peternewman merged 13 commits into
OpenLightingProject:masterfrom
danielskeenan:#1632
Aug 29, 2020
Merged

peternewman merged 13 commits into
OpenLightingProject:masterfrom
danielskeenan:#1632

Conversation

@danielskeenan

Copy link
Copy Markdown
Contributor

Fixes #1632

Side note - README.developer requires using C++03, but I've noticed #1640 exists. This change can be cleaned up a bit using C++11 features (i.e. lambdas) and I'd like to update if C++11 support has become A Thing.

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fixes #1632

Thanks for your first (hopefully of many) contributions. Sorry it's taken me a little while to review.

Side note - README.developer requires using C++03, but I've noticed #1640 exists. This change can be cleaned up a bit using C++11 features (i.e. lambdas) and I'd like to update if C++11 support has become A Thing.

Not immediately for a few reasons, but I'll comment more on the other issue instead shortly.

Could you also update the command help and the man page (in the man folder) adding a note that they're filtered, perhaps something like "display a list of PIDs for this command class", or something more user-friendly.

You may also want to add yourself to AUTHORS if you want some credit?

Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
@peternewman peternewman added this to the 0.11.0 milestone Jul 4, 2020

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
@danielskeenan
danielskeenan requested a review from peternewman July 4, 2020 15:42

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking good, just a few minor style tweaks if you wouldn't mind.

Comment thread common/rdm/PidStoreHelper.cpp Resolved
Comment thread common/rdm/PidStoreHelper.cpp Resolved
Comment thread include/ola/rdm/PidStoreHelper.h Resolved
Comment thread examples/ola-rdm.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
@danielskeenan
danielskeenan requested a review from peternewman July 6, 2020 12:58

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just a minor nit and some extra bits if you're feeling keen.

This is now ready for merging although is blocked behind #1639 and probably #1641 to fix a few CI bits.

Thanks very much for this!

Comment thread AUTHORS Outdated
Stefan Krüger, added APA102 support to the SPI Plugin
Tobi Schäfer, for the MacPort files
Tor Håkon Gjerde, added AVLdiy D512 support
Dan Keenan, various patches

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we're sorted by first name.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ooh we should fix this at some point somewhere!

Comment thread common/rdm/PidStoreHelper.cpp Resolved

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, just one little bit I missed before.

Comment thread common/rdm/PidStoreHelper.cpp Resolved
Comment thread common/rdm/PidStoreHelper.cpp Resolved
Comment thread examples/ola-rdm.cpp Resolved
Comment thread common/rdm/PidStore.cpp Resolved
@danielskeenan
danielskeenan requested a review from peternewman July 6, 2020 22:49

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great thanks, this is really ready to merge now @DragoonBoots !

@peternewman
peternewman merged commit 28fa304 into OpenLightingProject:master Aug 29, 2020
@peternewman

Copy link
Copy Markdown
Member

Thanks again @DragoonBoots . The other stuff finally got in so this could be merged.

@peternewman peternewman mentioned this pull request Jul 12, 2026
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.

ola_rdm_get/set --list-pids should only show PIDs you can get/set rather than all of them

2 participants