fsprojects / fsprojects/Paket

Paket Add should automatically add to a single project solution

Open
#3,724 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

Particularly when people are learning about Paket, they test this with a single e.g. executable project. To make life as simple as possible, I propose that calling paket add should automatically add the dependency if there is a single project in the folder - even if it doesn't yet have a paket.references file.

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 at the paket add command entry point and trace how projects and paket.references files are selected. Investigate the single-project case described in the issue. Done means that running paket add in a folder with one project adds the dependency even when that project has no existing paket.references file.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, tooling
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.