-
Notifications
You must be signed in to change notification settings - Fork 146
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
Split examples from library #289
Comments
It's actually breaking godoc usage for v1 as one must navigate to https://godoc.org/github.com/mesos/mesos-go/api/v1/lib to actually see the documentation. |
v0 and v1 are both kept in the same repo to allow for easier migration from
the old to the new APIs. how would splitting examples impact godoc breakage?
…On Wed, Apr 19, 2017 at 4:49 PM, Paulo Pires ***@***.***> wrote:
It's actually breaking godoc usage for v1 as one must navigate to
https://godoc.org/github.com/mesos/mesos-go/api/v1/lib to actually see
the documentation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#289 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACPVLKQI5AicvPYtKVas7IAloqGRD4W1ks5rxnNZgaJpZM4NCNaU>
.
|
I'm not arguing v0 and v1 should be split. I'm arguing examples could move to a separate repo. Now, the fact v1 code is in folder |
Thought about this proposal some more. I think there's real value in keeping the examples and the library code in the same repo. Maybe the "nature" of the examples should change. For example, they could be repackaged in the form of automated e2e tests. Your point about "messy" dependencies is noted. However, even if the examples are refactored into automated e2e tests that doesn't solve the dependency issue. The fact that godoc users need to "click through" to the |
I can second that. |
skeleton docs in #292 |
Mixing library code and dependencies with examples seems a little messy and actually limits adopting dependency management solutions like
glide
(see #283). Therefore, I suggest moving examples to a new repo, i.e.mesos-go-examples
.The text was updated successfully, but these errors were encountered: