Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2025

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v5.1.1

Compare Source

Resolves a scenario where the credentials provided in the plugin block do not take precedence over a global credentials provider. If credentials are not provided to the plugin, the global credentials helper(s) will still be used.

Breaking Changes

None

Enhancements

None

Fixes

  • #​118 Ensure that credentials provided in the build file take precedence over any global credential helpers.

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.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 - "* * * * 0,6" (UTC), Automerge - "* 0-4,22-23 * * 1-5,* * * * 0,6" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

@LukasBrand LukasBrand enabled auto-merge March 17, 2025 09:12
@Donnerbart Donnerbart force-pushed the renovate/mqtt-cli/master-org.ajoberstar.git-publish-5.x branch from af877e1 to 2c9ca82 Compare March 17, 2025 10:55
@LukasBrand LukasBrand merged commit 38e5718 into master Mar 17, 2025
6 checks passed
@LukasBrand LukasBrand deleted the renovate/mqtt-cli/master-org.ajoberstar.git-publish-5.x branch March 17, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant