diff --git a/.github/workflows/cache-all.yml b/.github/workflows/cache-all.yml index 456bcefb..4e0cabd2 100644 --- a/.github/workflows/cache-all.yml +++ b/.github/workflows/cache-all.yml @@ -20,6 +20,7 @@ jobs: suite: - { path: tests/smoke-actions.yaml, name: actions } - { path: tests/smoke-bundler.yaml, name: bundler } + - { path: tests/smoke-bundler-grouped.yaml, name: bundler-grouped } - { path: tests/smoke-cargo.yaml, name: cargo } - { path: tests/smoke-composer.yaml, name: composer } - { path: tests/smoke-docker.yaml, name: docker } diff --git a/.github/workflows/cache-one.yml b/.github/workflows/cache-one.yml index 4af6976a..50463e2f 100644 --- a/.github/workflows/cache-one.yml +++ b/.github/workflows/cache-one.yml @@ -15,6 +15,7 @@ on: options: - actions - bundler + - bundler-grouped - cargo - composer - docker diff --git a/.github/workflows/refresh-artifacts.yml b/.github/workflows/refresh-artifacts.yml index 14ab72ec..a9abddf6 100644 --- a/.github/workflows/refresh-artifacts.yml +++ b/.github/workflows/refresh-artifacts.yml @@ -18,6 +18,7 @@ jobs: suite: - actions - bundler + - bundler-grouped - cargo - composer - docker diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 3983347a..97751ab9 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -20,6 +20,7 @@ jobs: suite: - actions - bundler + - bundler-grouped - cargo - composer - docker diff --git a/tests/smoke-bundler-grouped.yaml b/tests/smoke-bundler-grouped.yaml new file mode 100644 index 00000000..7c5119f2 --- /dev/null +++ b/tests/smoke-bundler-grouped.yaml @@ -0,0 +1,457 @@ +input: + job: + package-manager: bundler + allowed-updates: + - dependency-type: direct + update-type: all + experiments: + grouped-updates-prototype: true + ignore-conditions: + - dependency-name: rubocop + source: tests/smoke-bundler-grouped.yaml + version-requirement: '>1.48.1' + - dependency-name: rack + source: tests/smoke-bundler-grouped.yaml + version-requirement: '>36ebd3d0ca0c7348e18dcdc4b5d2530e04238b8a' + source: + provider: github + repo: dependabot/smoke-tests + directory: /bundler + commit: 9ffecff4331b1e572747ef9b317196c1bfe5db3b + hostname: github.com + api-endpoint: https://api.github.com/ + commit-message-options: {} + credentials-metadata: + - host: github.com + type: git_source + - host: github.com + type: git_source + max-updater-run-time: 2700 + credentials: + - host: github.com + password: $LOCAL_GITHUB_ACCESS_TOKEN + type: git_source + username: x-access-token +output: + - type: record_package_manager_version + expect: + data: + ecosystem: bundler + package-managers: + bundler: "2" + - type: update_dependency_list + expect: + data: + dependencies: + - name: rubocop + requirements: + - file: Gemfile + groups: + - default + requirement: 0.76.0 + source: null + version: 0.76.0 + - name: toml-rb + requirements: + - file: Gemfile + groups: + - default + requirement: 2.2.0 + source: null + version: 2.2.0 + - name: rack + requirements: + - file: Gemfile + groups: + - default + requirement: '>= 0' + source: + branch: null + ref: 2.1.4 + type: git + url: git@github.com:rack/rack.git + version: f3cf79d6460dc592767941806d1b2b7008f73e01 + - name: ast + requirements: [] + version: 2.4.2 + - name: citrus + requirements: [] + version: 3.0.2 + - name: jaro_winkler + requirements: [] + version: 1.5.4 + - name: parallel + requirements: [] + version: 1.22.1 + - name: parser + requirements: [] + version: 3.1.2.0 + - name: rainbow + requirements: [] + version: 3.1.1 + - name: ruby-progressbar + requirements: [] + version: 1.11.0 + - name: unicode-display_width + requirements: [] + version: 1.6.1 + dependency_files: + - /bundler/Gemfile + - /bundler/Gemfile.lock + - type: create_pull_request + expect: + data: + base-commit-sha: 9ffecff4331b1e572747ef9b317196c1bfe5db3b + dependencies: + - name: rubocop + previous-requirements: + - file: Gemfile + groups: + - default + requirement: 0.76.0 + source: null + previous-version: 0.76.0 + requirements: + - file: Gemfile + groups: + - default + requirement: 1.48.1 + source: null + version: 1.48.1 + - name: rack + previous-requirements: + - file: Gemfile + groups: + - default + requirement: '>= 0' + source: + branch: null + ref: 2.1.4 + type: git + url: git@github.com:rack/rack.git + previous-version: f3cf79d6460dc592767941806d1b2b7008f73e01 + requirements: + - file: Gemfile + groups: + - default + requirement: '>= 0' + source: + branch: null + ref: v3.0.7 + type: git + url: git@github.com:rack/rack.git + version: 36ebd3d0ca0c7348e18dcdc4b5d2530e04238b8a + updated-dependency-files: + - content: | + # frozen_string_literal: true + + source "https://rubygems.org" + + gem "rubocop", "1.48.1" + gem "toml-rb", "2.2.0" + gem 'rack', git: 'git@github.com:rack/rack.git', tag: 'v3.0.7' + content_encoding: utf-8 + deleted: false + directory: /bundler + name: Gemfile + operation: update + support_file: false + type: file + - content: | + GIT + remote: git@github.com:rack/rack.git + revision: 36ebd3d0ca0c7348e18dcdc4b5d2530e04238b8a + tag: v3.0.7 + specs: + rack (3.0.7) + + GEM + remote: https://rubygems.org/ + specs: + ast (2.4.2) + citrus (3.0.2) + json (2.6.3) + parallel (1.22.1) + parser (3.2.1.1) + ast (~> 2.4.1) + rainbow (3.1.1) + regexp_parser (2.7.0) + rexml (3.2.5) + rubocop (1.48.1) + json (~> 2.3) + parallel (~> 1.10) + parser (>= 3.2.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.26.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.27.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) + toml-rb (2.2.0) + citrus (~> 3.0, > 3.0) + unicode-display_width (2.4.2) + + PLATFORMS + ruby + + DEPENDENCIES + rack! + rubocop (= 1.48.1) + toml-rb (= 2.2.0) + + BUNDLED WITH + 2.1.4 + content_encoding: utf-8 + deleted: false + directory: /bundler + name: Gemfile.lock + operation: update + support_file: false + type: file + pr-title: Bump rubocop and rack in /bundler + pr-body: | + Bumps [rubocop](https://github.com/rubocop/rubocop) and [rack](https://github.com/rack/rack). These dependencies needed to be updated together. + Updates `rubocop` from 0.76.0 to 1.48.1 +
+ Release notes +

Sourced from rubocop's releases.

+
+

RuboCop 1.48.1

+

Bug fixes

+ +

RuboCop 1.48

+

New features

+ +

Bug fixes

+ +

Changes

+ + +
+

... (truncated)

+
+
+ Changelog +

Sourced from rubocop's changelog.

+
+

1.48.1 (2023-03-13)

+

Bug fixes

+ +

1.48.0 (2023-03-06)

+

New features

+ +

Bug fixes

+ +

Changes

+ +

1.47.0 (2023-03-01)

+

New features

+ +

Bug fixes

+ + +
+

... (truncated)

+
+
+ Commits + +
+
+ + Updates `rack` from 2.1.4 to v3.0.7 +
+ Release notes +

Sourced from rack's releases.

+
+

v3.0.7

+

What's Changed

+ +

Full Changelog: https://github.com/rack/rack/compare/v3.0.6.1...v3.0.7

+

v3.0.6.1

+

No release notes provided.

+

v3.0.4.1

+

Full Changelog: https://github.com/rack/rack/compare/v3.0.4...v3.0.4.1

+

v3.0.4

+

Full Changelog: https://github.com/rack/rack/compare/v3.0.3...v3.0.4

+

v3.0.3

+

What's Changed

+ +

Full Changelog: https://github.com/rack/rack/compare/v3.0.2...v3.0.3

+

v3.0.2

+

Full Changelog: https://github.com/rack/rack/compare/v3.0.1...v3.0.2

+

v2.2.6.4

+

No release notes provided.

+
+
+
+ Changelog +

Sourced from rack's changelog.

+
+

[3.0.7] - 2023-03-16

+ +

[3.0.6.1] - 2023-03-13

+ +

[3.0.6] - 2023-03-13

+ +

[3.0.5] - 2023-03-13

+ +

[3.0.4.2] - 2023-03-02

+ +

[3.0.4.1] - 2023-01-17

+ +

[3.0.4] - 2023-01-17

+ +

[3.0.3] - 2022-12-27

+

Fixed

+ +

[3.0.2] -2022-12-05

+

Fixed

+ +

[3.0.1] - 2022-11-18

+

Fixed

+ + +
+

... (truncated)

+
+
+ Commits + +
+
+ commit-message: |- + Bump rubocop and rack in /bundler + + Bumps [rubocop](https://github.com/rubocop/rubocop) and [rack](https://github.com/rack/rack). These dependencies needed to be updated together. + + Updates `rubocop` from 0.76.0 to 1.48.1 + - [Release notes](https://github.com/rubocop/rubocop/releases) + - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) + - [Commits](https://github.com/rubocop/rubocop/compare/v0.76.0...v1.48.1) + + Updates `rack` from 2.1.4 to v3.0.7 + - [Release notes](https://github.com/rack/rack/releases) + - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) + - [Commits](https://github.com/rack/rack/compare/f3cf79d6460dc592767941806d1b2b7008f73e01...36ebd3d0ca0c7348e18dcdc4b5d2530e04238b8a) + grouped-update: true + - type: mark_as_processed + expect: + data: + base-commit-sha: 9ffecff4331b1e572747ef9b317196c1bfe5db3b