Commit Graph

132 Commits

Author SHA1 Message Date
Priyanka Chatterjee
8af0f0af88 Update plugin installation logic to skip configuration during plugin updates (#4630) 2025-08-18 13:09:32 +05:30
Puskar Basu
e19d35c457 chore: update module to v2 and bump Go version to 1.24 (#4597) 2025-07-07 16:03:56 +05:30
Puskar Basu
da2f3ecc03 Upgrade to pipe-fittings v2, go-kit v1 (#4485) 2025-03-06 16:34:18 +05:30
kai
1804741bbd tidy 2024-09-27 18:14:28 +05:30
kai
6efd1fd6b2 query display and query result moved to pipe fittings 2024-09-27 18:14:28 +05:30
kai
5fd5ae0740 timing broken 2024-09-27 18:14:28 +05:30
Puskar Basu
08b210797a fix plugin list 2024-09-27 18:14:28 +05:30
kai
33c32756f6 tidy 2024-09-27 18:14:28 +05:30
kai
cb681c67cc compiles but needs testing 2024-09-27 18:14:28 +05:30
kai
80ad514e1d steampipe compiles 2024-09-27 18:14:28 +05:30
kai
f16cf35a85 working on it 2024-09-27 18:14:28 +05:30
kai
fd94b2e2ec working on it 2024-09-27 18:14:25 +05:30
kai
cd07bf20f1 working on it 2024-09-27 18:13:12 +05:30
kai
faead86d26 move stuff to pipe-fittings 2024-09-27 18:13:12 +05:30
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