icingadb
icingadb copied to clipboard
Library split
Closes #654
Commit 14f2f848bafa8cc27d43462c209366a222d91791 does more than just moving code around. It seems to completely replace the ConvertCamelCase()
function with something different. It also touches a lot of db
struct field tags where I first thought that might have accidentally added to the comment but it looks too consistent for that to actually be the case. Was this necessary to handle changed behavior of the new implementation? But if that's the case, why was the implementation changed?
Commit 14f2f84 does more than just moving code around. It seems to completely replace the
ConvertCamelCase()
function with something different. It also touches a lot ofdb
struct field tags where I first thought that might have accidentally added to the comment but it looks too consistent for that to actually be the case. Was this necessary to handle changed behavior of the new implementation? But if that's the case, why was the implementation changed?
The previous implementation was quite opinionated, e.g. without taking numbers into account. For our library, I have opted for a general approach.
Now same level of approval from my side as in #747 (review):
Looks fine for me now. (Not formally clicking approve here as you wanted to still clean up the commit history. And maybe even do the switchover to the library in this PR?)
Same! I have nothing to complain about anymore!
I cleaned up the commit history and switched to using icinga-go-library
in this PR.
Note that the new lib is here at the moment. Once you've approved, I'll force the push to main and tag it as version 1.0.0 and change go.mod
here accordingly.
Looks like something went wrong with the rebasing? 1ddaa70, 1d9dc74 and 563045c seem to appear twice in the commit history.
Looks like something went wrong with the rebasing? 1ddaa70, 1d9dc74 and 563045c seem to appear twice in the commit history.
Ohh 😧! Never mind! It's GitHub's fault!
Once you've approved, I'll force the push to main and tag it as version 1.0.0 and change
go.mod
here accordingly.If in doubt, it could also be tagged as v0.1.0, then do some more few PRs in the new repo and then make it a 1.0.
Yeah, I started with v0.1.0
.
Not really relevant for Icinga DB, will be fixed and become a v0.2.0.