microsoft / microsoft/OSSGadget

Feature Request: Retrieve download link for package

Open
#466 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
371
Forks
58
PR merge metrics
No merged PRs in 30d

Description

It would be great if there was a way to not just download e.g. .tgz from NPM for a given package name & version but to also ouput the URL the package was downloaded from (for future reference / easy sharing etc.). I searched through the functions of OSSGadget already provided and could not find it (to stay with the NPM example: I do not mean the URL of the NPM page but the URL for the download - not GitHub, but the actual package).

Example: say I want to download the NPM package @fullstory/browser, Version 2.0.3. I can download the package using OSS-download. But if I want to share the location of the file I would have to figure out how the URL to https://registry.npmjs.org/ is structured, how they named the download etc.

Pretty sure the information is already there (?) (to perform the download) but it would be nice if it was also output for convenience.

Thanks!

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 inspecting OSS-download's existing package download path for the NPM example @fullstory/browser at version 2.0.3, especially where the package URL is obtained for the download. Trace how that metadata is returned or displayed, then verify that the actual registry download URL is also output without replacing it with the NPM or GitHub page URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.