-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Exclude 3rdparty directories from license header generation #14165
Conversation
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, although I think there should be no 3rd party code using our namespace (this should not be allowed), so this is maybe something to look at separately (I see that's the case for lametrictime).
@kaikreuzer - I can have a look at this also. I'm wondering though which namespace to use, since at some point this must have been changed to |
I faintly remember that I was involved in adding this code to the lametric binding, so I can dig for the reasons why it is like it is.
Definitely yes! This PR is not considered a temporary solution. |
@kaikreuzer - now looking into the last missing pieces of the puzzle, we also have this issue of two files with openHAB header living inside the 3rdparty directory. They were included in the search & replace, but won't be handled automatically by
Oh, and last thing: Now that we are already discussing license headers, can you have a look at #14134 (comment) and possible comment? 🙂 |
…14165) Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Did you find/remember the reason? 🙂 |
Haha, I said I "can" check, I didn't say I would do. 😉 |
I also tried to contact @syphr42 a while back regarding the sleepiq binding, which also happens to have a 3rd party library that I modified pretty extensively in my PR here. But I got no response. If it would be ok with @syphr42, I would be happy to move the sleepiq 3rdparty lib into the official openHAB source code for the sleepiq binding and make whatever mods are required to make it compliant. But in the absence of a response from @syphr42, what do we do? |
@kaikreuzer @mhilbush I would be happy to contribute the code under EPLv2. I had a lot of ambitions for those bindings early on, but then I stepped away from openHAB for a bit and when I tried to come back wasn't able to get the development environment working for the latest incarnation of openHAB. Eventually it fell off my radar again. Happy to help get this in shape to make it easier to maintain and sorry for not responding sooner! Let me know what you need from me. |
@syphr42 Thanks!! @kaikreuzer @jlaur I would be happy to rework the sleepiq binding to roll the sleepiq api 3rd party library into the official source code of the binding, and make the changes necessary to make the code compliant (I don't think there's much to do). If that's ok with you, I will mark my sleepiq PR as WIP until I complete that. Ok? |
@syphr42 Awesome, thank you so much! @jlaur I'll prepare a PR to adapt the lametrictime binding, so that we no longer need the 3rdparty source folder in there. |
FYI I've updated my PR for sleepiq to migrate all the 3rd party code into the official binding code. |
Done for LametricTime: #14425 |
…14165) Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
…14165) Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Related to #14154, see #14154 (comment)