[Feature Request] Allow `raco pkg update --cloning` with `--filter=blob:none` (or other Git switches)
Open
Nobody has claimed this yet.
component: package
feature request
- Dominant language
- Racket
- Stars
- 5.2k
- Forks
- 698
- Avg merge
- 18h 34m
- Merged PRs (30d)
- 5
Description
Describe the solution you'd like
It would be useful for raco pkg update --clone take additional Git switches (from the command line) and forward thenm to git when cloning the repository. Two example use cases:
- Use
--filter=blob:noneor--depthto avoid retrieving all objects - Use
--recurse-submoduleswhen, e.g., the repository contains submodules - Directly pick a specific branch or pick an alternative reference, without using the registered data in the catalog
Contributor 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.
Research direction
Locate the raco pkg update --cloning command and its Git clone invocation; review how command-line options are parsed and forwarded. Define support for --filter=blob:none, --depth, --recurse-submodules, and alternate branches or references, then verify each requested switch reaches Git during cloning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100