Skip to content

Conversation

@andrewfg
Copy link
Contributor

@andrewfg andrewfg commented Mar 23, 2025

Signed-off-by: Andrew Fiddian-Green software@whitebear.ch

Backport of: #18354

The Jar file for testing is here (but it requires the latest patch OH v4.3.4 or greater).

org.openhab.binding.tado-4.3.4-SNAPSHOT.zip

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg self-assigned this Mar 23, 2025
@andrewfg andrewfg requested a review from lsiepel March 23, 2025 13:48
@lsiepel
Copy link
Contributor

lsiepel commented Mar 23, 2025

When i build this locally i get a spotless issue. I also wonder if the header changes are going to be an issue.

Edit: labels are not needed. Only to the original PR i will add a patch label once succesfully patched.

@andrewfg andrewfg added enhancement An enhancement or new feature for an existing add-on rebuild Triggers Jenkins PR build backported A PR that has been cherry-picked to a patch release branch labels Mar 23, 2025
@lsiepel lsiepel removed rebuild Triggers Jenkins PR build backported A PR that has been cherry-picked to a patch release branch enhancement An enhancement or new feature for an existing add-on labels Mar 23, 2025
@andrewfg
Copy link
Contributor Author

When i build this locally i get a spotless issue.

Is it due to the copyright years 2025 vs 2024? => Which is the correct year for back ported code?

@lsiepel
Copy link
Contributor

lsiepel commented Mar 23, 2025

When i build this locally i get a spotless issue.

Is it due to the copyright years 2025 vs 2024? => Which is the correct year for back ported code?

No pom.xml Don't think the headers are an issue. as when performaing a regular backport they are also not an issue.
image

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg
Copy link
Contributor Author

Ok I did spotless on the pom (and changed the year anyway), so please try again.

@andrewfg andrewfg added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Mar 23, 2025
@andrewfg
Copy link
Contributor Author

maybe also an issue with the header comment notation /** vs. /* ??

@andrewfg
Copy link
Contributor Author

andrewfg commented Mar 23, 2025

@lsiepel the local build works now, so please try the CI build again..

EDIT: the CI build seems to be frozen Waiting for status to be reported .. and I don't know how to retrigger it.

@andrewfg andrewfg changed the title [tado] cherry pick [tado] OAuth RFC-8628 authentication work flow Mar 23, 2025
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Mar 23, 2025
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/tado-authentication/163276/2

@andrewfg
Copy link
Contributor Author

andrewfg commented Mar 23, 2025

@lsiepel do you have any idea how to force the CI build? I have tried everything. Someone had suggested to close and then immediately reopen the PR, but I am slightly reluctant. WDYT?

@lsiepel
Copy link
Contributor

lsiepel commented Mar 23, 2025

@lsiepel do you have any idea how to force the CI build? I have tried everything. Someone had suggested to close and then immediately reopen the PR, but I am slightly reluctant. WDYT?

@holgerfriedrich or @wborn both checks seem to be hanging, any thoughts?

@holgerfriedrich
Copy link
Member

@holgerfriedrich or @wborn both checks seem to be hanging, any thoughts?

I think it is not even started. Nothing listed in the Actions tab.
If I look at ci-build.yml, there seems not trigger for branches other than main.

Anyway, IMHO the 4.3.x branch would not pass the tests - as long as we do not date headers back to 2024 and start all newly added files with a ** header instead of *.

@andrewfg
Copy link
Contributor Author

as long as we do not date headers back to 2024 and start all newly added files with a ** header instead of *

I did all that. And it builds locally just fine. The "only" problem is that the CI build is not running, so we cannot "prove" that it builds on the cloud.

@holgerfriedrich
Copy link
Member

holgerfriedrich commented Mar 23, 2025

Yes, you did for your PR. But all the other PRs cherry-picked to 4.3.x do not pass those checks.
We typically just cherry-pick and push, without applying modifications.
So at least the style checks etc. typically fail.

I just compared #18354 to this PR, and besides the README there are no differences besides this one:
grafik

@andrewfg
Copy link
Contributor Author

besides the README there are no differences besides this one:

@holgerfriedrich I guess you figured it out already, but in case not, that change was due to a regression caused by the original PR, which therefore seemed sensible to also back port here.

@andrewfg
Copy link
Contributor Author

We typically just cherry-pick and push, without applying modifications.

@holgerfriedrich / @lsiepel just for the avoidance of doubt, I am assuming that one or other of you will do this push. Or do you need anything more from me?

Also I wonder if you can inform me where the snapshots of such pushes are located? In order to pre-test and confirm everything before the formal v4.3.4 patch will be released. (I see v5.x snapshots only on JFrog but I assume that v4.3.x are still being built and stored somewhere else .. or??)

@andrewfg andrewfg requested review from a team, holgerfriedrich and lsiepel March 25, 2025 13:09
@andrewfg
Copy link
Contributor Author

Just to confirm that Tado has definitely turned off their old authentication system, se we definitely need this backport asap.

@lsiepel lsiepel merged commit 6ddf51d into openhab:4.3.x Mar 25, 2025
@lsiepel lsiepel added this to the 5.0 milestone Mar 25, 2025
@andrewfg
Copy link
Contributor Author

Many thanks @lsiepel :)

@andrewfg
Copy link
Contributor Author

andrewfg commented Apr 4, 2025 via email

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.

4 participants