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

Update plugin org.ajoberstar.git-publish to v5 #135

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.ajoberstar.git-publish 4.2.2 -> 5.1.0 age adoption passing confidence

Release Notes

ajoberstar/gradle-git-publish (org.ajoberstar.git-publish)

v5.1.0

Compare Source

Resolves some regressions discovered by @​marcphilipp.

Most notably, with Grgit removed any authentication methods you previously used such as GRGIT_USER or -Dorg.ajoberstar.grgit.auth.username won't work in v5. This version adds new options to replace them.

Breaking Changes

None

Enhancements

  • #​115 Adds username and password properties to GitPublication for cases where credentials are needed (via #​116)

Fixes

  • #​114 Fixes use of fetchDepth when the project is in a shallow clone (via #​116)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.11.1
17 7.3.3, 7.6.4, 8.0.2, 8.11.1
21 8.4, 8.11.1

v5.0.0

Compare Source

Major change to reimplement using the Git CLI. The prior versions used grgit, which is deprecated and not necessary for the functionality of this plugin.

Using the Git CLI reduces use of further dependencies and increases compatibility with different Git features that JGit (which grgit wrapped) struggled with.

Since 5.0.0-beta.2: Unchanged

Since 5.0.0-beta.1: suppressed some of the noisy output and attempted a fix for #​112 by using objects/info/alternates to reference the project's checkout repo rather than a full remote.

Breaking Changes

  • #​111 Removed use of grgit, in favor of directly using the git CLI.
  • GitPublishPush will report UP_TO_DATE instead of SKIPPED if there aren't any commits to push up
  • Output of the tasks is different (since some of it is native git CLI output)

Enhancements

None

Fixes

  • #​113 Use more efficient reference repo mechanism (objects/info/alternates) which should avoid issues with lightweight checkouts (see #​112)
  • #​113 Prevent fetching tags from remote
  • #​113 Suppress warnings about initial branch during gitPublishReset

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.11.1
17 7.3.3, 7.6.4, 8.0.2, 8.11.1
21 8.4, 8.11.1

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled because a matching PR was automerged previously.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/org.ajoberstar.git-publish-5.x branch from d2c7f78 to 65d3b34 Compare December 10, 2024 06:19
Copy link
Contributor Author

renovate bot commented Dec 10, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@marcphilipp marcphilipp force-pushed the renovate/org.ajoberstar.git-publish-5.x branch from c44f38f to 28b9faa Compare December 10, 2024 12:14
@marcphilipp marcphilipp merged commit 486df02 into main Dec 10, 2024
5 checks passed
@marcphilipp marcphilipp deleted the renovate/org.ajoberstar.git-publish-5.x branch December 10, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant