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

[netatmo] Add support for the Presence camera events - Line-endings fixed #7908

Merged
merged 5 commits into from
Jun 13, 2020
Merged

[netatmo] Add support for the Presence camera events - Line-endings fixed #7908

merged 5 commits into from
Jun 13, 2020

Conversation

Novanic
Copy link
Contributor

@Novanic Novanic commented Jun 12, 2020

Just line-endings fixed (changed from CRLF to LF)

And fixed an incompatible API change. There was recently a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...

@TravisBuddy
Copy link

Travis tests have failed

Hey @Novanic,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

1 similar comment
@TravisBuddy
Copy link

Travis tests have failed

Hey @Novanic,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

…o-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...

Signed-off-by: Sven Strohschein <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @Novanic,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

1 similar comment
@TravisBuddy
Copy link

Travis tests were successful

Hey @Novanic,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Copy link
Contributor

@cpmeister cpmeister left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

This is urgent to commit because any PR build in the repo is now failing.

Does it mean the build of the binding could fail again in the future due to a change of API? Are we not depending on a particular version of this external code?

@Novanic
Copy link
Contributor Author

Novanic commented Jun 13, 2020

This is urgent to commit because any PR build in the repo is now failing.

Does it mean the build of the binding could fail again in the future due to a change of API? Are we not depending on a particular version of this external code?

Yes, at least when the change within netatmo-swagger-decl isn't downward compatible. But I hadn't expected that this will appear often because the project isn't very active and the Netatmo API isn't changed often too. But the situation is really bad, the build can break immediately dependent of another project which doesn't know / consider this project...

I think we should do one of the following options:

  1. depend on a specific version of the YAML file. This should be easy possible by changing the inputSpec-URL within the pom.xml. So it's under control when to switch to a newer version, the developer has to update the inputSpec-URL when an update should developed.

  2. The YAML file could committed within this project. So the dependency to the netatmo-swagger-decl is removed and the build is also running locally without network resources. I don't know if that would a problem with the "license" of the netatmo-swagger-decl project and it's more difficult to get updates from netatmo-swagger-decl.

I would prefer option 1. What do you think?

@Novanic
Copy link
Contributor Author

Novanic commented Jun 13, 2020

This is urgent to commit because any PR build in the repo is now failing.

Does it mean the build of the binding could fail again in the future due to a change of API? Are we not depending on a particular version of this external code?

I have now realized option 1 with this pull-request. The inputSpec points now to a concrete version of the swagger YAML so the build will not "randomly" break again in the future.

Please merge this pull-request soon to fix the build. Thank you and I'm sorry for the problems.

…build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @Novanic,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

1 similar comment
@TravisBuddy
Copy link

Travis tests were successful

Hey @Novanic,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM

@cpmeister cpmeister merged commit bab5d6f into openhab:2.5.x Jun 13, 2020
@cpmeister cpmeister added this to the 2.5.6 milestone Jun 13, 2020
knikhilwiz pushed a commit to knikhilwiz/openhab2-addons that referenced this pull request Jul 12, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
Signed-off-by: CSchlipp <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
…ixed (openhab#7908)

* Line-endings fixed (changed from CRLF to LF)
* Fixed an incompatible API change. There was a merge within the netatmo-swagger-decl project which introduced a new required boolean parameter. Actually this parameter isn't required, the default value is declared as "false" within the Netatmo API...
* inputSpec (swagger YAML) changed to a concrete fixed version, so the build isn't breaking again when an incompatible change is committed to the dependent netatmo-swagger-decl project...

Signed-off-by: Sven Strohschein <[email protected]>
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.

5 participants