fsprojects / fsprojects/Paket

paket .net core fails to build git repo on unix/osx

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

Nobody has claimed this yet.

bug paket runtime: .net core
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Paket .net core fails to build git repo on unix/osx. works on win

Repro steps

a repo dependency like

git https://github.com/forki/nupkgtest.git build build:"build.cmd", Packages: /source/, OS:windows
git https://github.com/forki/nupkgtest.git build build:"build.sh", Packages: /source/, OS:mono
Expected behavior

Probably, the best is to run build.sh

Actual behavior

paket run build.cmd and fails

Known workarounds

None

Additional

Fails on tests:

  • #1353 should restore NuGet source from built git repo
  • #1353 should build NuGet source from git repo

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 the git-repository build flow described in issue #1353 and reproduce the two Paket commands on Unix or macOS. Compare the selected build command for OS:windows and OS:mono; done means the repository dependency runs build.sh on Unix/macOS and the referenced restore and build cases pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.