From 6e1e7bcc63ce3a7840656f57cbca997285aaf84e Mon Sep 17 00:00:00 2001 From: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com> Date: Thu, 11 Jun 2026 10:31:07 +0200 Subject: [PATCH] chore: remove unused rust code and dependencies Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com> --- .github/workflows/_cut-release-branches.yaml | 49 - .github/workflows/_main.yaml | 68 - .github/workflows/_push-main.yml | 81 - .github/workflows/_verifyPR.yml | 18 - Cargo.lock | 2018 ------------------ Cargo.toml | 36 - cmd/labels/Cargo.toml | 20 - cmd/labels/src/error.rs | 16 - cmd/labels/src/main.rs | 176 -- cmd/milestones/Cargo.toml | 21 - cmd/milestones/src/error.rs | 19 - cmd/milestones/src/main.rs | 270 --- cmd/verify-pr/Cargo.toml | 16 - cmd/verify-pr/action.yml | 14 - cmd/verify-pr/src/error.rs | 19 - cmd/verify-pr/src/main.rs | 80 - pkg/action/Cargo.toml | 11 - pkg/action/src/client.rs | 15 - pkg/action/src/commands.rs | 19 - pkg/action/src/context.rs | 18 - pkg/action/src/error.rs | 10 - pkg/action/src/lib.rs | 4 - pkg/config/Cargo.toml | 10 - pkg/config/config.yaml | 110 - pkg/config/src/config.rs | 11 - pkg/config/src/error.rs | 10 - pkg/config/src/lib.rs | 3 - pkg/config/src/types.rs | 51 - pkg/pr/Cargo.toml | 9 - pkg/pr/src/error.rs | 12 - pkg/pr/src/lib.rs | 2 - pkg/pr/src/prefix.rs | 206 -- 32 files changed, 3422 deletions(-) delete mode 100644 .github/workflows/_cut-release-branches.yaml delete mode 100644 .github/workflows/_main.yaml delete mode 100644 .github/workflows/_push-main.yml delete mode 100644 .github/workflows/_verifyPR.yml delete mode 100644 Cargo.lock delete mode 100644 Cargo.toml delete mode 100644 cmd/labels/Cargo.toml delete mode 100644 cmd/labels/src/error.rs delete mode 100644 cmd/labels/src/main.rs delete mode 100644 cmd/milestones/Cargo.toml delete mode 100644 cmd/milestones/src/error.rs delete mode 100644 cmd/milestones/src/main.rs delete mode 100644 cmd/verify-pr/Cargo.toml delete mode 100644 cmd/verify-pr/action.yml delete mode 100644 cmd/verify-pr/src/error.rs delete mode 100644 cmd/verify-pr/src/main.rs delete mode 100644 pkg/action/Cargo.toml delete mode 100644 pkg/action/src/client.rs delete mode 100644 pkg/action/src/commands.rs delete mode 100644 pkg/action/src/context.rs delete mode 100644 pkg/action/src/error.rs delete mode 100644 pkg/action/src/lib.rs delete mode 100644 pkg/config/Cargo.toml delete mode 100644 pkg/config/config.yaml delete mode 100644 pkg/config/src/config.rs delete mode 100644 pkg/config/src/error.rs delete mode 100644 pkg/config/src/lib.rs delete mode 100644 pkg/config/src/types.rs delete mode 100644 pkg/pr/Cargo.toml delete mode 100644 pkg/pr/src/error.rs delete mode 100644 pkg/pr/src/lib.rs delete mode 100644 pkg/pr/src/prefix.rs diff --git a/.github/workflows/_cut-release-branches.yaml b/.github/workflows/_cut-release-branches.yaml deleted file mode 100644 index 318206d..0000000 --- a/.github/workflows/_cut-release-branches.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: Create Release Branch - -on: - workflow_dispatch: - inputs: - branch_name: - description: "Name of the new branch" - required: true - -jobs: - get-repos: - runs-on: ubuntu-latest - outputs: - repos: ${{ steps.read_config.outputs.repos }} - steps: - - uses: actions/checkout@v4 - - name: Get repositories - id: read_config - run: | - REPOS=$(yq e -o=json '.repos | .[] | "\(.org)/\(.repo)"' pkg/config/config.yaml | jq -c -s '.') - echo "repos=${REPOS}" >> "$GITHUB_OUTPUT" - - create-branches: - needs: get-repos - runs-on: ubuntu-latest - strategy: - matrix: - repo: ${{ fromJson(needs.get-repos.outputs.repos) }} - steps: - - name: Get Token - id: get_workflow_token - uses: peter-murray/workflow-application-token-action@v4 - with: - application_id: ${{ vars.TRUSTIFICATION_BOT_ID }} - application_private_key: ${{ secrets.TRUSTIFICATION_BOT_KEY }} - - - name: Checkout repository - uses: actions/checkout@v4 - with: - repository: ${{ matrix.repo }} - token: ${{ steps.get_workflow_token.outputs.token }} - fetch-depth: 0 - - - name: Create new branch - run: | - git config --global user.email "noreply@github.com" - git config --global user.name "Branch Creator" - git checkout -b ${{ inputs.branch_name }} - git push origin ${{ inputs.branch_name }} diff --git a/.github/workflows/_main.yaml b/.github/workflows/_main.yaml deleted file mode 100644 index cd65445..0000000 --- a/.github/workflows/_main.yaml +++ /dev/null @@ -1,68 +0,0 @@ -name: PR tests - -on: - pull_request: - branches: ["main"] - paths-ignore: - - "**.md" - -jobs: - build: - runs-on: ubuntu-latest - permissions: - pull-requests: read - outputs: - config: ${{ steps.filter.outputs.config }} - milestone: ${{ steps.filter.outputs.milestone }} - labels: ${{ steps.filter.outputs.labels }} - steps: - - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 - id: filter - with: - filters: | - config: - - "pkg/config/config.yaml" - milestone: - - "cmd/milestones/**" - labels: - - "cmd/labels/**" - - ci: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Rust - uses: Swatinem/rust-cache@v2 - - name: Crate Format - run: cargo fmt --check - - name: Crate Check - run: cargo check - - name: Crate Clippy - run: cargo clippy --all-targets --all-features -- -D warnings - - name: Crate Test - run: cargo test - - check-milestones: - needs: build - if: ${{ needs.build.outputs.config == 'true' || needs.build.outputs.milestone == 'true' }} - runs-on: ubuntu-latest - permissions: read-all - env: - GITHUB_TOKEN: ${{ github.token }} - steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 - - run: RUST_LOG=info cargo run --bin milestones -- --config pkg/config/config.yaml - - check-labels: - needs: build - if: ${{ needs.build.outputs.config == 'true' || needs.build.outputs.milestone == 'true' }} - runs-on: ubuntu-latest - permissions: read-all - env: - GITHUB_TOKEN: ${{ github.token }} - steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 - - run: RUST_LOG=info cargo run --bin labels -- --config pkg/config/config.yaml diff --git a/.github/workflows/_push-main.yml b/.github/workflows/_push-main.yml deleted file mode 100644 index 791b073..0000000 --- a/.github/workflows/_push-main.yml +++ /dev/null @@ -1,81 +0,0 @@ -name: Push to Main - -on: - push: - branches: - - "main" - - "release/*" - tags: - - "v*" - -concurrency: - group: march-build-${{ github.ref }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - permissions: - pull-requests: read - outputs: - config: ${{ steps.filter.outputs.config }} - milestone: ${{ steps.filter.outputs.milestone }} - labels: ${{ steps.filter.outputs.labels }} - steps: - - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 - id: filter - with: - filters: | - config: - - "pkg/config/config.yaml" - milestone: - - "cmd/milestones/**" - labels: - - "cmd/labels/**" - - milestones: - needs: build - if: ${{ needs.build.outputs.config == 'true' || needs.build.outputs.milestone == 'true' }} - runs-on: ubuntu-latest - permissions: read-all - env: - GITHUB_TOKEN: ${{ github.token }} - steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 - - name: Get Token - id: get_workflow_token - uses: peter-murray/workflow-application-token-action@v4 - with: - application_id: ${{ vars.TRUSTIFICATION_BOT_ID }} - application_private_key: ${{ secrets.TRUSTIFICATION_BOT_KEY }} - - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} - run: RUST_LOG=info cargo run --bin milestones -- --config pkg/config/config.yaml - - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} - run: RUST_LOG=info cargo run --bin milestones -- --config pkg/config/config.yaml --confirm - - labels: - needs: build - if: ${{ needs.build.outputs.config == 'true' || needs.build.outputs.milestone == 'true' }} - runs-on: ubuntu-latest - permissions: read-all - env: - GITHUB_TOKEN: ${{ github.token }} - steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 - - name: Get Token - id: get_workflow_token - uses: peter-murray/workflow-application-token-action@v4 - with: - application_id: ${{ vars.TRUSTIFICATION_BOT_ID }} - application_private_key: ${{ secrets.TRUSTIFICATION_BOT_KEY }} - - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} - run: RUST_LOG=info cargo run --bin labels -- --config pkg/config/config.yaml - - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} - run: RUST_LOG=info cargo run --bin labels -- --config pkg/config/config.yaml --confirm diff --git a/.github/workflows/_verifyPR.yml b/.github/workflows/_verifyPR.yml deleted file mode 100644 index c8a0fa0..0000000 --- a/.github/workflows/_verifyPR.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: PR verification - -on: - pull_request_target: - types: [opened, edited, reopened, synchronize] - -jobs: - verify: - runs-on: ubuntu-latest - name: Verify PR contents - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Check Title - id: verifier - uses: ./cmd/verify-pr - with: - github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index f8e996d..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,2018 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "action" -version = "0.1.1" -dependencies = [ - "envy", - "octocrab", - "serde", - "thiserror", -] - -[[package]] -name = "addr2line" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "anstream" -version = "0.6.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" - -[[package]] -name = "anstyle-parse" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" -dependencies = [ - "anstyle", - "once_cell", - "windows-sys 0.59.0", -] - -[[package]] -name = "anyhow" -version = "1.0.95" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" - -[[package]] -name = "arc-swap" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" - -[[package]] -name = "async-trait" -version = "0.1.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets", -] - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "bitflags" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" - -[[package]] -name = "bumpalo" -version = "3.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" - -[[package]] -name = "bytes" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" - -[[package]] -name = "cc" -version = "1.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3d1b2e905a3a7b00a6141adb0e4c0bb941d11caf55349d863942a1cc44e3c9" -dependencies = [ - "shlex", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.39" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits", - "serde", - "wasm-bindgen", - "windows-targets", -] - -[[package]] -name = "clap" -version = "4.5.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acebd8ad879283633b343856142139f2da2317c96b05b4dd6181c61e2480184" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ba32cbda51c7e1dfd49acc1457ba1a7dec5b64fe360e828acb13ca8dc9c2f9" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ced95c6f4a675af3da73304b9ac4ed991640c36374e4b46795c49e17cf1ed" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" - -[[package]] -name = "colorchoice" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" - -[[package]] -name = "config" -version = "0.1.1" -dependencies = [ - "serde", - "serde_yml", - "thiserror", -] - -[[package]] -name = "core-foundation" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "displaydoc" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "envy" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f47e0157f2cb54f5ae1bd371b30a2ae4311e1c028f575cd4e81de7353215965" -dependencies = [ - "serde", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "errno" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" - -[[package]] -name = "futures-executor" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" - -[[package]] -name = "futures-macro" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" - -[[package]] -name = "futures-task" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" - -[[package]] -name = "futures-util" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.13.3+wasi-0.2.2", - "windows-targets", -] - -[[package]] -name = "gimli" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" - -[[package]] -name = "hashbrown" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "http" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" -dependencies = [ - "bytes", - "http", -] - -[[package]] -name = "http-body-util" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" -dependencies = [ - "bytes", - "futures-util", - "http", - "http-body", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a" - -[[package]] -name = "hyper" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "http", - "http-body", - "httparse", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.27.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" -dependencies = [ - "futures-util", - "http", - "hyper", - "hyper-util", - "log", - "rustls", - "rustls-native-certs", - "rustls-pki-types", - "tokio", - "tokio-rustls", - "tower-service", -] - -[[package]] -name = "hyper-timeout" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" -dependencies = [ - "hyper", - "hyper-util", - "pin-project-lite", - "tokio", - "tower-service", -] - -[[package]] -name = "hyper-util" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "http", - "http-body", - "hyper", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows-core", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "icu_collections" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locid" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - -[[package]] -name = "icu_normalizer" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "utf16_iter", - "utf8_iter", - "write16", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" - -[[package]] -name = "icu_properties" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locid_transform", - "icu_properties_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" - -[[package]] -name = "icu_provider" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", - "writeable", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "idna" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "indexmap" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "iri-string" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc0f0a572e8ffe56e2ff4f769f32ffe919282c3916799f8b68688b6030063bea" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" - -[[package]] -name = "itoa" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" - -[[package]] -name = "js-sys" -version = "0.3.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" -dependencies = [ - "once_cell", - "wasm-bindgen", -] - -[[package]] -name = "jsonwebtoken" -version = "9.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" -dependencies = [ - "base64", - "js-sys", - "pem", - "ring", - "serde", - "serde_json", - "simple_asn1", -] - -[[package]] -name = "labels" -version = "0.1.1" -dependencies = [ - "action", - "anyhow", - "clap", - "config", - "octocrab", - "serde", - "serde_json", - "serde_yml", - "thiserror", - "tokio", -] - -[[package]] -name = "libc" -version = "0.2.169" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" - -[[package]] -name = "libyml" -version = "0.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3302702afa434ffa30847a83305f0a69d6abd74293b6554c18ec85c7ef30c980" -dependencies = [ - "anyhow", - "version_check", -] - -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - -[[package]] -name = "litemap" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "milestones" -version = "0.1.1" -dependencies = [ - "action", - "anyhow", - "chrono", - "clap", - "config", - "octocrab", - "serde", - "serde_json", - "serde_yml", - "thiserror", - "tokio", -] - -[[package]] -name = "miniz_oxide" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3b1c9bd4fe1f0f8b387f6eb9eb3b4a1aa26185e5750efb9140301703f62cd1b" -dependencies = [ - "adler2", -] - -[[package]] -name = "mio" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", -] - -[[package]] -name = "num-bigint" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "object" -version = "0.36.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" -dependencies = [ - "memchr", -] - -[[package]] -name = "octocrab" -version = "0.43.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27527d68322f4c603319f7958973db8f9fa4be62c0e3fafe084f5562cf6353df" -dependencies = [ - "arc-swap", - "async-trait", - "base64", - "bytes", - "cfg-if", - "chrono", - "either", - "futures", - "futures-util", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-rustls", - "hyper-timeout", - "hyper-util", - "jsonwebtoken", - "once_cell", - "percent-encoding", - "pin-project", - "secrecy", - "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "snafu", - "tokio", - "tower", - "tower-http", - "tracing", - "url", - "web-time", -] - -[[package]] -name = "once_cell" -version = "1.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" - -[[package]] -name = "openssl-probe" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" - -[[package]] -name = "parking_lot" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - -[[package]] -name = "pem" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" -dependencies = [ - "base64", - "serde", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pin-project" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "pr" -version = "0.1.1" -dependencies = [ - "regex", - "thiserror", -] - -[[package]] -name = "proc-macro2" -version = "1.0.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" -dependencies = [ - "bitflags", -] - -[[package]] -name = "regex" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" - -[[package]] -name = "ring" -version = "0.17.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e75ec5e92c4d8aede845126adc388046234541629e76029599ed35a003c7ed24" -dependencies = [ - "cc", - "cfg-if", - "getrandom 0.2.15", - "libc", - "untrusted", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustls" -version = "0.23.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47796c98c480fce5406ef69d1c76378375492c3b0a0de587be0c1d9feb12f395" -dependencies = [ - "log", - "once_cell", - "ring", - "rustls-pki-types", - "rustls-webpki", - "subtle", - "zeroize", -] - -[[package]] -name = "rustls-native-certs" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3" -dependencies = [ - "openssl-probe", - "rustls-pki-types", - "schannel", - "security-framework", -] - -[[package]] -name = "rustls-pki-types" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" - -[[package]] -name = "rustls-webpki" -version = "0.102.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" -dependencies = [ - "ring", - "rustls-pki-types", - "untrusted", -] - -[[package]] -name = "rustversion" -version = "1.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" - -[[package]] -name = "ryu" -version = "1.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" - -[[package]] -name = "schannel" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "secrecy" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" -dependencies = [ - "zeroize", -] - -[[package]] -name = "security-framework" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "serde" -version = "1.0.217" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.217" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.138" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "serde_path_to_error" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6" -dependencies = [ - "itoa", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_yml" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e2dd588bf1597a252c3b920e0143eb99b0f76e4e082f4c92ce34fbc9e71ddd" -dependencies = [ - "indexmap", - "itoa", - "libyml", - "memchr", - "ryu", - "serde", - "version_check", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "simple_asn1" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" -dependencies = [ - "num-bigint", - "num-traits", - "thiserror", - "time", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" - -[[package]] -name = "snafu" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "223891c85e2a29c3fe8fb900c1fae5e69c2e42415e3177752e8718475efa5019" -dependencies = [ - "snafu-derive", -] - -[[package]] -name = "snafu-derive" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c3c6b7927ffe7ecaa769ee0e3994da3b8cafc8f444578982c83ecb161af917" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "socket2" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "2.0.98" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sync_wrapper" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" - -[[package]] -name = "synstructure" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tempfile" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38c246215d7d24f48ae091a2902398798e05d978b24315d6efbc00ede9a8bb91" -dependencies = [ - "cfg-if", - "fastrand", - "getrandom 0.3.1", - "once_cell", - "rustix", - "windows-sys 0.59.0", -] - -[[package]] -name = "thiserror" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" -dependencies = [ - "deranged", - "itoa", - "num-conv", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" -dependencies = [ - "num-conv", - "time-core", -] - -[[package]] -name = "tinystr" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tokio" -version = "1.43.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio", - "parking_lot", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.52.0", -] - -[[package]] -name = "tokio-macros" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-rustls" -version = "0.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" -dependencies = [ - "rustls", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tower" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" -dependencies = [ - "futures-core", - "futures-util", - "pin-project-lite", - "sync_wrapper", - "tokio", - "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-http" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403fa3b783d4b626a8ad51d766ab03cb6d2dbfc46b1c5d4448395e6628dc9697" -dependencies = [ - "bitflags", - "bytes", - "futures-util", - "http", - "http-body", - "iri-string", - "pin-project-lite", - "tower", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - -[[package]] -name = "tower-service" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" - -[[package]] -name = "tracing" -version = "0.1.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" -dependencies = [ - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" -dependencies = [ - "once_cell", -] - -[[package]] -name = "try-lock" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" - -[[package]] -name = "unicode-ident" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" - -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - -[[package]] -name = "url" -version = "2.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", - "serde", -] - -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "verify-pr" -version = "0.1.1" -dependencies = [ - "action", - "pr", - "serde", - "serde_json", - "tempfile", - "thiserror", -] - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasi" -version = "0.13.3+wasi-0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" -dependencies = [ - "wit-bindgen-rt", -] - -[[package]] -name = "wasm-bindgen" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" -dependencies = [ - "cfg-if", - "once_cell", - "rustversion", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "web-time" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" -dependencies = [ - "js-sys", - "serde", - "wasm-bindgen", -] - -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "wit-bindgen-rt" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" -dependencies = [ - "bitflags", -] - -[[package]] -name = "write16" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" - -[[package]] -name = "writeable" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" - -[[package]] -name = "yoke" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" -dependencies = [ - "serde", - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zerofrom" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zeroize" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" - -[[package]] -name = "zerovec" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index 5a545ee..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,36 +0,0 @@ -[workspace] -resolver = "2" -members = [ - "pkg/action", - "pkg/config", - "pkg/pr", - "cmd/labels", - "cmd/milestones", - "cmd/verify-pr", -] - -[workspace.package] -version = "0.1.1" -edition = "2021" -publish = false -license = "Apache-2.0" - -[workspace.dependencies] -anyhow = { version = "1" } -thiserror = { version = "2" } -envy = { version = "0.4" } -serde = { version = "1" } -serde_json = { version = "1" } -serde_yml = { version = "0.0.12" } -regex = { version = "1" } -tempfile = { version = "3" } -clap = { version = "4" } -octocrab = { version = "0.43" } -chrono = { version = "0.4" } -tokio = { version = "1" } - -action = { path = "./pkg/action" } -config = { path = "./pkg/config" } -pr = { path = "./pkg/pr" } - -[patch.crates-io] diff --git a/cmd/labels/Cargo.toml b/cmd/labels/Cargo.toml deleted file mode 100644 index 5a07c7b..0000000 --- a/cmd/labels/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -name = "labels" -version.workspace = true -edition.workspace = true -license.workspace = true - -[dependencies] -action = { workspace = true } -config = { workspace = true } - -anyhow = { workspace = true } -thiserror = { workspace = true } -serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true } -serde_yml = { workspace = true } -octocrab = { workspace = true } -clap = { workspace = true, features = ["derive"] } -tokio = { workspace = true, features = ["full"] } - -[dev-dependencies] diff --git a/cmd/labels/src/error.rs b/cmd/labels/src/error.rs deleted file mode 100644 index 7fe4f5d..0000000 --- a/cmd/labels/src/error.rs +++ /dev/null @@ -1,16 +0,0 @@ -pub type Result = std::result::Result; - -#[derive(Debug, thiserror::Error)] -pub enum Error { - #[error(transparent)] - Config(#[from] config::error::Error), - - #[error(transparent)] - Action(#[from] action::error::Error), - - #[error(transparent)] - Octocrab(#[from] octocrab::Error), - - #[error(transparent)] - Any(#[from] anyhow::Error), -} diff --git a/cmd/labels/src/main.rs b/cmd/labels/src/main.rs deleted file mode 100644 index 93f3096..0000000 --- a/cmd/labels/src/main.rs +++ /dev/null @@ -1,176 +0,0 @@ -use std::{ - collections::HashMap, - process::{ExitCode, Termination}, -}; - -use action::{client, commands::ActionCommand}; -use clap::Parser; -use config::types::Label; -use serde::Serialize; -use serde_json::{json, Value}; - -mod error; - -#[derive(Clone, Serialize)] -enum Why { - // Wanted - Missing(Label), - // Wanted, Current - Changed(Label, Label), -} - -#[derive(Clone, Serialize)] -struct Update { - org: String, - repo: String, - why: Why, -} - -#[derive(clap::Parser, Debug)] -#[command( - author, - version = env ! ("CARGO_PKG_VERSION"), - long_about = None -)] -struct Cli { - /// Path to config.yaml - #[arg(long, default_value = "")] - config: String, - - /// Make mutating changes to labels via GitHub API - #[arg(long, default_value = "false")] - confirm: bool, -} - -#[tokio::main] -async fn main() -> impl Termination { - match exec().await { - Ok(_) => ExitCode::SUCCESS, - Err(error) => { - println!("{error:#?}"); - ExitCode::FAILURE - } - } -} - -async fn exec() -> crate::error::Result<()> { - let cli = Cli::parse(); - - let configuration = config::types::Configuration::from_path(&cli.config)?; - - // Instantiate the client and get the current labels on the repo - let client = client::get_client()?; - let per_page = 100; - - let mut updates: Vec = vec![]; - for repo in &configuration.repos { - let mut current_labels: Vec = vec![]; - - let mut page: u32 = 1; - loop { - let resp = client - .issues(&repo.org, &repo.repo) - .list_labels_for_repo() - .page(page) - .per_page(per_page) - .send() - .await?; - - let items = resp.items; - current_labels.extend(items); - - match resp.next { - Some(_url) => page += 1, - None => break, - } - } - - let current_labes_map: HashMap = current_labels - .into_iter() - .map(|l| (l.name.clone(), l.clone())) - .collect(); - - // Compare labels - for label in &configuration.labels { - match current_labes_map.get(&label.name) { - None => { - updates.push(Update { - org: repo.org.clone(), - repo: repo.repo.clone(), - why: Why::Missing(label.clone()), - }); - } - Some(existing_label) => { - let empty_string = "".to_string(); - if existing_label.color.to_lowercase() != label.color.to_lowercase() - || existing_label.description.as_ref().unwrap_or(&empty_string) - != label.description.as_deref().unwrap_or(&empty_string) - { - updates.push(Update { - org: repo.org.clone(), - repo: repo.repo.clone(), - why: Why::Changed( - label.clone(), - Label { - name: existing_label.name.clone(), - color: existing_label.color.clone(), - description: existing_label.description.clone(), - }, - ), - }); - }; - } - }; - } - } - - if updates.is_empty() { - ActionCommand::Notice("Yay, there are no changes to be made".to_string()).send_command(); - return Ok(()); - } - - let data = serde_yml::to_string(&updates).unwrap(); - println!("{data}"); - - if !cli.confirm { - ActionCommand::Notice("Running without confirm, no mutations will be made".to_string()) - .send_command(); - return Ok(()); - } - - for update in &updates { - match &update.why { - Why::Missing(wanted) => { - let resp = client - .issues(&update.org, &update.repo) - .create_label( - &wanted.name, - &wanted.color, - wanted.description.clone().unwrap_or("".to_string()), - ) - .await?; - println!("Label created: {resp:?}"); - } - Why::Changed(wanted, current) => { - let resp: Value = client - .patch( - &format!( - "/repos/{}/{}/labels/{}", - &update.org, &update.repo, ¤t.name - ), - Some(&json!({ - "name": wanted.name, - "color": wanted.color, - "description": wanted.description, - })), - ) - .await?; - println!("Label updated: {resp:?}"); - } - }; - } - - ActionCommand::Notice("Yay".to_string()).send_command(); - - Ok(()) -} diff --git a/cmd/milestones/Cargo.toml b/cmd/milestones/Cargo.toml deleted file mode 100644 index fca7f0b..0000000 --- a/cmd/milestones/Cargo.toml +++ /dev/null @@ -1,21 +0,0 @@ -[package] -name = "milestones" -version.workspace = true -edition.workspace = true -license.workspace = true - -[dependencies] -action = { workspace = true } -config = { workspace = true } - -anyhow = { workspace = true } -thiserror = { workspace = true } -serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true } -serde_yml = { workspace = true } -octocrab = { workspace = true } -clap = { workspace = true, features = ["derive"] } -tokio = { workspace = true, features = ["full"] } -chrono = { workspace = true } - -[dev-dependencies] diff --git a/cmd/milestones/src/error.rs b/cmd/milestones/src/error.rs deleted file mode 100644 index 6b22af7..0000000 --- a/cmd/milestones/src/error.rs +++ /dev/null @@ -1,19 +0,0 @@ -pub type Result = std::result::Result; - -#[derive(Debug, thiserror::Error)] -pub enum Error { - #[error(transparent)] - Config(#[from] config::error::Error), - - #[error(transparent)] - Action(#[from] action::error::Error), - - #[error(transparent)] - Octocrab(#[from] octocrab::Error), - - #[error(transparent)] - SerdeJson(#[from] serde_json::Error), - - #[error(transparent)] - Any(#[from] anyhow::Error), -} diff --git a/cmd/milestones/src/main.rs b/cmd/milestones/src/main.rs deleted file mode 100644 index 61ec828..0000000 --- a/cmd/milestones/src/main.rs +++ /dev/null @@ -1,270 +0,0 @@ -use std::{ - collections::HashMap, - process::{ExitCode, Termination}, -}; - -use action::{client, commands::ActionCommand}; -use clap::Parser; -use config::types::Milestone; -use octocrab::Page; -use serde::Serialize; -use serde_json::{json, Value}; - -mod error; - -#[derive(Clone, Serialize)] -enum Why { - // Wanted - Missing(Milestone), - // Wanted, CurrentNumber, Current - Changed(Milestone, i64, Milestone), -} - -#[derive(Clone, Serialize)] -struct Update { - org: String, - repo: String, - why: Why, - issues: Vec, -} - -#[derive(clap::Parser, Debug)] -#[command( - author, - version = env ! ("CARGO_PKG_VERSION"), - long_about = None -)] -struct Cli { - /// Path to config.yaml - #[arg(long, default_value = "")] - config: String, - - /// Make mutating changes to labels via GitHub API - #[arg(long, default_value = "false")] - confirm: bool, -} - -#[tokio::main] -async fn main() -> impl Termination { - match exec().await { - Ok(_) => ExitCode::SUCCESS, - Err(error) => { - println!("{error:#?}"); - ExitCode::FAILURE - } - } -} - -async fn exec() -> crate::error::Result<()> { - let cli = Cli::parse(); - - let configuration = config::types::Configuration::from_path(&cli.config)?; - - // Instantiate the client and get the current labels on the repo - let client = client::get_client()?; - - let mut updates: Vec = vec![]; - for repo in &configuration.repos { - let mut current_milestones: Vec = vec![]; - - // Fetch all milestones - let mut page: Page = client - .get( - format!("/repos/{}/{}/milestones", &repo.org, &repo.repo), - None::<&()>, - ) - .await?; - - let items = page.items; - current_milestones.extend(items); - - while let Some(next_page) = client - .get_page::(&page.next) - .await? - { - page = next_page; - - let items = page.items; - current_milestones.extend(items); - } - - let current_milestones_map: HashMap = - current_milestones - .into_iter() - .map(|m| (m.title.clone(), m.clone())) - .collect(); - - // Compare milestones - for want_milestone in &configuration.milestones { - println!("Wanted milestone: {want_milestone}"); - - let mut repo_issues: Vec = vec![]; - - if let Some(replaces) = &want_milestone.replaces { - match current_milestones_map.get(replaces) { - Some(old_milestone) => { - if let Some(open_issues) = old_milestone.open_issues { - if open_issues > 0 { - println!("old milestone exists: want milestone title: {:?} replaces: {:?} open issues: {:?}", want_milestone.title, want_milestone.replaces, open_issues); - - let mut page: u32 = 1; - loop { - let resp: Page = client - .issues(&repo.org, &repo.repo) - .list() - .page(page) - .state(octocrab::params::State::Open) // Get only open issues - .milestone(old_milestone.number as u64) - .send() - .await?; - - let items = resp.items; - repo_issues.extend(items); - - match resp.next { - Some(_url) => page += 1, - None => break, - } - } - } - } - } - None => todo!(), - } - } - - match current_milestones_map.get(&want_milestone.title) { - None => { - updates.push(Update { - org: repo.org.clone(), - repo: repo.repo.clone(), - why: Why::Missing(want_milestone.clone()), - issues: repo_issues.clone(), - }); - } - Some(existing_milestone) => { - let existing_milestone_due = existing_milestone - .due_on - .map(|date| date.format("%Y-%m-%d").to_string()); - - if existing_milestone.description != want_milestone.description - || existing_milestone_due != want_milestone.due - || existing_milestone.state != want_milestone.state - || !repo_issues.is_empty() - { - updates.push(Update { - org: repo.org.clone(), - repo: repo.repo.clone(), - why: Why::Changed( - want_milestone.clone(), - existing_milestone.number, - Milestone { - title: existing_milestone.title.clone(), - description: existing_milestone.description.clone(), - state: existing_milestone.state.clone(), - due: existing_milestone_due.clone(), - replaces: None, - }, - ), - issues: repo_issues, - }); - }; - } - }; - } - } - - if updates.is_empty() { - ActionCommand::Notice("Yay, there are no changes to be made".to_string()).send_command(); - return Ok(()); - } - - let data = serde_yml::to_string(&updates).unwrap(); - ActionCommand::Notice("Changes will be made".to_string()).send_command(); - println!("{data}"); - - if !cli.confirm { - ActionCommand::Notice("Running without confirm, no mutations will be made".to_string()) - .send_command(); - return Ok(()); - } - - // https://docs.github.com/en/rest/issues/milestones?apiVersion=2022-11-28 - #[derive(Serialize, Debug)] - struct MilestonePayload { - title: String, - - #[serde(skip_serializing_if = "Option::is_none")] - description: Option, - - #[serde(skip_serializing_if = "Option::is_none")] - state: Option, - - #[serde(skip_serializing_if = "Option::is_none")] - due_on: Option, - } - - for update in &updates { - let milestone: octocrab::models::Milestone = match &update.why { - Why::Missing(wanted_milestone) => { - let payload = serde_json::to_value(MilestonePayload { - title: wanted_milestone.title.clone(), - description: wanted_milestone.description.clone(), - state: wanted_milestone.state.clone(), - due_on: wanted_milestone.due.clone(), - })?; - - let resp: octocrab::models::Milestone = client - .post( - format!("/repos/{}/{}/milestones", &update.org, &update.repo), - Some(&payload), - ) - .await?; - println!("Milestone created: {resp:?}"); - resp - } - Why::Changed(wanted_milestone, current_number, _current_milestone) => { - let payload = serde_json::to_value(MilestonePayload { - title: wanted_milestone.title.clone(), - description: wanted_milestone.description.clone(), - state: wanted_milestone.state.clone(), - due_on: wanted_milestone.due.clone(), - })?; - - let resp: octocrab::models::Milestone = client - .patch( - &format!( - "/repos/{}/{}/milestones/{}", - &update.org, &update.repo, current_number - ), - Some(&payload), - ) - .await?; - println!("Milestone updated: {resp:?}"); - resp - } - }; - - for issue in &update.issues { - let _resp: Value = client - .patch( - &format!( - "/repos/{}/{}/issues/{}", - &update.org, &update.repo, &issue.number - ), - Some(&json!({ - "milestone": milestone.number, - })), - ) - .await?; - println!( - "Issue added to milestone org: {:?} repo: {:?} issue: {:?} milestone: {:?}", - update.org, update.repo, issue.number, milestone.number, - ); - } - } - - ActionCommand::Notice("Yay".to_string()).send_command(); - - Ok(()) -} diff --git a/cmd/verify-pr/Cargo.toml b/cmd/verify-pr/Cargo.toml deleted file mode 100644 index 952cc1d..0000000 --- a/cmd/verify-pr/Cargo.toml +++ /dev/null @@ -1,16 +0,0 @@ -[package] -name = "verify-pr" -version.workspace = true -edition.workspace = true -license.workspace = true - -[dependencies] -action = { workspace = true } -pr = { workspace = true } - -thiserror = { workspace = true } -serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true } - -[dev-dependencies] -tempfile = { workspace = true } diff --git a/cmd/verify-pr/action.yml b/cmd/verify-pr/action.yml deleted file mode 100644 index 464a26a..0000000 --- a/cmd/verify-pr/action.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: "Verify PR" -description: Verify PRs for Trustification organization -inputs: - github_token: - description: "the github_token provided by the actions runner" - required: true -runs: - using: composite - steps: - - name: Set up Rust - uses: Swatinem/rust-cache@v2 - - name: Run verify - run: cd ${GITHUB_ACTION_PATH} && RUST_LOG=info cargo run --bin verify-pr - shell: bash diff --git a/cmd/verify-pr/src/error.rs b/cmd/verify-pr/src/error.rs deleted file mode 100644 index 60c912b..0000000 --- a/cmd/verify-pr/src/error.rs +++ /dev/null @@ -1,19 +0,0 @@ -pub type Result = std::result::Result; - -#[derive(Debug, thiserror::Error)] -pub enum Error { - #[error(transparent)] - Action(#[from] action::error::Error), - - #[error(transparent)] - PR(#[from] pr::error::Error), - - #[error(transparent)] - IO(#[from] std::io::Error), - - #[error("Unable to unmarshal PullRequest {file_path:?}")] - UnmarshalPullRequest { - file_path: String, - err: serde_json::Error, - }, -} diff --git a/cmd/verify-pr/src/main.rs b/cmd/verify-pr/src/main.rs deleted file mode 100644 index 9f03027..0000000 --- a/cmd/verify-pr/src/main.rs +++ /dev/null @@ -1,80 +0,0 @@ -use action::context::GitHubVariables; -use pr::prefix::PRType; -use serde::Deserialize; -use std::fs; - -mod error; - -#[derive(Debug, Deserialize)] -struct Event { - pub pull_request: PullRequestEvent, -} - -#[derive(Debug, Deserialize)] -struct PullRequestEvent { - title: String, -} - -fn main() -> error::Result<()> { - let result = verify_pr(); - match &result { - Ok(_) => {} - Err(error) => println!("{error}"), - }; - result -} - -fn verify_pr() -> error::Result<()> { - let gh_context = GitHubVariables::from_env()?; - - // Parse the event - let event_file = fs::read_to_string(gh_context.github_event_path)?; - - let event: Event = serde_json::from_str(&event_file).map_err(|err| { - crate::error::Error::UnmarshalPullRequest { - file_path: event_file, - err, - } - })?; - - // Check the title of the PR - let pr_type = PRType::from_title(&event.pull_request.title)?; - - println!("{pr_type:?}"); - Ok(()) -} - -#[cfg(test)] -mod tests { - use crate::main; - use tempfile::NamedTempFile; - - #[test] - fn read_from_file() { - std::env::set_var("CI", "true"); - std::env::set_var("GITHUB_ACTIONS", "true"); - std::env::set_var("GITHUB_EVENT_NAME", "foo"); - - let event_that_generates_ok = "{\"pull_request\":{\"title\":\"WIP: :bug: Fix bug\"}}"; - let event_that_generates_error = - "{\"pull_request\":{\"title\":\"WIP: [docs] Update documentation\"}}"; - - // - let temp_file = NamedTempFile::new().expect("Failed to create temp file"); - let path = temp_file.path(); // Get the temporary file's path - std::fs::write(path, event_that_generates_ok).expect("Failed to write to temp file"); - - std::env::set_var("GITHUB_EVENT_PATH", path); - let result = main(); - assert!(result.is_ok()); - - // - let temp_file = NamedTempFile::new().expect("Failed to create temp file"); - let path = temp_file.path(); // Get the temporary file's path - std::fs::write(path, event_that_generates_error).expect("Failed to write to temp file"); - - std::env::set_var("GITHUB_EVENT_PATH", path); - let result = main(); - assert!(result.is_err()); - } -} diff --git a/pkg/action/Cargo.toml b/pkg/action/Cargo.toml deleted file mode 100644 index a4e5ba7..0000000 --- a/pkg/action/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "action" -version.workspace = true -edition.workspace = true -license.workspace = true - -[dependencies] -thiserror = { workspace = true } -serde = { workspace = true, features = ["derive"] } -envy = { workspace = true } -octocrab = { workspace = true } diff --git a/pkg/action/src/client.rs b/pkg/action/src/client.rs deleted file mode 100644 index 33a2540..0000000 --- a/pkg/action/src/client.rs +++ /dev/null @@ -1,15 +0,0 @@ -use octocrab::Octocrab; -use serde::Deserialize; - -#[derive(Deserialize, Debug)] -struct EnvVars { - pub github_token: String, -} - -pub fn get_client() -> crate::error::Result { - let github_token = envy::from_env::()?.github_token; - - let octocrab = Octocrab::builder().personal_token(github_token).build()?; - - Ok(octocrab) -} diff --git a/pkg/action/src/commands.rs b/pkg/action/src/commands.rs deleted file mode 100644 index f586b7e..0000000 --- a/pkg/action/src/commands.rs +++ /dev/null @@ -1,19 +0,0 @@ -pub enum ActionCommand { - Debug(String), - Notice(String), - Warning(String), - Error(String), -} - -impl ActionCommand { - pub fn send_command(&self) { - let (command, message) = match self { - Self::Debug(message) => ("debug", message), - Self::Notice(message) => ("notice", message), - Self::Warning(message) => ("warning", message), - Self::Error(message) => ("error", message), - }; - - println!("::{command}::{message}"); - } -} diff --git a/pkg/action/src/context.rs b/pkg/action/src/context.rs deleted file mode 100644 index 05c802f..0000000 --- a/pkg/action/src/context.rs +++ /dev/null @@ -1,18 +0,0 @@ -use serde::Deserialize; - -use crate::error::Result; - -#[derive(Deserialize, Debug)] -pub struct GitHubVariables { - pub ci: bool, - pub github_actions: bool, - pub github_event_name: String, - pub github_event_path: String, -} - -impl GitHubVariables { - pub fn from_env() -> Result { - let result = envy::from_env::()?; - Ok(result) - } -} diff --git a/pkg/action/src/error.rs b/pkg/action/src/error.rs deleted file mode 100644 index 854c4eb..0000000 --- a/pkg/action/src/error.rs +++ /dev/null @@ -1,10 +0,0 @@ -pub type Result = std::result::Result; - -#[derive(Debug, thiserror::Error)] -pub enum Error { - #[error(transparent)] - Env(#[from] envy::Error), - - #[error(transparent)] - Octocrab(#[from] octocrab::Error), -} diff --git a/pkg/action/src/lib.rs b/pkg/action/src/lib.rs deleted file mode 100644 index f67c232..0000000 --- a/pkg/action/src/lib.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub mod client; -pub mod commands; -pub mod context; -pub mod error; diff --git a/pkg/config/Cargo.toml b/pkg/config/Cargo.toml deleted file mode 100644 index ce0aadf..0000000 --- a/pkg/config/Cargo.toml +++ /dev/null @@ -1,10 +0,0 @@ -[package] -name = "config" -version.workspace = true -edition.workspace = true -license.workspace = true - -[dependencies] -thiserror = { workspace = true } -serde = { workspace = true, features = ["derive"] } -serde_yml = { workspace = true } diff --git a/pkg/config/config.yaml b/pkg/config/config.yaml deleted file mode 100644 index 0370a20..0000000 --- a/pkg/config/config.yaml +++ /dev/null @@ -1,110 +0,0 @@ -# This configuration is specifically for managing the repos listed below and their: -# - labels -# - milestones -# - ... - -# Repos -# List of repositories we are managing. -# -# repos: -# - org: the organization of the repo -# repo: the repo -repos: - - org: guacsec - repo: trustify-release-tools - - org: guacsec - repo: trustify-ui - -# Labels -# List of labels, their color and description, that should exist in the specified repositories. -# -# labels: -# - color: the color of the label -# description: what does it mean? -# name: the name of the label -labels: - # Triage - - color: ededed - description: Indicates an issue or PR lacks a `triage/foo` label and requires one. - name: needs-triage - - color: 8fc951 - description: Indicates an issue or PR is ready to be actively worked on. - name: triage/accepted - - color: d455d0 - description: Indicates an issue is a duplicate of other open issue. - name: triage/duplicate - - color: d455d0 - description: Indicates an issue needs more information in order to work on it. - name: triage/needs-information - - color: d455d0 - description: Indicates an issue can not be reproduced as described. - name: triage/not-reproducible - - color: d455d0 - description: Indicates an issue that is a support question. - name: triage/support - # Kind - - color: ededed - description: Indicates an issue or PR lacks a `kind/foo` label and requires one. - name: needs-kind - - color: e11d21 - description: Categorizes issue or PR as related to a bug. - name: kind/bug - - color: c7def8 - description: Categorizes issue or PR as related to documentation. - name: kind/documentation - - color: c7def8 - description: Categorizes issue or PR as related to a new feature. - name: kind/feature - # Priority - - color: ededed - description: Indicates an issue or PR lacks a `priority/foo` label and requires one. - name: needs-priority - - color: fef2c0 - description: Lowest priority. Possibly useful, but not yet enough support to actually get it done. # These are mostly place-holders for potentially good ideas, so that they don't get completely forgotten, and can be referenced /deduped every time they come up. - name: priority/awaiting-more-evidence - - color: fbca04 - description: Higher priority than priority/awaiting-more-evidence. # There appears to be general agreement that this would be good to have, but we may not have anyone available to work on it right now or in the immediate future. Community contributions would be most welcome in the mean time (although it might take a while to get them reviewed if reviewers are fully occupied with higher priority issues, for example immediately before a release). - name: priority/backlog - - color: eb6420 - description: Important over the long term, but may not be staffed and/or may need multiple releases to complete. - name: priority/important-longterm - - color: eb6420 - description: Must be staffed and worked on either currently, or very soon, ideally in time for the next release. - name: priority/important-soon - - color: e11d21 - description: Must be staffed and worked in time for the next release. - name: priority/release-blocker - - color: e11d21 - description: Highest priority. Must be actively worked on as someone's top priority right now. # Stuff is burning. If it's not being actively worked on, someone is expected to drop what they're doing immediately to work on it. Team leaders are responsible for making sure that all the issues, labeled with this priority, in their area are being actively worked on. Examples include user-visible bugs in core features, broken builds or tests and critical security issues. - name: priority/critical-urgent - # Etcetera - - color: 15dd18 - description: Indicates that a PR is ready to be merged. - name: lgtm - # Backport - - color: fef2a0 - description: This PR should be backported to release/0.2.z branch. - name: backport release/0.2.z - - color: c2e0c6 - description: This PR should be backported to release/0.3.z branch. - name: backport release/0.3.z - - color: c2e0c6 - description: This PR should be backported to release/0.4.z branch. - name: backport release/0.4.z - -# Milestones -# List of milestones, and their state, that should exist in the specified repositories. -# -# milestones: -# - title: the title for the milestone -# description: the description -# state: open/closed -# due: -# -milestones: - - title: Trustify 2.0.0 - description: The v0.2.0 release of Trustify - state: open - - title: Trustify 2.1.0 - description: Bucket for work we want to accomplish in the next release - state: open diff --git a/pkg/config/src/config.rs b/pkg/config/src/config.rs deleted file mode 100644 index 683e6d5..0000000 --- a/pkg/config/src/config.rs +++ /dev/null @@ -1,11 +0,0 @@ -use std::fs; - -use crate::{error::Result, types::Configuration}; - -impl Configuration { - pub fn from_path(path: &str) -> Result { - let data = fs::read_to_string(path)?; - let data: Configuration = serde_yml::from_str(&data)?; - Ok(data) - } -} diff --git a/pkg/config/src/error.rs b/pkg/config/src/error.rs deleted file mode 100644 index aaea43e..0000000 --- a/pkg/config/src/error.rs +++ /dev/null @@ -1,10 +0,0 @@ -pub type Result = std::result::Result; - -#[derive(Debug, thiserror::Error)] -pub enum Error { - #[error(transparent)] - Serde(#[from] serde_yml::Error), - - #[error(transparent)] - IO(#[from] std::io::Error), -} diff --git a/pkg/config/src/lib.rs b/pkg/config/src/lib.rs deleted file mode 100644 index ecff04c..0000000 --- a/pkg/config/src/lib.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod config; -pub mod error; -pub mod types; diff --git a/pkg/config/src/types.rs b/pkg/config/src/types.rs deleted file mode 100644 index c3baa4e..0000000 --- a/pkg/config/src/types.rs +++ /dev/null @@ -1,51 +0,0 @@ -use serde::{Deserialize, Serialize}; - -// Configuration is a representation of the repositories we will manage -// + their Labels -// + their Milestons -#[derive(Deserialize)] -pub struct Configuration { - pub repos: Vec, - pub labels: Vec