fsprojects / fsprojects/Paket

paket outdated creates empty paket.dependencies files for files defined by github

Open
#2,948 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

paket outdated creates empty paket.dependencies files for files defined by github

Repro steps

(1) Create paket.dependencies

github forki/FsUnit FsUnit.fs

(2) Invoke paket install

As a result, the following files are downloaded/created

    paket-files\forki\FsUnit
        FsUnit.fs
        paket.version

(3) Invoke paket outdated

As a result an empty file paket.dependencies is added to paket-files\forki\FsUnit

Expected behavior

Empty files paket.dependencies are not created.

Actual behavior

Empty files paket.dependencies are created.

Known workarounds

N/A

Version

Paket version 5.126.4

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

Reproduce the issue with paket.dependencies containing the shown github declaration, then run paket install followed by paket outdated. Trace how paket outdated handles the downloaded paket-files/forki/FsUnit/FsUnit.fs and paket.version files; done means it no longer creates an empty paket.dependencies file there.

Written by the indexing model from the issue text.

Assessment

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