fsprojects / fsprojects/Paket

Option to ignore folders or limit depth of scan

Open
#3,292 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

This issue has come up a few times already and the resolution in those cases is to stop processing when another paket.dependencies file is encountered, but my reasons for wanting this are a slightly different.

For most of my solutions Paket install takes 1-3 seconds after the first time which is awesome, but I have one really big solution where Paket install takes over 8 minutes simply because of the number of files in the solution.

In my case all of the .csproj files are 1 directory below the solution and there is no need to scan any deeper. I suspect that this is the majority use case.

Known workarounds

I can create dummy paket.dependencies files in each sub-folder to stop Paket from going any deeper, but this feels like a real hack.

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.

Research direction

Start by tracing how Paket install scans solution folders and how encountering another paket.dependencies file currently stops processing. Define where an ignore-folder or maximum-depth option would be configured, then verify that the option limits scanning without requiring dummy files and improves the large-solution case.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli
Issue type
Feature
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.