Commit Graph

46 Commits

Author SHA1 Message Date
coffeegoddd b68814c796 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-05 17:21:26 +00:00
Aaron Son 642f2e0ba7 go: More migration away from shim into NodeStore. 2022-07-05 14:16:36 -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 075242cd2f Merge remote-tracking branch 'origin/main' into aaron/database-cleanup 2022-02-15 12:18:14 -08:00
Zach Musgrave bdedb5155d Killed blake2 dependency (not usable with gcc >= 11) and the perf rig that used it 2022-02-11 14:32:51 -08:00
Aaron Son d715b703ec go/store/datas: Remove CommitValue. 2022-02-02 15:31:10 -08:00
Aaron Son fd882b48b1 Merge branch 'aaron/bump-gopsutil' into aaron/database-cleanup 2022-02-02 14:15:32 -08:00
Aaron Son 686273f44c go/go.mod: Bump gopsutil. Gets rid of deprecated warning on macOS. 2022-02-02 10:49:49 -08:00
Aaron Son 52fc803365 Remove ValueReadWriter interface from Database. 2022-02-01 17:20:06 -08:00
Aaron Son 3021f93316 go/go.mod: github.com/kch42/buzhash -> github.com/silvasur/buzhash.
Closes #2416.
2021-11-18 10:08:57 -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
Lars Lehtonen 37f010b6a1 store/perf/suite: replace assert.NoError with require.NoError 2021-04-19 00:43:25 -07:00
Lars Lehtonen 5a7a6cd5c4 store/perf/suite: fix dropped error 2021-04-19 00:25:05 -07:00
Andy Arthur 677eb0788b skip Noms perf tests 2021-04-01 11:06:38 -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 e1fb528bf9 Merge remote-tracking branch 'origin/master' into aaron/make-round-trip-floats-default-format 2019-08-06 15:06:25 -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 b708eaa71e go/store: Minor improvements to test fixes. 2019-08-06 14:49:14 -07:00
Aaron Son 1ae5b494c5 go/store: Fix tests for default format LD1. 2019-08-06 14:33:31 -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
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 884a2caef1 dolt/go/store: Fix test errors. 2019-07-15 15:25:35 -07:00
Aaron Son 5be3ad7ca3 dolt/go: Remove some binformat comments. 2019-07-12 10:23:45 -07:00
Aaron Son 80c2e40b60 dolt/go: Changes from Equals not taking *Format. 2019-07-12 10:21:37 -07:00
Aaron Son 5c5c4bba27 dolt/go/store: types: NewBlob does not take redundant *Format. 2019-07-12 10:17:04 -07:00
Aaron Son be5b3e7870 dolt/go/store: types: NewSet: Remove redundant Format parameter. 2019-07-12 10:17:04 -07:00
Aaron Son df486690e5 dolt/go/store: types: NewMap: 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 50c09c8e64 dolt/go/store: spec: Remove some Format_7_18 references. 2019-07-12 10:17:04 -07:00
Aaron Son 4af7c75639 dolt/go/store: types: Thread *Format in Type. 2019-07-12 10:14:22 -07:00
Aaron Son 37283814cc dolt/go/store: types: struct: Thread *Format. 2019-07-12 10:12:08 -07:00
Aaron Son e0de0f5af4 dolt/go/store: types: set: Thread *Format. 2019-07-12 10:12:08 -07:00
Aaron Son 5f3bd33142 dolt/go/store: types: NewMap takes *Format. 2019-07-12 10:12:07 -07:00
Aaron Son b811358e45 dolt/go/store: types: List.Edit does not take *Format, List stores *Format. 2019-07-12 10:12:07 -07:00
Aaron Son 0749018e83 dolt/go/store: types: List takes *Format in constructors. 2019-07-12 10:12:07 -07:00
Aaron Son 52cbcccb22 dolt/store/go: types: blob: Thread *format. 2019-07-12 10:09:33 -07:00
Brian Hendriks 6f86048d02 more panic shit 2019-07-10 17:38:51 -07:00
Daylon Wilkins bdadb34cc6 Fixes Dolt tests on Windows 2019-07-03 16:36:30 -07:00
Brian Hendriks de36628918 update paths 2019-06-21 12:06:08 -07:00
Brian Hendriks 6ae6d7e595 move store files to the structure we want 2019-06-21 11:55:01 -07:00