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

[dsmr] migrate to bnd #5272

Closed
wants to merge 1 commit into from
Closed

[dsmr] migrate to bnd #5272

wants to merge 1 commit into from

Conversation

JueBag
Copy link

@JueBag JueBag commented Mar 27, 2019

Note: Did this the first time!

Signed-off-by: Juergen Baginski [email protected] (github: JueBag)
Signed-off-by: JueBag [email protected]

Note: Did this the first time!

Signed-off-by: Juergen Baginski [email protected] (github: JueBag)
Signed-off-by: JueBag <[email protected]>
@wborn
Copy link
Member

wborn commented Mar 27, 2019

@davidgraeff
Copy link
Member

Very good for the first migration. You forget to remove the old test directory though. Keep an eye on the lines-changed. They should drop by about 50 lines or so with the migration but never increase.

@JueBag
Copy link
Author

JueBag commented Mar 27, 2019

Mist!
While looking for a binding with a test variant which I could handle I missed to look through the open PRs.
.Me.stupid!
At least I learned something, will continue tomorrow. Any guidance on which binding to choose is welcome

Do I need to close this one myself?.

@davidgraeff
Copy link
Member

Ask in the PR thread if it is still being worked on. Some old PRs are abandoned.

@wborn
Copy link
Member

wborn commented Mar 27, 2019

Even if you'd look for an open PR in this case you wouldn't find it @JueBag. So it's hard to know there is work in progress this way. 😐

@davidgraeff davidgraeff added infrastructure Build system and Karaf related issues and PRs discussion awaiting other PR Depends on another PR labels Mar 27, 2019
@davidgraeff
Copy link
Member

Don't close it. We leave it open so that nobody tries it again for the moment.

@Hilbrand
Copy link
Member

Maybe we should compile a list of all non-migrated addons and their status? Than we can see better what needs to be done and what might be picked up, add if pr is pending, if someone has picked it up. Or something else is the case.

@JueBag JueBag requested a review from svilenvul as a code owner March 28, 2019 21:22
@JueBag
Copy link
Author

JueBag commented Mar 29, 2019

Ups, that last commit went in here?
What I meant to do is just create a separate commit for the feed binding. It looks like working on/with github is above my knowledge.
Is there a way to get that corrected?

@J-N-K
Copy link
Member

J-N-K commented Mar 29, 2019

Yes. On a git command line (not sure which OS you are using), do a git rebase -i HEAD~4. An editor should open which shows the latest commits, all with a command in front. If you want to remove one, replace pick with a simple d (for drop). Be sure not to change anything else. Save and exit. All your changes from that commit are lost now, if you need them, make a copy before. Now use git push origin +<branchname>. Done.

Your branch seems to be master, which in general is not a good idea. Better branch before with git branch foo to create a new branch foo. Make new branches for each feature you develop.

@JueBag
Copy link
Author

JueBag commented Mar 29, 2019

@J-N-K Done (the first part), Thank you. Let see how to do the create a seperate branch, however that branch needs to have the starting point point (or whatever is the correct term) before my commit for the dsmr binding (if I'm not mistaken).

@J-N-K
Copy link
Member

J-N-K commented Mar 29, 2019

Branch, you should be on the new branch then (check with git branch). Then drop your commits until the last that was on the upstream master. Then go in from there.

After the changes you made here are merged, drop the commits in your own master.

If you are unsure, wait until these changes have been merged. You could accidentally erase them.

@JueBag
Copy link
Author

JueBag commented Mar 29, 2019

If you are unsure, wait until these changes have been merged. You could accidentally erase them.

That's the reason why I'm asking that much (my blood-pressure is going through the roof).
I did "branch" , but obviously without that:

Then drop your commits until the last that was on the upstream master. Then go in from there.

Question, if I'm dropping my last commit (which would be the commit of this PR), wouldn't that affect this PR? (Not that it would do any harm, since it will never be merged.)

Will continue this evening.

[Edit] Did it all, #5322

@Hilbrand
Copy link
Member

Hilbrand commented Apr 6, 2019

Once pr #5273 has been merged I'll migrate the dsmr binding to bnd and close this pr. I expect there will be more conflicts here as a result of the pr, and I have a script that migrates 95% of the process needed here. I guess that saves every bodies time and is much simpler that fixing the conflicts.

@JueBag
Copy link
Author

JueBag commented Apr 6, 2019

Thanks.

@J-N-K
Copy link
Member

J-N-K commented Apr 9, 2019

@Hilbrand, can you prepare the migration PR?

@Hilbrand
Copy link
Member

Hilbrand commented Apr 9, 2019

Replaced by #5436

@Hilbrand Hilbrand closed this Apr 9, 2019
@wborn wborn removed the awaiting other PR Depends on another PR label Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion infrastructure Build system and Karaf related issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants