fsprojects / fsprojects/Paket

install.sh on linux isnt working, the nuget.org/api/v2 api is deprecated

Open
#4,009 3 comments 0 reactions 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

i'm unable to install paket system wide installation

i tried to investigate the problem, and in the install.sh i can see that at march 9 2021 the api that you are using
(https://www.nuget.org/api/v2/Packages()) was deprecated,

please see:
https://devblogs.microsoft.com/nuget/custom-v2-odata-queries-will-be-deprecated-march-9-2021/

the endpoint is blocked

Repro steps

try to install paket system wide installation on linux docker

Expected behavior

installed successfully

Actual behavior

failed to install

Known workarounds

i'll try to work around it manually after i read the description of the new api, if im successfull ill create a pull request for ya

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 install.sh and trace the system-wide installation request to the deprecated https://www.nuget.org/api/v2/Packages() endpoint. Verify the replacement against the linked NuGet deprecation guidance, then test the installation on Linux in Docker; done means Paket installs successfully system-wide without the blocked endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
cli, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.