-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tours for new config files (#28)
Co-authored-by: Nick Snyder <[email protected]>
- Loading branch information
1 parent
1bea4de
commit d4bf43e
Showing
34 changed files
with
317 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
version: v1 | ||
version: v2 | ||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: github.com/bufbuild/buf-tour/gen | ||
except: | ||
- buf.build/googleapis/googleapis | ||
disable: | ||
- module: buf.build/googleapis/googleapis | ||
override: | ||
- file_option: go_package_prefix | ||
value: github.com/bufbuild/buf-tour/gen | ||
plugins: | ||
- plugin: buf.build/protocolbuffers/go | ||
- remote: buf.build/protocolbuffers/go | ||
out: gen | ||
opt: paths=source_relative | ||
- plugin: buf.build/bufbuild/connect-go | ||
- remote: buf.build/connectrpc/go | ||
out: gen | ||
opt: paths=source_relative | ||
inputs: | ||
- directory: proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v2 | ||
deps: | ||
- name: buf.build/googleapis/googleapis | ||
commit: 4ed3bc159a8b4ac68fe253218760d035 | ||
digest: b5:74a7798987b123218c004cf28543a2835e432ca04a69de99cd394a29dbad24d9ed38344f0b7c97ad6476039506c4eb38c2f4a8eef9cec3da2e38e4216a22d495 |
16 changes: 9 additions & 7 deletions
16
...h/getting-started-with-bsr/proto/buf.yaml → finish/getting-started-with-bsr/buf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
version: v1 | ||
name: buf.build/<USER>/petapis | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
breaking: | ||
use: | ||
- FILE | ||
version: v2 | ||
modules: | ||
- path: proto | ||
name: buf.build/<username>/petapis | ||
lint: | ||
use: | ||
- DEFAULT | ||
breaking: | ||
use: | ||
- FILE | ||
deps: | ||
- buf.build/googleapis/googleapis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
131 changes: 86 additions & 45 deletions
131
finish/getting-started-with-bsr/gen/pet/v1/petv1connect/pet.connect.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
module github.com/bufbuild/buf-tour | ||
|
||
go 1.19 | ||
go 1.22.2 | ||
|
||
require ( | ||
buf.build/gen/go/<USER>/petapis/bufbuild/connect-go v1.5.1-20230210174710-1256c735ed27.1 | ||
buf.build/gen/go/<USER>/petapis/protocolbuffers/go v1.28.1-20230210174710-1256c735ed27.4 | ||
github.com/bufbuild/connect-go v1.5.1 | ||
golang.org/x/net v0.6.0 | ||
google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc | ||
google.golang.org/protobuf v1.28.1 | ||
buf.build/gen/go/<USERNAME>/petapis/connectrpc/go v1.16.1-20240424002215-e3c35074dc9a.1 | ||
buf.build/gen/go/<USERNAME>/petapis/protocolbuffers/go v1.33.0-20240424002215-e3c35074dc9a.1 | ||
connectrpc.com/connect v1.16.1 | ||
golang.org/x/net v0.24.0 | ||
google.golang.org/genproto v0.0.0-20240429193739-8cf5692501f6 | ||
google.golang.org/protobuf v1.33.0 | ||
) | ||
|
||
require golang.org/x/text v0.7.0 // indirect | ||
require golang.org/x/text v0.14.0 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## PetAPIs | ||
|
||
This module contains all the APIs required to interact with the `PetStoreService`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
version: v1 | ||
version: v2 | ||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: github.com/bufbuild/buf-tour/gen | ||
override: | ||
- file_option: go_package_prefix | ||
value: github.com/bufbuild/buf-tour/gen | ||
plugins: | ||
- plugin: buf.build/protocolbuffers/go | ||
- remote: buf.build/protocolbuffers/go | ||
out: gen | ||
opt: paths=source_relative | ||
- plugin: buf.build/bufbuild/connect-go | ||
- remote: buf.build/connectrpc/go | ||
out: gen | ||
opt: paths=source_relative | ||
inputs: | ||
- directory: proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v2 | ||
modules: | ||
- path: proto | ||
lint: | ||
use: | ||
- DEFAULT | ||
ignore: | ||
- proto/google/type/datetime.proto | ||
breaking: | ||
use: | ||
- FILE |
2 changes: 1 addition & 1 deletion
2
finish/getting-started-with-buf-cli/gen/google/type/datetime.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.