apache / apache/maven-scm

[SCM-870] ScmProvider.checkOut() should honor fileSet.getFileList()

Open
#1,095 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
104
Forks
189
Avg merge
17h 46m
Merged PRs (30d)
6

Description

**[Ilya Basin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=basinilya)** opened **[SCM-870](https://issues.apache.org/jira/browse/SCM-870?redirect=false)** and commented

If fileSet.getFileList() is not empty, the checkout commands should checkout only files requested.

For SVN and CVS it means that the common prefix of the fileList should be appended to the repo URL.

The git implementation should clone with --no-checkout and then checkout the files from the list.

---
No further details from [SCM-870](https://issues.apache.org/jira/browse/SCM-870?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ScmProvider.checkOut() and trace the SVN, CVS, and Git checkout implementations, focusing on fileSet.getFileList(). Compare how each provider constructs its checkout operation and verify behavior for a non-empty file list. Done means each mentioned provider checks out only the requested files while preserving the existing behavior for an empty list.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.