Listen to git commits for a specific repo and run a shell command

Block out flow

vielle.dev 5ad7b51d 43aa3ae8

verified
+12 -1
+12 -1
src/main.rs
··· 1 1 fn main() -> Result<(), i32> { 2 - println!("Hello, world!"); 2 + // load configuration 3 + 4 + // resolve handle to did 5 + // resolve did+repoName to knotserver 6 + 7 + // connect to /events on knotserver 8 + 9 + // on event: 10 + // parse json 11 + // validate meets expected schema (allow unknown vals) 12 + // filter by did and reponame 13 + // exec shell command in user shell (/bin/sh as fallback) 3 14 4 15 return Ok(()) 5 16 }