Skip to content

Commit 24c9cf4

Browse files
Move to the migration guide at Buf docs (#294)
**This PR should not be merged until Buf docs are updated to contain the `protoc-gen-validate` migration guide.** This PR: 1. Changes internal links to the migration guide to point to the new URL that lives under buf.build/docs 2. Drops the migration guide from this repository. This PR does not: 1. Fix the invalid link in the migration guide referring to legacy mode: that's part of the new guide at buf.build/docs.
1 parent 29ae204 commit 24c9cf4

File tree

4 files changed

+14
-169
lines changed

4 files changed

+14
-169
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Offered under the [Apache 2 license][license].
252252
[file-bug]: https://github.com/bufbuild/protovalidate/issues/new?assignees=&labels=Bug&template=bug_report.md&title=%5BBUG%5D
253253
[file-feature-request]: https://github.com/bufbuild/protovalidate/issues/new?assignees=&labels=Feature&template=feature_request.md&title=%5BFeature+Request%5D
254254
[license]: https://github.com/bufbuild/protovalidate/blob/main/LICENSE
255-
[migrate]: https://github.com/bufbuild/protovalidate/blob/main/docs/migrate.md
255+
[migrate]: https://buf.build/docs/migration-guides/migrate-from-protoc-gen-validate/
256256
[migration-tool]: https://github.com/bufbuild/protovalidate/blob/main/tools/protovalidate-migrate
257257
[pgv]: https://github.com/bufbuild/protoc-gen-validate
258258
[pv-go]: https://github.com/bufbuild/protovalidate-go

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ existing projects to `protovalidate`.
4747
Conformance tool. Learn how to use this tool to ensure all implementations
4848
align with `protovalidate`'s rules and constraints effectively.
4949

50-
- [Migrate](migrate.md): If you're planning to migrate your existing project to
50+
- [Migrate][migrate]: If you're planning to migrate your existing project to
5151
`protovalidate`, this guide is for you. The Migrate tool is designed to help
5252
you transition smoothly, minimizing any potential disruption to your project's
5353
development.
54+
55+
[migrate]: https://buf.build/docs/migration-guides/migrate-from-protoc-gen-validate/

docs/migrate.md

Lines changed: 0 additions & 166 deletions
This file was deleted.

tools/protovalidate-migrate/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
![The Buf logo](https://raw.githubusercontent.com/bufbuild/protovalidate/main/.github/buf-logo.svg)
2+
3+
# Migrating from `protoc-gen-validate`
4+
5+
Migrating from `protoc-gen-validate` to `protovalidate` should be safe, incremental, and relatively painless.
6+
7+
Visit [Buf's documentation][migrate] to learn about automated and manual migrations.
8+
9+
[migrate]: https://buf.build/docs/migration-guides/migrate-from-protoc-gen-validate/
10+

0 commit comments

Comments
 (0)