Commit Graph

26836 Commits

Author SHA1 Message Date
Neil Macneale IV ef016b6f62 Go tests and comment about format testing 2025-06-24 10:44:01 -07:00
macneale4 75633a1554 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-24 10:44:01 -07:00
Neil Macneale IV 7f4cc8be75 Archive Version 3. Now with more index. 2025-06-24 10:44:01 -07:00
Neil Macneale IV 44d79e9c3b Merge pull request #9349 from codeaucafe/codeaucafe/feat/1083-validate-import-args-before-reading-import-rows
feat(import): validate primary keys early
2025-06-24 10:42:36 -07:00
Aaron Son 36afffdf19 Merge pull request #9383 from dolthub/aaron/clone-with-local-temp-files
go: clone: Fix dolt clone to work even when dolt startup logic detects that TMPDIR is not renamable to the local directory and it creates a .dolt/tmp directory.
2025-06-24 10:02:26 -07:00
David Dansby a0bfb9d1d7 refactor(import): address PR review feedback on bats tests
Remove unnecessary cleanup commands and update test comment format as
requested in code review. The test harness automatically handles file
cleanup, making manual rm commands redundant. Update test comment to
reference GitHub issue #1083 using the preferred format.

Refs: #1083
2025-06-23 23:16:19 -07:00
Elian 49d1ea1eaa Merge pull request #9379 from dolthub/elianddb/fix-8853-local-user-persist
Fix 8853 warn local user persists
2025-06-23 18:40:20 -07:00
Nathan Gabrielson 6e0b8e966e Merge pull request #9369 from dolthub/nathan/stash2
Dolt Stash CLI Migration
2025-06-23 17:26:21 -07:00
Elian 3879f7ad26 fix logrus func call 2025-06-23 16:50:48 -07:00
Aaron Son f54449dbb2 go: clone: Fix dolt clone to work even when dolt startup logic detects that TMPDIR is not renamable to the local directory and it creates a .dolt/tmp directory. 2025-06-23 16:41:10 -07:00
Elian e9cb6dd798 switch to logrus, rm loop, and amend warning msg 2025-06-23 16:38:36 -07:00
Elian 3b5fb9a3a5 inline rm user and roles 2025-06-23 16:38:35 -07:00
Elian f973269400 add bats test 2025-06-23 16:38:35 -07:00
Elian 89ca475bd6 add recreation and warning log for __dolt_local_user__ 2025-06-23 16:38:35 -07:00
Elian ad65a4dbee Merge pull request #9376 from dolthub/elianddb/9374-support-MYSQL_USER-MYSQL_PASSWORD-env-vars
Fixes: #9374
Add support for MYSQL_USER/MYSQL_PASSWORD environment variables
Update server README with supported environment variables
2025-06-23 16:25:29 -07:00
Nathan Gabrielson 18dc62e7a4 Fix engine test, stash.go cleanup 2025-06-23 16:20:11 -07:00
Elian bfcb11eb33 add docs and combine funcs 2025-06-23 15:50:43 -07:00
Elian 2ec85592bb rm unused func 2025-06-23 15:50:43 -07:00
Elian e5f00c4b00 rm file_env 2025-06-23 15:50:43 -07:00
Elian b567b42b68 conv to LF 2025-06-23 15:50:43 -07:00
Elian 8eb1b0f313 add user and password 2025-06-23 15:50:43 -07:00
Nathan Gabrielson 1f08c69c90 stop skipping tests 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 6b9a55cc31 Fixing tests & code cleanup 2025-06-23 10:50:33 -07:00
NathanGabrielson 63a24513fc [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 4cd3a04fc7 Small fixes 2025-06-23 10:50:33 -07:00
Nathan Gabrielson aefb178551 No more dEnv, get rid of bad sql interpolation 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 531b7c61c8 Moving stuff around, small fixes 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 0df5282be4 Couple things I forgot to change back 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 50a3be6ea2 Query system table, code is now less headache inducing 2025-06-23 10:50:33 -07:00
NathanGabrielson 3258d0fff5 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 94730adc71 Rough draft for stash migration 2025-06-23 10:50:33 -07:00
angelamayxie 599e8b8088 Merge pull request #9378 from dolthub/angelamayxie-220353c6
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-06-23 10:42:23 -07:00
angelamayxie 79c6272396 [ga-bump-dep] Bump dependency in Dolt by angelamayxie 2025-06-21 05:28:06 +00:00
Dustin Brown 4bbdccba57 [ga-bump-dep] Bump dependency in Dolt by jycor (#9377) 2025-06-20 19:52:11 -07:00
David Dansby dd80d98dc9 fix(import): address PR feedback for primary key validation
Update validation function to support name mapping during primary key
validation, allowing users to specify primary keys using either
original CSV column names or mapped target column names when using
the --map option. Ensure validation is properly skipped when schema
files are provided since --pk and --schema parameters are mutually
exclusive.

Update test expectations in import-create-tables.bats to match the
existing detailed error message format that includes available columns,
rather than changing the error messages to match the old test
expectations. Move new validation tests from import-tables.bats to
import-create-tables.bats as requested in code review.

The two failing tests "try to table import with nonexistent --pk arg"
and "try to table import with one valid and one nonexistent --pk arg"
now pass because our early validation catches these errors before
InferSchema, producing more helpful error messages that include
available columns. Updated the test expectations to match our
validation's error format instead of the old generic "column not found"
message.

Refs: #1083
2025-06-19 23:12:48 -07:00
Zach Musgrave a87c3da8ef Merge pull request #9339 from dolthub/zachmu/sys_tables
Utility method to list all system tables in a schema
2025-06-18 18:47:15 -07:00
zachmu 459091ca0b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-19 01:04:55 +00:00
Zach Musgrave 233d166466 better TODO comment, found an issue with doltgres 2025-06-18 17:56:46 -07:00
Zach Musgrave 47d7fe3ae6 Merge branch 'zachmu/sys_tables' of github.com:dolthub/dolt into zachmu/sys_tables 2025-06-18 15:14:05 -07:00
Zach Musgrave 600dc335d4 Merge branch 'main' into zachmu/sys_tables 2025-06-18 15:13:41 -07:00
zachmu 8831317932 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-18 21:47:27 +00:00
Dustin Brown d839ca0aa9 [ga-bump-dep] Bump dependency in Dolt by jycor (#9372)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-06-18 12:54:51 -07:00
Zach Musgrave 0686118647 Merge branch 'zachmu/sys_tables' of github.com:dolthub/dolt into zachmu/sys_tables 2025-06-18 12:37:29 -07:00
Zach Musgrave 6bffd93bf7 Bug fix, small refactorings 2025-06-18 12:37:03 -07:00
Dustin Brown bd1348a9c0 [ga-bump-dep] Bump dependency in Dolt by jycor (#9370)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-06-18 00:35:41 -07:00
Dustin Brown 854b639d18 Merge pull request #9367 from dolthub/db/bump-windows-runner
[no-release-notes] /.github/workflows/cd-bump-winget.yaml: bump windows runner to latest
2025-06-17 12:57:57 -07:00
coffeegoddd☕️✨ c7a270d5e0 /.github/workflows/cd-bump-winget.yaml: bump windows runner to latest 2025-06-17 12:52:49 -07:00
coffeegoddd 19ffd29653 [ga-bump-release] Update Dolt version to 1.55.2 and release v1.55.2 v1.55.2 2025-06-17 18:56:11 +00:00
Dustin Brown c03d9b1491 [ga-bump-dep] Bump dependency in Dolt by jycor (#9364)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-06-17 10:47:38 -07:00
Dustin Brown 3ddef7bd6e Merge pull request #9357 from dolthub/db/bump-windows-runner
[no-release-notes] /.github/workflows/ci-bats-windows.yaml: bump windows runner
2025-06-16 13:02:48 -07:00