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

Ensure that float values parsed into expressions will always be parsed back into floats, not decimals. #15535

Closed
wants to merge 1,155 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1155 commits
Select commit Hold shift + click to select a range
ad55f21
progress
Jun 3, 2023
75af0d5
parsing
Jun 4, 2023
b44aeef
parse good now
Jun 4, 2023
800a585
remove todo
Jun 5, 2023
9cdb6e1
Add ignore/replace modifiers to load data
tbantle22 Jun 5, 2023
cbc62ca
Merge pull request #243 from dolthub/taylor/load-data
tbantle22 Jun 5, 2023
9fc1e22
merge with main
Jun 5, 2023
6cb0d80
allow EVENTS to be parsed as non-reserved keyword (#242)
jennifersp Jun 6, 2023
7d7b7b0
merge
Jun 6, 2023
741f321
recompile sql.go
Jun 6, 2023
e51c8f6
parse table_functions with aliases
Jun 8, 2023
7a0e042
use as_opt
Jun 8, 2023
8cd7c28
Merge pull request #244 from dolthub/james/table-func-alias
jycor Jun 8, 2023
177af32
allow event non-reserved keyword as table and column name (#245)
jennifersp Jun 9, 2023
8fbcc64
merge with main
Jun 9, 2023
61c79e2
walk expressions
Jun 9, 2023
29405b7
removing unused variables
Jun 9, 2023
05e3ae9
remove todo
Jun 9, 2023
e9b2acc
nested nested parse test
Jun 9, 2023
ebbc250
implementing syntax
Jun 12, 2023
fb55c2b
implmenting syntax
Jun 12, 2023
cbdc712
backquoting name
Jun 12, 2023
86b5e1d
missed one
Jun 12, 2023
51f297b
fixing, and adding many more tests
Jun 12, 2023
d1dee78
Merge pull request #240 from dolthub/james/json-table
jycor Jun 13, 2023
a7e96ea
merge
Jun 13, 2023
a16d39f
parsing rules for name
Jun 14, 2023
174026c
Merge pull request #246 from dolthub/james/spatial
jycor Jun 16, 2023
896baed
First pass at support for FK REFERENCES clause inline in a column def…
fulghum Jun 8, 2023
47ff5d6
Simplifying rule for ALTER TABLE DROP CHECK
fulghum Jun 16, 2023
4ad6a1a
Including all_non_reserved for column_definition rule
fulghum Jun 16, 2023
0c64ac0
Including all_non_reserved for deallocate_statement rule
fulghum Jun 16, 2023
bb080fc
Adding tests for inline FK definitions in column definitions for CREA…
fulghum Jun 16, 2023
897446f
Tidying up
fulghum Jun 16, 2023
b07e0ca
Merge branch 'main' into fulghum/cleanup
fulghum Jun 16, 2023
695f8e7
Regen sql.go
fulghum Jun 16, 2023
b8d3ce4
Adding a CREATE TABLE parse test using the event non-reserved keyword
fulghum Jun 16, 2023
48c9f89
Adding a CREATE TABLE parse test using an inline FK definition
fulghum Jun 16, 2023
43f638d
Merge pull request #247 from dolthub/fulghum/cleanup
fulghum Jun 16, 2023
c64411a
Support for throw-away identifier in alter table foreign key declaration
zachmu Jun 15, 2023
55f4948
New sql.go
zachmu Jun 16, 2023
b64a8aa
Fill in Index name for the foreign key, why not
zachmu Jun 16, 2023
8e82c9e
Merge pull request #248 from dolthub/zachmu/fks
zachmu Jun 16, 2023
a28be6b
Adding parsing support (as a no-op) for the INVISIBLE keyword
fulghum Jun 21, 2023
211a98a
Merge branch 'main' into fulghum/cleanup
fulghum Jun 21, 2023
7165fde
Re-gen sql.go after merge from main
fulghum Jun 21, 2023
d3b0abf
Adding support for a single CALL statement inside a trigger body
fulghum Jun 21, 2023
3e225a4
Adding support for CAST and CONVERT to convert to DOUBLE and FLOAT types
fulghum Jun 21, 2023
a7d3799
Merge pull request #249 from dolthub/fulghum/cleanup
fulghum Jun 21, 2023
6d9e4ad
parsing, no idea why lateral_opt wont work
Jun 21, 2023
2ef9bc7
can't start rule with an opt
Jun 21, 2023
78bc6b7
formatter and tests
Jun 22, 2023
9a3029b
Fixed missing support for collations as strings
Hydrocharged Jun 22, 2023
39f2d14
Merge pull request #251 from dolthub/daylon/fix-collate-string
Hydrocharged Jun 22, 2023
baebc4f
recompile
Jun 22, 2023
5721325
merge with main
Jun 22, 2023
b065f42
Fixed keyword usage in primary key clauses
zachmu Jul 6, 2023
d9e75c0
PR feedback
zachmu Jul 6, 2023
c11c900
regen sql.go
zachmu Jul 6, 2023
d13c7c2
Merge pull request #252 from dolthub/zachmu/password
zachmu Jul 6, 2023
af2d471
First pass at making the tokenizer combine adjacent string literals
zachmu Jul 6, 2023
96093ab
merge with main
Jul 6, 2023
380e91e
bug fix
zachmu Jul 6, 2023
e87e25a
getting closer
zachmu Jul 7, 2023
fe0e39f
Admitting defeat on special comments, using existing hack
zachmu Jul 7, 2023
5c4805a
Merge branch 'main' into zachmu/string-concat
zachmu Jul 7, 2023
4f9bb97
All tests passing again
zachmu Jul 7, 2023
865285c
Removed string literals as table aliases (not a standard mysql behavior)
zachmu Jul 7, 2023
da82fba
Another test
zachmu Jul 7, 2023
4d21c09
Bug fix and test
zachmu Jul 7, 2023
241b093
Merge pull request #253 from dolthub/zachmu/string-concat
zachmu Jul 7, 2023
7519189
merge with main
Jul 10, 2023
dc2f84e
Fix for using unqouted reserved words ('count' specifically) in the V…
fulghum Jul 10, 2023
865ffe8
Merge pull request #254 from dolthub/fulghum/parser
fulghum Jul 10, 2023
1fbb8bb
merge with main
Jul 10, 2023
09e6e6f
remove comment and recompile
Jul 17, 2023
42bab25
Merge pull request #250 from dolthub/james/lateral
jycor Jul 18, 2023
31a1b49
New approach to FOR SYSTEM_TIME
zachmu Jul 24, 2023
4c05b8e
First pass at supporting ANSI_QUOTES SQL mode in the parser
fulghum Jul 24, 2023
0de2a63
Merge branch 'main' into fulghum/parser
fulghum Jul 24, 2023
0b7716e
First working version
zachmu Jul 24, 2023
7f97a57
Simplified table version clause
zachmu Jul 24, 2023
57b7c81
Tidying up
fulghum Jul 24, 2023
fc029d8
Supporting for system_time syntax more places
zachmu Jul 24, 2023
22a06bb
All remaining versioning syntax
zachmu Jul 24, 2023
92ed9d5
Full support and tests for all versioning syntax
zachmu Jul 25, 2023
c582495
Added FOR VERSION AS OF for completeness's sake
zachmu Jul 25, 2023
3a99430
Moved keywods into their own file, out of tokenizer
zachmu Jul 25, 2023
94f73ee
Tidying up and adding a few more test cases
fulghum Jul 25, 2023
74b7397
PR review feedback – updating comments and moving from a slice to a m…
fulghum Jul 25, 2023
2217701
Merge pull request #256 from dolthub/fulghum/parser
fulghum Jul 25, 2023
e42e37f
Merge branch 'main' into zachmu/asof2
zachmu Jul 25, 2023
e7fda6e
PR feedback
zachmu Jul 25, 2023
9289690
Added support for VERSIONS BETWEEN without FOR
zachmu Jul 25, 2023
af83bd9
Merge pull request #257 from dolthub/zachmu/asof2
zachmu Jul 25, 2023
6af6021
Adding new keywords to the non-reserved list so they don't need to be…
zachmu Jul 26, 2023
ebf740c
Bug fix for round tripping cast calls after they get formatted
fulghum Jul 26, 2023
a5d19df
Merge pull request #258 from dolthub/zachmu/asof2
zachmu Jul 26, 2023
8af8467
Merge pull request #259 from dolthub/fulghum/parser
fulghum Jul 26, 2023
da36b47
changing all alter table statements to use the same type
zachmu Jul 28, 2023
90f079b
Merge branch 'zachmu/asof2' into zachmu/alter2
zachmu Jul 28, 2023
ed28e2d
Renamed MultiAlterDDL
zachmu Jul 31, 2023
303f4f0
Merge pull request #260 from dolthub/zachmu/alter2
zachmu Aug 1, 2023
f0f562e
Preserving bind var type for sqltypes.Char data
fulghum Aug 3, 2023
6a8ca15
Merge pull request #261 from dolthub/fulghum/dev
fulghum Aug 3, 2023
450b338
Prep query formatting changes for name res
max-hoffman Aug 7, 2023
3d8067b
json_table formatting
max-hoffman Aug 10, 2023
a2a338e
more json_table formatting
max-hoffman Aug 10, 2023
bd2472d
tests
max-hoffman Aug 14, 2023
d93b324
Add SECURITY.md.
reltuk Aug 14, 2023
d3dc5eb
Merge pull request #263 from dolthub/aaron/security-policy
reltuk Aug 14, 2023
0064fc1
Revert https://github.com/dolthub/vitess/pull/261
zachmu Aug 14, 2023
5f606d8
Merge pull request #264 from dolthub/zachmu/wire-types
zachmu Aug 15, 2023
02f159e
Merge branch 'main' into max/prep-query-formatting
max-hoffman Aug 15, 2023
16a2094
Merge pull request #262 from dolthub/max/prep-query-formatting
max-hoffman Aug 16, 2023
70d7c84
upgraded YAML library
zachmu Aug 23, 2023
4a21a94
Merge pull request #265 from dolthub/zachmu/yaml
zachmu Aug 23, 2023
e755464
parsing secondary_engine table option (#266)
jycor Sep 12, 2023
794994e
Parse `TABLE <table_name>` statements (#267)
jycor Sep 12, 2023
ba192eb
Support `TABLE_CHECKSUM` as alias for `CHECKSUM` in `CREATE TABLE` an…
jycor Sep 12, 2023
45d600c
Fix `UNION` table option and parse `LAST` keyword (#269)
jycor Sep 12, 2023
012908e
support alternate ways to say `VARCHAR` (#270)
jycor Sep 13, 2023
9bb441d
Set character set IDs to current MySQL version
Hydrocharged Sep 14, 2023
925649e
Add test for skip locked parsing
macneale4 Sep 14, 2023
c6c9475
Update SQL Grammar to handle `for update skip locked`
macneale4 Sep 14, 2023
0d07f88
Generated sql.go
macneale4 Sep 14, 2023
47bdb2d
Parse 'skip locked'
macneale4 Sep 14, 2023
ef1b927
Merge pull request #272 from dolthub/daylon/update-charset-values
Hydrocharged Sep 15, 2023
bc0ce9e
Set character set IDs to current MySQL version
Hydrocharged Sep 14, 2023
2da3019
Allow `CREATE TABLE` and `ALTER TABLE` to accept hexnum and float val…
nicktobey Sep 20, 2023
648c869
parsing `intersect` and `except` (#271)
jycor Sep 20, 2023
abf9524
Move sql validation tests into their own subtests.
nicktobey Sep 20, 2023
a80b091
Fix syntax error in sql validation test.
nicktobey Sep 20, 2023
55340da
Update specific DDL parameters to allow types that can be coerced to …
nicktobey Sep 20, 2023
4a8d5d6
Merge branch 'main' into nicktobey/hex
nicktobey Sep 20, 2023
42d5b07
Regenerate sql.go
nicktobey Sep 20, 2023
57d79c5
Merge pull request #274 from dolthub/nicktobey/hex
nicktobey Sep 20, 2023
86aca08
Adding parser support for VISIBLE and INVISIBLE modifiers for indexes.
fulghum Sep 20, 2023
79cfc62
Merge branch 'main' into fulghum/dev
fulghum Sep 20, 2023
1ccce69
Re-gen'ing sql.go
fulghum Sep 20, 2023
7e54e27
whitespace
fulghum Sep 20, 2023
eb645ef
Merge pull request #275 from dolthub/fulghum/dev
fulghum Sep 20, 2023
bc46514
Allow parsing of `SECONDARY_ENGINE = NULL`
nicktobey Sep 25, 2023
ea0c9a6
Merge pull request #276 from dolthub/nicktobey/secondary
nicktobey Sep 25, 2023
81f975e
fix unsigned flag for `COM_STMT_EXECUTE` when `new_params_bind_flag` …
jycor Sep 28, 2023
5b302d3
Allow parsing of `CREATE TABLE t AS (...) UNION (...)`
nicktobey Sep 28, 2023
6c60b48
Merge pull request #277 from dolthub/nicktobey/createas
nicktobey Sep 29, 2023
06837ef
Add ANALYZE HISTOGRAM support
max-hoffman Oct 2, 2023
f4e9d2c
merge main
max-hoffman Oct 2, 2023
d3d3d95
missed keyword DATA
max-hoffman Oct 9, 2023
9ebf1a7
Merge pull request #279 from dolthub/max/analyze-histogram
max-hoffman Oct 10, 2023
11d1cc1
updating DefaultServerVersion to "8.0.33"
fulghum Oct 11, 2023
750452c
Merge pull request #280 from dolthub/fulghum/server-version
fulghum Oct 11, 2023
d8f0fba
Made generated column expressions parse to ParenExpr to match Default
zachmu Oct 17, 2023
8d114dc
Merge pull request #281 from dolthub/zachmu/virtual-cols
zachmu Oct 17, 2023
2e15577
Server handling parsed statements
Hydrocharged Oct 18, 2023
6acf9c0
Merge pull request #282 from dolthub/daylon/gms-ast
Hydrocharged Oct 18, 2023
45c2d7d
allow query options to appear in any order any number of times (#283)
jycor Oct 18, 2023
85359c5
Including the With clause in walked subtrees to fix an issue where bi…
fulghum Oct 20, 2023
ef26be7
Merge pull request #284 from dolthub/fulghum/dolt-6852
fulghum Oct 20, 2023
848f172
Add create view (columns)
max-hoffman Oct 23, 2023
7606aaf
Merge pull request #285 from dolthub/max/view-cols
max-hoffman Oct 24, 2023
7da194a
Minor tweaks to logging; changing Handler to pass mysql.PrepareData w…
fulghum Oct 24, 2023
f475795
Updating testHandler's ComPrepare signature
fulghum Oct 24, 2023
1df03c2
Merge pull request #286 from dolthub/fulghum/logging
fulghum Oct 26, 2023
cd2371d
support `int1`,`int2`,`int3`,`int4`,`int8` aliases (#287)
jycor Nov 3, 2023
6fe92d6
allow unquoted non reserved keywords for drop column ddl
Nov 6, 2023
ffab0e2
Revert "allow unquoted non reserved keywords for drop column ddl"
Nov 6, 2023
51b7694
adding tests (#288)
jycor Nov 6, 2023
c0fa018
add partial support for ':=' assignment operator (#289)
jennifersp Nov 9, 2023
2466012
round trip SHOW PLUGINS
max-hoffman Nov 27, 2023
d142ec4
Merge pull request #291 from dolthub/max/show-plugins
max-hoffman Nov 27, 2023
75ae711
Parse COLLATE BINARY on individual columns.
nicktobey Nov 30, 2023
8b522c3
Merge pull request #292 from dolthub/nicktobey/collatebinary
nicktobey Dec 1, 2023
94f5476
Add REAL, DEC, and FIXED to SQLType()
nicktobey Dec 1, 2023
09287d7
Prevent panics for more invalid geometry queries
nicktobey Dec 2, 2023
0ed804e
Merge pull request #293 from dolthub/nicktobey/sql
nicktobey Dec 4, 2023
69676a3
All SqlType to parse "CHARACTER" and add tests for every other type.
nicktobey Dec 7, 2023
88fb354
Merge pull request #294 from dolthub/nicktobey/sql
nicktobey Dec 7, 2023
bb6e999
ExtendedHandler interface
zachmu Dec 19, 2023
7a1b64d
Allowing inline column check constraint definitions to appear in any …
fulghum Dec 19, 2023
f14f938
Tidying up
fulghum Dec 20, 2023
3729729
Merge pull request #295 from dolthub/fulghum/inline-check-position
fulghum Dec 20, 2023
103dae9
Inteface changes
zachmu Dec 28, 2023
78fa0d3
refactoring `default` and `on update` expressions (#296)
jycor Jan 3, 2024
4d6b201
Fixing the version keyword so it doesn't require identifier quotes
fulghum Jan 3, 2024
a3640a7
Merge pull request #297 from dolthub/fulghum/version
fulghum Jan 3, 2024
e19aad2
Reworked extended handler interfaces
zachmu Jan 3, 2024
4b296d3
parse empty begin end block in trigger (#298)
jycor Jan 4, 2024
132bf6a
Fixed compile error, moved linux-only test to its own test file
zachmu Jan 10, 2024
0ecd224
Merge branch 'main' into zachmu/prepared
zachmu Jan 10, 2024
9fb7073
Missing imports
zachmu Jan 10, 2024
4030c3d
another missing import
zachmu Jan 10, 2024
e46007d
Merge pull request #299 from dolthub/zachmu/prepared
zachmu Jan 10, 2024
f926027
custom `char()` syntax handling (#300)
jycor Jan 17, 2024
43038f0
Changing the VarScope function so that it returns whether a scope was…
fulghum Jan 17, 2024
420942c
support special syntax for `position()` (#301)
jycor Jan 17, 2024
7d400c8
Adding parser support for the ALTER USER statement
fulghum Jan 17, 2024
d7fb90e
Merge branch 'main' into fulghum/dolt-7348
fulghum Jan 17, 2024
a93c76f
Regenerating sql.go
fulghum Jan 17, 2024
123ca09
Merge pull request #303 from dolthub/fulghum/dolt-7348
fulghum Jan 17, 2024
bd94646
Adding a unit test for the VarScopeForColName function
fulghum Jan 17, 2024
33f24ba
Changing the VarScope function to report the originally specified sco…
fulghum Jan 17, 2024
c9088ef
Merge branch 'main' into fulghum/max_allowed_packet
fulghum Jan 17, 2024
55b8c7b
Merge pull request #302 from dolthub/fulghum/max_allowed_packet
fulghum Jan 17, 2024
a424f71
Allow UNIQUE and PRIMARY KEY to be specified on the same column
fulghum Jan 23, 2024
f891432
Fixing error test cases and supporting UNIQUE KEY usage with PRIMARY …
fulghum Jan 23, 2024
34eb6f8
Matching MySQL's behavior for repeated key options
fulghum Jan 23, 2024
b7f758f
Merge pull request #305 from dolthub/fulghum/serial
fulghum Jan 23, 2024
9de5bdc
allow function keywords (#306)
jycor Jan 29, 2024
aec9dae
allow hexnums for stats_auto_recalc table option (#307)
jycor Jan 29, 2024
9533f71
Changing Handler.ComResetConnection to return an error
fulghum Feb 2, 2024
8c20367
Added a way for Doltgres to inject expressions
Hydrocharged Feb 5, 2024
9e6c6d6
LIMIT and OFFSET can be procedure params
max-hoffman Feb 5, 2024
53878b0
Merge pull request #310 from dolthub/max/limit-proc-param
max-hoffman Feb 6, 2024
6acf16f
Merge branch 'main' into fulghum/com-reset
fulghum Feb 6, 2024
429eb81
Merge pull request #308 from dolthub/fulghum/com-reset
fulghum Feb 6, 2024
aec3497
PR feedback
Hydrocharged Feb 7, 2024
c057d23
Merge pull request #309 from dolthub/daylon/super-type
Hydrocharged Feb 7, 2024
ba86461
implement syntax and add tests
Feb 7, 2024
81a999a
more tests
Feb 7, 2024
0c2d212
charset test
Feb 7, 2024
ca2e660
Allow InjectedExpr to handle name resolution
Hydrocharged Feb 8, 2024
f1ab14f
Merge pull request #312 from dolthub/daylon/injected-expr-name-res
Hydrocharged Feb 9, 2024
6c93b03
Merge pull request #311 from dolthub/james/select-into
Hydrocharged Feb 9, 2024
5675bb1
First pass at pulling over code from the main Vitess repo for a serve…
fulghum Feb 16, 2024
d55088c
supports `FROM s.account`, in which `account` is non-reserved keyword…
boyxuper Feb 28, 2024
13c0f62
support casting to year (#314)
jycor Feb 28, 2024
d16f751
support binary charset
Mar 7, 2024
c5197ab
one more test
Mar 7, 2024
7c834a4
expand charset to character set
Mar 7, 2024
5f7f589
Merge pull request #315 from dolthub/james/binary
fulghum Mar 7, 2024
38d9806
Merge branch 'main' into fulghum/com_binlog_prototype
fulghum Mar 8, 2024
54e6338
Merge branch 'main' into fulghum/com_binlog_prototype
fulghum Mar 8, 2024
c4763c1
Merge branch 'fulghum/com_binlog_prototype' of https://github.com/dol…
fulghum Mar 8, 2024
063868e
Adding support for SHOW REPLICAS
fulghum Mar 8, 2024
53ceaf5
Adding support for SHOW BINARY LOG STATUS
fulghum Mar 8, 2024
b5f0595
Adding support for SHOW BINARY LOGS
fulghum Mar 8, 2024
919c452
Adding new non-reserved keywords to non_reserved_keyword list
fulghum Mar 8, 2024
9bc43e5
Merge pull request #318 from dolthub/fulghum/binlog_statements
fulghum Mar 8, 2024
96a83d3
make constraint name optional for primary key (#319)
jycor Mar 12, 2024
0bfe319
Pulling over latest code from binlog_event_make.go
fulghum Mar 12, 2024
7a9554f
Fixing bad var name
fulghum Mar 12, 2024
fe290b5
Moving binlog replica methods to a new extension interface: BinlogRep…
fulghum Mar 12, 2024
6621ed3
Merge branch 'main' into fulghum/com_binlog_prototype
fulghum Mar 12, 2024
8ee5109
Merge pull request #317 from dolthub/fulghum/com_binlog_prototype
fulghum Mar 12, 2024
baa4697
[ast] walk tableFuncExpr for bind variables
max-hoffman Mar 14, 2024
af0bf0b
Merge pull request #321 from dolthub/max/table-func-expr-walk
max-hoffman Mar 14, 2024
89f7db8
parse table options into struct (#322)
jycor Mar 19, 2024
1cfa73b
Ensure that float values parsed into expressions will always be parse…
nicktobey Mar 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ _test
java/*/target
java/*/bin
php/vendor

releases
5 changes: 1 addition & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
* @sougou

/docker/ @derekperkins @dkhenry
/helm/ @derekperkins @dkhenry
* @zachmu
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ about: If you have a question, please check out our other community resources in
Issues on GitHub are intended to be related to bugs or feature requests, so we recommend using our other community resources instead of asking here.

- [Vitess User Guide](https://vitess.io/user-guide/introduction/)
- Any other questions can be asked in the community [Slack workspace](https://bit.ly/vitess-slack)
- Any other questions can be asked in the community [Slack workspace](https://vitess.io/slack)
25 changes: 25 additions & 0 deletions .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: check_make_parser
on: [push, pull_request]
jobs:

build:
name: Build
runs-on: ubuntu-20.04
steps:

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3

- name: Get dependencies
run: |
go mod download

- name: check_make_parser
run: |
tools/check_make_parser.sh

24 changes: 24 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: unit
on: pull_request
jobs:

build:
name: Build
runs-on: ubuntu-20.04
steps:

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3

- name: Get dependencies
run: |
go mod download

- name: unit
run: |
go test ./go/...
24 changes: 24 additions & 0 deletions .github/workflows/unit_race.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: unit_race
on: pull_request
jobs:

build:
name: Build
runs-on: ubuntu-20.04
steps:

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3

- name: Get dependencies
run: |
go mod download

- name: unit_race
run: |
go test -race ./go/...
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ releases

# Vagrant
.vagrant

dist/*
py-vtdb*
vthook*
bin*

vtdataroot*
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# Open TODOs:
# - Re-add travis/check_make_proto.sh, ideally as part of test/config.json.
# - Add a presubmit which checks that vendor/vendor.json is the same as in the Docker image. This will prevent people from making changes to it without pushing new bootstrap Docker images.
# - Add a presubmit which checks that if bootstrap has changed, and docker image is out of date.

# sudo is required because we run Docker in our builds.
# See: https://docs.travis-ci.com/user/docker/
Expand All @@ -28,7 +28,7 @@ services:

language: go
go:
- 1.11.x
- 1.12.x
go_import_path: vitess.io/vitess
env:
global:
Expand Down
15 changes: 0 additions & 15 deletions ADOPTERS.md

This file was deleted.

3 changes: 0 additions & 3 deletions CODE_OF_CONDUCT.md

This file was deleted.

17 changes: 0 additions & 17 deletions CONTRIBUTING.md

This file was deleted.

37 changes: 0 additions & 37 deletions DCO

This file was deleted.

1 change: 0 additions & 1 deletion Dockerfile

This file was deleted.

115 changes: 0 additions & 115 deletions GOVERNANCE.md

This file was deleted.

27 changes: 0 additions & 27 deletions GUIDING_PRINCIPLES.md

This file was deleted.

38 changes: 0 additions & 38 deletions MAINTAINERS.md

This file was deleted.

Loading
Loading