Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature Request: Retrieve download link for package

未关闭
#466 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp
领域
cli

调研方向

首先检查 OSS-download 现有的软件包下载路径,以 NPM 示例 @fullstory/browser 的 2.0.3 版本为例,尤其要关注获取用于下载的软件包 URL 的位置。跟踪这些元数据是如何返回或显示的,然后验证实际的 registry 下载 URL 也会被输出,而不会被 NPM 或 GitHub 页面 URL 替换。

由索引模型根据 Issue 内容生成。

描述

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!

主要语言
C#
星标
372
派生
57
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/OSSGadget 的其他 Issue

查看 microsoft/OSSGadget 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。