Commit Graph

63 Commits

Author SHA1 Message Date
Zach Musgrave
8d3636e43b Fix tests, remove spec.Pin 2022-08-22 14:04:23 -07:00
Zach Musgrave
bac72dc0d1 Fixed more broken tests 2022-08-22 13:18:50 -07:00
Zach Musgrave
25c0874854 Fixing broken tests 2022-08-22 09:37:58 -07:00
zachmu
56186a3433 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-19 00:21:30 +00:00
Zach Musgrave
9db915832e Removed unused Path from AbsolutePath struct and killed off noms commands that require it 2022-08-18 16:06:57 -07:00
Zach Musgrave
5aac031a69 Starting to rip out regular expression code for refs / paths 2022-08-18 15:07:08 -07:00
Aaron Son
642f2e0ba7 go: More migration away from shim into NodeStore. 2022-07-05 14:16:36 -07:00
Aaron Son
8a5b5279b2 go/store/spec: Cleanup for Format_Default usage. 2022-05-10 16:43:46 -07:00
Aaron Son
6eeae42959 go/store/...: Cleanup unprincipled use of Format_7_18, mostly in tests. 2022-05-10 16:02:49 -07:00
Aaron Son
02c5bb0875 go: Remove some unprincipled usage of types.Format_Default in non-test code. 2022-05-10 12:57:00 -07:00
Zach Musgrave
e1b2224ac4 Fixed tests 2022-04-14 15:50:16 -07:00
Zach Musgrave
5dd56d9738 Made Resolve return an error on unknown type, rather than panic 2022-04-13 10:01:36 -07:00
Aaron Son
be27368901 go/store/datas: GetCommitValue -> GetCommittedValue. 2022-04-04 13:26:01 -07:00
Dhruv Sringari
b9f29fd347 Merge pull request #3080 from dolthub/dhruv/memory-quota
go/libraries/doltcore/dbfactory: Thread memory quota provider through store layer to onHeapTableIndex
2022-03-29 13:28:25 -07:00
Aaron Son
7b1406ccce Revert "Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message""
This reverts commit ee68e00000.
2022-03-29 11:09:54 -07:00
Aaron Son
ee68e00000 Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message"
This reverts commit 87bf948031, reversing
changes made to b9e2348472.
2022-03-28 17:40:09 -07:00
Dhruv Sringari
2e38b25dbc thread memory quota provider through tableSet 2022-03-24 12:27:41 -07:00
Aaron Son
ce1dee71ce store/datas: __DOLT_DEV__ format serializes commits as flatbuffer messages. 2022-03-23 14:07:56 -07:00
Aaron Son
35aafdf82d go/store/datas: Make the names of commit struct fields package private. 2022-03-17 16:22:00 -07:00
reltuk
b68fceb713 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-03-10 21:53:32 +00:00
Aaron Son
c4b74b8878 store/datas: CommitOptions: Remove types references. 2022-03-10 13:52:08 -08:00
Aaron Son
075242cd2f Merge remote-tracking branch 'origin/main' into aaron/database-cleanup 2022-02-15 12:18:14 -08:00
Vinai Rachakonda
af9bef4c9f Add Generational Chunk Store for Noms Show (#2774) 2022-02-14 10:31:41 -08:00
Aaron Son
d715b703ec go/store/datas: Remove CommitValue. 2022-02-02 15:31:10 -08:00
Aaron Son
52fc803365 Remove ValueReadWriter interface from Database. 2022-02-01 17:20:06 -08:00
Eng Zer Jun
8164a625c7 refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-05 01:40:59 +08:00
Daylon Wilkins
6b2b68923b Further attempts to fix ACCESS_DENIED error on Windows 2021-07-15 13:26:59 -07:00
Zach Musgrave
6a39e30168 Fixed bugs in noms cat and noms show. Fixed some typos. Cleaned up unreachable err handling code 2021-04-20 18:28:19 -07:00
Aaron Son
84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Daylon Wilkins
b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Aaron Son
a76d8a1859 go/store/spec: Move to aws://[table:bucket] for NBS on AWS specs because of Go URL parsing changes.
See https://go.googlesource.com/go/+/61bb56ad63992a3199acc55b2537c8355ef887b6
for context on the changes.
2019-09-05 12:15:01 -07:00
Brian Hendriks
55c2412db3 error changes (#7)
The existing noms codebase uses panics for signaling errors in most cases.  This is not idiomatic go, and it is not the optimal behavior when building cloud services, or products on top of noms as a panic in any go routine causes the entire process to exit.

This is a large step in removing panics, and bubbling errors up through the code.
2019-08-06 15:00:02 -07:00
Aaron Son
5fc6fd5d6a go: Update for dolt at root of repository. 2019-07-24 10:28:54 -07:00
Aaron Son
23a0f5a33e Merge remote-tracking branch 'origin/master' into aaron/dolt-3pdeps-license-fetching 2019-07-23 16:07:50 -07:00
Aaron Son
6619700b5a dolt/go: Add utils/repofmt/check_fmt.sh, and standardize goimports config across repository. 2019-07-23 11:59:06 -07:00
Aaron Son
732086a9c7 dolt/go: Add copyright notices to every file. For files from noms, retain and reference the previous copyright notice as well. 2019-07-22 17:06:35 -07:00
Aaron Son
0d68c7adb1 dolt/go/store/types: format: Add error handling to parsing format version strings. 2019-07-19 17:16:51 -07:00
Aaron Son
2d74d6df38 dolt/go: First pass at supporting multiple bin formats in dolthub remotes.
NomsBlockStore gets seeded with a version string specifier which gets threaded
through various contexts. If the existing manifest specifies a different
format, then that takes priority.
2019-07-19 16:44:07 -07:00
Brian Hendriks
4559bf3131 pr feedback 2019-07-18 10:56:28 -07:00
Brian Hendriks
414535a9eb panics to errs 2019-07-17 14:20:58 -07:00
Aaron Son
15973f60c1 dolt/go: store/types: Rename Format to NomsBinFormat.
Standardize parameter name for *NomsBinFormat to nbf. Standardize `nbf` as
first (after `ctx`) parameter. Remove unnecessary `nbf` parameters when format
is available from incoming `Value` or `ValueReader`.
2019-07-16 13:27:26 -07:00
Aaron Son
5be3ad7ca3 dolt/go: Remove some binformat comments. 2019-07-12 10:23:45 -07:00
Aaron Son
97d786fd10 dolt/go/store: Remove some unused *Format parameters. 2019-07-12 10:22:10 -07:00
Aaron Son
80c2e40b60 dolt/go: Changes from Equals not taking *Format. 2019-07-12 10:21:37 -07:00
Aaron Son
be5b3e7870 dolt/go/store: types: NewSet: Remove redundant Format parameter. 2019-07-12 10:17:04 -07:00
Aaron Son
656ea04b6f dolt/go/store: types: NewList: Remove redundant Format parameter. 2019-07-12 10:17:04 -07:00
Aaron Son
b4768f2dc0 dolt/go/store: spec: util: Remove Format_7_18 references. 2019-07-12 10:17:04 -07:00
Aaron Son
50c09c8e64 dolt/go/store: spec: Remove some Format_7_18 references. 2019-07-12 10:17:04 -07:00
Aaron Son
a7f5e325ce dolt/go/store: types: Thread *Format. 2019-07-12 10:15:47 -07:00
Aaron Son
a3bfb80ffb dolt/go/store: types: Thread *Format. 2019-07-12 10:15:47 -07:00