Skip to content

Conversation

vladak
Copy link
Member

@vladak vladak commented May 23, 2025

To update JGit to the newest version (PR #4781), it is necessary to replace the to be deprecated APIs, namely the PersonIdent#getWhen() (eclipse-jgit/jgit@92b35db)

This change will fix the following warning for newer (7.x) JGit versions:

Warning: /Users/runner/work/opengrok/opengrok/opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java:[536,48] getWhen() in org.eclipse.jgit.lib.PersonIdent has been deprecated

@vladak vladak added the indexer label May 23, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 23, 2025
@vladak vladak merged commit 4e8e3ec into oracle:master May 23, 2025
10 checks passed
@vladak vladak deleted the jgit_author_ident_get_when branch May 23, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexer OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant