author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
350,430
25.05.2021 09:17:08
21,600
cf4b637f1281fe6a02ce8c5106c3cb5262e779e5
Add more documentation on the return values of pull_manifest and pull_manifest_and_config
[ { "change_type": "MODIFY", "old_path": "crates/oci-distribution/src/client.rs", "new_path": "crates/oci-distribution/src/client.rs", "diff": "@@ -406,6 +406,9 @@ impl Client {\n///\n/// The client will check if it's already been authenticated and if\n/// not will attempt to do.\n+ ///\n+ /// A Tuple...
Rust
Apache License 2.0
krustlet/krustlet
Add more documentation on the return values of pull_manifest and pull_manifest_and_config
350,417
27.05.2021 11:15:36
21,600
0e0b1df1489cd16b9cb7784ab4b8b7cc46c45c8e
fix(#463): read-only configmap/secret mount directory
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/volume/configmap.rs", "new_path": "crates/kubelet/src/volume/configmap.rs", "diff": "@@ -75,6 +75,11 @@ impl ConfigMapVolume {\n.chain(data)\n.collect::<tokio::io::Result<_>>()?;\n+ // Set configmap directory to read-only.\n+ let mut perms =...
Rust
Apache License 2.0
krustlet/krustlet
fix(#463): read-only configmap/secret mount directory
350,410
18.05.2021 14:29:43
-7,200
e57d51cf3faaafaefd95c1b126c496457c32ce70
oci-distribution: use DockerHub actual registry While using the 'docker.io' namespace, DockerHub is actually using registry-1.docker.io as registry. Docker manually overrides it when accessing the registry so do it here as well. Fix
[ { "change_type": "MODIFY", "old_path": "crates/oci-distribution/src/client.rs", "new_path": "crates/oci-distribution/src/client.rs", "diff": "@@ -180,7 +180,7 @@ impl Client {\n) -> anyhow::Result<ImageData> {\ndebug!(\"Pulling image: {:?}\", image);\n- if !self.tokens.contains_key(image.registry())...
Rust
Apache License 2.0
krustlet/krustlet
oci-distribution: use DockerHub actual registry While using the 'docker.io' namespace, DockerHub is actually using registry-1.docker.io as registry. Docker manually overrides it when accessing the registry so do it here as well. Fix #596
350,439
11.05.2021 15:12:38
0
773b5776915ce0bfabf840b7ce41f7839ff44118
add device plugin proto file and generate code with tonic build
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/build.rs", "new_path": "crates/kubelet/build.rs", "diff": "fn main() -> Result<(), Box<dyn std::error::Error>> {\nprintln!(\"cargo:rerun-if-changed=proto/pluginregistration/v1/pluginregistration.proto\");\n+ println!(\"cargo:rerun-if-changed=pro...
Rust
Apache License 2.0
krustlet/krustlet
add device plugin proto file and generate code with tonic build
350,439
25.05.2021 13:58:02
25,200
0ce5c868fdac29e9559f5132ffdb054472e5c5b1
make NodePatcher a struct instead of trait
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/Cargo.toml", "new_path": "crates/kubelet/Cargo.toml", "diff": "@@ -93,7 +93,6 @@ slab = \"0.4\"\nversion-sync = \"0.5\"\n[dev-dependencies]\n-mockall = \"0.9.0\"\nreqwest = { version = \"0.11\", default-features = false }\ntempfile = \"3.1\"\nto...
Rust
Apache License 2.0
krustlet/krustlet
make NodePatcher a struct instead of trait
350,439
25.05.2021 17:01:54
25,200
bdebf251f7f9733b2c640a2ceb465024858db264
add device manager to Provider and ProviderState interfaces
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -687,12 +687,6 @@ version = \"0.1.12\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499\"\n-[[package]]\n-name ...
Rust
Apache License 2.0
krustlet/krustlet
add device manager to Provider and ProviderState interfaces
350,448
03.06.2021 11:35:40
25,200
d99346e16f111f3d8d6b6eb9f7c4483d8b237a75
fix docs reference to old device_plugin_manager module layout
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/lib.rs", "new_path": "crates/kubelet/src/lib.rs", "diff": "//! ```rust,no_run\n//! use kubelet::Kubelet;\n//! use kubelet::config::Config;\n-//! use kubelet::device_plugin_manager::manager::DeviceManager;\n+//! use kubelet::device_plugin_man...
Rust
Apache License 2.0
krustlet/krustlet
fix docs reference to old device_plugin_manager module layout
350,448
04.06.2021 09:38:01
25,200
aed687292efb5c917199320d2142e5b3601f470a
add more inline docs, fix clippy errors, remove printlns
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -31,16 +31,18 @@ const DEFAULT_PLUGIN_PATH: &str = \"c:\\\\ProgramData\\\\kubelet\\\\device_plugins\";\nconst PLUGIN_MANGER_SOCKET_NAME...
Rust
Apache License 2.0
krustlet/krustlet
add more inline docs, fix clippy errors, remove printlns
350,448
04.06.2021 10:00:36
25,200
62d54371e1613299f3d01487f5bd95d9a5802bc2
make fields and structs private where possible and change DeviceManager default constructor
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -46,29 +46,30 @@ type DeviceMap = HashMap<String, EndpointDevicesMap>;\ntype EndpointDevicesMap = HashMap<String, Device>;\n/// Healthy...
Rust
Apache License 2.0
krustlet/krustlet
make fields and structs private where possible and change DeviceManager default constructor
350,448
04.06.2021 10:53:57
25,200
facb2ad67d21c3cf55cc3a8fc54ee511459dd443
clean up create_endpoint function
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -72,6 +72,13 @@ pub struct ContainerAllocateInfo {\ncontainer_allocate_request: ContainerAllocateRequest,\n}\n+/// Enum for reporting a...
Rust
Apache License 2.0
krustlet/krustlet
clean up create_endpoint function
350,448
07.06.2021 06:53:58
25,200
b1f3a819d19f4ade35506c74d2198c21eb85b724
add node filter for PodDevices, iterator optimizations, and nits
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -45,6 +45,12 @@ type DeviceMap = HashMap<String, EndpointDevicesMap>;\n/// `EndpointDevicesMap` contains all of the devices advertised ...
Rust
Apache License 2.0
krustlet/krustlet
add node filter for PodDevices, iterator optimizations, and nits
350,448
07.06.2021 07:59:50
25,200
232413c45f4673c8a4c68044290dd5bb565bc500
upon registration, validate that device plugin has proper extended resource name
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -155,7 +155,8 @@ impl DeviceManager {\n/// answer YES to all of these):\n/// 1. Does this manager support the device plugin version? Cu...
Rust
Apache License 2.0
krustlet/krustlet
upon registration, validate that device plugin has proper extended resource name
350,448
07.06.2021 08:44:30
25,200
c349cf49cd4e8adeaa5e14456ff558ababeebe74
rename allocated state to be resources state and add transition from registered
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/resources.rs", "new_path": "crates/kubelet/src/device_plugin_manager/resources.rs", "diff": "@@ -54,7 +54,8 @@ pub fn is_extended_resource_name(name: &str) -> bool {\nErr(e) => {\ntrace!(\n\"name {} does not qualify as ...
Rust
Apache License 2.0
krustlet/krustlet
rename allocated state to be resources state and add transition from registered
350,448
08.06.2021 08:57:43
25,200
32a4267e8de80b8b3e94b52800fc2fcc3e0aacd5
create directory for device plugin manager if DNE
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/device_plugin_manager/mod.rs", "diff": "@@ -582,7 +582,8 @@ impl Registration for DeviceRegistry {\n/// specified in the `DeviceManager`.\n/// Returns an error if either the `Nod...
Rust
Apache License 2.0
krustlet/krustlet
create directory for device plugin manager if DNE
350,448
08.06.2021 15:43:55
25,200
0fdee2b81bf67e49a01c75dd176959dfa90b7b9a
rename Endpoint to PluginConnection
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -6,10 +6,10 @@ use crate::device_plugin_api::v1beta1::{\nuse crate::grpc_sock;\nuse crate::pod::Pod;\n-use super::endpoint::End...
Rust
Apache License 2.0
krustlet/krustlet
rename Endpoint to PluginConnection
350,448
08.06.2021 20:36:14
25,200
e06c083e0ef0b76bb1c178fd8b4a86c556dc9a2e
remove associated functions from DeviceManager
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -94,23 +94,6 @@ impl DeviceManager {\nlock.insert(resource_name.to_string(), plugin_connection);\n}\n- /// Removes the PluginCo...
Rust
Apache License 2.0
krustlet/krustlet
remove associated functions from DeviceManager
350,448
08.06.2021 20:38:47
25,200
48807d8c72226f9ad0dadc64c712511db9c87d3a
remove termination case from PluginConnection
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/plugin_connection.rs", "new_path": "crates/kubelet/src/device_plugin_manager/plugin_connection.rs", "diff": "@@ -6,7 +6,6 @@ use crate::device_plugin_api::v1beta1::{\nuse std::collections::HashMap;\nuse std::sync::{Arc,...
Rust
Apache License 2.0
krustlet/krustlet
remove termination case from PluginConnection
350,448
09.06.2021 09:51:43
25,200
716fa458cb8bb8cf1248fa95ce2c00a1426a98ab
add additional in line comments, manager allocate tests
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -275,7 +275,7 @@ impl DeviceManager {\n///\n/// Note, say DP1 and DP2 are registered for R1 and R2 respectively. If the allocat...
Rust
Apache License 2.0
krustlet/krustlet
add additional in line comments, manager allocate tests
350,448
09.06.2021 22:56:07
25,200
a56289a27a80499020fe7af63422e13888fb9e05
use RwLock instead of Mutex
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -12,7 +12,8 @@ use super::pod_devices::{ContainerDevices, DeviceAllocateInfo, PodDevices};\nuse super::{DeviceIdMap, DeviceMap,...
Rust
Apache License 2.0
krustlet/krustlet
use RwLock instead of Mutex
350,448
15.06.2021 11:37:31
25,200
1696b068d29b79c925ddeb22cc5ee34ab6f5ec4f
missing device_plugins_dir references
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/config_interpreter.rs", "new_path": "crates/kubelet/src/config_interpreter.rs", "diff": "@@ -33,6 +33,7 @@ mod test {\nhostname: \"nope\".to_owned(),\ninsecure_registries: None,\nplugins_dir: std::path::PathBuf::from(\"/nope\"),\n+ device_pl...
Rust
Apache License 2.0
krustlet/krustlet
missing device_plugins_dir references
350,448
15.06.2021 13:53:23
25,200
2ee76f0f43f9d8022bd3c417b14fd3687a26c3a4
use json patch for node status
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/node_patcher.rs", "new_path": "crates/kubelet/src/device_plugin_manager/node_patcher.rs", "diff": "use super::{DeviceMap, HEALTHY};\n-use k8s_openapi::api::core::v1::{Node, NodeStatus};\n-use k8s_openapi::apimachinery::...
Rust
Apache License 2.0
krustlet/krustlet
use json patch for node status
350,448
15.06.2021 14:45:45
25,200
8af4e548bbde7f18d6d6a390fb12278e06c37f5b
use json patch for node status patches
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -184,7 +184,6 @@ impl DeviceManager {\nself.add_plugin(plugin_connection.clone(), &resource_name)\n.await;\n- // TODO: decide w...
Rust
Apache License 2.0
krustlet/krustlet
use json patch for node status patches Co-authored-by: Taylor Thomas <thomastaylor312@users.noreply.github.com>
350,448
16.06.2021 13:15:55
25,200
7c78427b6057568f44b831f43f11363be67573b7
fix resource quantity parsing and more allocate tests
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -4,12 +4,12 @@ use crate::device_plugin_api::v1beta1::{\nContainerAllocateResponse, RegisterRequest, API_VERSION,\n};\nuse crat...
Rust
Apache License 2.0
krustlet/krustlet
fix resource quantity parsing and more allocate tests
350,448
16.06.2021 13:16:28
25,200
3f1b7b6719e07327535193b30ac59d93eb1bad26
fix device plugin default directory
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/device_plugin_manager/manager.rs", "diff": "@@ -21,9 +21,9 @@ use tokio_compat_02::FutureExt;\nuse tracing::trace;\n#[cfg(target_family = \"unix\")]\n-const DEFAULT_PLUGIN_PA...
Rust
Apache License 2.0
krustlet/krustlet
fix device plugin default directory
350,439
16.06.2021 22:27:06
0
24b83b1388db61694def74012a72211b1bc72312
move device plugin manager into resources module
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/kubelet.rs", "new_path": "crates/kubelet/src/kubelet.rs", "diff": "///! This library contains code for running a kubelet. Use this to create a new\n///! Kubelet with a specific handler (called a `Provider`)\nuse crate::config::Config;\n-use ...
Rust
Apache License 2.0
krustlet/krustlet
move device plugin manager into resources module
350,437
18.06.2021 19:56:11
25,200
0d3905e84ad6636cfa93b4b70fc611584ae773ac
Update Wasmtime to v0.28
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -6,7 +6,16 @@ version = \"0.14.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7\"\ndependencies = [\n- \"gi...
Rust
Apache License 2.0
krustlet/krustlet
Update Wasmtime to v0.28 Signed-off-by: Radu M <root@radu.sh>
350,448
21.06.2021 15:02:48
25,200
e017df36b29e3fe8dd4d48175138494003674184
import from correct resources module
[ { "change_type": "MODIFY", "old_path": "crates/wasi-provider/src/lib.rs", "new_path": "crates/wasi-provider/src/lib.rs", "diff": "@@ -40,7 +40,6 @@ use std::path::{Path, PathBuf};\nuse std::sync::Arc;\nuse async_trait::async_trait;\n-use kubelet::device_plugin_manager::DeviceManager;\nuse kubelet::n...
Rust
Apache License 2.0
krustlet/krustlet
import from correct resources module
350,448
22.06.2021 11:43:32
25,200
5dfc26b8eb07ce0a77b95f85ae374d004981cd02
use device manager directory for plugin endpoints
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "diff": "@@ -171,7 +171,10 @@ impl DeviceManager {\nresource = %register_request.resource_name, \"Connecting to plugin ...
Rust
Apache License 2.0
krustlet/krustlet
use device manager directory for plugin endpoints
350,449
23.06.2021 13:45:18
25,200
05cbf8bf3bad41a119d892cf236e566f873fa450
Updated default aks version to 1.20.7
[ { "change_type": "MODIFY", "old_path": "contrib/azure/azuredeploy.parameters.json", "new_path": "contrib/azure/azuredeploy.parameters.json", "diff": "\"value\": null\n},\n\"kubernetesVersion\": {\n- \"value\": \"1.18.10\"\n+ \"value\": \"1.20.7\"\n},\n\"krustletURL\": {\n\"value\": \"https://krustle...
Rust
Apache License 2.0
krustlet/krustlet
Updated default aks version to 1.20.7
350,448
23.06.2021 14:49:12
25,200
4e3bfac4476f7ef54caa3c9b929183ea79b01144
add device plugin documentation
[ { "change_type": "MODIFY", "old_path": "docs/topics/plugin_system.md", "new_path": "docs/topics/plugin_system.md", "diff": "# Plugin System Overview\n+Krustlet partially implements support for CSI and device plugins. For CSI plugins support,\nKrustlet partially implements the plugin discovery system...
Rust
Apache License 2.0
krustlet/krustlet
add device plugin documentation
350,448
23.06.2021 14:59:27
25,200
5c3ec45b33d78db559c05800c4e1fd0b02862ed5
wrap documentation text
[ { "change_type": "MODIFY", "old_path": "docs/topics/plugin_system.md", "new_path": "docs/topics/plugin_system.md", "diff": "# Plugin System Overview\n-Krustlet partially implements support for CSI and device plugins. For CSI plugins support,\n-Krustlet partially implements the plugin discovery syste...
Rust
Apache License 2.0
krustlet/krustlet
wrap documentation text
350,448
23.06.2021 15:11:15
25,200
3123b6ecbfdbbe7968a37392b1a67e143a6d658f
lint documentation with markdownlint 'docs/topics/plugin_system.md' -c .markdownlint.json --fix
[ { "change_type": "MODIFY", "old_path": "docs/topics/plugin_system.md", "new_path": "docs/topics/plugin_system.md", "diff": "@@ -21,8 +21,8 @@ hosts a registration service for device plugins, as described in the [device\nplugin\ndocumentation](https://kubernetes.io/docs/concepts/extend-kubernetes/com...
Rust
Apache License 2.0
krustlet/krustlet
lint documentation with markdownlint 'docs/topics/plugin_system.md' -c .markdownlint.json --fix
350,448
23.06.2021 15:13:58
25,200
76a457e206e5538f07796193708e3d2203e76852
fix md list ordering
[ { "change_type": "MODIFY", "old_path": "docs/topics/plugin_system.md", "new_path": "docs/topics/plugin_system.md", "diff": "@@ -100,7 +100,7 @@ The current implementation does not support the following:\n1. Calls to a device plugin's `GetPreferredAllocation` endpoint in order to make\nmore informed ...
Rust
Apache License 2.0
krustlet/krustlet
fix md list ordering
350,448
24.06.2021 11:04:30
25,200
6d21cd70838dc8e9c6180ec195b7ecdf4be6adc0
add support for env vars and update docs
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "diff": "@@ -397,11 +397,11 @@ impl DeviceManager {\nOk(())\n}\n- /// Returns all of the allocate responses for a Pod. ...
Rust
Apache License 2.0
krustlet/krustlet
add support for env vars and update docs
350,448
24.06.2021 12:07:57
25,200
1f93ffe71afff89e8284919c7f7da9528092792a
delete any existing manager socket before creating a new one
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/mod.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/mod.rs", "diff": "@@ -95,8 +95,9 @@ pub async fn serve_device_registry(device_manager: Arc<DeviceManager>) -> anyhow\n\"Serving device p...
Rust
Apache License 2.0
krustlet/krustlet
delete any existing manager socket before creating a new one
350,437
28.06.2021 11:17:28
25,200
cc2de7ac47651e2c78598883b8ac3d68a41769c2
Move Wasmtime module instantiation out of spawn_blocking
[ { "change_type": "MODIFY", "old_path": "crates/wasi-provider/src/wasi_runtime.rs", "new_path": "crates/wasi-provider/src/wasi_runtime.rs", "diff": "@@ -5,7 +5,6 @@ use tracing::{debug, error, info, instrument, trace, warn};\nuse tempfile::NamedTempFile;\nuse tokio::sync::mpsc::Sender;\n-use tokio::s...
Rust
Apache License 2.0
krustlet/krustlet
Move Wasmtime module instantiation out of spawn_blocking Signed-off-by: Radu M <root@radu.sh> Co-authored-by: Taylor Thomas <thomastaylor312@users.noreply.github.com> Co-authored-by: Brian Hardock <brhardoc@microsoft.com>
350,437
28.06.2021 11:37:54
25,200
f23a04ab1dab8df2dd67bf9e11ad1b36ff13b31c
Run apt update on aarch64 and remove default features
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -68,6 +68,7 @@ jobs:\n- name: setup for cross-compile builds\nif: matrix.config.arch == 'aarch64'\nrun: |\n+ sudo apt update\nsudo apt install gcc-aarch64-linux-gnu g++-aarch6...
Rust
Apache License 2.0
krustlet/krustlet
Run apt update on aarch64 and remove default features Signed-off-by: Radu M <root@radu.sh> Co-authored-by: Taylor Thomas <thomastaylor312@users.noreply.github.com> Co-authored-by: Brian Hardock <brhardoc@microsoft.com>
350,448
29.06.2021 11:44:07
25,200
54ea0fdaa1c61899f557e86679670d19fb9d207b
address todos, nits, etc
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/kubelet.rs", "new_path": "crates/kubelet/src/kubelet.rs", "diff": "@@ -112,7 +112,7 @@ impl<P: Provider> Kubelet<P> {\nerror!(error = %e, \"Plugin registrar task completed with error\");\n},\nres = device_manager => if let Err(e) = res {\n- ...
Rust
Apache License 2.0
krustlet/krustlet
address todos, nits, etc
350,448
29.06.2021 12:53:38
25,200
b27c7ca282111f9a596a3cafd436bf8f07f5d359
fix update_devices_map comment fmt
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/plugin_connection.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/plugin_connection.rs", "diff": "@@ -96,9 +96,11 @@ impl PluginConnection {\n/// This updates the shared device map with th...
Rust
Apache License 2.0
krustlet/krustlet
fix update_devices_map comment fmt
350,448
30.06.2021 11:07:37
25,200
ae2098b8b107d9d1156f3cf8d1ed097fec276141
document not allowing a plugin with existing plugin name to register
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/manager.rs", "diff": "-//! The `DeviceManager` maintains a device plugin client for each\n-//! registered device plugin. It ensures ...
Rust
Apache License 2.0
krustlet/krustlet
document not allowing a plugin with existing plugin name to register
350,448
30.06.2021 11:35:58
25,200
f96089d1052b306628fb1cfd4b0b9f47fedaaed5
check that resource is in map before adding device
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/resources/device_plugin_manager/plugin_connection.rs", "new_path": "crates/kubelet/src/resources/device_plugin_manager/plugin_connection.rs", "diff": "@@ -119,12 +119,7 @@ async fn update_devices_map(\n// (1) Device modified or already regis...
Rust
Apache License 2.0
krustlet/krustlet
check that resource is in map before adding device
350,440
22.07.2021 09:08:23
-7,200
d6fd025c6ccab77cf726b0f427e0e5c6e97714c1
Restrict permissions of private key file On Unix file systems the mode of the private key file is set to 0o600. On other file systems the permissions remain unchanged.
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/bootstrapping/mod.rs", "new_path": "crates/kubelet/src/bootstrapping/mod.rs", "diff": "-use std::{convert::TryFrom, env, path::Path, str};\n+use std::{convert::TryFrom, env, io, path::Path, str};\nuse futures::{StreamExt, TryStreamExt};\nuse...
Rust
Apache License 2.0
krustlet/krustlet
Restrict permissions of private key file On Unix file systems the mode of the private key file is set to 0o600. On other file systems the permissions remain unchanged. Signed-off-by: Siegfried Weber <mail@siegfriedweber.net>
350,417
22.07.2021 09:59:07
21,600
c4a628ae63f2f11a88d9c2def609da99e2a60a13
Add experimental WASI HTTP support
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\n-version = 3\n-\n[[package]]\nname = \"addr2line\"\nversion = \"0.15.2\"\n@@ -46,9 +44,9 @@ dependencies = [\n[[package...
Rust
Apache License 2.0
krustlet/krustlet
Add experimental WASI HTTP support Signed-off-by: Brian Hardock <brhardoc@microsoft.com>
350,424
27.07.2021 20:22:45
-7,200
66ffd700766fac5df5522b536cdb12cbd82a1085
deprecate oci errors add deprecation notice for ManifestUnverified and TagInvalid. both error codes have been removed from the OCI dist spec. ref: https://github.com/opencontainers/distribution-spec/blob/main/spec.md\#error-codes
[ { "change_type": "MODIFY", "old_path": "crates/oci-distribution/src/errors.rs", "new_path": "crates/oci-distribution/src/errors.rs", "diff": "@@ -66,6 +66,8 @@ pub enum OciErrorCode {\n/// This error is returned when the manifest, identified by name and tag is unknown to the repository.\nManifestUnk...
Rust
Apache License 2.0
krustlet/krustlet
deprecate oci errors add deprecation notice for ManifestUnverified and TagInvalid. both error codes have been removed from the OCI dist spec. ref: https://github.com/opencontainers/distribution-spec/blob/main/spec.md\#error-codes Signed-off-by: jwhb <jwhy@jwhy.de>
350,424
28.07.2021 13:57:48
-7,200
689f02a3039f1508b3bab963308b209e9140001f
add deserialization test for toomanyrequests error
[ { "change_type": "MODIFY", "old_path": "crates/oci-distribution/src/errors.rs", "new_path": "crates/oci-distribution/src/errors.rs", "diff": "@@ -106,6 +106,19 @@ mod test {\nassert_ne!(serde_json::value::Value::Null, e.detail);\n}\n+ const EXAMPLE_ERROR_TOOMANYREQUESTS: &str = r#\"\n+ {\"errors\":[...
Rust
Apache License 2.0
krustlet/krustlet
add deserialization test for toomanyrequests error Signed-off-by: jwhb <jwhy@jwhy.de>
350,406
09.08.2021 20:38:31
-19,080
0fac34ff76a57d8e8f1c9dd065bcad6fb8b30a40
added steps to support bootstrapping by loading filepath to CA
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/bootstrapping/mod.rs", "new_path": "crates/kubelet/src/bootstrapping/mod.rs", "diff": "@@ -10,11 +10,11 @@ use rcgen::{\nCertificate, CertificateParams, DistinguishedName, DnType, KeyPair, SanType,\nPKCS_ECDSA_P256_SHA256,\n};\n-use tokio::f...
Rust
Apache License 2.0
krustlet/krustlet
added steps to support bootstrapping by loading filepath to CA Signed-off-by: VishnuJin <vishnujin@outlook.com>
350,406
14.08.2021 00:28:24
-19,080
dd8effbc6dfc502df846ef52ffa65ded9769d430
add steps to base64 encode ca file
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/bootstrapping/mod.rs", "new_path": "crates/kubelet/src/bootstrapping/mod.rs", "diff": "@@ -68,11 +68,14 @@ async fn bootstrap_auth<K: AsRef<Path>>(\ntrace!(%server, \"Identified server information from bootstrap config\");\nlet ca_data = mat...
Rust
Apache License 2.0
krustlet/krustlet
add steps to base64 encode ca file Signed-off-by: VishnuJin <vishnujin@outlook.com>
350,406
14.08.2021 01:16:26
-19,080
f3510efd844322a31518bf853ff1bb8f0528bafd
simple commit to change the read_to_string() to read() to avoid string conversion handling
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/bootstrapping/mod.rs", "new_path": "crates/kubelet/src/bootstrapping/mod.rs", "diff": "@@ -10,7 +10,7 @@ use rcgen::{\nCertificate, CertificateParams, DistinguishedName, DnType, KeyPair, SanType,\nPKCS_ECDSA_P256_SHA256,\n};\n-use tokio::fs:...
Rust
Apache License 2.0
krustlet/krustlet
simple commit to change the read_to_string() to read() to avoid string conversion handling Signed-off-by: VishnuJin <vishnujin@outlook.com>
350,440
30.08.2021 11:15:58
-7,200
ca839906edf0168e84cb1a36b1e7ff11fd896791
Migrate to certificates.k8s.io/v1 The certificates.k8s.io/v1beta1 API version of CertificateSigningRequest is no longer served as of v1.22. The certificates.k8s.io/v1 API version is used instead which is available since v1.19.
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/bootstrapping/mod.rs", "new_path": "crates/kubelet/src/bootstrapping/mod.rs", "diff": "use std::{convert::TryFrom, env, io, path::Path, str};\nuse futures::{StreamExt, TryStreamExt};\n-use k8s_openapi::api::certificates::v1beta1::Certificate...
Rust
Apache License 2.0
krustlet/krustlet
Migrate to certificates.k8s.io/v1 The certificates.k8s.io/v1beta1 API version of CertificateSigningRequest is no longer served as of v1.22. The certificates.k8s.io/v1 API version is used instead which is available since v1.19. Signed-off-by: Siegfried Weber <mail@siegfriedweber.net>
350,448
22.07.2021 08:20:24
25,200
882fdb67ddea1526181e56f25c47fc9412050d3f
Add grpc sock utils to tests Add mock device plugin struct to test Build plugin api for tests
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -1262,6 +1262,15 @@ dependencies = [\n\"either\",\n]\n+[[package]]\n+name = \"itertools\"\n+version = \"0.9.0\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"284f18f85651f...
Rust
Apache License 2.0
krustlet/krustlet
Add grpc sock utils to tests Add mock device plugin struct to test Build plugin api for tests Co-authored-by: Taylor Thomas <thomastaylor312@users.noreply.github.com> Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,448
22.07.2021 17:18:00
25,200
b0fe3636d0ba2ceb8c61c2a93c0101b375696d91
Integration test to check env vars and mount of a device plugin resource are set
[ { "change_type": "MODIFY", "old_path": "tests/csi/setup.rs", "new_path": "tests/csi/setup.rs", "diff": "@@ -58,7 +58,8 @@ async fn driver_start(\nErr(e) if matches!(e.kind(), std::io::ErrorKind::NotFound) => (),\nErr(e) => return Err(e.into()),\n};\n- let socket = super::grpc_sock::server::Socket::n...
Rust
Apache License 2.0
krustlet/krustlet
Integration test to check env vars and mount of a device plugin resource are set Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
30.07.2021 16:27:19
0
67ff888c75d3f8cb56c28bf584ace989db75d418
DP socket connecting, remove file mounting, and fix list_and_watch
[ { "change_type": "MODIFY", "old_path": "tests/device_plugin/mod.rs", "new_path": "tests/device_plugin/mod.rs", "diff": "@@ -7,7 +7,7 @@ pub mod grpc_sock;\nuse futures::Stream;\nuse std::path::Path;\nuse std::pin::Pin;\n-use tokio::sync::{mpsc, watch};\n+use tokio::sync::mpsc;\nuse tonic::{Request, ...
Rust
Apache License 2.0
krustlet/krustlet
DP socket connecting, remove file mounting, and fix list_and_watch Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
30.07.2021 18:29:56
0
5cd2e56904af6ff37f5ab937933db134a4933c9a
nits to fix rebasing
[ { "change_type": "MODIFY", "old_path": "tests/integration_tests.rs", "new_path": "tests/integration_tests.rs", "diff": "@@ -913,6 +913,7 @@ async fn create_projected_pod(\nvec![],\ncontainers,\nvolumes,\n+ None,\nOnFailure::Panic,\nresource_manager,\n)\n@@ -1052,8 +1053,8 @@ async fn create_device_p...
Rust
Apache License 2.0
krustlet/krustlet
nits to fix rebasing Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
30.07.2021 18:52:21
0
d71f900d5e7be9359eee0fd78138299623db5839
remove added logging
[ { "change_type": "MODIFY", "old_path": "tests/csi/setup.rs", "new_path": "tests/csi/setup.rs", "diff": "@@ -16,7 +16,6 @@ pub(crate) struct CsiRunner {\n}\npub(crate) async fn launch_csi_things(node_name: &str) -> anyhow::Result<CsiRunner> {\n- println!(\"CSI TESTS STARTED\");\nlet bin_root = std::p...
Rust
Apache License 2.0
krustlet/krustlet
remove added logging Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
03.08.2021 18:13:00
0
c8af9be045d4a220e9e1abe7e0ae071ebb3a1463
remove log check
[ { "change_type": "MODIFY", "old_path": "tests/integration_tests.rs", "new_path": "tests/integration_tests.rs", "diff": "@@ -1042,12 +1042,8 @@ async fn create_device_plugin_resource_pod(\nresource_manager: &mut TestResourceManager,\n) -> anyhow::Result<()> {\nuse k8s_openapi::apimachinery::pkg::api:...
Rust
Apache License 2.0
krustlet/krustlet
remove log check Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
03.08.2021 18:18:52
0
1b19b11e96f65505e880937ec11e99589aab1494
remove debug print statement and sleep for max time
[ { "change_type": "MODIFY", "old_path": "build.rs", "new_path": "build.rs", "diff": "@@ -7,8 +7,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {\n.build_client(true)\n.build_server(true);\n- println!(\"cargo:warning=Build file ran\");\n-\n// Generate Device Plugin code\nbuilder.compile(\n&[...
Rust
Apache License 2.0
krustlet/krustlet
remove debug print statement and sleep for max time Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
03.08.2021 18:32:19
0
de38aac7947c1d1e15bb6360760897520a6989aa
increase prost and tonic versions for rust security
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -1262,15 +1262,6 @@ dependencies = [\n\"either\",\n]\n-[[package]]\n-name = \"itertools\"\n-version = \"0.9.0\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"284f18f85651f...
Rust
Apache License 2.0
krustlet/krustlet
increase prost and tonic versions for rust security Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
04.08.2021 15:35:38
0
71f70df151988401bd6c4e6203a2b9ffaf4d1e4e
fix csi test compilation during windows build
[ { "change_type": "MODIFY", "old_path": "tests/csi/mod.rs", "new_path": "tests/csi/mod.rs", "diff": "-#[path = \"../grpc_sock/mod.rs\"]\n-pub mod grpc_sock;\npub mod setup;\n+#[cfg_attr(target_family = \"unix\", path = \"../grpc_sock/unix/mod.rs\")]\n+pub mod socket_server;\nuse std::collections::Has...
Rust
Apache License 2.0
krustlet/krustlet
fix csi test compilation during windows build Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
01.09.2021 16:24:22
0
583d2854279b6c1996fed40da95f2269afccc535
make device plugin tests unix only
[ { "change_type": "MODIFY", "old_path": "tests/csi/mod.rs", "new_path": "tests/csi/mod.rs", "diff": "pub mod setup;\n-#[cfg_attr(target_family = \"unix\", path = \"../grpc_sock/unix/mod.rs\")]\n-pub mod socket_server;\n-\n+use crate::grpc_sock;\nuse std::collections::HashSet;\nuse std::sync::Arc;\n" ...
Rust
Apache License 2.0
krustlet/krustlet
make device plugin tests unix only Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
01.09.2021 20:18:01
0
39ed799ba73fc8ef6853ba04c438107f6e8d07f5
add linux only flags
[ { "change_type": "MODIFY", "old_path": "tests/csi/mod.rs", "new_path": "tests/csi/mod.rs", "diff": "pub mod setup;\n+#[cfg(target_os = \"linux\")]\nuse crate::grpc_sock;\nuse std::collections::HashSet;\nuse std::sync::Arc;\n" }, { "change_type": "MODIFY", "old_path": "tests/device_plugin...
Rust
Apache License 2.0
krustlet/krustlet
add linux only flags Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,439
02.09.2021 23:51:11
0
4de3da431370d091b2cbb5eea9905763fbb75a0f
Add in volume mount test
[ { "change_type": "MODIFY", "old_path": "tests/device_plugin/mod.rs", "new_path": "tests/device_plugin/mod.rs", "diff": "@@ -3,6 +3,8 @@ pub(crate) mod v1beta1 {\ntonic::include_proto!(\"v1beta1\");\n}\n#[cfg(target_os = \"linux\")]\n+use super::CONTAINER_PATH;\n+#[cfg(target_os = \"linux\")]\nuse cr...
Rust
Apache License 2.0
krustlet/krustlet
Add in volume mount test Signed-off-by: Kate Goldenring <kate.goldenring@microsoft.com>
350,437
20.09.2021 11:03:36
25,200
0f9744b1489b3f1dd41e89facbdc2382ba67a6ba
Update Wasmtime to v.030
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -4,9 +4,9 @@ version = 3\n[[package]]\nname = \"addr2line\"\n-version = \"0.15.2\"\n+version = \"0.16.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"e7a2e47a1fbe209ee101...
Rust
Apache License 2.0
krustlet/krustlet
Update Wasmtime to v.030 Signed-off-by: Radu M <root@radu.sh>
350,437
20.09.2021 11:55:54
25,200
1eaa8eaa2c1ddc22123b3462575c3d6cc4695075
Update wasi-experimental-http-wasmtime crate to latest published version
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -3793,8 +3793,9 @@ dependencies = [\n[[package]]\nname = \"wasi-experimental-http-wasmtime\"\n-version = \"0.5.0\"\n-source = \"git+https://github.com/radu-matei/wasi-experimental-http?branch=wasmtime-v030#936...
Rust
Apache License 2.0
krustlet/krustlet
Update wasi-experimental-http-wasmtime crate to latest published version Signed-off-by: Radu M <root@radu.sh>
350,437
20.09.2021 12:02:35
25,200
cf7658f210f074092e0ef140a2ae095ea461ca96
Update crossbeam-dequeue to v0.8.1
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -514,9 +514,9 @@ dependencies = [\n[[package]]\nname = \"crossbeam-deque\"\n-version = \"0.8.0\"\n+version = \"0.8.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"94af6ef...
Rust
Apache License 2.0
krustlet/krustlet
Update crossbeam-dequeue to v0.8.1 Signed-off-by: Radu M <root@radu.sh>
350,413
30.09.2021 00:57:21
-7,200
10871b064857f7a8c540430298acb4a9c160543d
kubelet/container: use borrowed inner types
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/container/mod.rs", "new_path": "crates/kubelet/src/container/mod.rs", "diff": "@@ -138,23 +138,23 @@ impl Container {\n}\n/// Get arguments of container.\n- pub fn args(&self) -> &Option<Vec<String>> {\n- &self.0.args\n+ pub fn args(&self) -...
Rust
Apache License 2.0
krustlet/krustlet
kubelet/container: use borrowed inner types Signed-off-by: Olivier Lemasle <olivier.lemasle@apalia.net>
350,414
20.10.2021 09:10:05
25,200
1330e6311ede707bd05efe9239224d2d14fcaede
bump github actions dependencies
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -16,7 +16,7 @@ jobs:\nos: \"ubuntu-latest\",\narch: \"amd64\",\nargs: \"\",\n- url: \"https://github.com/casey/just/releases/download/v0.5.11/just-v0.5.11-x86_64-unknown-linux...
Rust
Apache License 2.0
krustlet/krustlet
bump github actions dependencies Signed-off-by: Matthew Fisher <matt.fisher@fishworks.io>
350,414
18.11.2021 10:03:30
28,800
86f8742eefd7078d92ff6670f54445e1488c6197
cargo update/oci-distribution v0.8.0
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -8,7 +8,16 @@ version = \"0.16.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd\"\ndependencies = [\n- \"gi...
Rust
Apache License 2.0
krustlet/krustlet
cargo update/oci-distribution v0.8.0 Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
350,446
09.02.2022 14:45:06
-28,800
de8e6f498c9b98b12d9016c83b34242a19716d18
Modify 'std::u64::MAX' to 'u64::MAX' 'u64::MAX' is the recommended way to represent the largest number of u64 type(reference: https://doc.rust-lang.org/std/u64/constant.MAX.html) and 'std::u64::MAX' is now deprecated in a future Rust version.
[ { "change_type": "MODIFY", "old_path": "crates/kubelet/src/kubelet.rs", "new_path": "crates/kubelet/src/kubelet.rs", "diff": "@@ -188,7 +188,7 @@ async fn start_plugin_registry(registrar: Option<Arc<PluginRegistry>>) -> anyhow\ntask::spawn(async {\nloop {\n// We run a delay here so we don't waste ti...
Rust
Apache License 2.0
krustlet/krustlet
Modify 'std::u64::MAX' to 'u64::MAX' 'u64::MAX' is the recommended way to represent the largest number of u64 type(reference: https://doc.rust-lang.org/std/u64/constant.MAX.html) and 'std::u64::MAX' is now deprecated in a future Rust version. Signed-off-by: zyy17 <zyylsxm@gmail.com>
350,446
24.02.2022 19:10:29
-28,800
9d9a30b85fdee3732cdcb6f6b33911481668f0a1
Refractor: refine naming from 'Kubelet' to 'Krustlet'
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"configurations\": [{\n\"type\": \"lldb\",\n\"request\": \"launch\",\n- \"name\": \"Kubelet\",\n+ \"name\": \"Krustlet\",\n\"args\": [],\n\"program\": \"${workspaceFolder}/target/debug/krustlet...
Rust
Apache License 2.0
krustlet/krustlet
Refractor: refine naming from 'Kubelet' to 'Krustlet' Signed-off-by: zyy17 <zyylsxm@gmail.com>
350,414
02.03.2022 10:30:35
28,800
393f4b3bac304e726cf3871c7c692ca7ede507ba
azure-blob-storage-upload 2.0.0
[ { "change_type": "MODIFY", "old_path": ".github/workflows/release.yml", "new_path": ".github/workflows/release.yml", "diff": "@@ -123,12 +123,11 @@ jobs:\ncd krustlet\nsha256sum * > checksums-${{ env.RELEASE_VERSION }}.txt\n- name: upload to azure\n- uses: bacongobbler/azure-blob-storage-upload@main...
Rust
Apache License 2.0
krustlet/krustlet
azure-blob-storage-upload 2.0.0 Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
488,262
03.01.2017 13:30:45
18,000
d19df28b4fad717188b877e06d15857357ce8dbd
fix syntax errors in labels.py
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/labels.py", "new_path": "sahara/plugins/labels.py", "diff": "@@ -210,8 +210,8 @@ class LabelHandler(object):\n_(\"Plugin %s is not enabled\") % plugin_name)\nif plb.get('deprecated', {}).get('status', False):\n- LOG.warning(_LW(\"Plugin %s is de...
Python
Apache License 2.0
openstack/sahara
fix syntax errors in labels.py Change-Id: I3ef0a2d5c86c26434c2440da7d6e4d55562052ef
488,262
04.01.2017 20:10:43
18,000
a352d95889546a671144fcb75015ed39260dcc1d
Fixing test_cluster_create_list_update_delete() Adding update test to test_cluster_create_list_update_delete()
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/conductor/manager/test_clusters.py", "new_path": "sahara/tests/unit/conductor/manager/test_clusters.py", "diff": "@@ -86,6 +86,11 @@ class ClusterTest(test_base.ConductorManagerTestCase):\nself.assertEqual(1, len(lst))\ncl_id = lst[0][\"id\"]...
Python
Apache License 2.0
openstack/sahara
Fixing test_cluster_create_list_update_delete() Adding update test to test_cluster_create_list_update_delete() Change-Id: Ia56ba7759b816394c4322f65866cdc3d1656c761
488,262
05.01.2017 14:41:44
18,000
2d02eccedbce78b2ba63b3340366921a733632f4
Add test_update_plugin() There are get_plugin() and update_plugin() in service/api/v10.py, but just test get_plugin,so I add test_update_plugin().
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/service/api/test_v10.py", "new_path": "sahara/tests/unit/service/api/test_v10.py", "diff": "@@ -303,3 +303,21 @@ class TestApi(base.SaharaWithDbTestCase):\n'title': 'Fake plugin',\n'versions': ['0.1', '0.2']}, data)\nself.assertIsNone(api.get...
Python
Apache License 2.0
openstack/sahara
Add test_update_plugin() There are get_plugin() and update_plugin() in service/api/v10.py, but just test get_plugin,so I add test_update_plugin(). Change-Id: I10055fd3716c69e7681eb23651fb967f6ff15ff0
488,286
10.01.2017 16:49:27
18,000
6067bb7c97760538fcff7af548b0c6bbc27d5d90
Add test_natural_sort_key() Unit tests for general.py is not completed. natural_sort_key() has not been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/utils/test_general.py", "new_path": "sahara/tests/unit/utils/test_general.py", "diff": "@@ -65,3 +65,11 @@ class UtilsGeneralTest(base.SaharaWithDbTestCase):\nself.assertIsNone(general.get_by_id(lst, 9))\nself.assertEqual(lst[0], general.get_...
Python
Apache License 2.0
openstack/sahara
Add test_natural_sort_key() Unit tests for general.py is not completed. natural_sort_key() has not been tested. Change-Id: Iaaea7436752155a23290c87328f23077a311df23
488,279
16.01.2017 16:49:17
-3,600
3d63bdc9b4cf1e305044d8f63047b47004188297
Add HBASE MASTER processes number validation Because of the missing HBASE MASTER process number validation during cluster creation, it takes too long for sahara to raise the error too many HBASE MASTER processes. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/cdh/validation.py", "new_path": "sahara/plugins/cdh/validation.py", "diff": "@@ -159,13 +159,16 @@ class Validator(object):\nhbr_count = cls._get_inst_count(cluster, 'HBASE_REGIONSERVER')\nzk_count = cls._get_inst_count(cluster, 'ZOOKEEPER_SERVE...
Python
Apache License 2.0
openstack/sahara
Add HBASE MASTER processes number validation Because of the missing HBASE MASTER process number validation during cluster creation, it takes too long for sahara to raise the error too many HBASE MASTER processes. Closes-Bug: #1656869 Change-Id: Id143eb2360366443a630f65fc6261231b562417c
488,281
20.01.2017 14:30:04
-7,200
21730e525ed298e697a7927d1e88591bebe642a9
Change link to mysql-connector for Oozie in MapR plugin mysql-connector from /opt/mapr/lib/ is recommended for all MapR services
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/services/oozie/oozie.py", "new_path": "sahara/plugins/mapr/services/oozie/oozie.py", "diff": "@@ -103,7 +103,7 @@ class Oozie(s.Service):\nif oozie_service:\nsymlink_cmd = (\n- 'cp /usr/share/java/mysql-connector-java.jar %s' %\n+ 'cp /opt/...
Python
Apache License 2.0
openstack/sahara
Change link to mysql-connector for Oozie in MapR plugin mysql-connector from /opt/mapr/lib/ is recommended for all MapR services Change-Id: I51d6e440a4e8350004644e5750dfa182674510ab
488,281
20.01.2017 12:41:01
-7,200
488633b0851c6017895d333013745928b766d786
Fix Maria-DB installation for centos7 Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/base/base_cluster_configurer.py", "new_path": "sahara/plugins/mapr/base/base_cluster_configurer.py", "diff": "@@ -218,7 +218,9 @@ class BaseConfigurer(ac.AbstractConfigurer):\nname=_(\"Configure database\"))\ndef decorated():\ndistro_name =...
Python
Apache License 2.0
openstack/sahara
Fix Maria-DB installation for centos7 Closes-Bug: #1658703 Change-Id: If13a2008c1b349b22f2247479f9128987c8fe45b
488,281
20.01.2017 12:50:24
-7,200
793c269925d1a2685ae57cf7288c72b7eb37167d
Add Kafka to MapR plugin Implements: blueprint add-mapr-kafka
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/add-mapr-kafka-3a808bbc1aa21055.yaml", "diff": "+---\n+features:\n+ - Add Kafka to MapR plugin\n" }, { "change_type": "ADD", "old_path": "sahara/plugins/mapr/services/kafka/__init__.py", "new_path": "sahara/plu...
Python
Apache License 2.0
openstack/sahara
Add Kafka to MapR plugin Implements: blueprint add-mapr-kafka Change-Id: I2b88cb053f0ff51c2a72bea7acdcfdeacd3df343
488,281
20.01.2017 14:22:55
-7,200
1571ffe60a62a6d08c4f210419f1149cf7cba06a
Remove MapR v5.0.0 Implements: blueprint remove-mapr-500
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/remove-mapr-500-3df3041be99a864c.yaml", "diff": "+---\n+deprecations:\n+ - Removed support for the MapR 5.0.0 plugin.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/plugin.py", "new_path": "s...
Python
Apache License 2.0
openstack/sahara
Remove MapR v5.0.0 Implements: blueprint remove-mapr-500 Change-Id: If45c3cd3639bb9184ea09bfd9aa96187aed8f9f4
488,281
01.02.2017 22:00:51
-7,200
26d6939518edc0a7168b10bf085d7f8a4cd7100c
Fix unexpected removing of deprecating flag for MapR 5.1
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/plugin.py", "new_path": "sahara/plugins/mapr/plugin.py", "diff": "@@ -39,7 +39,8 @@ class MapRPlugin(p.ProvisioningPluginBase):\n'plugin_labels': {'enabled': {'status': True}},\n'version_labels': {\n'5.2.0.mrv2': {'enabled': {'status': True...
Python
Apache License 2.0
openstack/sahara
Fix unexpected removing of deprecating flag for MapR 5.1 Change-Id: I1623b6c3fbc847cf66fbfdacf2c8efa584e56063
488,275
31.01.2017 10:29:08
0
c9681132a78267d017d175fa7386c13bcea1a63d
Replacement of project name in api-ref. The keystone resource was renamed from 'tenant' to 'project', this patch replaces 'tenant' with 'project' in api-ref documents of sahara. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "api-ref/source/cluster-templates.inc", "new_path": "api-ref/source/cluster-templates.inc", "diff": "@@ -13,7 +13,7 @@ template.\nShow cluster template details\n=============================\n-.. rest_method:: GET /v1.1/{tenant_id}/cluster-templates/{cluster_te...
Python
Apache License 2.0
openstack/sahara
Replacement of project name in api-ref. The keystone resource was renamed from 'tenant' to 'project', this patch replaces 'tenant' with 'project' in api-ref documents of sahara. Change-Id: I1f41757b3ec90f88926681d4a0b7767764c37c4a Closes-Bug: #1626678
488,286
19.01.2017 15:06:54
-28,800
49c3623ba173e1e32a2fbcb9e1d74e8ded0cde5f
add test_parse_xml_with_name_and_value() Unit tests for utils/xmlutils.py is not completed. parse_xml_with_name_and_value() has not been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/utils/test_xml_utils.py", "new_path": "sahara/tests/unit/utils/test_xml_utils.py", "diff": "import xml.dom.minidom as xml\n+import pkg_resources as pkg\nimport testtools\nfrom sahara.utils import patches as p\nfrom sahara.utils import xmlutil...
Python
Apache License 2.0
openstack/sahara
add test_parse_xml_with_name_and_value() Unit tests for utils/xmlutils.py is not completed. parse_xml_with_name_and_value() has not been tested. Change-Id: I57bd1c0ce3fb9a7cdf4756900325626e1a33410d
488,286
07.02.2017 16:26:39
-28,800
6754b1c6f4280103ffb7fc5c7ef22df4ba09a7d8
Add test_move_from_local() Unit tests for service/edp/hdfs_helper.py is not completed. The function move_from_local() has not been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/service/edp/test_hdfs_helper.py", "new_path": "sahara/tests/unit/service/edp/test_hdfs_helper.py", "diff": "@@ -61,6 +61,12 @@ class HDFSHelperTestCase(base.SaharaTestCase):\nself.cluster.execute_command.assert_called_once_with(\n'sudo su - -...
Python
Apache License 2.0
openstack/sahara
Add test_move_from_local() Unit tests for service/edp/hdfs_helper.py is not completed. The function move_from_local() has not been tested. Change-Id: I257601f1d3be02e96140a21f282e0ec551cc88db
488,286
08.02.2017 01:09:23
-28,800
65d6c16c3badde9e3d69fdb01aee9b25703aab25
Add test_get_port_from_address() The unit test for plugins/utils.py is not completed. The function get_port_from_address() has not been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/general/test_utils.py", "new_path": "sahara/tests/unit/plugins/general/test_utils.py", "diff": "@@ -68,6 +68,11 @@ class GeneralUtilsTest(testtools.TestCase):\nu.generate_host_names(self.ng2.instances))\nself.assertEqual(\"\", u.gener...
Python
Apache License 2.0
openstack/sahara
Add test_get_port_from_address() The unit test for plugins/utils.py is not completed. The function get_port_from_address() has not been tested. Change-Id: Ia951df06b770ae9b655e7d0eb50535ce98611a07
488,286
08.02.2017 14:34:18
-28,800
ef32ecdfa23264c439efb61095c69c68045f4bbe
Add test_add_host_to_cluster() The unit test for plugins/ambari/client.py is not completed. The function add_host_to_cluster() has not been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/ambari/test_client.py", "new_path": "sahara/tests/unit/plugins/ambari/test_client.py", "diff": "@@ -180,6 +180,22 @@ class AmbariClientTestCase(base.SaharaTestCase):\ndata=jsonutils.dumps({\"some\": \"data\"}), verify=False,\nauth=cli...
Python
Apache License 2.0
openstack/sahara
Add test_add_host_to_cluster() The unit test for plugins/ambari/client.py is not completed. The function add_host_to_cluster() has not been tested. Change-Id: I5c29ea9b250c09596cc2b52f3edf516bce5b037a
488,286
10.02.2017 15:08:36
-28,800
a9471e78f29464d464d80b9506f32627003d695c
Add test_get_config_value() Unit test for plugins/cdh/base_plugin_utils.py is not completed. get_config_value() has not been tested. I fix that "cluster_configs" instead of "cluster_config". Because some function actually use "cluster_configs".
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/cdh/base_plugin_utils_test.py", "new_path": "sahara/tests/unit/plugins/cdh/base_plugin_utils_test.py", "diff": "@@ -58,7 +58,7 @@ def get_concrete_cluster():\n\"KS_INDEXER\": {}, \"SPARK_ON_YARN\": {}, \"SENTRY\": {}, \"YARN\": {},\n\...
Python
Apache License 2.0
openstack/sahara
Add test_get_config_value() Unit test for plugins/cdh/base_plugin_utils.py is not completed. get_config_value() has not been tested. I fix that "cluster_configs" instead of "cluster_config". Because some function actually use "cluster_configs". Change-Id: I76003e3a87b5953f1d8c562f2911bb6e7eb3d20e
488,286
10.02.2017 19:11:48
-28,800
988a27652a8cb8fe3548332faf870b2a1212adf0
Add test_get_nodemanagers() The unittest for plugins/vanilla/test_utils.py isn't completed. The function get_nodemanagers() hasn't been tested.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/vanilla/test_utils.py", "new_path": "sahara/tests/unit/plugins/vanilla/test_utils.py", "diff": "@@ -61,6 +61,18 @@ class TestUtils(base.SaharaWithDbTestCase):\n[self.ng_manager])\nself.assertIsNone(u.get_namenode(cl))\n+ def test_get_...
Python
Apache License 2.0
openstack/sahara
Add test_get_nodemanagers() The unittest for plugins/vanilla/test_utils.py isn't completed. The function get_nodemanagers() hasn't been tested. Change-Id: Ib7a9300785025d502ee7bb3d0bb706dbc21f81cb
488,278
10.02.2017 20:15:02
10,800
a3b5f2931208a471a4545f919a1fde3cefc27df1
Improving tests for plugin utils plugins/test_utils.py only tested instances_with_services, now it tests every function from plugins/utils.py. Also, there were two different files testing this utils file: plugins/test_utils.py and plugins/general/test_utils.py, so the general folder was removed in order to keep test folder hierarchy consistent.
[ { "change_type": "DELETE", "old_path": "sahara/tests/unit/plugins/general/__init__.py", "new_path": "sahara/tests/unit/plugins/general/__init__.py", "diff": "" }, { "change_type": "DELETE", "old_path": "sahara/tests/unit/plugins/general/test_utils.py", "new_path": null, "diff": "...
Python
Apache License 2.0
openstack/sahara
Improving tests for plugin utils plugins/test_utils.py only tested instances_with_services, now it tests every function from plugins/utils.py. Also, there were two different files testing this utils file: plugins/test_utils.py and plugins/general/test_utils.py, so the general folder was removed in order to keep test folder hierarchy consistent. Change-Id: I02f98177b3207dc884c34f160c1edfb77ca57e15
488,278
13.02.2017 21:40:34
10,800
126b3fe7fd46b61f0993f75395a6465d5c5d6162
Adding test_validate() to storm plugin test
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/storm/test_plugin.py", "new_path": "sahara/tests/unit/plugins/storm/test_plugin.py", "diff": "@@ -85,6 +85,61 @@ class StormPluginTest(base.SaharaWithDbTestCase):\nplugin._validate_existing_ng_scaling(cluster,\nsupervisor_id))\n+ @moc...
Python
Apache License 2.0
openstack/sahara
Adding test_validate() to storm plugin test Change-Id: I6fdcfc9f1a67836b267ce2c04c935d26875b9c8d
488,286
14.02.2017 16:45:34
-28,800
a3a551216cb35b0f0e151fa187fc913b08ddb9a9
add test to plugins/ambari/client.py Add missing test for plugins/ambari/client.py. *test_import_credential
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/ambari/test_client.py", "new_path": "sahara/tests/unit/plugins/ambari/test_client.py", "diff": "@@ -95,6 +95,20 @@ class AmbariClientTestCase(base.SaharaTestCase):\n\"http://spam\", verify=False, auth=client._auth,\nheaders=self.heade...
Python
Apache License 2.0
openstack/sahara
add test to plugins/ambari/client.py Add missing test for plugins/ambari/client.py. *test_import_credential Change-Id: I4ef47bbbf0d8af83d1b9f3f5ff7e9e6bb0d4696d
488,286
16.02.2017 20:29:31
-28,800
f2022ec955574e94e4a5103acb6bb76473b50403
Add missing test to api/middleware/auth_valid.py The class AuthValidatorV2 is not tested. Add: *class AuthValidatorV2Test
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/api/middleware/test_auth_valid.py", "new_path": "sahara/tests/unit/api/middleware/test_auth_valid.py", "diff": "@@ -61,3 +61,50 @@ class AuthValidatorTest(test_base.SaharaTestCase):\nenviron={\"HTTP_X_TENANT_ID\": \"tid2\"})\nres = req.get_re...
Python
Apache License 2.0
openstack/sahara
Add missing test to api/middleware/auth_valid.py The class AuthValidatorV2 is not tested. Add: *class AuthValidatorV2Test Change-Id: I48f76a4055ae8627aa6411a0ddc9d1c3d5a1fc73
488,278
10.02.2017 09:17:47
10,800
edea05fd5051acb040e2df0150a245ac688b23b4
Adding missing tests to ambari test_client Adding: * test_get_alerts_data() * test_check_response() * test_req_id()
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/ambari/test_client.py", "new_path": "sahara/tests/unit/plugins/ambari/test_client.py", "diff": "@@ -109,6 +109,76 @@ class AmbariClientTestCase(base.SaharaTestCase):\nverify=False, data=jsonutils.dumps({\"some\": \"data\"}),\nauth=cli...
Python
Apache License 2.0
openstack/sahara
Adding missing tests to ambari test_client Adding: * test_get_alerts_data() * test_check_response() * test_req_id() Change-Id: I3a7ce797cd0bd726ddc1cb5b8c3411de3580cd24
488,278
17.02.2017 09:47:31
10,800
b844c426fdd99d2feafa69465dee8e74b9f4f952
Fixing Create hbase common lib shows warnings Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/service/edp/hdfs_helper.py", "new_path": "sahara/service/edp/hdfs_helper.py", "diff": "@@ -31,7 +31,7 @@ HBASE_COMMON_LIB_PATH = \"/user/sahara-hbase-lib\"\ndef create_hbase_common_lib(r):\nr.execute_command(\n- 'sudo su - -c \"hadoop dfs -mkdir -p %s\"...
Python
Apache License 2.0
openstack/sahara
Fixing Create hbase common lib shows warnings Change-Id: Ia6ffeedbbf038d04e19015856fc8f5e2290c4981 Closes-Bug: 1497947
488,302
16.02.2017 15:00:15
18,000
656593ae479b46452a76a0e7a383982d4ba38f29
Respect Apache's trademark as per docs
[ { "change_type": "MODIFY", "old_path": "doc/source/index.rst", "new_path": "doc/source/index.rst", "diff": "@@ -2,9 +2,9 @@ Welcome to Sahara!\n==================\nThe sahara project aims to provide users with a simple means to provision data\n-processing frameworks (such as Hadoop, Spark and Storm)...
Python
Apache License 2.0
openstack/sahara
Respect Apache's trademark as per docs https://www.apache.org/foundation/marks/ Change-Id: Ic958dc0d7b899c6d215d08c2796ba7d8c24a9f61
488,286
28.02.2017 15:51:27
18,000
029430ddd76e9454e73a8f75c654d8d0be3995f1
Add missing tests to test_trusts.py Add: *test_delete_trust() *test_delete_trust_from_cluster()
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/service/test_trusts.py", "new_path": "sahara/tests/unit/service/test_trusts.py", "diff": "@@ -98,3 +98,41 @@ class TestTrusts(base.SaharaTestCase):\ncluster_update.assert_called_with(ctx, fake_cluster,\n{\"trust_id\": \"trust_id\"})\n+\n+ @mo...
Python
Apache License 2.0
openstack/sahara
Add missing tests to test_trusts.py Add: *test_delete_trust() *test_delete_trust_from_cluster() Change-Id: I73bc147f18d86b4f1a522d8ec16a2e127a1568a5
488,286
01.03.2017 11:04:13
18,000
bca23817a12449bfa97a4b5b266055674840354b
Add missing tests to utils/proxy.py Add: test_create_proxy_user_for_job_execution()
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/utils/test_proxy.py", "new_path": "sahara/tests/unit/utils/test_proxy.py", "diff": "@@ -26,6 +26,40 @@ class TestProxyUtils(base.SaharaWithDbTestCase):\ndef setUp(self):\nsuper(TestProxyUtils, self).setUp()\n+ @mock.patch('sahara.service.cast...
Python
Apache License 2.0
openstack/sahara
Add missing tests to utils/proxy.py Add: test_create_proxy_user_for_job_execution() Change-Id: I527ca2c47639f26208416fa85499afc1db910bf2
488,286
13.03.2017 18:57:21
14,400
e116c78bfdbfa15ca86ac12f920f92bd61977a42
Add missing test to ambari client Add test: *test_get_credential
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/ambari/test_client.py", "new_path": "sahara/tests/unit/plugins/ambari/test_client.py", "diff": "@@ -109,6 +109,23 @@ class AmbariClientTestCase(base.SaharaTestCase):\nverify=False, data=jsonutils.dumps({\"some\": \"data\"}),\nauth=cli...
Python
Apache License 2.0
openstack/sahara
Add missing test to ambari client Add test: *test_get_credential Change-Id: I69981206f1aa6797bccc4b578f5e9497d7bb28d3
488,286
14.03.2017 15:47:59
14,400
bf4b048280151e1fd83600fa4aa592da187ca229
Add missing tests to plugin ambari The tests for plugins ambari is not completed. Add: test_get_ambari_proc_list() test_get_clients() test_instances_have_process()
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/ambari/test_common.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# Yo...
Python
Apache License 2.0
openstack/sahara
Add missing tests to plugin ambari The tests for plugins ambari is not completed. Add: test_get_ambari_proc_list() test_get_clients() test_instances_have_process() Change-Id: Id835131c9715b24adf523a252849143ede711fdf
488,286
17.03.2017 10:48:48
14,400
55996857dac477712eef1b0d5d172ca1a5ef6886
Add missing tests to ambari/configs.py Add: *test_get_service_to_configs_map()
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/ambari/test_configs.py", "new_path": "sahara/tests/unit/plugins/ambari/test_configs.py", "diff": "import collections\nimport mock\n+import six\nfrom sahara.plugins.ambari import configs\nfrom sahara.tests.unit import base\n@@ -47,6 +4...
Python
Apache License 2.0
openstack/sahara
Add missing tests to ambari/configs.py Add: *test_get_service_to_configs_map() Change-Id: Id440a447a1029c8d592dfa048cf83565d42a6b46
488,286
20.03.2017 12:33:04
-28,800
779c9f65c811fc0bd49595d336ddab45992b168b
Deprecate CDH-5.5.0
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/deprecate-cdh_5_5-0da56b562170566f.yaml", "diff": "+---\n+features:\n+ - Version 5.5.0 of Cloudera plugin is deprecated.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/cdh/plugin.py", "new_path": ...
Python
Apache License 2.0
openstack/sahara
Deprecate CDH-5.5.0 Change-Id: I30737fb02d08cd99cbbf02f6630049d2171749ba