content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\backups\start_cluster.sh | start_cluster.sh | Shell | 3,055 | 0.95 | 0.189873 | 0.442623 | awesome-app | 129 | 2023-08-03T20:52:18.156803 | BSD-3-Clause | false | 8756d82bb5cf1b16383f48a962d7c7ca |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\backups\stop_tablets.sh | stop_tablets.sh | Shell | 1,949 | 0.95 | 0.12963 | 0.375 | awesome-app | 836 | 2024-05-26T16:58:23.688615 | GPL-3.0 | false | c6e319e205fefd99cc3a4289751aea0b |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\backups\upgrade_cluster.sh | upgrade_cluster.sh | Shell | 4,007 | 0.95 | 0.092784 | 0.247059 | node-utils | 180 | 2024-11-23T14:36:58.033378 | GPL-3.0 | false | 42586c95e591735f48666db83461f835 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\env.sh | env.sh | Shell | 3,211 | 0.95 | 0.093023 | 0.385714 | awesome-app | 89 | 2025-01-23T21:02:03.775403 | BSD-3-Clause | false | e6cf24fbba4ed6817516f6fa275379b3 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\topo-etcd2.sh | topo-etcd2.sh | Shell | 700 | 0.95 | 0.047619 | 0.9375 | vue-tools | 53 | 2024-12-14T23:36:47.654835 | GPL-3.0 | false | 290151d38c9627b3e4e309e36ee675f7 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\topo-k8s.sh | topo-k8s.sh | Shell | 698 | 0.95 | 0.047619 | 0.9375 | node-utils | 691 | 2025-02-23T23:08:53.231580 | Apache-2.0 | false | 7dd9899173691e678bb11d06d1520c89 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\topo-zk2.sh | topo-zk2.sh | Shell | 698 | 0.95 | 0.047619 | 0.9375 | awesome-app | 210 | 2024-07-09T07:01:15.719784 | MIT | false | e260a3c0fe1cbd3402e01aee9aa56a8e |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\common\lib\utils.sh | utils.sh | Shell | 7,778 | 0.95 | 0.301887 | 0.229508 | python-kit | 686 | 2025-06-29T18:23:17.206475 | Apache-2.0 | false | dd4d040742266dd5f48774dc25abea5e |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\consul-down.sh | consul-down.sh | Shell | 787 | 0.95 | 0.045455 | 0.882353 | react-lib | 603 | 2025-03-17T23:39:08.100120 | MIT | false | 5fc3f368df2f717b6e119dca9186e323 |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicab... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\consul-up.sh | consul-up.sh | Shell | 1,768 | 0.95 | 0.038462 | 0.44186 | python-kit | 804 | 2025-02-11T02:55:41.295064 | MIT | false | d9c99bd573fdd68d686c626d8a1e13b3 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\etcd-down.sh | etcd-down.sh | Shell | 783 | 0.95 | 0.045455 | 0.882353 | python-kit | 906 | 2024-01-08T09:53:31.229473 | MIT | false | cb6c4268e0b553ee88e72903de5334c3 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\etcd-up.sh | etcd-up.sh | Shell | 1,454 | 0.95 | 0.044444 | 0.529412 | python-kit | 927 | 2025-01-08T07:43:47.106683 | MIT | false | 7050cf6783a75456bf4b57852aa54fa9 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\mysqlctl-down.sh | mysqlctl-down.sh | Shell | 918 | 0.95 | 0.071429 | 0.727273 | vue-tools | 399 | 2023-10-10T12:47:04.309525 | MIT | false | 5989bdb73488ff4bd19e8aac69bcef45 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\mysqlctl-up.sh | mysqlctl-up.sh | Shell | 1,247 | 0.95 | 0.090909 | 0.428571 | vue-tools | 636 | 2023-10-16T23:54:28.148887 | BSD-3-Clause | false | c27e37e0b976fe0d0080291eee43bcee |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtadmin-down.sh | vtadmin-down.sh | Shell | 774 | 0.95 | 0.05 | 0.823529 | awesome-app | 626 | 2023-07-16T16:34:33.695815 | MIT | false | 5c5f4cab2637b67ad6409522ca017e7f |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtadmin-up.sh | vtadmin-up.sh | Shell | 3,193 | 0.95 | 0.056818 | 0.225352 | awesome-app | 961 | 2024-02-22T07:24:42.367521 | Apache-2.0 | false | 1d7c99176fd5c70b9be5ef1451bfe70d |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtctld-down.sh | vtctld-down.sh | Shell | 755 | 0.95 | 0.045455 | 0.882353 | react-lib | 309 | 2025-06-21T08:55:59.740860 | GPL-3.0 | false | 990b7f93e6401cc33b880dd7200291c0 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtctld-up.sh | vtctld-up.sh | Shell | 1,532 | 0.95 | 0.061224 | 0.425 | python-kit | 815 | 2023-09-24T17:03:31.361857 | BSD-3-Clause | false | 21af575474b3b523b3cc1bac7a8f0dc8 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtgate-down.sh | vtgate-down.sh | Shell | 785 | 0.95 | 0.045455 | 0.882353 | node-utils | 505 | 2024-06-18T19:59:14.000597 | Apache-2.0 | false | 53d51aa06d4c02a8be719ddd43234f63 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtgate-up.sh | vtgate-up.sh | Shell | 1,709 | 0.95 | 0.051724 | 0.367347 | node-utils | 724 | 2023-08-19T05:04:54.271536 | MIT | false | 911a9218d54c595edb43f4a564fe0151 |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtorc-down.sh | vtorc-down.sh | Shell | 702 | 0.95 | 0.05 | 0.875 | vue-tools | 15 | 2024-11-14T01:57:49.179505 | BSD-3-Clause | false | 1764580b8e9db478589fd9f8d8cb2644 |
#!/bin/bash\n\nscript_dir="$(dirname "${BASH_SOURCE[0]:-$0}")"\nsource "${script_dir}/../env.sh"\n\nlog_dir="${VTDATAROOT}/tmp"\nport=16000\n\necho "Starting vtorc..."\nvtorc \\n $TOPOLOGY_FLAGS \\n --logtostderr \\n --alsologtostderr \\n --config-path="${script_dir}/../vtorc/" \\n --config-name="config.yaml" \\n ... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vtorc-up.sh | vtorc-up.sh | Shell | 551 | 0.8 | 0 | 0.043478 | node-utils | 672 | 2024-10-24T15:22:30.080896 | GPL-3.0 | false | 2a069cb6527526723bc13e8e04f71585 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vttablet-down.sh | vttablet-down.sh | Shell | 868 | 0.95 | 0.04 | 0.842105 | vue-tools | 211 | 2025-04-30T04:08:01.041402 | Apache-2.0 | false | 577ad42727ec7fa6b48c1157cf2ccbac |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\vttablet-up.sh | vttablet-up.sh | Shell | 2,144 | 0.95 | 0.084507 | 0.295082 | node-utils | 887 | 2024-05-17T02:11:25.237269 | MIT | false | 559282abb02b39b1e74a3ba32c27b9ba |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\zk-down.sh | zk-down.sh | Shell | 898 | 0.95 | 0.076923 | 0.761905 | react-lib | 764 | 2025-05-28T02:37:53.351863 | BSD-3-Clause | false | 157710d4301782eff968704017163742 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\common\scripts\zk-up.sh | zk-up.sh | Shell | 1,989 | 0.95 | 0.15 | 0.411765 | python-kit | 925 | 2024-01-13T06:04:37.962159 | Apache-2.0 | false | 665dd78d065b9a7151d7e6097cd72033 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\client.sh | client.sh | Shell | 1,014 | 0.95 | 0.142857 | 0.73913 | react-lib | 781 | 2025-04-05T20:11:32.552246 | Apache-2.0 | false | 4bd7b37485b05854ab1c3ac81ac1f582 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\dbcli.sh | dbcli.sh | Shell | 1,156 | 0.95 | 0.090909 | 0.482759 | react-lib | 365 | 2024-05-26T23:22:14.104537 | MIT | false | 827d9c3e29df145775373bcf0374fe48 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\compose\externaldb_vreplication.sh | externaldb_vreplication.sh | Shell | 3,195 | 0.95 | 0.057971 | 0.433962 | python-kit | 89 | 2025-01-25T11:29:36.670032 | MIT | false | 5362e3c72b55d02edea65ef4d4643777 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\fix_replication.sh | fix_replication.sh | Shell | 3,765 | 0.95 | 0.156627 | 0.4 | node-utils | 484 | 2024-05-27T22:28:52.079404 | Apache-2.0 | false | 789bf84e4293768fbf1878d75c0fce86 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\lfixrepl.sh | lfixrepl.sh | Shell | 993 | 0.95 | 0.166667 | 0.772727 | react-lib | 733 | 2024-02-15T00:05:38.473711 | GPL-3.0 | false | 57f53596687de349ae16874fcd92d9d0 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\lmysql.sh | lmysql.sh | Shell | 935 | 0.95 | 0.166667 | 0.809524 | vue-tools | 112 | 2024-05-10T08:27:51.812485 | GPL-3.0 | false | cc5e28a2b0b7a3b78d46030c238415e6 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\lvtctl.sh | lvtctl.sh | Shell | 967 | 0.95 | 0.166667 | 0.809524 | vue-tools | 490 | 2024-02-07T03:42:20.883907 | BSD-3-Clause | false | 7fa246beb9d9d9ac7dd3a8149d144804 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\run-forever.sh | run-forever.sh | Shell | 634 | 0.95 | 0.095238 | 0.736842 | react-lib | 290 | 2024-06-14T00:16:41.707529 | GPL-3.0 | false | 4f642cab6e19df0d8fcb788bf4b405e9 |
#!/bin/bash -e\n\n# Copyright 2020 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by app... | dataset_sample\shell\vitessio_vitess\examples\compose\schemaload.sh | schemaload.sh | Shell | 2,119 | 0.95 | 0.107143 | 0.3125 | react-lib | 424 | 2024-12-07T23:48:54.247870 | Apache-2.0 | false | ac2f9771f1351f6a0c721cea8a0d2e64 |
#!/bin/bash -e\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\examples\compose\set_keyspace_durability_policy.sh | set_keyspace_durability_policy.sh | Shell | 973 | 0.95 | 0.111111 | 0.652174 | node-utils | 750 | 2025-04-17T14:03:40.515898 | BSD-3-Clause | false | 278a1dbe1b0d2c9a1c1b5640c4b7a4d7 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\compose\vtorc-up.sh | vtorc-up.sh | Shell | 1,270 | 0.95 | 0.04878 | 0.486486 | python-kit | 710 | 2024-05-02T10:48:26.429773 | GPL-3.0 | false | 6042f40ca9a6350449b80d50c6b35665 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\compose\vttablet-up.sh | vttablet-up.sh | Shell | 5,691 | 0.95 | 0.099379 | 0.231884 | react-lib | 458 | 2024-08-14T15:40:10.446120 | Apache-2.0 | false | 0aaae31dc400a53cedb6d5039dfa17e5 |
\necho '**********GRANTING PRIVILEGES START*******************'\necho ${mysql[@]}\n# PURGE BINARY LOGS BEFORE DATE(NOW());\nmysql --protocol=socket -uroot -hlocalhost --socket=/var/run/mysqld/mysqld.sock -p$MYSQL_ROOT_PASSWORD -e \\n"GRANT ALL PRIVILEGES ON *.* TO '$MYSQL_USER'@'%' IDENTIFIED BY '$MYSQL_PASSWORD'"\nech... | dataset_sample\shell\vitessio_vitess\examples\compose\external_db\mysql\grant.sh | grant.sh | Shell | 371 | 0.8 | 0 | 0.166667 | python-kit | 417 | 2025-06-10T01:06:14.699684 | MIT | false | 47274d061274d40552105f4b2425a40a |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\101_initial_cluster.sh | 101_initial_cluster.sh | Shell | 3,525 | 0.95 | 0.16129 | 0.539474 | node-utils | 643 | 2024-12-16T17:50:25.699120 | BSD-3-Clause | false | 3a9115b77a65c7e390b5e60528ad7527 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\201_customer_tablets.sh | 201_customer_tablets.sh | Shell | 1,395 | 0.95 | 0.181818 | 0.740741 | awesome-app | 504 | 2024-12-06T13:21:19.438345 | BSD-3-Clause | false | 90d14205820fd506f3df33bc3382d104 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\202_move_tables.sh | 202_move_tables.sh | Shell | 990 | 0.95 | 0.12 | 0.85 | node-utils | 749 | 2025-04-14T05:13:54.321388 | Apache-2.0 | false | 4726598a36bfaa3d022ca967c5397325 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\203_switch_reads.sh | 203_switch_reads.sh | Shell | 859 | 0.95 | 0.090909 | 0.888889 | react-lib | 442 | 2023-10-30T16:31:57.312361 | BSD-3-Clause | false | 8b415539529b5f25a364f344f21a22fc |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\204_switch_writes.sh | 204_switch_writes.sh | Shell | 833 | 0.95 | 0.090909 | 0.888889 | vue-tools | 331 | 2025-01-19T02:34:34.985973 | MIT | false | 54558e3ef965f12be893c287d5f4c10e |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\205_clean_commerce.sh | 205_clean_commerce.sh | Shell | 794 | 0.95 | 0.045455 | 0.888889 | python-kit | 368 | 2023-07-31T01:25:15.444077 | GPL-3.0 | false | 80c3d59cd5613d825bd4ef19666849df |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\301_customer_sharded.sh | 301_customer_sharded.sh | Shell | 1,453 | 0.95 | 0.107143 | 0.791667 | vue-tools | 750 | 2025-06-21T07:55:09.455683 | MIT | false | b71b76fe38e747ecf170b9c191619936 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\302_new_shards.sh | 302_new_shards.sh | Shell | 1,357 | 0.95 | 0.194444 | 0.6 | vue-tools | 788 | 2023-11-13T02:30:50.526981 | BSD-3-Clause | false | f1f8d65276ecd3ab45c8ff1a108ab232 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\303_reshard.sh | 303_reshard.sh | Shell | 996 | 0.95 | 0.076923 | 0.85 | node-utils | 363 | 2025-03-08T15:45:35.866050 | Apache-2.0 | false | f019e157a2c9d80b50762c35ab44435c |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\304_switch_reads.sh | 304_switch_reads.sh | Shell | 804 | 0.95 | 0.095238 | 0.882353 | node-utils | 297 | 2024-08-08T22:23:20.360908 | BSD-3-Clause | false | bbb7d4ab6d9e9f36c8016b2e225b35fd |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\305_switch_writes.sh | 305_switch_writes.sh | Shell | 786 | 0.95 | 0.090909 | 0.882353 | vue-tools | 843 | 2024-05-10T12:16:24.761681 | GPL-3.0 | false | 408b2bbd532886fa21082e3f8f2d83a7 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\306_down_shard_0.sh | 306_down_shard_0.sh | Shell | 915 | 0.95 | 0.12 | 0.714286 | vue-tools | 66 | 2024-06-30T19:59:48.354887 | GPL-3.0 | false | 291aa04b92dbe0521e50531b9c40ac1c |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\307_delete_shard_0.sh | 307_delete_shard_0.sh | Shell | 754 | 0.95 | 0.047619 | 0.882353 | python-kit | 308 | 2024-03-16T17:08:41.204219 | BSD-3-Clause | false | 4c6b47a19abd992d310e541011d7254a |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\local\501_teardown.sh | 501_teardown.sh | Shell | 2,253 | 0.95 | 0.125 | 0.362069 | python-kit | 3 | 2024-06-22T01:25:56.392935 | MIT | false | 7afcbc65c4ad33c3d1227a4e6c76dc19 |
#!/bin/sh\n\nkubectl port-forward -n example --address localhost "$(kubectl get service -n example --selector="planetscale.com/component=vtctld" -o name | head -n1)" 15000 15999 &\nprocess_id1=$!\nkubectl port-forward -n example --address localhost "$(kubectl get service -n example --selector="planetscale.com/component... | dataset_sample\shell\vitessio_vitess\examples\operator\pf.sh | pf.sh | Shell | 935 | 0.8 | 0 | 0.066667 | react-lib | 643 | 2024-02-16T00:22:15.776093 | MIT | false | 2b91ff717d30f0c180e6b40554e11667 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\101_initial_cluster.sh | 101_initial_cluster.sh | Shell | 1,912 | 0.95 | 0.140351 | 0.627907 | awesome-app | 601 | 2025-01-17T17:47:14.492365 | MIT | false | 2ebb481fab5bd5be8b6fc9371be61bdd |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\201_main_sharded.sh | 201_main_sharded.sh | Shell | 1,531 | 0.95 | 0.151515 | 0.807692 | node-utils | 297 | 2025-01-25T00:54:45.343282 | BSD-3-Clause | false | 66248e44bde84756f01cd21cb3248a57 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\202_new_tablets.sh | 202_new_tablets.sh | Shell | 1,530 | 0.95 | 0.151515 | 0.586207 | python-kit | 360 | 2024-01-29T07:11:21.963679 | Apache-2.0 | false | 027da4adafda616f12683976556413e3 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\203_reshard.sh | 203_reshard.sh | Shell | 778 | 0.95 | 0.052632 | 0.875 | node-utils | 381 | 2023-09-01T18:59:45.146312 | GPL-3.0 | false | dfe6bb432afc043968661b4f0401d185 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\204_switch_reads.sh | 204_switch_reads.sh | Shell | 801 | 0.95 | 0.095238 | 0.882353 | react-lib | 884 | 2024-10-26T07:30:32.024601 | GPL-3.0 | false | bb79f51340e2f9f7101cee66d8b2ffc0 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\205_switch_writes.sh | 205_switch_writes.sh | Shell | 939 | 0.95 | 0.071429 | 0.909091 | vue-tools | 600 | 2024-03-10T17:12:48.575675 | GPL-3.0 | false | bf95aa94505b6a51a712705ce8cdcba3 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\206_down_shard_0.sh | 206_down_shard_0.sh | Shell | 808 | 0.95 | 0.095238 | 0.833333 | python-kit | 599 | 2025-02-11T20:18:41.822487 | BSD-3-Clause | false | a1f573a221b01843bd4f1caea450323a |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\207_delete_shard_0.sh | 207_delete_shard_0.sh | Shell | 750 | 0.95 | 0.047619 | 0.882353 | awesome-app | 242 | 2024-04-20T20:23:57.993247 | MIT | false | 6838990601ae8fc83200f2c3e7661ca3 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\examples\region_sharding\301_teardown.sh | 301_teardown.sh | Shell | 1,741 | 0.95 | 0.135593 | 0.391304 | python-kit | 542 | 2024-03-27T15:13:46.814784 | GPL-3.0 | false | c7364e30460fa671777409987cd36a9b |
#!/bin/bash\nset -x\nvtexplain --vschema-file atomicity_vschema.json --schema-file atomicity_schema.sql --shards 4 --sql 'INSERT /*vt+ MULTI_SHARD_AUTOCOMMIT=1 */ INTO t1 (c1) values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);'\n | dataset_sample\shell\vitessio_vitess\examples\vtexplain\atomicity_method1.sh | atomicity_method1.sh | Shell | 274 | 0.8 | 0 | 0.333333 | vue-tools | 404 | 2024-02-21T07:23:15.404371 | MIT | false | 7bc180412681d6412728938b61bd5407 |
#!/bin/bash\nset -x\nvtexplain --vschema-file atomicity_vschema.json --schema-file atomicity_schema.sql --shards 4 --sql 'SET transaction_mode="single"; INSERT INTO t1 (c1) values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);'\n | dataset_sample\shell\vitessio_vitess\examples\vtexplain\atomicity_method2.sh | atomicity_method2.sh | Shell | 271 | 0.8 | 0 | 0.333333 | node-utils | 124 | 2025-02-23T01:41:45.754753 | Apache-2.0 | false | 81755aeba5c892bde9be94795193f21e |
#!/bin/bash\nset -x\nvtexplain --vschema-file atomicity_vschema.json --schema-file atomicity_schema.sql --shards 4 --sql 'SET transaction_mode="single"; BEGIN; SELECT * from t1; COMMIT;'\n | dataset_sample\shell\vitessio_vitess\examples\vtexplain\atomicity_method2_reads.sh | atomicity_method2_reads.sh | Shell | 185 | 0.8 | 0 | 0.333333 | python-kit | 229 | 2023-12-15T21:08:15.171912 | GPL-3.0 | false | 8fbc18f0d2883e738fb163e6e906140d |
#!/bin/bash\nset -x\nvtexplain --vschema-file atomicity_vschema.json --schema-file atomicity_schema.sql --shards 4 --sql 'SET transaction_mode="single"; INSERT INTO t1 (c1) values (10),(14),(15),(16);'\n | dataset_sample\shell\vitessio_vitess\examples\vtexplain\atomicity_method2_working.sh | atomicity_method2_working.sh | Shell | 200 | 0.8 | 0 | 0.333333 | vue-tools | 117 | 2024-08-23T01:00:57.598718 | MIT | false | 5ce672807ec25b8c9cecf1915950a8b9 |
#!/bin/bash\nset -x\n# SET transaction_mode="multi" is implied by default\nvtexplain --vschema-file atomicity_vschema.json --schema-file atomicity_schema.sql --shards 4 --sql 'INSERT INTO t1 (c1) values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);'\n | dataset_sample\shell\vitessio_vitess\examples\vtexplain\atomicity_method3.sh | atomicity_method3.sh | Shell | 294 | 0.8 | 0 | 0.5 | python-kit | 27 | 2024-12-25T02:41:13.978411 | BSD-3-Clause | false | c96110028f698f71c879fafcd5e824fa |
#!/bin/bash\n\ncd "$(dirname "$0")"\ndocker build --tag mysql-collation-data .\n\nimgid=$(docker create mysql-collation-data)\ndocker cp $imgid:/mysql-collations/. ../../testdata/mysqldata\ndocker rm -v $imgid | dataset_sample\shell\vitessio_vitess\mysql\collations\tools\colldump\colldump.sh | colldump.sh | Shell | 202 | 0.8 | 0 | 0.166667 | react-lib | 971 | 2023-08-10T08:26:37.279669 | BSD-3-Clause | false | 521263080b7144a8c8c9fd775b5645c0 |
#!/bin/bash\n\n# Define your variables\nSOURCE_USER=root\nSOURCE_HOST=localhost\nSOURCE_PASSWORD=password\nSOURCE_DATABASE=source_dbname\n\nTARGET_USER=vtgate-test-user\nTARGET_HOST=vtgate-host\nTARGET_PASSWORD=vtgate-password\nTARGET_DATABASE=destination_keyspace\n\nSECURE='--ssl-mode=PREFER'\n\n# Uncomment if you hav... | dataset_sample\shell\vitessio_vitess\support\mysqldump\mysqldump.sh | mysqldump.sh | Shell | 1,602 | 0.8 | 0.032258 | 0.24 | python-kit | 472 | 2025-01-03T03:01:41.233827 | BSD-3-Clause | false | 2384430ad262d12364327d23798d03a4 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\test\client_java.sh | client_java.sh | Shell | 1,281 | 0.95 | 0.076923 | 0.863636 | python-kit | 857 | 2025-03-11T01:43:18.951331 | GPL-3.0 | true | 275a7308a94d44f3af52d58add57c6b6 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\test\client_jdbc.sh | client_jdbc.sh | Shell | 2,954 | 0.95 | 0.050847 | 0.52 | awesome-app | 112 | 2025-04-13T04:23:29.573391 | Apache-2.0 | true | fbbaf012f3df86427c0f36763bc32ef0 |
# We expect environment variables like the following to be set\n#export VAULT_ADDR=https://test:9123\n#export VAULT=/path/to/vitess/test/bin/vault-1.6.1\n#export VAULT_CACERT=./vault-cert.pem\n\n# For debugging purposes\nset -x\nTMPFILE=/tmp/setup.sh.tmp.$RANDOM\n$VAULT operator init -key-shares=1 -key-threshold=1 | gr... | dataset_sample\shell\vitessio_vitess\test\endtoend\vault\vault-setup.sh | vault-setup.sh | Shell | 1,634 | 0.8 | 0.021739 | 0.470588 | react-lib | 114 | 2024-01-28T14:07:38.421699 | BSD-3-Clause | true | 0e4a043e420c84330c2ce4f9f29ea2a0 |
#!/bin/bash\n\n# Copyright 2021 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\test\fuzzing\oss_fuzz_build.sh | oss_fuzz_build.sh | Shell | 4,739 | 0.95 | 0.048077 | 0.3 | python-kit | 801 | 2024-08-21T07:50:00.941604 | GPL-3.0 | true | 8034c8941e7835c53b81cc225d5c3942 |
#!/bin/bash\n\nset -euo pipefail\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless ... | dataset_sample\shell\vitessio_vitess\tools\back_to_dev_mode.sh | back_to_dev_mode.sh | Shell | 2,452 | 0.95 | 0.088608 | 0.242424 | awesome-app | 57 | 2023-10-01T06:38:16.133822 | MIT | false | 4de9104601b68e330dd187801b156a20 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\tools\build_version_flags.sh | build_version_flags.sh | Shell | 1,606 | 0.95 | 0.057143 | 0.580645 | node-utils | 994 | 2023-09-12T21:35:24.468188 | BSD-3-Clause | false | ba4b019a2febd7cd2a9d1cc6181de287 |
#!/bin/bash\n\n#\n# Validate that the current version of ast_format_fast matches what gets generated.\n#\n\nsource build.env\n\nfirst_output=$(git status --porcelain)\n\ngo run ./go/tools/astfmtgen vitess.io/vitess/go/vt/sqlparser/...\n\nsecond_output=$(git status --porcelain)\n\ndiff=$(diff <( echo "$first_output") <(... | dataset_sample\shell\vitessio_vitess\tools\check_astfmtgen.sh | check_astfmtgen.sh | Shell | 504 | 0.8 | 0.047619 | 0.285714 | react-lib | 27 | 2025-04-06T20:24:03.582959 | GPL-3.0 | false | d30259ab80452b8a560461bcf9906248 |
#!/bin/bash\n#\n# Validate that the go versions in go.mod, CI test workflows\n# and docker/bootstrap/Dockerfile.common are compatible.\n#\n# This is called from the Static Code Checks CI workflow.\n\nset -e\n\n# go.mod\nGO_MOD_VERSION="$(awk '/^go [0-9].[0-9]+/{print $(NF-0)}' go.mod)"\nif [ -z "${GO_MOD_VERSION}" ]; t... | dataset_sample\shell\vitessio_vitess\tools\check_go_versions.sh | check_go_versions.sh | Shell | 740 | 0.8 | 0.090909 | 0.421053 | react-lib | 565 | 2025-03-23T16:22:43.873901 | GPL-3.0 | false | 21ccba91f65e8c242a48d50bbc831d63 |
#!/bin/bash\n#\n# Validate that the current version of the generated parser matches the output\n# generated by the version of goyacc installed on the local system.\n#\n# This is used in Travis to verify that the currently committed version was\n# generated with the proper version of goyacc.\n\nsource build.env\n\nCUR="... | dataset_sample\shell\vitessio_vitess\tools\check_make_parser.sh | check_make_parser.sh | Shell | 1,054 | 0.8 | 0.069767 | 0.212121 | python-kit | 449 | 2025-01-31T09:44:52.433720 | Apache-2.0 | false | d61432ecad6d23db054ff6766e6765e8 |
#!/bin/bash\n\nsource build.env\n\nfirst_output=$(git status --porcelain)\n\nmake proto\n\nsecond_output=$(git status --porcelain)\n\ndiff=$(diff <( echo "$first_output") <( echo "$second_output"))\n\nif [[ "$diff" != "" ]]; then\n echo "ERROR: Regenerated proto files do not match the current version."\n echo -e "Lis... | dataset_sample\shell\vitessio_vitess\tools\check_make_proto.sh | check_make_proto.sh | Shell | 361 | 0.8 | 0.058824 | 0.090909 | vue-tools | 836 | 2024-02-14T08:54:49.232566 | Apache-2.0 | false | 29e6efe27bb8010aceb8804ce04eb857 |
#!/bin/bash\n\n#\n# Validate that the current version of the generated cache_size files match the output\n# generated by sizegen.\n#\n\nsource build.env\n\nfirst_output=$(git status --porcelain)\n\nmake sizegen\n\nsecond_output=$(git status --porcelain)\n\ndiff=$(diff <( echo "$first_output") <( echo "$second_output"))... | dataset_sample\shell\vitessio_vitess\tools\check_make_sizegen.sh | check_make_sizegen.sh | Shell | 485 | 0.8 | 0.045455 | 0.333333 | vue-tools | 788 | 2023-11-16T10:01:34.374123 | Apache-2.0 | false | 02911d360af931c17c3ee8b85f8b6878 |
#!/bin/bash\n\nsource build.env\n\nfirst_output=$(git status --porcelain)\n\nmake vtadmin_web_proto_types\n\nsecond_output=$(git status --porcelain)\n\ndiff=$(diff <( echo "$first_output") <( echo "$second_output"))\n\nif [[ "$diff" != "" ]]; then\n git diff\n echo "ERROR: Regenerated vtadmin web proto files do not m... | dataset_sample\shell\vitessio_vitess\tools\check_make_vtadmin_web_proto.sh | check_make_vtadmin_web_proto.sh | Shell | 443 | 0.8 | 0.052632 | 0.076923 | vue-tools | 751 | 2024-09-23T14:54:32.968274 | MIT | false | 5dd8b17a4a1b7978d2727cc67f5d36cc |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\code_freeze.sh | code_freeze.sh | Shell | 2,298 | 0.95 | 0.061538 | 0.517857 | python-kit | 874 | 2025-02-19T08:16:00.175360 | MIT | false | 4734214ba68f7dff85a1a7be3915743d |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\create_release.sh | create_release.sh | Shell | 3,143 | 0.95 | 0.12766 | 0.246753 | awesome-app | 652 | 2025-04-02T15:18:12.108569 | Apache-2.0 | false | 03440cc32ed5f79661ce64a8fe7b23e7 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\tools\dependency_check.sh | dependency_check.sh | Shell | 1,060 | 0.95 | 0.137931 | 0.64 | react-lib | 738 | 2024-02-14T04:32:18.412447 | Apache-2.0 | false | 80c3460f09fa65176748f6821af931ac |
#!/bin/bash\n\nset -euo pipefail\nsource build.env\n\n# This script downloads kind binary that are\n# used as part of the vtop test environment,\n# and places them in vitess/bin/.\n#\n# The vtop example test expects kind binary to be found in the PATH.\n\nmkdir -p "$VTROOT/bin"\ncd "$VTROOT/bin"\n\nKUBE_VERSION="${KUBE... | dataset_sample\shell\vitessio_vitess\tools\get_kubectl_kind.sh | get_kubectl_kind.sh | Shell | 1,010 | 0.8 | 0.111111 | 0.266667 | react-lib | 141 | 2023-12-04T08:06:32.170393 | MIT | false | 80a7631842129a1a9fa658162ff60b06 |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\get_next_release.sh | get_next_release.sh | Shell | 1,331 | 0.95 | 0.117647 | 0.5 | react-lib | 124 | 2024-09-25T15:58:00.835876 | MIT | false | 302940359941e03aa8a0e847f1c6d04e |
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\get_previous_release.sh | get_previous_release.sh | Shell | 1,509 | 0.95 | 0.108108 | 0.5625 | python-kit | 287 | 2024-12-26T09:47:30.022923 | BSD-3-Clause | false | 1b369d028b9a56ec0660ce92269fb7c7 |
#!/bin/bash\n\n# This script builds and packages a Vitess release suitable for creating a new\n# release on https://github.com/vitessio/vitess/releases.\n\n# http://redsymbol.net/articles/unofficial-bash-strict-mode/\nset -euo pipefail\n\n# sudo gem install --no-ri --no-rdoc fpm\n# shellcheck disable=SC1091\nsource bui... | dataset_sample\shell\vitessio_vitess\tools\make-release-packages.sh | make-release-packages.sh | Shell | 3,054 | 0.95 | 0.061224 | 0.139241 | node-utils | 98 | 2024-09-16T22:21:48.849349 | GPL-3.0 | false | 7e8236cdded9905ff8aa8bde42a6ab1c |
#!/bin/bash\n\nif ! /usr/bin/getent group vitess >/dev/null ; then\n groupadd -r vitess\nfi\n\nif ! /usr/bin/getent passwd vitess >/dev/null ; then\n useradd -r -g vitess vitess\nfi\n | dataset_sample\shell\vitessio_vitess\tools\preinstall.sh | preinstall.sh | Shell | 179 | 0.8 | 0.222222 | 0.142857 | python-kit | 55 | 2024-03-26T16:00:27.248393 | Apache-2.0 | false | 6a994e8d382dc763ff11544ef3e494af |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\tools\pylint.sh | pylint.sh | Shell | 1,091 | 0.95 | 0.058824 | 0.607143 | python-kit | 756 | 2024-03-14T18:12:40.883999 | Apache-2.0 | false | f26a8a2b08bc59a8bb20527b9426c3ee |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\release_utils.sh | release_utils.sh | Shell | 3,326 | 0.95 | 0.122222 | 0.263158 | vue-tools | 89 | 2024-10-29T10:21:30.865222 | MIT | false | ec3ffab90b9bba70afba7417a2b1c33f |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\tools\remove_dependencies.sh | remove_dependencies.sh | Shell | 3,711 | 0.95 | 0.092105 | 0.195122 | react-lib | 134 | 2024-09-12T05:13:09.946630 | GPL-3.0 | false | 14adb4005ffa8326c14d7729499af048 |
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\vt\zkctl\zksrv.sh | zksrv.sh | Shell | 1,804 | 0.95 | 0.111111 | 0.310345 | vue-tools | 111 | 2025-03-21T15:00:10.130409 | BSD-3-Clause | false | 79856c4b9b24dc86de12ad9ad08dd3be |
#!/bin/bash\n\n# Copyright 2023 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl... | dataset_sample\shell\vitessio_vitess\web\vtadmin\build.sh | build.sh | Shell | 2,048 | 0.95 | 0.088235 | 0.288462 | vue-tools | 96 | 2024-08-22T05:58:03.721718 | Apache-2.0 | false | 52b617c0f4e436a01b2afbc4fb7bdfb8 |
#!/bin/bash\n\n# Copyright 2020 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic... | dataset_sample\shell\vitessio_vitess\web\vtadmin\bin\generate-proto-types.sh | generate-proto-types.sh | Shell | 1,231 | 0.95 | 0.022222 | 0.444444 | node-utils | 846 | 2024-10-03T16:09:08.164906 | MIT | false | 0662b8452b9a1bc34488c3b0b7adc115 |
#!/bin/bash\n\nset -e\n\n# Activate the upgraded versions of GCC and binutils\n# See https://linux.web.cern.ch/centos7/docs/softwarecollections/#inst\nsource /opt/rh/devtoolset-8/enable\n\necho "Building Volta"\n\ncargo build --release\n\necho "Packaging Binaries"\n\ncd target/release\ntar -zcvf "$1.tar.gz" volta volta... | dataset_sample\shell\volta-cli_volta\ci\build-linux.sh | build-linux.sh | Shell | 325 | 0.8 | 0 | 0.3 | python-kit | 760 | 2024-07-15T15:26:50.001079 | GPL-3.0 | false | f00c46b692460c4225342fc16f15fb06 |
#!/bin/bash\n\nset -e\n\necho "Building Volta"\n\nMACOSX_DEPLOYMENT_TARGET=11.0 cargo build --release --target=aarch64-apple-darwin\nMACOSX_DEPLOYMENT_TARGET=11.0 cargo build --release --target=x86_64-apple-darwin\n\necho "Packaging Binaries"\n\nmkdir -p target/universal-apple-darwin/release\n\nfor exe in volta volta-s... | dataset_sample\shell\volta-cli_volta\ci\build-macos.sh | build-macos.sh | Shell | 578 | 0.8 | 0.047619 | 0.076923 | python-kit | 21 | 2023-11-01T18:53:04.698881 | BSD-3-Clause | false | de43e5fe50a39131a3e10a0276fb71e4 |
#!/usr/bin/env bash\n# Build an RPM package for Volta\n\n# using the directions from https://rpm-packaging-guide.github.io/\n\n# exit on error\nset -e\n\n# only argument is the version number\nrelease_version="${1:?Must specify the release version, like \`build-rpm 1.2.3\`}"\narchive_filename="v${release_version}.tar.g... | dataset_sample\shell\volta-cli_volta\dev\rpm\build-rpm.sh | build-rpm.sh | Shell | 1,756 | 0.8 | 0.06383 | 0.513514 | react-lib | 867 | 2025-05-18T10:35:35.880587 | Apache-2.0 | false | 99db194c323992b9ae1cacd1ba80171f |
#!/usr/bin/env bash\n\n# This is the bootstrap Unix installer served by `https://get.volta.sh`.\n# Its responsibility is to query the system to determine what OS (and in the\n# case of Linux, what OpenSSL version) the system has, and then proceed to\n# fetch and install the appropriate build of Volta.\n\nvolta_get_late... | dataset_sample\shell\volta-cli_volta\dev\unix\boot-install.sh | boot-install.sh | Shell | 4,520 | 0.8 | 0.1 | 0.104839 | python-kit | 236 | 2023-12-10T14:38:14.422140 | MIT | false | 59f00dafd1617030af1de1e4d6140d83 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.