-
Notifications
You must be signed in to change notification settings - Fork 70
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
recursive dependency with github.com/coreos/go-systemd #73
Comments
Replying to @lucab 's questions on the other bug...
Yay, thanks.
Fair enough.
Either works perfectly well for me.
I'm coming from the Debian/Ubuntu world. |
Ping? Is there anything I can do to help? |
Pinging @iaguis and @barakmich, who have definitely better knowledge than me on dlopen and capsnlog. My suggestion would still be to split dlopen out of here. @tmrts was however suggesting to take this occasion to start deprecating (via splitting) capsnlog. |
I think I'd rather split out capnslog since dlopen is a small amount of utility code and capsnlog is a full log framework (and, as discussed, potentially to be deprecated) |
Unfortunately splitting out capnslog doesn't directly solve the problem because pkg/netutil imports it, so the cycle would remain (just bigger). Can netutil move somewere else too? Or stop importing it? Or something else? This cycle is starting to interfere with my work so if there's any spade work I can do to help I'm certainly willing to do that. |
If we remove the requirement on |
It also uses |
Ping, any progress/more thinking here? Again, anything I can do to help? |
I merged #75 - I think we should push on with splitting out capnslog into its own repo |
Well that seems easy enough, I think https://github.com/mwhudson/capnslog needs to become https://github.com/coreos/capnslog and then something like https://github.com/mwhudson/pkg/tree/no-capnslog and that's all? |
This eliminates a circular dependency between coreos/pkg and coreos/go-systemd. See coreos#73 for more details.
As of v22.0.0, go-systemd no longer depends on |
Oh, I totally forgot about this ticket. We embedded the logic there in order to untangle the mess around versioning and Go modules. |
[re-filing of https://github.com/coreos/go-systemd/issues/183]
Hi,
Currently github.com/coreos/pkg/capnslog/journald_formatter imports github.com/coreos/go-systemd/journal, but github.com/coreos/go-systemd/journal and github.com/coreos/go-systemd/sdjournal/journal import github.com/coreos/pkg/dlopen. This is a pain for distro developers: we want to package both github.com/coreos/go-systemd and github.com/coreos/pkg but cycles in the dependency graph are a pain. In this case it looks as if .../pkg/dlopen could move to ../go-systemd but I've no idea if that would really be appropriate.
Splitting things out into separate repos would also always be a fix for this.
Cheers,
mwh
The text was updated successfully, but these errors were encountered: