Skip to content
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

Found new managed modules references #496

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
shake256:8f88503768991dcc77b5a39a4a8d3374c99f4f0f69fb9e58a383fa238b20645190dc4570817b8ab9bbd83e90d063d151048137ef8c6bdb51ea797f7c6f41cfba LICENSE
shake256:838f55cc2961a34975d1b9545ed659d80c69dd0f61850ddad867a44615e5aab920a056524a4464e8760f68924ae89b6fae6d39c56908113e9ac2cbc78c911deb README.md
shake256:65b08da2d767089fbe072c7a3aa693485a319e609210e9f504f89aae9991e0e7b68e58c3720584976b05b99fb3c1ca9adc76d27285a40d7d13bd410d1f342dda buf.yaml
shake256:5c77db050615b9b477032d8df35eaf3040c4a306aa282ca9e5aa4ae10ed922a79998368582b80ae3a6b8d0fda470e762b760f650074ea737950cb237ce4ead8f buf/validate/conformance/cases/bool.proto
shake256:8574cbadfba41ecb00a7d5c9b029c8c241831f742f324f260b5d6014c74891e763fa79a27cebc7c2e19e49af87f02b7699c661285c550b5df1195ec010cd353b buf/validate/conformance/cases/bytes.proto
shake256:ee0d18a57d7fd0b8f0dec58a8806b8faf8368db69b9b266c0b7b5ff8fb043dae86f096e31e32ae5aa49474454cd85eb75d1097b040c4a2afadd21f0d57505bf7 buf/validate/conformance/cases/custom_constraints/custom_constraints.proto
shake256:9ad14c76b20c8d01a3f16a9716642bf394ab92faf1bc85a9a0138f6a0684dd0e4b0c6573fa55d6d6f1e372fbfed23892206d9e82850d22423dcedb6663b4678b buf/validate/conformance/cases/enums.proto
shake256:f27bc7f3fc084c84cd163322bdaa850cf923b9efaaa6ecca3466f51f0898fafe9a6fa00cd4b3af071382c30921b3f19e1fe6fb7c35f50069f92a7a4f84364697 buf/validate/conformance/cases/filename-with-dash.proto
shake256:c0dcfc039f5a49e000eceecb91b09b10cec93a0514fda83679b1ae0ed9eaa9e2a9caf37ef2fa4c2921b225237fd055e642a4614030933b73614078ca5acdd87b buf/validate/conformance/cases/ignore_empty_proto2.proto
shake256:be3eb8ff9f87acce1e94b41c9b8286424f7ea30f3aff765bc9c11197d0ba8fb902dca75118bfd383fbc5c10e8067110d4b026d682fd8440c62ee9e62d7583073 buf/validate/conformance/cases/ignore_empty_proto3.proto
shake256:cf0019e8ec7faea2ca17c9d806d15301270a64f70053056dae2a3c5d0451f024c29ed4ea9f884af500b356a80c2fede50fe74086f14387b8ec1468b8c612fb49 buf/validate/conformance/cases/ignore_proto2.proto
shake256:7c80f2c1b94da10fd3cd35e818d677224a3272940e81c0083cfbbcacb22c8388df22a96e86463a1d1d173e7ee4957a567ad3814e539c88a7f235634555b965f4 buf/validate/conformance/cases/ignore_proto3.proto
shake256:d9917ad3fbe71842cac39b1dff0772e2106362c9f1de4dff873c456b2ea710597e29d9eb0945a23c3404a74e7d0fa7981bffe1c4a16acfc87067e5287f287410 buf/validate/conformance/cases/kitchen_sink.proto
shake256:43980d43da1aceb1b1758df0c0fea3fb784f4bdcad0481225334a7ab93a0126ae49fc569ce027e6ce63de04f1e492136084c0ae855b39aabb484d7dfc992f618 buf/validate/conformance/cases/maps.proto
shake256:98e5d516b88da150d62f3aaa5e2f1eda4cd48cdb6300933f7efcb7337b82388cdb0061980b4dec00f35c0eb92426283e07e673bbdd5f81168c3767704747daba buf/validate/conformance/cases/messages.proto
shake256:0f60aea5e7e19b2ea463a23a02f876d00bc5798333e3e2782f94813cac2bd709ab5e005c8dc90d648bc98747ea0fedbc36bae36a0a47fbef54c60c8925f89c86 buf/validate/conformance/cases/numbers.proto
shake256:749cd37bcb4b2ae2c20e858d97e7b5a7ab1cb69bc8a7512bea77160810c3e6d114d6c424047364a8ae9f2a823ab6e51f69f1825d5a9f0ec81371806ccae2b672 buf/validate/conformance/cases/oneofs.proto
shake256:50633a57b483850fb64e06c1bcd0eb545c8a359a940dd4d92ef1e14232e05ab6f8194e89f1b5fadab5722f1b2f7eb240036b034018ea3437c23039eab1e9db5c buf/validate/conformance/cases/other_package/embed.proto
shake256:6e138f19cf1086561bb1393b4708751f2677533267260ce637e82e20846d099c203b3687d3b7a583fddc5ab0d67cd39d8093ebaf05f89a80f72c39e313925afa buf/validate/conformance/cases/repeated.proto
shake256:c52e29912f8335b7318194fcc214b6b129e7b059cef19261857d83ffd7b2168739cfba67ce8ce774f2f96242c4098cd9d0304864c500498ea735f60496d04a9f buf/validate/conformance/cases/required_field_proto2.proto
shake256:e5d32ac0c0f9c64c783394e73b57f771b1cb637451575e006d324fba3d45ade5f072b111aeef260c07d17ce5390c1d5355ea79443e41dc26af0a51496e30b6ba buf/validate/conformance/cases/required_field_proto3.proto
shake256:6ed715ba646d9e8e1a0ec20d775160c168961bd38226ce00703287dd90cdf83f038e6aa45cf7c7a9bbaa71ed980b83d0c67daf9a92d015bcc63fb6bd69320392 buf/validate/conformance/cases/strings.proto
shake256:5bd92ab2145d3a6c301948b75af7b69d367f70b172fb29538d192c51e0516ee48d3db820a76f4ebcbbffc6ea1baf3b590399da2b160adb648458079080360b07 buf/validate/conformance/cases/subdirectory/in_subdirectory.proto
shake256:a742e6490da44a38f9977f2fabd38d92696dd8316720d9d8cd4d7adb2bcc09cc433dffa56112c569995e65649275bbc1a6e32c09a4cdfcce47a4c71371abb88d buf/validate/conformance/cases/wkt_any.proto
shake256:98774a40b1bf96f092e16685af2b769a84f8ade76242c168f1ed4b7e53b6644b0a99deb6c207a2c7c1e86ba65675d6c0c3ebd398d5ff3ccd79cd6a5e636e80f8 buf/validate/conformance/cases/wkt_duration.proto
shake256:e0fa2c82ea25392f2e28d3345e1a7210c9fb82367795cbe2d5c191fa643171efec2d3b9752214d97fc936194428bf7d37fc365eadd0ecb369e888984902264cf buf/validate/conformance/cases/wkt_nested.proto
shake256:56d36a5e1f3b96add142ce7efd796cfbc72be914c778761b331abf594901c41a5fc6fec7a2145d555d9343a4224ac99bc040d95b0966a689d6d22475ababd8a7 buf/validate/conformance/cases/wkt_timestamp.proto
shake256:7a4f30de82964fa0a8524111af262f3973d77cab6deb7c46c3880008109983c31ea1bff52fd9d2edecc4dddc8fff427713fc974def5b35155d9a728398c14f4b buf/validate/conformance/cases/wkt_wrappers.proto
shake256:5ed1054c3b0604ddb721929f2f9e0acc882f9d838a1f7e1e8312ebfe51b9a80e7937654f668e0a3b783340e64c331f540cf496f93ffd83f53dbdbcb14f9d9efa buf/validate/conformance/cases/yet_another_package/embed2.proto
shake256:63a97e0866edeceea33b536475eebe770978b2f7ce3f2d499ee5423908feeb076c3523b0fb4b7f5aacb00b83a26fef8bbd79c566981d62c4d99727c491553bf7 buf/validate/conformance/harness/harness.proto
shake256:160efbb6958bcedfbf354970512f2485182bcb58b4c2bbdf2dc8798a79bc6c4ffe57c9c0cc6b52ac73c97a83c5c7550f5275f01d1bd44b127e3d4ab81ba23554 buf/validate/conformance/harness/results.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
// Copyright 2023 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package buf.validate.conformance.cases;

import "buf/validate/validate.proto";

message StringNone {
string val = 1;
}
message StringConst {
string val = 1 [(buf.validate.field).string.const = "foo"];
}
message StringIn {
string val = 1 [(buf.validate.field).string = {
in: [
"bar",
"baz"
]
}];
}
message StringNotIn {
string val = 1 [(buf.validate.field).string = {
not_in: [
"fizz",
"buzz"
]
}];
}
message StringLen {
string val = 1 [(buf.validate.field).string.len = 3];
}
message StringMinLen {
string val = 1 [(buf.validate.field).string.min_len = 3];
}
message StringMaxLen {
string val = 1 [(buf.validate.field).string.max_len = 5];
}
message StringMinMaxLen {
string val = 1 [(buf.validate.field).string = {
min_len: 3,
max_len: 5
}];
}
message StringEqualMinMaxLen {
string val = 1 [(buf.validate.field).string = {
min_len: 5,
max_len: 5
}];
}
message StringLenBytes {
string val = 1 [(buf.validate.field).string.len_bytes = 4];
}
message StringMinBytes {
string val = 1 [(buf.validate.field).string.min_bytes = 4];
}
message StringMaxBytes {
string val = 1 [(buf.validate.field).string.max_bytes = 8];
}
message StringMinMaxBytes {
string val = 1 [(buf.validate.field).string = {
min_bytes: 4,
max_bytes: 8
}];
}
message StringEqualMinMaxBytes {
string val = 1 [(buf.validate.field).string = {
min_bytes: 4,
max_bytes: 4,
}];
}
message StringPattern {
string val = 1 [(buf.validate.field).string.pattern = "(?i)^[a-z0-9]+$"];
}
message StringPatternEscapes {
string val = 1 [(buf.validate.field).string.pattern = "\\* \\\\ \\w"];
}
message StringPrefix {
string val = 1 [(buf.validate.field).string.prefix = "foo"];
}
message StringContains {
string val = 1 [(buf.validate.field).string.contains = "bar"];
}
message StringNotContains {
string val = 1 [(buf.validate.field).string.not_contains = "bar"];
}
message StringSuffix {
string val = 1 [(buf.validate.field).string.suffix = "baz"];
}
message StringEmail {
string val = 1 [(buf.validate.field).string.email = true];
}
message StringAddress {
string val = 1 [(buf.validate.field).string.address = true];
}
message StringHostname {
string val = 1 [(buf.validate.field).string.hostname = true];
}
message StringIP {
string val = 1 [(buf.validate.field).string.ip = true];
}
message StringIPv4 {
string val = 1 [(buf.validate.field).string.ipv4 = true];
}
message StringIPv6 {
string val = 1 [(buf.validate.field).string.ipv6 = true];
}
message StringIPWithPrefixLen {
string val = 1 [(buf.validate.field).string.ip_with_prefixlen = true];
}
message StringIPv4WithPrefixLen {
string val = 1 [(buf.validate.field).string.ipv4_with_prefixlen = true];
}
message StringIPv6WithPrefixLen {
string val = 1 [(buf.validate.field).string.ipv6_with_prefixlen = true];
}
message StringIPPrefix {
string val = 1 [(buf.validate.field).string.ip_prefix = true];
}
message StringIPv4Prefix {
string val = 1 [(buf.validate.field).string.ipv4_prefix = true];
}
message StringIPv6Prefix {
string val = 1 [(buf.validate.field).string.ipv6_prefix = true];
}
message StringURI {
string val = 1 [(buf.validate.field).string.uri = true];
}
message StringURIRef {
string val = 1 [(buf.validate.field).string.uri_ref = true];
}
message StringUUID {
string val = 1 [(buf.validate.field).string.uuid = true];
}
message StringTUUID {
string val = 1 [(buf.validate.field).string.tuuid = true];
}
message StringHttpHeaderName {
string val = 1 [(buf.validate.field).string.well_known_regex = KNOWN_REGEX_HTTP_HEADER_NAME];
}
message StringHttpHeaderValue {
string val = 1 [(buf.validate.field).string.well_known_regex = KNOWN_REGEX_HTTP_HEADER_VALUE];
}

message StringHttpHeaderNameLoose {
string val = 1 [(buf.validate.field).string = {
well_known_regex: KNOWN_REGEX_HTTP_HEADER_NAME
strict: false,
}];
}

message StringHttpHeaderValueLoose {
string val = 1 [(buf.validate.field).string = {
well_known_regex: KNOWN_REGEX_HTTP_HEADER_VALUE,
strict: false
}];
}

message StringUUIDIgnore {
string val = 1 [
(buf.validate.field).string = {uuid: true},
(buf.validate.field).ignore_empty = true
];
}
message StringInOneof {
oneof foo {
string bar = 1 [(buf.validate.field).string = {
in: "a"
in: "b"
}];
}
}

message StringHostAndPort {
string val = 1 [(buf.validate.field).string.host_and_port = true];
}

message StringHostAndOptionalPort {
string val = 1 [(field).cel = {
id: "string.host_and_port.optional_port",
message: "value must be a host and (optional) port pair",
expression: "this.isHostAndPort(false)",
}];
}
4 changes: 4 additions & 0 deletions modules/sync/bufbuild/protovalidate-testing/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@
{
"name": "v0.6.2",
"digest": "f03e7186b5e54f299b14e006a9e32717805aec0cda5955b91b3800b57576d17965e9429c7358511b879bdb070107cd453308f6f1152125a51d7a8554ef42ae7f"
},
{
"name": "v0.6.3",
"digest": "4079491abca905c6bc470dd2b2bde34630d5878b1eb5f65a317e3d1d0dfe9e42c4da4d70d6f005931321c09721fbbe5da280449d9dbb703200357499dbd7cfe5"
}
]
}
4 changes: 4 additions & 0 deletions modules/sync/bufbuild/protovalidate/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@
{
"name": "v0.6.2",
"digest": "b472082e827a13df75525344deaf201952512cc4d99e59791288ebe4f37ff8bd25cf1e3e55fe5b8f3f7f1962ab248934623714cc218f87934e79e6e21ff26b8b"
},
{
"name": "v0.6.3",
"digest": "b472082e827a13df75525344deaf201952512cc4d99e59791288ebe4f37ff8bd25cf1e3e55fe5b8f3f7f1962ab248934623714cc218f87934e79e6e21ff26b8b"
}
]
}
4 changes: 2 additions & 2 deletions modules/sync/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
},
{
"module_name": "bufbuild/protovalidate",
"latest_reference": "v0.6.2"
"latest_reference": "v0.6.3"
},
{
"module_name": "bufbuild/protovalidate-testing",
"latest_reference": "v0.6.2"
"latest_reference": "v0.6.3"
},
{
"module_name": "bufbuild/reflect",
Expand Down
Loading