fsprojects / fsprojects/Paket

Paket.Push showing inconsistent behaviour

Open
#2,869 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug paket pack push sdk: dotnet/sdk
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

After publishing dotnet-fable 1.3.0-beta-003 when I tried to use the package, after downloading it normally with Paket and running dotnet fable I get the following message:

No executable found matching command "dotnet-fable"

After several tries, and thanks to Enrico's help I noticed the dotnet-fable 1.3.0-beta-003 package didn't contain a lib folder. You can check that by manually downloading the package and uncompressing it (that's the same for the same version of Fable.Core and Fable.Compiler packages). I pushed a couple of packages more making some changes in the .fsproj file without luck, finally I created and pushed the package manually using the dotnet nuget push command and that time it worked. The PublishPackages target in Fable's build.fsx calls Paket.Push so I'm assuming the problem is there, but I don't know what exactly triggered it as it as working for 1.3.0-beta-002 and before.

Some things that changed when publishing 1.3.0-beta-003:

The same day I pushed Fable.Import.Browser which also invokes Paket.Push but in this case it worked 🤔

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 with Fable's build.fsx around the PublishPackages target and its Paket.Push call. Compare the 1.3.0-beta-003 publication path with 1.3.0-beta-002 and the working Fable.Import.Browser push, focusing on why the package lacks a lib folder. Done means Paket.Push produces packages usable by dotnet fable, like those pushed with dotnet nuget push.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, release
Issue type
Bug
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.