Puskar Basu
945c869443
remove unnecessary funcs from pkg/modinstaller
2024-09-27 18:13:12 +05:30
kaidaguerre
ae1919449a
When installing a mod, ensure there is a valid modfile. Closes #4158
...
Remove support for .pp mod resource files
2024-03-01 18:10:12 +00:00
kaidaguerre
cae96a0a88
Fix modfile being left invalid after mod uninstall. Fix variables not being reloaded after file watch event. Closes #4123 . Closes #4124
2024-02-09 12:28:13 +00:00
kaidaguerre
33210d4fe7
Accept both sp and pp files as mod data extension. Closes #4089
2024-02-05 17:11:00 +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
Puskar Basu
01097a27e6
Warn users to not have mod.sp files in home directory. Closes #2321
2023-09-22 18:07:55 +01:00
Puskar Basu
6aaf9bc5be
Update 'sperr' import references. Closes #3748
2023-08-17 13:52:04 +05:30
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
kaidaguerre
91436fafba
Support resolution of variables for transitive dependencies using parent mod 'args' property
...
`steampipe mod update` now updates transitive mods
It is now be possible to set values for variables in the current mod using fully qualified variable names.
Only variables for root mod and top level dependency mods can be set by user
Closes #3533 . Closes #3547 . Closes #3548 . Closes #3549
2023-06-09 16:22:09 +01:00
Binaek Sarkar
37c0fa2d6d
Fixes issue where dependency mods are installed even if there are installed which satisfy requirement. Closes #3475
2023-05-30 15:19:27 +01:00
Binaek Sarkar
bb5af4f667
Fix issue where 'mod.sp' get formatted even if there are no changes to apply. Closes #3464
2023-05-23 15:48:12 +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
Binaek Sarkar
3cf30ba45d
Fixes issue where 'mod install' on an existing mod would sometimes corrupt the 'mod.sp' file.
...
Closes #3376
Closes #3383
Closes #3280
Closes #2676
2023-05-09 22:34:09 +01:00
Binaek Sarkar
be81357e20
Fixes issue where mod installation would fail silently for unmet dependencies in top mod in force mode. Closes #3358 ( #3363 )
2023-04-26 14:24:36 +01:00
Puskar Basu
3bdd2eedde
Improve error message when running steampipe check/dashboard outside a mod and refactor default mod creation. Closes #3215
...
Rationalise default mod creation
Fix nil ref exception for mod commands when using legacy `requires` block
---------
Co-authored-by: kai <kai@turbot.com >
2023-04-20 12:02:50 +01:00
kaidaguerre
f47985f88f
Update mod require, deprecate steampipe property and add steampipe block. Deprecate plugin version property and add min_version`. Closes #3347 . Fix args passed to dependency mods failing to resolve if they reference variables. Closes #3348
2023-04-19 12:28:53 +01:00
Binaek Sarkar
a6919cca75
Fixes issue where a mod would install even if plugin dependencies are not met. Closes #3041
2023-04-18 15:28:58 +01:00
kai
62488d3849
Add ctx to ModInstaller functions. #3291
2023-04-13 14:41:05 +01:00
kai
48e6d532c6
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/modinstaller/mod_installer.go
2023-04-13 14:30:01 +01:00
Binaek Sarkar
473a3e08b9
Fixes issue where mod install/update continues installation even with unsatisfied requirements. Closes #3291
2023-04-06 18:42:39 +01:00
Puskar Basu
21c17521ba
Fix build issues ( #3310 )
2023-04-06 14:28:20 +05:30
Aaronstotle
17a00353ae
Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562
2023-04-06 09:10:41 +01:00
kaidaguerre
e1703b9c75
Add dependency_path to steampipe_mod so it is possible to tell if a mod is a dependency mod. Closes #3304
2023-04-04 15:51:48 +01:00
kaidaguerre
dd08d9d8a4
Support mods requiring different versions of the same mod. Resources from transitive dependencies should not added the mod resource map #3302 ( #3303 )
2023-04-04 15:08:27 +01:00
Binaek Sarkar
3837311ca6
Fixes issue where installing transitive mod dependencies leaves the lock file in a bad state. Closes #3285
2023-04-03 14:28:08 +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
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00