racket / racket/racket

[Feature Request] Allow `raco pkg update --cloning` with `--filter=blob:none` (or other Git switches)

Open
#5,137 2 comments 0 reactions 0 assignees View on GitHub

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:

  1. Use --filter=blob:none or --depth to avoid retrieving all objects
  2. Use --recurse-submodules when, e.g., the repository contains submodules
  3. Directly pick a specific branch or pick an alternative reference, without using the registered data in the catalog

Contributor guide

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.