Commit Graph

291 Commits

Author SHA1 Message Date
Eng Zer Jun 0515265080 Replace min/max helpers with built-in min/max
We can use the built-in `min` and `max` functions since Go 1.21.

Reference: https://go.dev/ref/spec#Min_and_max
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2025-01-08 09:50:20 +08:00
Neil Macneale IV 736c490cf1 make the argparse insert functionality a little more robust and test it 2025-01-02 09:58:30 -08:00
Neil Macneale IV 9a8d95103f dolt init working again 2025-01-02 09:22:45 -08:00
Zach Musgrave cf49cebf0b fix test 2024-10-11 19:08:38 -07:00
Zach Musgrave a0530f8d90 First pass at dolt checkout tables from commit 2024-10-11 16:36:13 -07:00
Neil Macneale IV 45d4a70b29 Fix test build failure 2024-09-17 09:16:11 -07:00
Neil Macneale IV 09aa3009c8 \edit support in dolt sql shell 2024-09-17 09:01:50 -07:00
Brian Hendriks 4eee94b122 Merge pull request #8305 from dolthub/bh/signed-commits
Bh/signed commits
2024-09-16 18:57:29 -07:00
Brian Hendriks fdb34d6cd2 fix 2024-09-16 17:28:45 -07:00
Brian Hendriks 69b29ff42b pr feedback 2024-09-16 17:20:39 -07:00
Brian Hendriks 580c9a7760 test fix 2024-09-16 14:38:16 -07:00
Brian Hendriks 7070471f7a error output fix 2024-09-16 12:47:02 -07:00
Brian Hendriks 2d38307937 debug output 2024-09-16 11:03:06 -07:00
Neil Macneale IV 7b6fde0f7b Argparser edge case for value options which are a prefix of flags 2024-09-16 08:29:04 -07:00
Brian Hendriks 6b3cd4b68d go tests for signing 2024-09-13 00:43:53 -07:00
Brian Hendriks 5e7caf7549 move tests to go 2024-09-12 15:34:22 -07:00
Brian Hendriks f658fcae2f formatting 2024-09-05 14:05:40 -07:00
Brian Hendriks 754c505826 Merge branch 'main' into bh/signed-commits 2024-09-04 10:24:11 -07:00
Brian Hendriks 0e451b73c1 fix 2024-09-03 17:25:32 -07:00
Brian Hendriks ce0606e537 fix 2024-09-03 16:56:20 -07:00
Brian Hendriks 4b7297a05f support optional string arguments in the middle of command line arguments 2024-09-03 16:02:15 -07:00
Brian Hendriks 1c6f5483d3 log --show-signature and initial test setup 2024-09-03 15:29:22 -07:00
Brian Hendriks 0440852137 Merge branch 'main' into bh/signed-commits 2024-08-28 16:45:09 -07:00
Brian Hendriks c8c252a143 flatbuffer changes 2024-08-28 16:01:24 -07:00
Brian Hendriks a4b285ae98 signature in log (should be optional) 2024-08-28 15:08:22 -07:00
Brian Hendriks 273b54da64 writing signature... but not backward compatible atm 2024-08-28 11:31:30 -07:00
Brian Hendriks 898c05124d initial work on signed commits 2024-08-26 11:57:25 -07:00
Neil Macneale IV 49e0cb67e7 Reverts to some changes in PR 2024-08-20 15:49:23 -07:00
Dylan Varga fed30c181d Fixed grammar typos re issue #8221 2024-08-09 22:24:19 -07:00
Aaron Son 8c441e96f4 go.mod: Migrate from gopkg.in/square/go-jose.v2 to gopkg.in/go-jose/go-jose.v2. Bump version. Picks up fix for CVE-2024-28180. 2024-07-03 12:50:38 -07:00
Brian Hendriks b6cd726af3 move config 2024-05-15 10:27:16 -07:00
Brian Hendriks bd70309b20 refactor minver validation file generation 2024-05-08 12:42:29 -07:00
Brian Hendriks dedad9f380 minver refactor to be used by doltgres 2024-05-08 12:34:45 -07:00
Stephanie You 62f03b23d7 add disable version check warning 2024-01-31 15:44:23 -08:00
Stephanie You a3ea0aa803 rename open temp editor function to be more general 2024-01-18 23:11:48 -08:00
bheni 5bd9f780cb [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-01-05 23:08:25 +00:00
Brian Hendriks 852fa102a3 move files 2024-01-05 15:00:40 -08:00
Stephanie You d06e827938 PR comments 2023-12-18 15:30:37 -08:00
Stephanie You c54e6b7b3a restrict dolt config to accepted options 2023-12-15 17:13:21 -08:00
Zach Musgrave f753dd05bc Typo 2023-12-06 16:35:10 -08:00
Zach Musgrave 3a81a6f9a7 Unified flushing 2023-12-04 15:20:57 -08:00
Zach Musgrave 58bb930c95 Moved config keys out of env package 2023-12-04 13:55:52 -08:00
Taylor Bantle a0c0fa6e51 Fix existant typo 2023-12-01 11:10:55 -08:00
Aaron Son 820686bc42 Merge pull request #7004 from dolthub/aaron/sql-server-startup-rigor
[no-release-notes] cmd/dolt/commands/sqlserver: Restructure the start up sequence for sql-server.
2023-11-16 10:23:46 -08:00
Aaron Son f1b915af43 go/libraries/utils/svcs: Controller: Change Stop so it can be called concurrently and multiple times and it never returns an error. 2023-11-15 13:34:25 -08:00
Aaron Son a6c4815eee go/cmd/dolt/commands/sqlserver: Experiment with Service as an interface instead of a struct. Experiment with ServiceState and more rigorous cleanup of some services. 2023-11-15 11:45:22 -08:00
Zach Musgrave 5eab70e370 Merge pull request #6994 from nustiueudinastea/concurrent-remotes-map
Concurrent remotes map
2023-11-15 11:10:59 -08:00
Aaron Son 23dc3ed014 cmd/dolt/commands/sqlserver: Restructure the start up sequence for sql-server.
We explicitly model Services, which can have an Init step, a Run step and a
Stop step. Every registered service get initialized in the order they were
registered in, then they all run concurrently until Stop is called, when they
all get Stopped in reverse order. It's possible for clients to wait for init to
be completed and be delivered any errors encountered on startup. They can also
wait for stop, to be delivered any errors encountered on shutdown.
2023-11-14 16:58:55 -08:00
Alex Giurgiu 46fd1d3f8f added tests for the concurrent map 2023-11-14 12:52:11 +02:00
Alex Giurgiu 9358062a67 method docs 2023-11-13 21:42:28 +02:00