Commit Graph

538 Commits

Author SHA1 Message Date
Neil O'Toole
1edc02c378
Table alias implemented (#278) 2023-06-25 10:29:24 -06:00
Neil O'Toole
072cb4f515
Tidy go.mod; revert osquery lib to original package (#276) 2023-06-22 21:07:27 -06:00
neilotoole
eaa1315c20 Scoop update for sq version v0.39.1 2023-06-22 12:41:45 -06:00
neilotoole
82dc378612 Disable XLSX test on windows 2023-06-22 12:30:38 -06:00
neilotoole
8759506cfe Cleanup go.mod 2023-06-22 11:45:46 -06:00
neilotoole
d81c50d687 Changelog for v0.39.1 2023-06-22 11:37:12 -06:00
neilotoole
6a00c29f65 Changelog for v0.39.1 2023-06-22 11:36:39 -06:00
Neil O'Toole
9ebd1c4b01
Fix cmd version bug on windows (#275) 2023-06-22 11:34:35 -06:00
neilotoole
23df036067 Scoop update for sq version v0.39.0 2023-06-22 10:28:54 -06:00
neilotoole
42885ed6d4 README update 2023-06-22 09:56:21 -06:00
Neil O'Toole
99af5151b4
#263: Enhancements to 'sq version' and 'sq inspect`. (#274)
* Refactor tablew md writer

* wip: cmd inspect -v

* cmd inspect output improved

* cmd inspect tests

* cmd inspect: help text

* sq inspect enhancements
2023-06-22 09:50:12 -06:00
Neil O'Toole
edfa97d289
Update README.md 2023-06-21 23:51:09 -06:00
Neil O'Toole
a5c4f9d6bd
#263: Inspect --overview; improved output (#273)
* Refactor tablew md writer

* wip: cmd inspect -v

* cmd inspect output improved

* cmd inspect tests

* cmd inspect: help text
2023-06-21 23:48:58 -06:00
Neil O'Toole
85d6f7a2f9
#263: cmd version: structure yaml output correctly (#272)
* cmd version: structure yaml output correctly

* Fix bug_report.md to match 'sq version --yaml' output
2023-06-21 09:15:40 -06:00
dependabot[bot]
d35c34a115
Bump golang.org/x/mod from 0.10.0 to 0.11.0 (#269)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/mod/compare/v0.10.0...v0.11.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-06-21 06:56:36 -06:00
dependabot[bot]
917043ea93
Bump golang.org/x/sync from 0.2.0 to 0.3.0 (#268)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/golang/sync/compare/v0.2.0...v0.3.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-06-21 06:56:16 -06:00
dependabot[bot]
06ee440a1d
Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.4.1 (#265)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.4.1.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.4.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  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-21 06:56:02 -06:00
dependabot[bot]
5b0be68da5
Bump golang.org/x/net from 0.10.0 to 0.11.0 (#267)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.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-06-21 06:30:56 -06:00
dependabot[bot]
b3d6e91df7
Bump github.com/otiai10/copy from 1.11.0 to 1.12.0 (#266)
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.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-06-21 06:30:37 -06:00
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