fix(plugins): check and update installed plugins with provenance guards
This commit is contained in:
1 parent
d715b16ba5
commit
cab674299a
26 files changed
+1180
-44
No files matched your search
@@ -41,6 +41,7 @@ async fn run() -> Result<(), String> {
|
||||
repository_id: OFFICIAL_PLUGIN_REPOSITORY_ID.to_string(),
|
||||
plugin_id: plugin_id.clone(),
|
||||
version,
|
||||
allow_source_change: false,
|
||||
})
|
||||
.await?;
|
||||
if installed.plugin.manifest.id != plugin_id {
|
||||
|
||||
@@ -9415,6 +9415,7 @@ for line in sys.stdin:
|
||||
backend_executable: Some(dir.join("plugin.sh")),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = PluginDriverSession::start_for_test(plugin, "jdbc".to_string(), PluginRuntimeEnv::default())
|
||||
.await
|
||||
@@ -9521,6 +9522,7 @@ for line in sys.stdin:
|
||||
backend_executable: Some(dir.join("plugin.sh")),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = Arc::new(
|
||||
PluginDriverSession::start_for_test(plugin, "jdbc".to_string(), PluginRuntimeEnv::default())
|
||||
@@ -9638,6 +9640,7 @@ for line in sys.stdin:
|
||||
backend_executable: Some(dir.join("plugin.sh")),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = PluginDriverSession::start_for_test(plugin, "jdbc".to_string(), PluginRuntimeEnv::default())
|
||||
.await
|
||||
@@ -9702,6 +9705,7 @@ for line in sys.stdin:
|
||||
backend_executable: Some(dir.join("plugin.sh")),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = PluginDriverSession::start_for_test(plugin, "jdbc".to_string(), PluginRuntimeEnv::default())
|
||||
.await
|
||||
|
||||
@@ -3603,6 +3603,7 @@ done
|
||||
backend_executable: Some(dir.join("plugin.sh")),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = std::sync::Arc::new(
|
||||
PluginDriverSession::start_for_test(plugin, "jdbc".to_string(), PluginRuntimeEnv::default()).await.unwrap(),
|
||||
@@ -3718,6 +3719,7 @@ done
|
||||
backend_executable: Some(executable),
|
||||
..Default::default()
|
||||
},
|
||||
provenance: None,
|
||||
};
|
||||
let session = std::sync::Arc::new(
|
||||
PluginDriverSession::start_for_test(plugin, "jdbc".into(), PluginRuntimeEnv::default()).await.unwrap(),
|
||||
|
||||
Reference in new issue
Block a user