Expose isShallow from ScmProviderRepository

Open Beginner friendly
#1,379 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
build-system

Research direction

Start by locating ScmProviderRepository and reading how repository state, including shallow clones, is represented. Add an accessor that reports whether the repository is shallow-cloned, then verify the exposed value against the repository state; the issue does not name a specific test.

Written by the indexing model from the issue text.

Description

enhancement
New feature, improvement proposal

Git supports shallow clones. However those behave differently in certain aspects (e.g. #1378). Therefore a getter method exposing for a repository if it is shallow cloned or not would be beneficial.

Dominant language
Java
Stars
104
Forks
189
Avg merge
12h 54m
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-scm

All issues in apache/maven-scm

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.