Commit Graph

154 Commits

Author SHA1 Message Date
Neil O'Toole
a108763d6c GH workflow no longer triggers on sq.json (scoop) file update 2022-12-16 22:31:22 -07:00
Neil O'Toole
b84c4dcbdd GH workflow: got rid of goreleaser-gate 2022-12-16 22:22:58 -07:00
Neil O'Toole
751a52994b update workflow to ignore markdown files 2022-12-16 22:04:22 -07:00
Neil O'Toole
27b70731e9
cobra upgrade; help output now the same for 'sq help' and 'sq --help' (#112) 2022-12-16 21:59:42 -07:00
Neil O'Toole
eca07c9c33 Updated go dependencies to resolve depandabot alert https://github.com/neilotoole/sq/security/dependabot/21 2022-12-16 20:53:10 -07:00
Neil O'Toole
703f6d2427
Refactored verbose/header flags; inspect cmd now less verbose by default (#111)
* Refactored verbose/header flags; inspect cmd now less verbose by default

* Updated changelog

* README update
2022-12-16 20:46:37 -07:00
Neil O'Toole
e425da528f
pg constraints now scan into sql.NullString for some fields (#110) 2022-12-16 19:24:52 -07:00
Neil O'Toole
6a0878bc6b
fixed broken mysql tests (parseTime param); moved some test funcs to pkg tutil (#109) 2022-12-16 19:09:49 -07:00
Neil O'Toole
e674cdc724
change 'interface{}' to 'any' (#108) 2022-12-16 16:34:33 -07:00
Neil O'Toole
a419e0b693
Misc cleanup, goimports, updates (#107)
* debugging

* generic retry functionality; some additions to stringz.go

* fiddling with magefile_sakila

* added test lock function testh.Lock

* bunch of linting, goimports, what not
2022-12-16 15:54:09 -07:00
Neil O'Toole
d1d772c102 Debugging magefile for sakila DB statup 2022-11-20 11:59:35 -07:00
Neil O'Toole
240a493ad6 Get rid of dead script files; update CHANGELOG.md 2022-11-20 08:14:53 -07:00
Neil O'Toole
e50d5e939d README update; fleshed out install.sh 2022-11-19 23:43:18 -07:00
Neil O'Toole
5b95bde20f First pass at a generic install script 2022-11-19 20:22:15 -07:00
Neil O'Toole
bc8cc1180d Added setup scripts for apt and yum repos 2022-11-19 18:58:11 -07:00
Neil O'Toole
67b2341e80 Changing the archive name temlate to use dash instead of underscore 2022-11-19 18:33:41 -07:00
Neil O'Toole
ec841ad763 zap original goreleaser commented out junk 2022-11-07 01:29:59 -07:00
Neil O'Toole
11be09c0c8 added original .goreleaser-original.yml content to .goreleaser.yml, but commented out 2022-11-07 01:29:24 -07:00
neilotoole
42656b294a Scoop update for sq version v0.15.11 2022-11-07 00:59:42 -07:00
Neil O'Toole
d4ebb15081 minor workflow update 2022-11-07 00:31:19 -07:00
neilotoole
2753894c2b Scoop update for sq version v0.15.10 2022-11-07 00:15:00 -07:00
Neil O'Toole
253c8b58f5 updated .gitignore to ignore /dist-* dirs 2022-11-06 23:23:00 -07:00
Neil O'Toole
b0bf24ffed updated .gitignore to ignore /dist-* dirs 2022-11-06 23:10:19 -07:00
Neil O'Toole
32d0896164
Multiplatform goreleaser (#106)
This PR moves `sq` to using GitHub workflows for publishing.
2022-11-06 22:49:05 -07:00
neilotoole
ccb4150a28 Scoop update for sq version v0.15.6 2022-08-10 14:41:20 -06:00
Neil O'Toole
667aac6884
revert to go1.17 until xcgo is updated; disable snapcraft in goreleaser because it fails in xcgo (#105) 2022-08-10 14:14:19 -06:00
Neil O'Toole
23022f2b7f
Go1.19 compatibility (#104)
* upgraded mattn/go-isatty version because it was importing a incompatible version of golang.org/x/sys/unix

* changed parsing of SQL Server DSN due to changes to url.ParseQuery no longer accepting semicolon

* updated xo/dburl pkg to v0.11.0

* removed dead underscore assignment

* updated GH workflow go action to 1.19
2022-08-08 13:14:42 -06:00
neilotoole
6923752d5e Scoop update for sq version v0.15.4 2021-09-18 21:56:34 -06:00
Neil O'Toole
957772902a updated changelog 2021-09-18 21:48:28 -06:00
Neil O'Toole
833fdbf726
fixed panic with badly make-d slice in source/metadata.go (#97) 2021-09-18 21:37:22 -06:00
Neil O'Toole
98e91bae51
Bunch of linting issues (#96)
* linting

* linting

* linting

* linting

* linting

* cleaned up readme trailing newlines
2021-09-12 16:14:30 -06:00
Neil O'Toole
d8ecff4234
drivers/mysql linting (#92) 2021-03-13 10:41:15 -07:00
neilotoole
dff14d86b6 Scoop update for sq version v0.15.3 2021-03-13 10:16:16 -07:00
Neil O'Toole
2d843c9550
MySQL DSN no longer strips driver options (#91)
* MySQL DSN no longer strips driver options
Fixes #90

* CHANGELOG update
2021-03-13 10:08:53 -07:00
neilotoole
b7cb0a0b66 Scoop update for sq version v0.15.2 2021-03-08 00:04:51 -07:00
Neil O'Toole
57834f2f40 CHANGELOG update 2021-03-07 23:39:49 -07:00
Neil O'Toole
ac1e426223 CHANGELOG update 2021-03-07 23:37:37 -07:00
Neil O'Toole
b06b631e76
Bug #87: generated SQL should always quote table and column names in join statement (#89)
* BaseFragmentBuilder now quotes table and col names for joins

* Refactored libsq.engine so that the SQL generated from SLQ input can be tested

* Deleted dead code; additional comments
2021-03-07 23:27:35 -07:00
Neil O'Toole
c88fc04189 Merge branch 'master' of https://github.com/neilotoole/sq into master 2021-03-07 11:12:15 -07:00
Neil O'Toole
e58d17d0d2 README update 2021-03-07 11:12:10 -07:00
Neil O'Toole
bcb735f52d
Update README.md 2021-03-01 23:04:50 -07:00
Neil O'Toole
796d58efd9 README update 2021-02-27 07:51:52 -07:00
Neil O'Toole
cf526b839e updated changelog 2021-02-27 07:50:58 -07:00
Neil O'Toole
fef27b0c36 updated changelog 2021-02-27 07:49:00 -07:00
Neil O'Toole
4760798682 added changelog 2021-02-27 07:47:24 -07:00
Neil O'Toole
eb88c90542 Merge branch 'master' of https://github.com/neilotoole/sq into master 2021-02-27 07:44:19 -07:00
Neil O'Toole
f1335c4a30
Cmd ping to use --all flag instead of arg (#83)
* cmd ping now uses --all flag instead of arg
2021-02-27 07:44:08 -07:00
Neil O'Toole
cd6d90a84f ready for 'final' refactor 2021-02-25 23:16:01 -07:00
neilotoole
4ebbfe3850 Scoop update for sq version v0.15.0 2021-02-22 00:42:01 -07:00
Neil O'Toole
6870327508
Cobra upgrade: includes shell completion work (#81)
Addressed #80
2021-02-22 00:37:00 -07:00