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

[linktap] Initial contribution #17235

Merged
merged 47 commits into from
Sep 30, 2024
Merged

[linktap] Initial contribution #17235

merged 47 commits into from
Sep 30, 2024

Conversation

dag81
Copy link
Contributor

@dag81 dag81 commented Aug 11, 2024

[linkTap] Initial code commit.

@dag81 dag81 force-pushed the bindinngs/linkTap branch from 84f25c8 to 7777df1 Compare August 11, 2024 21:47
@lsiepel lsiepel added the new binding If someone has started to work on a binding. For a new binding PR. label Aug 11, 2024
@dag81 dag81 force-pushed the bindinngs/linkTap branch 2 times, most recently from 24e1a13 to e8799ee Compare August 11, 2024 22:06
@lsiepel
Copy link
Contributor

lsiepel commented Aug 11, 2024

Thank you for creating this PR to contribute this binding. As this is still a draft it won’t be reviewed yet, but I had a quick peek and would like to comment upfront.
To manage expectations; review capacity is somewhat limited so don’t expect an immediate full review. To speed up the process you can already perform a self-review by checking this list: https://github.com/openhab/openhab-addons/wiki/Review-Checklist
For example one of the improvements that should be made is to adhere to the naming convention lower-case-hyphen for channel id’s etc. For reference: https://www.openhab.org/docs/developer/guidelines.html#naming-convention

@dag81
Copy link
Contributor Author

dag81 commented Aug 11, 2024

Thank you for creating this PR to contribute this binding. As this is still a draft it won’t be reviewed yet, but I had a quick peek and would like to comment upfront. To manage expectations; review capacity is somewhat limited so don’t expect an immediate full review. To speed up the process you can already perform a self-review by checking this list: https://github.com/openhab/openhab-addons/wiki/Review-Checklist For example one of the improvements that should be made is to adhere to the naming convention lower-case-hyphen for channel id’s etc. For reference: https://www.openhab.org/docs/developer/guidelines.html#naming-convention

Thank you I'll work through it before changing to a non-draft PR to save any time wastage.

@dag81 dag81 force-pushed the bindinngs/linkTap branch 2 times, most recently from a3e33b3 to 8c3cc6c Compare August 11, 2024 23:03
[linkTap] Initial code commit.

Signed-off-by: dag81 <david.goodyear@gmail.com>
@dag81 dag81 force-pushed the bindinngs/linkTap branch from 8c3cc6c to 4e810ea Compare August 11, 2024 23:07
dag81 added 2 commits August 12, 2024 22:41
[linkTap] Initial code commit.

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] Initial code commit.

Signed-off-by: dag81 <david.goodyear@gmail.com>
@dag81 dag81 force-pushed the bindinngs/linkTap branch from 9298bbf to 1729cf3 Compare August 12, 2024 21:03
[linkTap] Initial code commit.

Signed-off-by: dag81 <david.goodyear@gmail.com>
@dag81 dag81 force-pushed the bindinngs/linkTap branch from 18bc9e5 to 727756f Compare August 13, 2024 13:43
@dag81 dag81 force-pushed the bindinngs/linkTap branch 5 times, most recently from b97f678 to 3079be4 Compare August 19, 2024 13:43
@lsiepel lsiepel changed the title [linkTap] Initial Code Commit [linktap] Initial contribution Aug 19, 2024
@dag81 dag81 force-pushed the bindinngs/linkTap branch 8 times, most recently from 3709a3f to b7c26bc Compare August 20, 2024 20:34
[linkTap] i18 http warning additions

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 http warning additions

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 http warning additions

Signed-off-by: dag81 <david.goodyear@gmail.com>
@lsiepel
Copy link
Contributor

lsiepel commented Sep 28, 2024

3 comments are left open. Otherwise LGTM

[linkTap] i18 wip upload

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 tns exception

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 again

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 cleanups

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] further i18n

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] i18 cleanups

Signed-off-by: dag81 <david.goodyear@gmail.com>
[linkTap] variable sortout

Signed-off-by: dag81 <david.goodyear@gmail.com>
@dag81
Copy link
Contributor Author

dag81 commented Sep 29, 2024

Hi @lsiepel, I think hopefully its ready for a final pass fingers crossed. I've been at it for a few hours so I can't spot where to change to awaiting to review - so sorry for the directed message. Hopefully it looks good now,

[linkTap] compiler import warn fixes

Signed-off-by: dag81 <david.goodyear@gmail.com>
@lsiepel
Copy link
Contributor

lsiepel commented Sep 29, 2024

Hi @lsiepel, I think hopefully its ready for a final pass fingers crossed. I've been at it for a few hours so I can't spot where to change to awaiting to review - so sorry for the directed message. Hopefully it looks good now,

One comment about the exception is still open. otherwise LGTM. Do you need some adidtional time to test before we merge?

[linkTap] generic exception addition

Signed-off-by: dag81 <david.goodyear@gmail.com>
@dag81
Copy link
Contributor Author

dag81 commented Sep 29, 2024

Hi @lsiepel, I think hopefully its ready for a final pass fingers crossed. I've been at it for a few hours so I can't spot where to change to awaiting to review - so sorry for the directed message. Hopefully it looks good now,

One comment about the exception is still open. otherwise LGTM. Do you need some adidtional time to test before we merge?

Hi @lsiepel I'm running the fully adjusted build through the different VM's and computers now, just in case. (Although I've been spot testing, I'll run it through the different scenarios one last time. If I don't reply by tomorrow say 24 hours tomorrow evening UK time, then it should be good to merge. (Sorry I didn't see it :( but glad you brought it to my attention).

@dag81
Copy link
Contributor Author

dag81 commented Sep 29, 2024

Hi @lsiepel, I think hopefully its ready for a final pass fingers crossed. I've been at it for a few hours so I can't spot where to change to awaiting to review - so sorry for the directed message. Hopefully it looks good now,

One comment about the exception is still open. otherwise LGTM. Do you need some adidtional time to test before we merge?

Hi @lsiepel I'm running the fully adjusted build through the different VM's and computers now, just in case. (Although I've been spot testing, I'll run it through the different scenarios one last time. If I don't reply by tomorrow say 24 hours tomorrow evening UK time, then it should be good to merge. (Sorry I didn't see it :( but glad you brought it to my attention).

It all looks good thanks @lsiepel please merge when you can. Thanks again for all the time, and time spent in regards to this and assistance as mentioned before.

@lsiepel lsiepel merged commit b11c751 into openhab:main Sep 30, 2024
5 checks passed
@lsiepel lsiepel added this to the 4.3 milestone Sep 30, 2024
@lsiepel
Copy link
Contributor

lsiepel commented Sep 30, 2024

Thanks, now this is merged, you could add your binding's logo to the openHAB website. See https://next.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website-and-the-ui

final long sysMillis = System.currentTimeMillis();
if (lastMdnsScanMillis + MIN_TIME_BETWEEN_MDNS_SCANS_MS < sysMillis) {
logger.debug("Requesting MDNS Scan");
discoverySrvReg.startScan(THING_TYPE_GATEWAY, null);
Copy link
Contributor

Choose a reason for hiding this comment

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

This line is making CI fail, see for example https://ci.openhab.org/job/openHAB-Addons/1530/org.openhab.addons.bundles$org.openhab.binding.linktap/console.

@openhab/add-ons-maintainers Can you please take care?

Copy link
Contributor

Choose a reason for hiding this comment

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

See #17493

@jlaur jlaur mentioned this pull request Oct 1, 2024
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* [linkTap] Initial Code Commit

[Signed-off-by: dag81 <david.goodyear@gmail.com>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
* [linkTap] Initial Code Commit

[Signed-off-by: dag81 <david.goodyear@gmail.com>
@jlaur
Copy link
Contributor

jlaur commented Nov 29, 2024

@dag81, @lsiepel - the sign-off here violated our policy regarding real name: https://www.openhab.org/docs/developer/contributing.html#sign-your-work

@dag81 - can you fix your sign-off for future PR's? Thanks.

@dag81
Copy link
Contributor Author

dag81 commented Nov 29, 2024

@dag81, @lsiepel - the sign-off here violated our policy regarding real name: https://www.openhab.org/docs/developer/contributing.html#sign-your-work

@dag81 - can you fix your sign-off for future PR's? Thanks.

Hi @jlaur,

You mean change it to:

[binding] XYZ

Signed-off-by: David Goodyear david.goodyear@gmail.com

Correct?

(I think I tried that and the DCO check failed which is why I switched to the one that worked historically - I can try the above again on the next push to the last open PR - to see if it passes). - I just added my name to the GitHub repo as David Goodyear - so that may have been what prevented it before? (I haven't looked at your GitHub action pipeline but that's my best guess where its cross checking against?)

@jlaur
Copy link
Contributor

jlaur commented Nov 29, 2024

You mean change it to:

[binding] XYZ

Signed-off-by: David Goodyear david.goodyear@gmail.com

Correct?

Yes, to be accurate:

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

I believe the DCO passes when the commit sign-off matches your GitHub account, so I'm not sure why you had a DCO failure, but we could look into that on your next PR. 🙂

@lsiepel
Copy link
Contributor

lsiepel commented Nov 29, 2024

Ah missed that one. We are working on another PR. So let’s see if we can fix the DCO there. @dag81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants