Graza
ecefbcc00c
Migrate from GCP to GHCR as CR for Plugins. Closes #4232
2024-04-08 15:15:18 +01:00
kaidaguerre
e6e9714e4c
Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 ( #4212 )
2024-03-21 11:46:10 +00:00
kaidaguerre
bb26c0ee81
Add version to steampipe_plugin table. Closes #4141
2024-02-21 14:15:34 +00:00
Binaek Sarkar
0387595c36
Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884
2024-01-08 11:45:29 +00:00
François de Metz
9f16178c33
Fix custom registries bugs ( #3960 )
...
* Add tests on TestGetOrgNameAndStream
* Fix multiple bugs related to plugins installed from other registries
- the documentation link was not correct
- the uninstall message was not correct
- checking requirements on mods was always failing
(cherry picked from commit e55a9c23f6 )
2023-11-29 12:55:15 +00:00
Meet Rajesh Gor
347fccc71e
Fix plugin list empty table
...
(cherry picked from commit 3116dce9fc )
2023-09-29 20:20:08 +01:00
Binaek Sarkar
ad3f9cd022
Update help for steampipe plugin install
2023-09-28 15:09:51 +01:00
Binaek Sarkar
c85b6c336f
Adds support for installing all referenced plugins when no arguments are given to 'plugin install'. Closes #3451
2023-09-18 16:27:17 +01:00
Binaek Sarkar
08b447a261
Differentiate between user and system queries using application name. Closes #3600
2023-08-25 16:50:27 +01:00
Meet Rajesh Gor
ce2bc0cb5b
Add flag for disabling writing of default plugin config during plugin installation. Closes #3531 . Closes #2206
2023-07-28 10:15:37 +01:00
Puskar Basu
84ffb71412
Steampipe commands should bypass plugin requirement check if installed plugin is local. Closes #3643
2023-07-27 12:58:52 +01:00
Patrick Decat
3c5e98d13b
feat: upgrade to oras-go v2 and support OCI registries requiring authentication. Closes #2819
2023-07-14 10:20:31 +01:00
Binaek Sarkar
37e4b94148
Move ErrorAndWarnings to error_helpers. Closes #3653
2023-07-12 13:58:57 +01:00
kaidaguerre
b06348757a
Fix linting warnings
...
---------
Co-authored-by: Binaek Sarkar <binaek@turbot.com >
Co-authored-by: Puskar Basu <puskar@turbot.com >
2023-07-06 16:08:23 +01:00
Meet Rajesh Gor
f0308599b2
Clean up tmp dirs after plugin commands
2023-07-06 16:04:34 +01:00
Binaek Sarkar
9754ed0c1a
Creates 'version.json' in each plugin directory. Recompose the global plugin versions.json if it is missing or corrupt. Closes #3492
2023-06-30 08:56:59 +01:00
Meet Rajesh Gor
3185f09bdd
Adds support for --output flag for plugin list cmd - along with support for json output. Closes #3368
2023-06-14 10:05:16 +01:00
Patrick Decat
51f43f108b
Allow selection of hosts for steampipe service. Closes #3505
2023-06-01 17:14:56 +01:00
Puskar Basu
00dd1fc92d
Fix issue where plugin list was returning non-0 exit code if the plugin was already installed. Closes #3444
2023-05-18 15:02:01 +01:00
kaidaguerre
fab91ebd7d
Fix steampipe plugin list not printing the Missing Plugin and Failed Plugin tables. Closes #3439
2023-05-18 14:50:58 +01:00
Binaek Sarkar
6c1393fdb7
Fixes issue where 'plugin-manager' incorrectly executes scheduled tasks (e.g. update check). Closes #3421
2023-05-17 13:16:40 +01:00
kaidaguerre
dcd0ced93a
Update refresh connections to write comments for exemplar schemas first, followed by remaining schemas. Closes #3413
2023-05-16 14:13:02 +01:00
Meet Rajesh Gor
861e77d273
Adds a '--progress' flag to 'plugin install' to disable progress bars. Closes #2953
2023-05-15 16:01:15 +01:00
kaidaguerre
b0b2c62338
Add support for 'import_schema' property in connection config, controlling whether to create a postgres schema for a steampipe connection. Closes #3407
...
Rename 'connection_state' table to 'steampipe_connection_state'. #3403
Rename 'internal' table to 'steampipe_internal
Remove 'Connection' property from ConnectionState
2023-05-15 13:07:36 +01:00
kaidaguerre
40804a3201
Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
...
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents
Closes #3394
Closes #3267
2023-05-10 09:05:08 +01:00
Puskar Basu
414664080c
Fixes issue where network failures during plugin install was returning 0 exit code. Closes #3367
2023-05-05 11:02:41 +01:00
Puskar Basu
97bff47bc5
Show plugin name with stream in the progress bar during plugin update. Closes #3241
2023-04-13 14:44:42 +01:00
Binaek Sarkar
be36276fd8
Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246
2023-03-23 14:43:06 +00:00
kaidaguerre
86246ed927
Only call RefreshConnections on service startup or after a file watching event. Closes #3229
2023-03-15 16:33:23 +00:00
Puskar Basu
6c4782c26f
Fixes issue where we didn't get a proper uninstall help message for plugins that failed to load. First draft of Failed Plugin table. Closes #3212
2023-03-15 14:53:52 +00:00
Binaek Sarkar
17306488fc
Fixes issue where fdw was not updated for 'service restart' command. Closes #3172
2023-03-10 12:33:59 +00:00
kaidaguerre
2171ce66ba
Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184 . Closes #3185
2023-03-03 18:45:40 +00:00
Binaek Sarkar
31037ff04b
Fixes issue where spinner is left behind in 'plugin list' . Fixes #3138
2023-02-23 10:19:02 +00:00
Binaek Sarkar
c896d88e88
Make workspace loading async. Closes #3123
2023-02-20 17:18:33 +00:00
Binaek Sarkar
a4ab68812e
Fixes issue where a spinner was hanging around even after plugin installation completes. Closes #3126
2023-02-20 10:49:20 +00:00
Puskar Basu
34ecf67496
Use consistent and defined exit codes. Closes #2935
2023-01-06 14:14:05 +00:00
Binaek Sarkar
7a16ec8c57
Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779
2022-11-30 10:12:03 +00:00
Binaek Sarkar
d2f8541385
Update the update checker to run asynchronously. Closes #2770
2022-11-25 11:26:50 +00:00
Binaek Sarkar
b56447cbcc
Consolidates setting of CLI flag shorthand. Closes #2403
2022-11-09 10:31:09 +00:00
kai
804cc6f3bf
Fix crash when plugin list fails to connect to database.
...
Improve logging for login command
2022-11-07 10:37:34 +00:00
kai
7e4ecf3724
Update argument descriptions for --output --export, --snapshot-location
...
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
Binaek Sarkar
e5a14bce00
Adds 'list' sub command for 'query', 'check' and 'dashboard'. Closes #2653
2022-11-03 15:58:56 +00:00
Puskar Basu
7228dedca2
Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361
2022-11-03 11:09:45 +00:00
michizhou
f80f9c1b21
Deprecate workspace-chdir, replace with mod-location. Closes #2511
2022-10-19 11:08:34 +01:00
kaidaguerre
ef845286c1
Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473
2022-10-05 15:30:57 +01:00
kaidaguerre
404dd35e21
Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 ( #2438 )
...
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
Puskar Basu
1647311a87
Fix the alignment of plugin update/install outputs. Closes #2417
2022-09-05 11:34:33 +01:00
Puskar Basu
1ea9a7edfe
Use ellipsis char instead of 3 dots in plugin update/install when cutting off the plugin name. Closes #2355
2022-09-02 13:48:37 +01:00
kaidaguerre
ca64841eee
Disable FDW update message during plugin update. Closes #2312 #
2022-08-09 17:46:25 +01:00
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00