grgit

The Groovy way to use Git.

APACHE-2.0 License

Stars
516

Bot releases are hidden (Show)

grgit -

Published by ajoberstar over 6 years ago

Update dependencies and fix POM for Grgit to use static versions instead of ranges.

Breaking Changes

None

Enhancements

  • Bumps JGit dependency to 4.10.0.201712302008-r

Fixes

  • POM file for this project now uses fixed versions again. This was a symptom of using a dependency locking plugin without verifying the outputted POM.

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1, 4.3, 4.3.1, 4.4, 4.4.1, 4.5, 4.5.1

grgit -

Published by ajoberstar almost 7 years ago

Adds support for the match option on describe.

Breaking Changes

None

Enhancements

  • #183 Support git-describe --match
  • Bumps JGit dependency from 4.8.0.201706111038-r to 4.9.0.201710071750-r

Fixes

None

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1

grgit -

Published by ajoberstar about 7 years ago

Small fix release.

Breaking Changes

None

Enhancements

None

Fixes

  • #193 Commit.date was broken

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1-rc-1

grgit -

Published by ajoberstar about 7 years ago

This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), incorporate the org.ajoberstar.grgit Gradle plugin, and a few miscellaneous features.

All documentation has also been revised and migrated to a site that should be a little more friendly.

Breaking Changes

  • #180 Require Java 8
  • #67 Removed deprecated methods:
    • Grgit.open(String)
    • Grgit.open(String, Credentials)
    • Grgit.open(File)
    • Grgit.open(File, Credentials)
    • branch field on grgit.branch.status(...)

Enhancements

  • #187 The org.ajoberstar.grgit plugin was added to this project (migrated from gradle-git)
    • After all tasks have finished the grgit instance will be closed
    • Plugin will warn you if you apply the plugin in a way that causes one project to overwrite another's grgit property.
  • #85 Methods on Grgit are now generated by an AST transformation, so they should be visible in IDE completion.
  • #174 grgit.describe(...) now supports a longDescr option to force it to always output the more verbose format (thanks to Frank Vennemeyer)
  • #172 grgit.describe(...) now supports a commit option to choose an alternate target to describe than HEAD (thanks to Frank Vennemeyer)
  • Introduced grgit.branch.current() to replace the now deprecated grgit.branch.getCurrent(). These have identical functionality.

Fixes

  • #171 Safer selection of Jsch agent for authentication

Deprecations

  • grgit.branch.current / grgit.branch.getCurrent() has been deprecated in favor of grgit.branch.current()

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1-rc-1

grgit -

Published by ajoberstar about 7 years ago

This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), incorporate the org.ajoberstar.grgit Gradle plugin, and a few miscellaneous features.

Breaking Changes

  • #180 Require Java 8
  • #67 Removed deprecated methods:
    • Grgit.open(String)
    • Grgit.open(String, Credentials)
    • Grgit.open(File)
    • Grgit.open(File, Credentials)
    • branch field on grgit.branch.status(...)

Enhancements

  • #187 The org.ajoberstar.grgit plugin was added to this project (migrated from gradle-git)
    • After all tasks have finished the grgit instance will be closed
    • Plugin will warn you if you apply the plugin in a way that causes one project to overwrite another's grgit property.
  • #85 Methods on Grgit are now generated by an AST transformation, so they should be visible in IDE completion.
  • #174 grgit.describe(...) now supports a longDescr option to force it to always output the more verbose format (thanks to Frank Vennemeyer)
  • #172 grgit.describe(...) now supports a commit option to choose an alternate target to describe than HEAD (thanks to Frank Vennemeyer)

Fixes

  • #171 Safer selection of Jsch agent for authentication

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1-rc-1

grgit -

Published by ajoberstar about 7 years ago

This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), incorporate the org.ajoberstar.grgit Gradle plugin, and a few miscellaneous features.

Breaking Changes

  • #180 Require Java 8
  • #67 Removed deprecated methods:
    • Grgit.open(String)
    • Grgit.open(String, Credentials)
    • Grgit.open(File)
    • Grgit.open(File, Credentials)
    • branch field on grgit.branch.status(...)

Enhancements

  • #187 The org.ajoberstar.grgit plugin was added to this project (migrated from gradle-git)
  • #85 Methods on Grgit are now generated by an AST transformation, so they should be visible in IDE completion.
  • #174 grgit.describe(...) now supports a longDescr option to force it to always output the more verbose format (thanks to Frank Vennemeyer)
  • #172 grgit.describe(...) now supports a commit option to choose an alternate target to describe than HEAD (thanks to Frank Vennemeyer)

Fixes

  • #171 Safer selection of Jsch agent for authentication

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: untested

grgit -

Published by ajoberstar about 7 years ago

This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), and a few miscellaneous features.

Breaking Changes

  • #180 Require Java 8
  • #67 Removed deprecated methods:
    • Grgit.open(String)
    • Grgit.open(String, Credentials)
    • Grgit.open(File)
    • Grgit.open(File, Credentials)
    • branch field on grgit.branch.status(...)

Enhancements

  • #85 Methods on Grgit are now generated by an AST transformation, so they should be visible in IDE completion.
  • #174 grgit.describe(...) now supports a longDescr option to force it to always output the more verbose format (thanks to Frank Vennemeyer)
  • #172 grgit.describe(...) now supports a commit option to choose an alternate target to describe than HEAD (thanks to Frank Vennemeyer)

Fixes

  • #171 Safer selection of Jsch agent for authentication

Deprecations

None

Compatibility

Java: requires 8 or higher

grgit -

Published by ajoberstar over 7 years ago

This is a fix release to resolve an issue introduced in 1.9.1.

Enhancements

None

Fixes

  • #163 Unable to provide credentials to repository

Compatibility

Java: requires 7 or higher

grgit -

Published by ajoberstar over 7 years ago

This is a fix release to resolve an issue introduced in 1.9.1.

Enhancements

None

Fixes

  • #163 Unable to provide credentials to repository

Compatibility

Java: requires 7 or higher

grgit -

Published by ajoberstar over 7 years ago

This is a fix release to resolve a breaking change in the transitive dependencies of grgit. 1.9.0 and 1.9.1 depended on JGit 4.6, which requires Java 8. This release downgrades to 4.5, which supports Java 7.

Enhancements

None

Fixes

  • #160 Restore Java 7 compatibility by downgrading JGit dependency to 4.5.2.201704071617-r

Compatibility

Java: requires 7 or higher

grgit -

Published by ajoberstar over 7 years ago

WARNING: This release unintentionally requires Java 8 due to it's updated JGit dependency. 1.9.2 resolves this.

This is a fix release to resolve an exception when you use username-only credentials (like GitHub personal access tokens).

Enhancements

None

Fixes

  • #153 Username-only credentials caused an exception

Compatibility

Java: requires 7 or higher requires 8 or higher (due to mistaken JGit upgrade)

grgit -

Published by ajoberstar over 7 years ago

This is a fix release to resolve an exception when you use username-only credentials (like GitHub personal access tokens).

Enhancements

None

Fixes

  • #153 Username-only credentials caused an exception

Compatibility

Java: requires 7 or higher

grgit -

Published by ajoberstar over 7 years ago

WARNING: This release unintentionally requires Java 8 due to it's updated JGit dependency. 1.9.2 resolves this.

This is a feature release to support more options for SSH keys. When specifying an SSH private key path, you can also specify its passphrase via system property. See AuthConfig for all options.

Enhancements

  • #139 Add system property to specify SSH passphrase
  • JGit dependency upgraded from 4.5.0.201609210915-r to 4.6.1.201703071140-r
  • Groovy dependency upgraded from 2.4.5 to 2.4.10
  • SLF4J dependency upgraded from 1.7.21 to 1.7.25

Fixes

None

Compatibility

Java: requires 7 or higher requires 8 or higher (due to mistaken JGit upgrade)

grgit -

Published by ajoberstar almost 8 years ago

  • Enhancement #135: Support credentials from GRGIT_USER and GRGIT_PASS environment variables
  • Enhancement: Upgraded to JGit 4.5.0.201609210915-r
  • Enhancement: Upgraded to JSCH 0.1.54 (this may resolve #123)
  • Fix #132: Better management of resources opened by Grgit
grgit - 1.8.0-rc.1

Published by ajoberstar almost 8 years ago

  • Enhancement #135: Support credentials from GRGIT_USER and GRGIT_PASS environment variables
  • Enhancement: Upgraded to JGit 4.5.0.201609210915-r
  • Enhancement: Upgraded to JSCH 0.1.54 (this may resolve #123)
  • Fix #132: Better management of resources opened by Grgit
grgit - 1.7.3-rc.1

Published by ajoberstar almost 8 years ago

  • Enhancement: Upgraded to JGit 4.5.0.201609210915-r
  • Enhancement: Upgraded to JSCH 0.1.54 (this may resolve #123)
  • Fix #132: Better management of resources opened by Grgit
grgit - 1.7.2

Published by ajoberstar almost 8 years ago

  • Fix #132: Cloned repos could not be deleted after the close method was called
grgit - 1.7.1

Published by ajoberstar almost 8 years ago

  • Fix #128 GrgitException is thrown if repository cannot be found. (A change in JGit caused this not to be caught previously.)
grgit - 1.7.1-rc.1

Published by ajoberstar almost 8 years ago

  • Fix #128 GrgitException is thrown if repository cannot be found. (A change in JGit caused this not to be caught previously.)
grgit - 1.7.0

Published by ajoberstar over 8 years ago

Public Changes

  • Enhancement #109 (also fixes #95): The JSch session can now be customized via system properties. Most notably this allows you to disable StrictHostKeyChecking. (Thanks to Piotr Wielgolaski)
  • Enhancement #112 (also fixes #110): Statuses now include any conflicting paths, which can help programmatically resolve a merge conflict. (Thanks to Blacktiger for the original PR)
  • Enhancement #106: Bumped dependency on JGit to 4.3.1.201605051710-r

Internal changes

  • Enhancement #112 (and #113): Using an explicit compileOnly dependency on Groovy 2.4.5 (instead of Gradle's localGroovy)