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(gradle): merge gradle-lite into gradle #10132

Merged
merged 16 commits into from Jul 28, 2021
Merged

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented May 24, 2021

Changes:

Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Context:

Closes #10091

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 tick one)

I have verified these changes via:

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

viceice
viceice previously approved these changes May 25, 2021
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.

I've fixed some type imports 🙃

docs/usage/configuration-options.md Outdated Show resolved Hide resolved
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
HonkingGoose
HonkingGoose previously approved these changes May 25, 2021
};
return config.deepExtract
? deep.extractAllPackageFiles(config, packageFiles)
: shallow.extractAllPackageFiles(config, packageFiles);
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's good it's only can be either deep or shallow, not both. I doubt the reasonable mixed solution is possible.

@HonkingGoose HonkingGoose added the breaking Breaking change, requires major version bump label May 28, 2021
@HonkingGoose
Copy link
Collaborator

I'm not sure if this is breaking or not, the issue that's getting closed by this PR is labeled breaking, so I guess this PR is breaking as well?

name: 'deepExtract',
description: `Enable extraction of dependencies using package managers.`,
type: 'boolean',
default: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

If you're not ready to merge a breaking change yet, I'd recommend setting this to true, merging this PR as a non-breaking change, and then open another one which is marked as breaking where you change this to false.

Lowers the risk of getting merge conflicts if you want to wait and collect many breaking changes into a single release.

…le-lite

# Conflicts:
#	lib/manager/gradle/deep/index.spec.ts
#	lib/manager/gradle/deep/utils.ts
@rarkins rarkins changed the base branch from main to v26 July 27, 2021 16:42
# Conflicts:
#	lib/manager/gradle-lite/readme.md
@rarkins rarkins marked this pull request as ready for review July 27, 2021 19:52
@rarkins rarkins merged commit c4a0fc7 into v26 Jul 28, 2021
@rarkins rarkins deleted the feat/10091-merge-gradle-lite branch July 28, 2021 04:20
rarkins added a commit that referenced this pull request Jul 28, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Jul 29, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 2, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 9, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 13, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 13, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 15, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 16, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 17, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
rarkins added a commit that referenced this pull request Aug 17, 2021
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2021
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.

Merge gradle and gradle-lite
5 participants