The fix for #3307 was done for GitRepository only. This bug tracks the rest of the repositories.
Contributor guide
Tech stack
java
Domain
backend
Issue type
bug
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
half day
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Understanding of Opengrok repository abstractionBasic Java
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
35
Research direction
Start by examining the implementation of isWorking() in GitRepository.java from the fix for #3307. Then locate the corresponding classes for other repository types (e.g., MercurialRepository, SubversionRepository) in the same package. Implement isWorking() for each by following the same pattern, ensuring to check the underlying repository status. Consider any existing tests for GitRepository and replicate them for the new implementations. Review the comments in issue #3487 for any additional requirements or caveats.
address isWorking() for other repository types · oracle/opengrok#3487 | Good First Issue