Commit Graph

469 Commits

Author SHA1 Message Date
Neil O'Toole
97739da1e1
#263: sq version host info (#271)
* sq version host info

* workflow: update bug_report.md with version instructions
2023-06-21 06:28:15 -06:00
neilotoole
1f9183aa68 Scoop update for sq version v0.38.1 2023-06-19 11:05:37 -06:00
Neil O'Toole
eedc11ec46
#261: jsonw: deadlock occurred when record was large, due to mutex on Flush() call (#262)
* jsonw: deadlock occurred when record was large, due to mutex on Flush() call
2023-06-19 10:55:38 -06:00
neilotoole
c502039728 Scoop update for sq version v0.38.0 2023-06-18 07:31:11 -06:00
neilotoole
955e56e040 Release v0.38.0 2023-06-18 07:17:36 -06:00
neilotoole
cdd94b0f86 Release v0.38.0 2023-06-18 07:15:30 -06:00
Neil O'Toole
2abf7222ef
Simplify temp file handling (#260) 2023-06-18 00:44:01 -06:00
Neil O'Toole
2ba633fc2a
#258: Alias can be an arbitrary string. (#259)
* Fixed space issues with expressions

* Alias can now be an arbitrary string

* Alias can now be an arbitrary string (fixed)

* Alias now automatically applied to expressions

* Ignore .run

* Fixed issue with TestRun not logging correctly to testing.T

* Fiddling with sqlite3 temp file closing

* Re-enable tests
2023-06-18 00:05:09 -06:00
Neil O'Toole
44d27207f8
#256: column-only queries (#257)
* Column-only queries
2023-06-17 19:28:11 -06:00
neilotoole
9ebb4c546c CHANGELOG update 2023-06-16 23:31:10 -06:00
Neil O'Toole
e93f462fff
#254: explicit where() clause (#255)
Implement explicit `where()` clause.
2023-06-16 22:54:25 -06:00
neilotoole
b492788ac0 Update README badges 2023-06-15 08:43:18 -06:00
neilotoole
750b901b34 Scoop update for sq version v0.37.1 2023-06-15 08:17:59 -06:00
neilotoole
a21f3f3c7e v0.37.1 fix for #252 2023-06-15 08:06:08 -06:00
dependabot[bot]
144b083587
Bump github.com/microsoft/go-mssqldb from 0.21.0 to 1.1.0 (#248)
Bumps [github.com/microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) from 0.21.0 to 1.1.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.21.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 08:00:01 -06:00
Neil O'Toole
e0812e9a65
#242 - Handle *uint64 returned from db (#253) 2023-06-15 07:50:07 -06:00
dependabot[bot]
5eb94e0df7
Bump github.com/mattn/go-sqlite3 from 1.14.16 to 1.14.17 (#250)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.16 to 1.14.17.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.16...v1.14.17)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  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-06-15 07:49:45 -06:00
dependabot[bot]
2294710989
Bump golang.org/x/term from 0.8.0 to 0.9.0 (#251)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/term/compare/v0.8.0...v0.9.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-06-15 07:49:32 -06:00
dependabot[bot]
3b1a27c5e5
Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#249)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-06-15 07:47:55 -06:00
neilotoole
b457ee11b9 Scoop update for sq version v0.37.0 2023-06-13 11:55:15 -06:00
neilotoole
089bfb7cec CHANGELOG for v0.37.0 2023-06-13 11:37:17 -06:00
Neil O'Toole
9cb42bf579
#244: shell completion for "sq add LOCATION" (#246)
- Shell completion for `sq add LOCATION`.
2023-06-13 10:06:18 -06:00
Neil O'Toole
3ecdde5595
record.Record elements are now values, not pointers (#243)
* Updated record pkg

* sqlite migrated

* postgres migrated

* All DBs migrated

* CSV working

* Tests passing
2023-05-27 07:57:07 -06:00
Neil O'Toole
6bd72190cc
Switch from mage to make (#242)
* Switched to Makefile
2023-05-26 22:16:52 -06:00
neilotoole
0e7334f3c6 Scoop update for sq version v0.36.2 2023-05-26 21:24:13 -06:00
Neil O'Toole
24b5fafd78
Proprietary functions now require leading underscore (#241) 2023-05-26 21:11:38 -06:00
neilotoole
63bf4556e4 Scoop update for sq version v0.36.1 2023-05-26 14:55:30 -06:00
Neil O'Toole
debb282386
diff: renamed --count flag to --counts as intended (#240)
* diff: renamed --count flag to --counts as intended

* CHANGELOG for v0.36.1
2023-05-26 14:45:08 -06:00
neilotoole
77b05d0686 Scoop update for sq version v0.36.0 2023-05-26 00:17:42 -06:00
neilotoole
4eb917f276 Make testh.OptLongOpen even longer 2023-05-25 23:02:11 -06:00
dependabot[bot]
c456510dab
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#235)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-25 22:15:26 -06:00
dependabot[bot]
b5eefd3102
Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#234)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.18 to 0.0.19.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  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-25 22:15:01 -06:00
dependabot[bot]
cef34ec74a
Bump github.com/magefile/mage from 1.14.0 to 1.15.0 (#228)
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/magefile/mage/releases)
- [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml)
- [Commits](https://github.com/magefile/mage/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/magefile/mage
  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-25 22:14:16 -06:00
neilotoole
81dbf8697a Tidy go.mod 2023-05-25 22:12:01 -06:00
neilotoole
2a705e75ee Ditch magefile sakila 2023-05-25 22:08:25 -06:00
Neil O'Toole
c810d17eec
#229: sq diff ready for beta release (#239)
* sq config edit: fixed glaring bug that prevented editing a source

* Refine sq diff
2023-05-25 21:58:43 -06:00
Neil O'Toole
76d48154e7
#229: Yet more sq diff implementation. (#237)
* sq config edit: fixed glaring bug that prevented editing a source

* Refine sq diff
2023-05-24 17:36:10 -06:00
Neil O'Toole
c3a543aa84
#229: refactor mysql source metadata impl (#236)
* refactor mysql source metadata impl

* Made loop condition stronger
2023-05-23 18:42:36 -06:00
Neil O'Toole
2f2dfd6e47
#229: More diff (#233)
- Implement `sq diff --data`.
2023-05-22 09:08:14 -06:00
Neil O'Toole
1ea24dac4a
#229: sq diff core (#230)
* "sq diff" initial implementation

* Refactor "cli" pkg.
2023-05-19 08:24:18 -06:00
neilotoole
4616065b45 workflow: codacy: ignore java files (for antlr) 2023-05-10 20:55:08 -06:00
neilotoole
248ddf44a5 Scoop update for sq version v0.35.0 2023-05-10 20:50:38 -06:00
neilotoole
5b69a7b6ed CHANGELOG update for v0.35.0 2023-05-10 20:25:04 -06:00
dependabot[bot]
061469f0d8
Bump go.uber.org/atomic from 1.10.0 to 1.11.0 (#225)
Bumps [go.uber.org/atomic](https://github.com/uber-go/atomic) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/uber-go/atomic/releases)
- [Changelog](https://github.com/uber-go/atomic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/atomic/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: go.uber.org/atomic
  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:50 -06:00
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