Closed broady closed 6 years ago
/cc @bradfitz @andybons @shurcooL
Change https://golang.org/cl/105935 mentions this issue: maintner: refactor API into its own package
Would this affect the users of golang.org/x/build/maintner/godata
package?
I want to create a customized maintnerd (one feature is being able to add tracked repos while the daemon is running).
Curious... why?
@shurcooL nope. the only real change is moving the "apipb" package, but it's only used by maintnerd and maintq.
@bradfitz I'm tracking dozens/hundreds of repos in the google, googleapis, GoogleCloudPlatform orgs. several repos get added every week. We don't want to restart maintnerd when a new repo gets tracked. oh, and for better or worse (could/should be a separate process), exposing another handler that serves some summarized data.
Okay, SGTM. And I do like the idea of moving GCSLog to its own package.
I want to create a customized maintnerd (one feature is being able to add tracked repos while the daemon is running).
Here's a small proposal to make that more possible:
move the protos into a subpackage (currently named "apipb" but maybe "maintpb" is better?)nevermind, there's already a maintpb for storage.maintnerd then becomes a 500 line program that uses the maintnerapi package, which looks like this: