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

[neohub] NeoHub Binding #5952

Merged
merged 18 commits into from
Aug 20, 2019
Merged

[neohub] NeoHub Binding #5952

merged 18 commits into from
Aug 20, 2019

Conversation

andrewfg
Copy link
Contributor

The pull request https://github.com/openhab/openhab2-addons/pull/5688 was incorrectly closed; so this is a new one to continue cleanly from that old one.

@andrewfg andrewfg requested a review from a team as a code owner August 19, 2019 12:16
@TravisBuddy
Copy link

Travis tests were successful

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

@kaikreuzer kaikreuzer self-assigned this Aug 19, 2019
@kaikreuzer kaikreuzer added the new binding If someone has started to work on a binding. For a new binding PR. label Aug 19, 2019
@kaikreuzer
Copy link
Member

I am afraid, this PR still isn't clean - please check https://github.com/openhab/openhab2-addons/pull/5952/files and see the changes that should not be there right at the top.

@kaikreuzer
Copy link
Member

Looks like this commit is the culprit.

@andrewfg
Copy link
Contributor Author

Sorry for this. I had added my name to the CODEOWNERS file and the binding to the bom/openhab-addons/pom.xml file. However other people had edited those files since my original fork was made which caused conflicts. I have now removed these two files entirely from the neohub branch of my repo. So perhaps you can kindly add the relevant entries into the master version of those files when you do the merge?

CODEOWNERS
/bundles/org.openhab.binding.neohub/ @andrewfg

bom/openhab-addons/pom.xml

    <dependency>
      <groupId>org.openhab.addons.bundles</groupId>
      <artifactId>org.openhab.binding.neohub</artifactId>
      <version>${project.version}</version>
    </dependency>

@kaikreuzer
Copy link
Member

Git isn't your friend, indeed ;-)
Now you have removed those two files, but they clearly must be kept and your additions should be added to them.
I think the problem was that you didn't base your branch on the latest version of the master branch and thus there were already changes on master that were not included in your branch. Do you maybe want to have another try...?

@kaikreuzer
Copy link
Member

other people had edited those files since my original fork was made which caused conflicts.

The magic process to do in such a case is a "rebase on master" - that will allow you to merge the changes locally before committing them.

@andrewfg
Copy link
Contributor Author

the magic process to do in such a case is a "rebase on master"

Argh!! Can someone please help me with the EXACT git commands? My fork andrewfg:master branch was forked from the openhab2-addons:master branch about 2 months ago. And in my fork andrewfg I deleted and recreated today a branch called andrewfg:neohub. My pull request is to merge andrewfg:neohub with openhab2-addons:master. And specifically to merge my binding specific additions to CODEOWNERS and bom/openhab-addons/pom.xml into openhab2-addons/master without any adds or deletes that other people may have made to those two files in the meantime.

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

Hi @kaikreuzer, I think it is now clean, so I would appreciate it if you can move it onwards before your master diverges from my fork yet again. :)

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

Ok, let's merge then 🎉

@kaikreuzer kaikreuzer merged commit be70032 into openhab:master Aug 20, 2019
@kaikreuzer kaikreuzer removed their assignment Aug 20, 2019
@kaikreuzer kaikreuzer changed the title [neohub] NeoHub Binding new PR to replace PR #5688 [neohub] NeoHub Binding Aug 20, 2019
@andrewfg
Copy link
Contributor Author

Many thanks Kai :)

@andrewfg andrewfg deleted the neohub branch August 20, 2019 17:48
sprehn pushed a commit to sprehn/openhab-addons that referenced this pull request Aug 21, 2019
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@bjoernbrings
Copy link
Contributor

bjoernbrings commented Aug 23, 2019

There seems to be some kind of problem around this binding with the sandbox build:

Failed to create archive: Could not find artifact org.openhab.addons.bundles:org.openhab.binding.neohub:jar:2.5.0 in sandbox-all

Is it because of a missing entry in bundles/pom.xml?

@Hilbrand
Copy link
Member

Hilbrand commented Aug 23, 2019

@bjoernbrings I think that could be the problem. If created a pr to add it #5974

@bjoernbrings
Copy link
Contributor

bjoernbrings commented Aug 23, 2019

Thanks for the quick reaction.
Could/should have done this myself, but was not sure whether it was really the root cause. Will monitor it with the next build.

chaton78 pushed a commit to chaton78/openhab-addons that referenced this pull request Sep 2, 2019
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Pascal Larin <plarin@gmail.com>
ne0h pushed a commit to ne0h/openhab-addons that referenced this pull request Sep 15, 2019
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Maximilian Hess <mail@ne0h.de>
@wborn wborn added this to the 2.5 milestone Sep 29, 2019
Pshatsillo pushed a commit to Pshatsillo/openhab-addons that referenced this pull request Dec 8, 2019
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
tmrobert8 pushed a commit to tmrobert8/openhab-addons that referenced this pull request Jan 21, 2020
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Tim Roberts <timmarkroberts@gmail.com>
hww3 pushed a commit to hww3/openhab2-addons that referenced this pull request Feb 22, 2020
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
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.

6 participants