fsprojects / fsprojects/Paket

paket add using groups does not indent when adding to paket.dependecies

Open
#3,784 1 comment 3 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

indentation in paket.dependencies isn't applied when running paket add Package -g Group

it's only a cosmetic thing but it also means we can have a tabs vs spaces argument 👍

Repro steps

using groups in paket.dependecies add a package to a group

image

Expected behavior

Indentation

Actual behavior

no indentation

Known workarounds

keeping an eye out for it in pull requests and 'polite reminder emails'

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 reproducing paket add Package -g Group in a project using groups, then trace the Paket code that writes additions to paket.dependencies. Compare the generated indentation with the existing group style; done means newly added packages are indented consistently without changing unrelated dependency entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.