Commit Graph

475 Commits

Author SHA1 Message Date
dependabot[bot]
a9b322263e
Bump golang.org/x/net from 0.9.0 to 0.10.0 (#224)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 20:15:29 -06:00
Neil O'Toole
12b33d5b49
Implemented yaml record writer (#226) 2023-05-10 20:03:45 -06:00
dependabot[bot]
9a51f4c740
Bump golang.org/x/sync from 0.1.0 to 0.2.0 (#223)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/golang/sync/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 22:17:21 -06:00
dependabot[bot]
a72f5b2f6a
Bump golang.org/x/term from 0.7.0 to 0.8.0 (#222)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/term/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 22:17:05 -06:00
dependabot[bot]
cf1990f5f1
Bump github.com/testcontainers/testcontainers-go from 0.19.0 to 0.20.0 (#221)
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
- [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/testcontainers/testcontainers-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 22:16:48 -06:00
neilotoole
af0b687544 Scoop update for sq version v0.34.2 2023-05-08 08:01:39 -06:00
neilotoole
6a3bd0432c README edits 2023-05-08 07:47:16 -06:00
neilotoole
78720bd120 Update CHANGELOG for v0.34.2 2023-05-08 07:41:29 -06:00
Neil O'Toole
f5e7e7b8cb
Restore --markdown flag (#220)
* Restore --markdown flag (also suppport --md)

* Update README and splash image
2023-05-08 07:39:47 -06:00
neilotoole
7da4e90790 CHANGELOG update for v0.34.1 2023-05-07 07:42:30 -06:00
neilotoole
613362d4d1 Scoop update for sq version v0.34.1 2023-05-07 02:29:05 -06:00
neilotoole
ceab8b700e jsonw & yamlw: sq config -v: print options even if empty 2023-05-07 02:15:02 -06:00
neilotoole
461b58a2f4 Scoop update for sq version v0.34.0 2023-05-07 00:44:00 -06:00
neilotoole
7b3f9f9dab Doc cleanup 2023-05-07 00:29:42 -06:00
Neil O'Toole
11525eae10
#199: Last spit n' polish for config overhaul (#219)
* Split 'sq config ls' into its own command

* Tidy up 'sq config' help

* Fixed help text
2023-05-07 00:01:29 -06:00
Neil O'Toole
c5cf6c0cc0
#217: Configurable timestamp format (#218)
* Moved time functions from pkg stringz to pkg timez

* Refactor options.Opt

* wip: initial work on configurable time layout

* wip: most printers now respect format.datetime and friends

* Folded pkg timefmt into timez

* Refactor options.Opt; refine options

* Add 'sq config set OPTION --help' mechanism

* Finished completion of OptDateFormatAsNumber and OptTimeFormatAsNumber
2023-05-06 20:36:34 -06:00
Neil O'Toole
964417dba7
Use flag --compact instead of --pretty (#216) 2023-05-05 11:41:22 -06:00
Neil O'Toole
f0aa65791b
#199: More config/options work (#215)
* CHANGELOG text clarification

* Dialing in config/options

* Yet more dialing in of config/options

* Refactor output writers

* YAML output for more commands
2023-05-05 08:32:50 -06:00
dependabot[bot]
b41a32a7dc
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1 (#213)
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 07:04:58 -06:00
neilotoole
e5cf5cd7ef CHANGELOG cleanup 2023-05-03 06:38:10 -06:00
Neil O'Toole
3180334c0c
#199: Config overhaul (#214)
* refactor: partially moved over driver.Tuning params to options

* All knobs moved to options

* sq config edit: now has comments for options

* Major work complete on config/options overhaul

* Major work complete on config/options overhaul

* Updated help text for 'sq version'
2023-05-03 06:36:10 -06:00
Neil O'Toole
4521008b72
#199: sq config set (#212)
* Initial impl of 'sq config set'

* Verbose output for 'sq config get'

* config/options: refining 'sq config get'

* Refine 'sq config get': now prints defaults when --verbose

* cli: 'sq config get option.key' implemented

* cli: initial impl of 'sq config get --src'

* cli: refine 'sq config get'

* cli: 'sq config set --src' is implemented
2023-04-30 21:59:34 -06:00
neilotoole
43ba5db9f4 Update .golangci.yml comments with attribution 2023-04-30 10:57:20 -06:00
dependabot[bot]
8a455d04f7
Bump github.com/otiai10/copy from 1.10.0 to 1.11.0 (#210)
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/otiai10/copy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-30 08:19:40 -06:00
Neil O'Toole
e5db7990bc
#199: Kill RunContext.Log (#211)
* refactor: RunContext.Log is dead

* Fiddling with options

* Changed default max conns to zero (no limit)

* Linting
2023-04-30 08:18:56 -06:00
Neil O'Toole
5e31da4644
Refactor config options (#209)
* Refactor config and options.
2023-04-26 09:16:42 -06:00
Neil O'Toole
57cddd7590
Edit config (#208)
* cobra: Added 'sq config edit' cmd

* Linting

* Implemented 'sq config edit'

* whitespace

* Dialing in config cmd help
2023-04-22 16:31:28 -06:00
Neil O'Toole
a766340382
Pass context to config.Store (#207) 2023-04-22 07:37:07 -06:00
dependabot[bot]
d5b98ea810
Bump github.com/microsoft/go-mssqldb from 0.19.0 to 0.21.0 (#203)
Bumps [github.com/microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/microsoft/go-mssqldb/releases)
- [Changelog](https://github.com/microsoft/go-mssqldb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/go-mssqldb/compare/v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/microsoft/go-mssqldb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 21:38:56 -06:00
Neil O'Toole
81f631e135
Refactoring (#206)
* Renamed source.Type to source.DriverType for clarity

* More renaming wrt source.DriverType

* Renamed output.Formatting to output.Printing
2023-04-21 21:36:32 -06:00
neilotoole
45e4af7ad3 README badges 2023-04-21 21:31:59 -06:00
neilotoole
63f921435a README badges 2023-04-21 21:30:03 -06:00
neilotoole
8833acb742 README badges 2023-04-21 21:29:20 -06:00
neilotoole
74aeb1e828 README badges 2023-04-21 21:28:07 -06:00
neilotoole
da38fa9cb0 README badges 2023-04-21 21:27:29 -06:00
Neil O'Toole
e1abaf6c3e
Workflow: add gotestfmt (#205)
* Workflow: add gotestfmt action
2023-04-21 21:25:01 -06:00
dependabot[bot]
b3daee2df3
Bump github.com/xo/dburl from 0.13.1 to 0.14.2 (#202)
Bumps [github.com/xo/dburl](https://github.com/xo/dburl) from 0.13.1 to 0.14.2.
- [Release notes](https://github.com/xo/dburl/releases)
- [Commits](https://github.com/xo/dburl/compare/v0.13.1...v0.14.2)

---
updated-dependencies:
- dependency-name: github.com/xo/dburl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 08:12:29 -06:00
neilotoole
c1b71fa68a Renamed testh.OptLongDB to testh.OptLongOpen; added it to other tests. 2023-04-19 08:08:26 -06:00
neilotoole
a6e033d26d Added OptLongDB to TestQuerySQL_Smoke 2023-04-19 07:23:46 -06:00
Neil O'Toole
98b47a2666
#199 - Config, refactoring (#204)
* refactor: moved cli flags to pkg cli/flag

* testh: add OptLongDB for long-running tests

* implement 'sq config dir'

* legacy dir migration: probably a bad idea

* cleanup

* Refactored SQ_CONFIG and --config

* added yaml writer

* Dialing in tests

* YAML output for 'sq driver ls'

* Significant refactoring of config

* Minor test for ioz

* Rename source.Set to source.Collection

* Cleaning up references to source.Set
2023-04-18 23:28:09 -06:00
Neil O'Toole
2cad9acae9
Update README.md 2023-04-18 18:53:55 -06:00
neilotoole
fe403f4d8f Removed dead comments from go.mod 2023-04-16 07:20:37 -06:00
neilotoole
c28af8e7e0 Update go.mod 2023-04-16 07:18:17 -06:00
neilotoole
b578cffdb5 CHANGELOG.md tidy 2023-04-16 07:16:26 -06:00
dependabot[bot]
3cc7073ab8
Bump github.com/ryboe/q from 1.0.18 to 1.0.19 (#194)
Bumps [github.com/ryboe/q](https://github.com/ryboe/q) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/ryboe/q/releases)
- [Commits](https://github.com/ryboe/q/compare/v1.0.18...v1.0.19)

---
updated-dependencies:
- dependency-name: github.com/ryboe/q
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-16 07:14:49 -06:00
dependabot[bot]
91897d0647
Bump golang.org/x/mod from 0.9.0 to 0.10.0 (#195)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-16 07:14:33 -06:00
dependabot[bot]
307c68b1e8
Bump github.com/samber/lo from 1.37.0 to 1.38.1 (#196)
Bumps [github.com/samber/lo](https://github.com/samber/lo) from 1.37.0 to 1.38.1.
- [Release notes](https://github.com/samber/lo/releases)
- [Changelog](https://github.com/samber/lo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samber/lo/compare/v1.37.0...v1.38.1)

---
updated-dependencies:
- dependency-name: github.com/samber/lo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-16 07:13:22 -06:00
neilotoole
1329c6b09b Scoop update for sq version v0.33.0 2023-04-15 17:00:20 -06:00
Neil O'Toole
958d509088
Source groups (#198)
* Implemented source groups mechanism.
2023-04-15 16:28:51 -06:00
Neil O'Toole
6acde9e262
Update CHANGELOG.md 2023-04-10 00:02:58 -06:00