From 8e130f58a77840a18c3c81e37dcb4ddd0d07f9b3 Mon Sep 17 00:00:00 2001 From: Nish Sinha Date: Tue, 25 Apr 2023 15:07:32 -0400 Subject: [PATCH] Use dependency-groups instead of grouped-update --- tests/smoke-cargo.yaml | 246 ++++++++++++++++++++++++++++++++++- tests/smoke-go-security.yaml | 2 +- tests/smoke-go.yaml | 8 +- 3 files changed, 247 insertions(+), 9 deletions(-) diff --git a/tests/smoke-cargo.yaml b/tests/smoke-cargo.yaml index dd41dbe4..bb1d26cf 100644 --- a/tests/smoke-cargo.yaml +++ b/tests/smoke-cargo.yaml @@ -441,7 +441,7 @@ output: - [Release notes](https://github.com/time-rs/time/releases) - [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md) - [Commits](https://github.com/time-rs/time/compare/v0.3.0-alpha-2...v0.3.20) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -717,7 +717,7 @@ output: - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.3) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -977,7 +977,7 @@ output: - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/8792268dfe57e49bb4518190bf4fe66176759a44...937320cbfeebd4352a23086d9c6e68f067f74644) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -1216,7 +1216,245 @@ output: Bumps [itoa](https://github.com/dtolnay/itoa) from 1.0.5 to 1.0.6. - [Release notes](https://github.com/dtolnay/itoa/releases) - [Commits](https://github.com/dtolnay/itoa/compare/ef4faeda61024dfb38b3897e46aeda8140828dc6...3cab737d59c60014655268a79930861db300023d) - grouped-update: false + dependency-group: {} + - type: create_pull_request + expect: + data: + base-commit-sha: 3d44220c5ab8e3c592b63373354a596b781f6e09 + dependencies: + - name: libc + previous-requirements: [] + previous-version: 0.2.141 + requirements: [] + version: 0.2.142 + updated-dependency-files: + - content: | + # This file is automatically @generated by Cargo. + # It is not intended for manual editing. + version = 3 + + [[package]] + name = "aho-corasick" + version = "0.7.20" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" + dependencies = [ + "memchr", + ] + + [[package]] + name = "cfg-if" + version = "1.0.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + + [[package]] + name = "const_fn" + version = "0.4.9" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "fbdcdcb6d86f71c5e97409ad45898af11cbc995b4ee8112d59095a28d376c935" + + [[package]] + name = "dependabot" + version = "0.1.0" + dependencies = [ + "itoa", + "rand", + "regex", + "time", + ] + + [[package]] + name = "easy-ext" + version = "0.2.9" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "53aff6fdc1b181225acdcb5b14c47106726fd8e486707315b1b138baed68ee31" + + [[package]] + name = "getrandom" + version = "0.2.9" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" + dependencies = [ + "cfg-if", + "libc", + "wasi", + ] + + [[package]] + name = "itoa" + version = "1.0.5" + source = "git+https://github.com/dtolnay/itoa.git?tag=1.0.5#ef4faeda61024dfb38b3897e46aeda8140828dc6" + + [[package]] + name = "libc" + version = "0.2.142" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" + + [[package]] + name = "memchr" + version = "2.5.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" + + [[package]] + name = "ppv-lite86" + version = "0.2.17" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + + [[package]] + name = "rand" + version = "0.8.4" + source = "git+ssh://git@github.com/rust-random/rand.git?tag=0.8.4#8792268dfe57e49bb4518190bf4fe66176759a44" + dependencies = [ + "libc", + "rand_chacha", + "rand_core", + "rand_hc", + ] + + [[package]] + name = "rand_chacha" + version = "0.3.1" + source = "git+ssh://git@github.com/rust-random/rand.git?tag=0.8.4#8792268dfe57e49bb4518190bf4fe66176759a44" + dependencies = [ + "ppv-lite86", + "rand_core", + ] + + [[package]] + name = "rand_core" + version = "0.6.3" + source = "git+ssh://git@github.com/rust-random/rand.git?tag=0.8.4#8792268dfe57e49bb4518190bf4fe66176759a44" + dependencies = [ + "getrandom", + ] + + [[package]] + name = "rand_hc" + version = "0.3.1" + source = "git+ssh://git@github.com/rust-random/rand.git?tag=0.8.4#8792268dfe57e49bb4518190bf4fe66176759a44" + dependencies = [ + "rand_core", + ] + + [[package]] + name = "regex" + version = "1.6.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" + dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", + ] + + [[package]] + name = "regex-syntax" + version = "0.6.29" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + + [[package]] + name = "standback" + version = "0.3.5" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "a66b810a718e8ba519476ec4df79e2f380f568b83106b812b8182090e4bfba8d" + dependencies = [ + "easy-ext", + "version_check", + ] + + [[package]] + name = "time" + version = "0.3.0-alpha-2" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "0f906d7af3f9c93ef57452c3c7d577f0dcfa1700516dcd15c7ba75ede4f0ed08" + dependencies = [ + "const_fn", + "libc", + "standback", + ] + + [[package]] + name = "version_check" + version = "0.9.4" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + + [[package]] + name = "wasi" + version = "0.11.0+wasi-snapshot-preview1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + content_encoding: utf-8 + deleted: false + directory: /cargo + name: Cargo.lock + operation: update + support_file: false + type: file + pr-title: Bump libc from 0.2.141 to 0.2.142 in /cargo + pr-body: | + Bumps [libc](https://github.com/rust-lang/libc) from 0.2.141 to 0.2.142. +
+ Release notes +

Sourced from libc's releases.

+
+

0.2.142

+

What's Changed

+ +

New Contributors

+ +

Full Changelog: https://github.com/rust-lang/libc/compare/0.2.141...0.2.142

+
+
+
+ Commits + +
+
+ commit-message: |- + Bump libc from 0.2.141 to 0.2.142 in /cargo + + Bumps [libc](https://github.com/rust-lang/libc) from 0.2.141 to 0.2.142. + - [Release notes](https://github.com/rust-lang/libc/releases) + - [Commits](https://github.com/rust-lang/libc/compare/0.2.141...0.2.142) + dependency-group: {} - type: mark_as_processed expect: data: diff --git a/tests/smoke-go-security.yaml b/tests/smoke-go-security.yaml index cc63de5f..b053e448 100644 --- a/tests/smoke-go-security.yaml +++ b/tests/smoke-go-security.yaml @@ -187,7 +187,7 @@ output: Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.7.0 to 1.10.0. - [Release notes](https://github.com/fatih/color/releases) - [Commits](https://github.com/fatih/color/compare/v1.7.0...v1.10.0) - grouped-update: false + dependency-group: {} - type: mark_as_processed expect: data: diff --git a/tests/smoke-go.yaml b/tests/smoke-go.yaml index cbca2e5e..ada8a4a0 100644 --- a/tests/smoke-go.yaml +++ b/tests/smoke-go.yaml @@ -224,7 +224,7 @@ output: Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.7.0 to 1.13.0. - [Release notes](https://github.com/fatih/color/releases) - [Commits](https://github.com/fatih/color/compare/v1.7.0...v1.13.0) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -314,7 +314,7 @@ output: Bumps [github.com/inconshreveable/mousetrap](https://github.com/inconshreveable/mousetrap) from 0.0.0-20141017200713-76626ae9c91c to 1.1.0. - [Release notes](https://github.com/inconshreveable/mousetrap/releases) - [Commits](https://github.com/inconshreveable/mousetrap/commits/v1.1) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -429,7 +429,7 @@ output: Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20180617042118-027cca12c2d6 to 0.6.0. - [Release notes](https://github.com/golang/crypto/releases) - [Commits](https://github.com/golang/crypto/commits/v0.6.0) - grouped-update: false + dependency-group: {} - type: create_pull_request expect: data: @@ -524,7 +524,7 @@ output: Bumps [rsc.io/quote](https://github.com/rsc/quote) from 1.4.0 to 1.5.2. - [Release notes](https://github.com/rsc/quote/releases) - [Commits](https://github.com/rsc/quote/compare/v1.4.0...v1.5.2) - grouped-update: false + dependency-group: {} - type: mark_as_processed expect: data: