No .git directory found!
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- build-system
Research direction
Start by inspecting script-git-version.gradle and reproducing the Gradle build in the reported checkout. Determine why Grgit.open requires a .git directory, then verify that the project builds successfully in the affected environment without this exception.
Written by the indexing model from the issue text.
Description
Error build gradle : Caused by: java.lang.IllegalStateException: No .git directory found!
In script-git-version.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.ajoberstar.grgit:grgit-core:4.1.1'
}
}
import org.ajoberstar.grgit.Grgit
ext {
git = Grgit.open(currentDir: projectDir)
gitCommitHash = git.head().abbreviatedId
gitNumberOfCommits = git.log().size()
gitTagDescription = git.describe(tags: true)
git.close()
}
- Dominant language
- Kotlin
- Stars
- 65
- Forks
- 56
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/mapbox-navigation-android-examples
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
mapbox/mapbox-navigation-android-examples#207 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in mapbox/mapbox-navigation-android-examples
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug 🐞 Untriaged user issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
valkey-io/valkey-glide#7306 · 1 comment ·
Maintainers usually reply within 2 days
-
Bookmarking an article that is already bookmarked under its redirect URL deletes both bookmarksPossibly taken @aakarshitv claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
kiwix/kiwix-android#5176 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 77/100
open-telemetry/opentelemetry-kotlin#1202 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day