-
Notifications
You must be signed in to change notification settings - Fork 8
Restructure repo to allow importing v2 module using tailscale.com/client/tailscale/v2 #3
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
Conversation
Updates tailscale/corp#22748 Signed-off-by: Percy Wegmann <[email protected]>
Updates tailscale/corp#22748 Signed-off-by: Percy Wegmann <[email protected]>
Updates tailscale/corp#22748 Signed-off-by: Percy Wegmann <[email protected]>
b20f732 to
e9c75c2
Compare
README.md
Outdated
| @@ -1,17 +1,59 @@ | |||
| # tailscale-client-go | |||
| // Copyright (c) David Bond, Tailscale Inc, & Contributors | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In other repos, e.g., OSS, we've done this by including a reference to the AUTHORS file and listing contributors there. That might be worth preserving here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had some internal discussion with @willnorris about this back in September and settled on what we have for the OG tailscale-client-go repo. I'm inclined to leave that as-is here.
README.md
Outdated
|
|
||
| ## Current Version | ||
| [](https://pkg.go.dev/tailscale.com/client/tailscale/v2) | ||
| [](https://goreportcard.com/report/tailscale.com/client/tailscale/v2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably wouldn't bother with this link, but YMMV.
| // SPDX-License-Identifier: MIT | ||
|
|
||
| // Package tsclient contains a basic implementation of a client for the Tailscale HTTP API. | ||
| // package tailscale contains a basic implementation of a client for the Tailscale HTTP API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If our goal is to advertise this as the preferred standard client, maybe we should make this more explicit:
| // package tailscale contains a basic implementation of a client for the Tailscale HTTP API. | |
| // Package tailscale implements a client for the Tailscale HTTP API. |
Nit: Please capitalize "Package".
cca8327 to
487390b
Compare
Updates tailscale/corp#22748 Signed-off-by: Percy Wegmann <[email protected]>
487390b to
a629cca
Compare
| @@ -1,17 +1,55 @@ | |||
| # tailscale-client-go | |||
| # tailscale.com/client/tailscale/v2 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out of curiosity, how are we pulling that off? Are we planning to serve different go-get metadata at that URL? (sorry, I'm behind on the latest client package naming discussions)
No description provided.