fsprojects / fsprojects/Paket

Pack: Don't silently ignore repositoryUrl without repositoryType

Open
#4,100 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

When paket.template contains a repositoryUrl but not a repositoryType, it is silently ignored and not included in the generated nuspec.

Expected behavior

Probably one of these:

  • A warning
  • An error
  • A nuspec with a repository url but no repository type (if that's legal?)
Actual behavior

The repositoryUrl is ignored.

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

Search the Paket code for repositoryUrl handling and the path that generates the nuspec from paket.template; check nearby tests for repository metadata generation. The issue is complete only after the behavior for a URL without a type is decided, implemented, and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.