Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(package-rules)!: match packageName for matchPackageNames #22703

Merged
merged 25 commits into from
Jun 24, 2023

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented Jun 12, 2023

Changes

Now matches against packageName for matchPackageNames, and warns if the fallback depName is used.

Context

Closes #20926

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@rarkins rarkins added the breaking Breaking change, requires major version bump label Jun 12, 2023
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like PR needs a rebase

docs/usage/configuration-options.md Outdated Show resolved Hide resolved
docs/usage/configuration-options.md Outdated Show resolved Hide resolved
lib/config/migrations/custom/package-rules-migration.ts Outdated Show resolved Hide resolved
RahulGautamSingh and others added 2 commits June 18, 2023 10:13
Changes fetchReleaseNotes from boolean to enum, with values off, branch, pr.

Closes #20476

BREAKING CHANGE: Release notes won't be fetched early for commitBody insertion unless explicitly configured with fetchReleaseNotes=branch
# Conflicts:
#	lib/modules/platform/gitea/index.md
@rarkins rarkins force-pushed the feat/20926-match-package-names branch from 78e9b8a to 553d2bc Compare June 18, 2023 08:47
@rarkins rarkins force-pushed the v36 branch 2 times, most recently from a759d49 to f0ca46e Compare June 18, 2023 10:18
@rarkins rarkins requested a review from viceice June 18, 2023 19:13
lib/util/package-rules/package-names.ts Outdated Show resolved Hide resolved
lib/util/package-rules/package-patterns.ts Outdated Show resolved Hide resolved
@rarkins rarkins requested a review from viceice June 19, 2023 12:21
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see new comments

@rarkins rarkins requested a review from viceice June 24, 2023 14:37
@rarkins rarkins enabled auto-merge (squash) June 24, 2023 16:50
@rarkins rarkins merged commit 7cc60bb into v36 Jun 24, 2023
@rarkins rarkins deleted the feat/20926-match-package-names branch June 24, 2023 16:51
@rarkins rarkins mentioned this pull request Jun 27, 2023
28 tasks
rarkins added a commit that referenced this pull request Jul 4, 2023
Closes #20926

BREAKING CHANGE: matchPackageNames now matches both depName (existing) and packageName (new)
rarkins added a commit that referenced this pull request Jul 4, 2023
Closes #20926

BREAKING CHANGE: matchPackageNames now matches both depName (existing) and packageName (new)
rarkins added a commit that referenced this pull request Jul 4, 2023
Closes #20926

BREAKING CHANGE: matchPackageNames now matches both depName (existing) and packageName (new)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change, requires major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants