dolthub / dolt

Dolt – Git for Data
Apache License 2.0
17.96k stars 512 forks source link

Fix Grammar Typos in Go Comments #8221

Closed alexandear closed 2 months ago

alexandear commented 3 months ago

There are several grammar typos in Go comments that need to be corrected to ensure clarity and professionalism. Below is a list of the identified issues:

Actually, it's only a small subset of potential typos. The whole list can be found with the help of codespell:

Details

``` ./cmd/dolt/cli/messages.go:20: formated ==> formatted ./cmd/dolt/commands/diff_output.go:313: TOOD ==> TODO ./cmd/dolt/commands/branch.go:482: exectures ==> executes ./cmd/dolt/commands/assist.go:255: Runnning ==> Running ./cmd/dolt/commands/clone.go:234: covert ==> convert, cover, covet ./cmd/dolt/commands/sqlserver/server.go:803: conext ==> context, connect, connects ./cmd/dolt/commands/sqlserver/server.go:830: Invlaid ==> Invalid ./cmd/dolt/commands/sqlserver/server_test.go:143: loclahost ==> localhost ./libraries/doltcore/merge/mutable_secondary_index.go:78: guarenteed ==> guaranteed ./libraries/doltcore/merge/merge_prolly_rows.go:1213: expresions ==> expressions ./libraries/doltcore/remotestorage/chunk_fetcher.go:37: coallescing ==> coalescing ./libraries/doltcore/remotestorage/chunk_fetcher.go:395: downlaods ==> downloads ./libraries/doltcore/remotestorage/chunk_fetcher.go:489: faliures ==> failures ./libraries/doltcore/remotestorage/chunk_fetcher.go:491: faliures ==> failures ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:41: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:106: coallescing ==> coalescing ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:157: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:162: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:171: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:186: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/ranges/ranges.go:219: coallesce ==> coalesce ./libraries/doltcore/remotestorage/internal/reliable/chan.go:39: poped ==> popped, pooped ./libraries/doltcore/doltdb/table.go:40: identifer ==> identifier ./libraries/doltcore/env/multi_repo_env.go:127: dirived ==> derived ./libraries/doltcore/migrate/validation.go:279: unexpect ==> unexpected ./libraries/doltcore/table/inmem_table_test.go:53: programatically ==> programmatically ./libraries/doltcore/table/editor/table_edit_accumulator_test.go:184: commmitted ==> committed ./libraries/doltcore/dtestutils/data.go:104: contructs ==> constructs ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:11632: Municiple ==> Municipal ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:11638: Municiple ==> Municipal ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:12821: Stategy ==> Strategy ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:13505: Resorces ==> Resources ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:14107: Opportunies ==> Opportunities ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:18545: Stategy ==> Strategy ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:19058: Resorces ==> Resources ./libraries/doltcore/sqle/integration_test/stockmarket_test.go:19508: Opportunies ==> Opportunities ./libraries/doltcore/sqle/cluster/mysqldb_persister.go:163: sucessfully ==> successfully ./libraries/doltcore/sqle/cluster/branch_control_replica.go:145: sucessfully ==> successfully ./libraries/doltcore/sqle/dprocedures/dolt_rebase.go:206: detatched ==> detached ./libraries/doltcore/sqle/globalstate/auto_increment_tracker.go:42: reutrns ==> returns ./libraries/doltcore/sqle/binlogreplication/binlog_primary_streamer.go:50: hearbeats ==> heartbeats, heart beats, hear beats ./libraries/doltcore/sqle/enginetest/dolt_queries_merge.go:3740: tabele ==> table ./libraries/doltcore/sqle/enginetest/dolt_queries_merge.go:3768: tabele ==> table ./libraries/doltcore/sqle/enginetest/dolt_queries_merge.go:3935: conficts ==> conflicts, convicts ./libraries/doltcore/sqle/enginetest/dolt_queries.go:7038: propogates ==> propagates ./libraries/doltcore/sqle/json/noms_json_value_test.go:59: homogenous ==> homogeneous ./libraries/doltcore/sqle/json/noms_json_value_test.go:67: homogenous ==> homogeneous ./libraries/doltcore/sqle/statspro/auto_refresh.go:199: lastest ==> latest, last ./libraries/doltcore/remotesrv/http.go:99: unparseable ==> unparsable ./libraries/doltcore/rebase/filter_branch_test.go:187: expeced ==> expected ./libraries/utils/argparser/args_test.go:311: failes ==> fails ./libraries/utils/config/config_hierarchy.go:112: panicing ==> panicking ./libraries/utils/config/config_hierarchy.go:185: panicing ==> panicking ./libraries/utils/filesys/inmemfs.go:524: aquiring ==> acquiring ./libraries/utils/filesys/inmemfs.go:600: aquiring ==> acquiring ./libraries/utils/filesys/fs.go:96: implementors ==> implementers ./libraries/utils/filesys/fs.go:103: implementors ==> implementers ./libraries/utils/concurrentmap/concurrentmap_test.go:103: yeilds ==> yields ./libraries/utils/minver/minver.go:30: unspported ==> unsupported ./libraries/utils/svcs/controller.go:119: succesfully ==> successfully ./libraries/events/metrics.go:43: incements ==> increments ./utils/batsee/main.go:302: differenciate ==> differentiate ./utils/3pdeps/MUSL_COPYRIGHT:66: Wich ==> Which ./utils/3pdeps/MUSL_COPYRIGHT:166: contibutors ==> contributors ./utils/concurrency/runner.go:44: repoducing ==> reproducing ./Godeps/LICENSES:412: contibutors ==> contributors ./Godeps/LICENSES:1752: Collison ==> Collision, Collusion ./Godeps/LICENSES:1752: collison ==> collision, collusion ./Godeps/LICENSES:9924: Collet ==> Collect ./performance/utils/benchmark_runner/run.go:90: Successfuly ==> Successfully ./performance/utils/benchmark_runner/run.go:97: Successfuly ==> Successfully ./performance/utils/benchmark_runner/README.md:114: defintions ==> definitions ./performance/utils/benchmark_runner/run_tpcc.go:65: Successfuly ==> Successfully ./performance/sysbench/testdef.go:284: timeRe ==> timer ./performance/sysbench/testdef.go:285: timeRe ==> timer ./performance/sysbench/testdef.go:478: scipt ==> script, skipped ./performance/sysbench/testdef.go:518: scipt ==> script, skipped ./serial/addressmap.fbs:20: offets ==> offsets, offers ./serial/prolly.fbs:25: offets ==> offsets, offers ./serial/mergeartifacts.fbs:21: offets ==> offsets, offers ./store/metrics/histogram.go:41: acccepts ==> accepts ./store/metrics/histogram.go:43: arithmatic ==> arithmetic ./store/cmd/noms/commit_iterator.go:89: adusted ==> adjusted ./store/cmd/noms/noms.go:144: commmit ==> commit ./store/types/map_test.go:500: REALY ==> REALLY, RELAY ./store/types/map_test.go:500: REALL ==> REAL, REALLY, RECALL ./store/types/meta_sequence.go:442: concatentation ==> concatenation ./store/types/set_editor.go:83: supercedes ==> supersedes ./store/types/list_test.go:774: unequality ==> inequality ./store/types/edits/kvp_coll_itr_test.go:65: expRes ==> express ./store/types/edits/kvp_coll_itr_test.go:71: expRes ==> express ./store/types/edits/kvp_coll_itr_test.go:75: expRes ==> express ./store/types/edits/kvp_coll_itr_test.go:79: expRes ==> express ./store/marshal/encode.go:216: recquire ==> require, reacquire ./store/marshal/encode.go:221: recquire ==> require, reacquire ./store/util/verbose/verbose_test.go:24: verbse ==> verbose ./store/hash/hash.go:41: arithemetic ==> arithmetic ./store/hash/hash.go:128: cound ==> could, count, found ./store/merge/three_way.go:230: cannont ==> cannot ./store/nbs/manifest.go:122: auxillary ==> auxiliary ./store/nbs/journal_writer.go:447: bootstraping ==> bootstrapping ./store/nbs/dynamo_manifest.go:100: unitialized ==> uninitialized ./store/nbs/file_table_reader.go:108: dependant ==> dependent ./store/nbs/chunk_fetcher.go:41: wtih ==> with ./store/nbs/archive_writer.go:108: Rutime ==> Runtime ./store/nbs/README.md:25: alot ==> a lot, allot ./store/nbs/archive_build.go:534: withing ==> within ./store/nbs/table_writer.go:94: cannont ==> cannot ./store/nbs/table.go:98: quanities ==> quantities, qualities ./store/blobstore/blobstore_test.go:327: epects ==> expects, elects ./store/datas/database_common.go:292: reffered ==> referred ./store/datas/database_common.go:300: reffered ==> referred ./store/diff/print_diff.go:46: reprensentation ==> representation ./store/skip/list_bench_test.go:71: asending ==> ascending ./store/skip/list_bench_test.go:107: asending ==> ascending ./store/chunks/test_utils.go:43: hases ==> hashes ./store/chunks/test_utils.go:64: hases ==> hashes ./store/chunks/test_utils.go:69: hases ==> hashes ./store/chunks/test_utils.go:107: Hases ==> Hashes ./store/chunks/test_utils.go:108: hases ==> hashes ./store/chunks/test_utils.go:108: hases ==> hashes ./store/chunks/test_utils.go:109: hases ==> hashes ./store/prolly/tree/addr_diff_test.go:27: entirly ==> entirely ./store/prolly/tree/addr_diff_test.go:27: imbedded ==> embedded ./store/prolly/tree/node_splitter.go:239: precentage ==> percentage ./store/prolly/message/serialize.go:69: withing ==> within ./store/prolly/message/serialize.go:92: withing ==> within ./store/prolly/message/merge_artifacts.go:173: ommitted ==> omitted ./store/sloppy/sloppy_test.go:325: panting ==> painting ./store/sloppy/sloppy_test.go:441: panting ==> painting ./store/sloppy/sloppy.go:60: occurence ==> occurrence ./store/sloppy/sloppy.go:67: prefering ==> preferring ./store/val/tuple.go:51: therefor ==> therefore ```

timsehn commented 3 months ago

We're unlikely to actively fix this but we'd take a PR from. a contributor.

Dylan-Varga commented 3 months ago

All typos solved.