fsprojects / fsprojects/Paket

Storing source URLs outside of .dependencies file

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

Nobody has claimed this yet.

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

Description

Description

Hello,
Would it be possible to have repository urls stored separately, like nuget does with nuget.config?

The reasons to wish that are

  1. Persistence. If an internal repo's url changed for reasons outside of a user's control, all past commits would fail to build
  2. Speed. Distributed teams might want to have local mirrors of feeds, especially for high volume of change scenarios like CI
Known workarounds

For server builds, one could run a script to replace the source line in a .depencencies file with the current address of the feed. But for local developer builds that would be too much trouble with version control

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 reviewing how Paket stores and reads repository URLs in the .dependencies file, then compare the requested separation with nuget.config. Done should allow repository URLs to be changed or mirrored without rewriting committed dependency files, while preserving successful local and server builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.