fsprojects / fsprojects/Paket

paket restore for repos referenced via `github`

Open
#1,443 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement github spec up-for-grabs
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

I know in paket v3 it'll be possible to include an instruction to run the build of a referenced repository to handle restoration properly but there is an issue when trying to use a repo referenced via github that depends on paket for restoration.

Hypothetically there could be a repo that doesn't need to be built but only uses paket to pull in dependencies needed to run, say the repo has a compiled binary included that uses paket to restore it's dependencies but nothing is actually being compiled. Or perhaps the repo includes a .fsx file that references .dlls that are restored by paket and has no build.cmd

Navigating to the sub directory under paket-files and running paket restore will fix this restoration issue, but it seems like a recursive restore exectuted at the root of the repo would be preferable behavior to handle this in one call.

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 root-level paket restore entry point and compare it with manually running restore in a subdirectory under paket-files. Review the git-dependencies documentation and the cases involving .fsx files, compiled binaries, and missing build.cmd; done means one root command restores dependencies for referenced repositories.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp, git
Domain
build-system, cli, tooling
Issue type
Feature
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.