fsprojects / fsprojects/Paket

In a paket.dependencies file, what is the meaning of the operator `==`?

Open
#3,596 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello,

If issues are not the right way to ask about this, feel free to close it.

In a project's paket.dependencies file, I found thoses lines:

nuget Microsoft.AspNet.Mvc == 5.2.6
nuget Microsoft.AspNet.Razor == 3.2.6
nuget Microsoft.AspNet.WebPages == 3.2.6

I checked the official documentation without success.
My guess would be that == could fix a version number but to achieve this we can directly write nuget Microsoft.AspNet.Mvc 5.2.6.

What is the meaning of the operator ==?

note that I also posted this as a question on Stack Overflow

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

Review the linked Paket dependencies-file documentation and the shown paket.dependencies examples, then compare the two version syntaxes mentioned in the question. Update the relevant documentation so the meaning of == and its distinction from the alternative declaration are explicit; the documentation should answer this question without requiring a separate Stack Overflow post.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.