diff --git a/run.bash b/run.bash index 3a07efa..f8fac5d 100755 --- a/run.bash +++ b/run.bash @@ -4,4 +4,4 @@ set -euo pipefail IFS=$'\n\t' DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -RUST_LOG=webhook_bridge=DEBUG WEBHOOK_BRIDGE_API_ROOT="https://code.fizz.buzz/api" WEBHOOK_BRIDGE_HMAC_SECRET=$(cat /bridge/git/mrmanager/k8s/webhook-bridge/secrets/webhook-bridge/webhook-bridge/HMAC_TOKEN) WEBHOOK_BRIDGE_OAUTH_TOKEN=$(cat /bridge/git/mrmanager/k8s/webhook-bridge/secrets/webhook-bridge/webhook-bridge/OAUTH_TOKEN) cargo run +RUST_LOG=webhook_bridge=DEBUG WEBHOOK_BRIDGE_API_ROOT="https://code.fizz.buzz/api" WEBHOOK_BRIDGE_HMAC_SECRET=$(cat /bridge/git/mrmanager/k8s/webhook_bridge/secrets/webhook-bridge/webhook-bridge/HMAC_TOKEN) WEBHOOK_BRIDGE_OAUTH_TOKEN=$(cat /bridge/git/mrmanager/k8s/webhook_bridge/secrets/webhook-bridge/webhook-bridge/OAUTH_TOKEN) WEBHOOK_BRIDGE_REPO_WHITELIST="talexander/webhook_bridge,talexander/homepage,talexander/natter,talexander/poudboot,talexander/ta_waybar_pipewire,talexander/organic" cargo run diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..a5f9492 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "nightly" +profile = "default" +components = ["clippy", "rustfmt"] diff --git a/src/hook_push.rs b/src/hook_push.rs index f2037ce..70cd24b 100644 --- a/src/hook_push.rs +++ b/src/hook_push.rs @@ -113,6 +113,8 @@ pub(crate) struct HookRepository { object_format_name: String, mirror_updated: String, // TODO: parse to datetime repo_transfer: Value, // Was null in test hook + topics: Value, // Was null in test hook + licenses: Value, // Was null in test hook } #[allow(dead_code)]