From e656142476d6f7485f05ab2781b848d98da8379d Mon Sep 17 00:00:00 2001 From: AusAgentSmith Date: Mon, 6 Apr 2026 20:26:51 +1000 Subject: [PATCH 1/3] ci: add Dependabot configuration --- .github/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..7526c92 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: cargo + directory: / + schedule: + interval: weekly + day: monday + open-pull-requests-limit: 10 + groups: + rust-dependencies: + patterns: + - "*" + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + open-pull-requests-limit: 5 + groups: + github-actions: + patterns: + - "*" From f3866bdd07b8228d6e9edb4a1175ba320db76724 Mon Sep 17 00:00:00 2001 From: AusAgentSmith Date: Mon, 6 Apr 2026 20:26:53 +1000 Subject: [PATCH 2/3] =?UTF-8?q?ci:=20add=20Dependabot=20=E2=86=92=20Linear?= =?UTF-8?q?=20integration=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dependabot-linear.yml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/dependabot-linear.yml diff --git a/.github/workflows/dependabot-linear.yml b/.github/workflows/dependabot-linear.yml new file mode 100644 index 0000000..67e5ff3 --- /dev/null +++ b/.github/workflows/dependabot-linear.yml @@ -0,0 +1,41 @@ +name: Dependabot Linear Integration + +on: + pull_request: + types: [opened] + +permissions: + pull-requests: read + +jobs: + create-linear-issue: + if: github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - name: Create Linear Issue + env: + LINEAR_API_KEY: ${{ secrets.LINEAR_API_TOKEN }} + PR_TITLE: ${{ github.event.pull_request.title }} + PR_URL: ${{ github.event.pull_request.html_url }} + PR_BODY: ${{ github.event.pull_request.body }} + REPO_NAME: ${{ github.event.repository.name }} + run: | + DESCRIPTION="**Dependabot PR:** ${PR_URL} + + **Repository:** ${REPO_NAME} + + ${PR_BODY}" + + # Escape for JSON + TITLE=$(echo "$PR_TITLE" | jq -Rs '.') + DESC=$(echo "$DESCRIPTION" | jq -Rs '.') + + curl -s -X POST https://api.linear.app/graphql \ + -H "Content-Type: application/json" \ + -H "Authorization: ${LINEAR_API_KEY}" \ + -d "{ + \"query\": \"mutation { issueCreate(input: { title: ${TITLE}, description: ${DESC}, + teamId: \"c2acb063-92b9-4d9f-ab23-0ced91983a97\", + labelIds: [\"0ee40789-158e-4b1c-93b3-3974e1b80117\"] + }) { success issue { id identifier url } } }" + }' From 112ccc715b1c6dfe10f5554a44e3b3893da67a7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 10:28:27 +0000 Subject: [PATCH 3/3] build(deps): bump the rust-dependencies group with 2 updates Bumps the rust-dependencies group with 2 updates: [reqwest](https://github.com/seanmonstar/reqwest) and [quick-xml](https://github.com/tafia/quick-xml). Updates `reqwest` from 0.12.28 to 0.13.2 - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.28...v0.13.2) Updates `quick-xml` from 0.38.4 to 0.39.2 - [Release notes](https://github.com/tafia/quick-xml/releases) - [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md) - [Commits](https://github.com/tafia/quick-xml/compare/v0.38.4...v0.39.2) --- updated-dependencies: - dependency-name: reqwest dependency-version: 0.13.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: quick-xml dependency-version: 0.39.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies ... Signed-off-by: dependabot[bot] --- Cargo.lock | 48 ++++-------------------------------------------- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4a87acd..03c2dcc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -549,9 +549,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.38.4" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" +checksum = "958f21e8e7ceb5a1aa7fa87fab28e7c75976e0bfe7e23ff069e0a260f894067d" dependencies = [ "memchr", "serde", @@ -574,9 +574,9 @@ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" [[package]] name = "reqwest" -version = "0.12.28" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" dependencies = [ "base64", "bytes", @@ -590,9 +590,6 @@ dependencies = [ "log", "percent-encoding", "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", "sync_wrapper", "tokio", "tower", @@ -610,12 +607,6 @@ version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" -[[package]] -name = "ryu" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" - [[package]] name = "serde" version = "1.0.228" @@ -646,31 +637,6 @@ dependencies = [ "syn", ] -[[package]] -name = "serde_json" -version = "1.0.149" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[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 = "shlex" version = "1.3.0" @@ -1105,9 +1071,3 @@ dependencies = [ "quote", "syn", ] - -[[package]] -name = "zmij" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/Cargo.toml b/Cargo.toml index 8e0c16f..0c618d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/AusAgentSmith-org/librtbit-upnp" [dependencies] tracing = "0.1" anyhow = "1" -reqwest = { version = "0.12", default-features = false } +reqwest = { version = "0.13", default-features = false } serde = "1" serde_derive = "1" tokio = { version = "1", features = ["macros"] } @@ -18,7 +18,7 @@ url = { version = "2", default-features = false } network-interface = "2" httparse = "1" bstr = "1" -quick-xml = { version = "0.38", features = ["serialize"] } +quick-xml = { version = "0.39", features = ["serialize"] } librqbit-dualstack-sockets = "0.7" socket2 = "0.6"