Replace clone with download
@felixhekhorn 已经在做这个了。
开始于 2022年7月22日。
评估
这个 Issue 还没有评估数据。
描述
It seems that to clone a repository from GitHub now you always need to set credentials, whatever URL you are using.
So, I'm proposing to replace repositories (that in general are also an overkill) with the master/main branch content, i.e. instead of cloning with Git we will just download the zip content of one branch from GitHub.
E.g. for this repository the corresponding URL is https://github.com/NNPDF/runcards/archive/refs/heads/master.zip
The other option is to use the latest release, e.g. for PineAPPL the URL to the zip of the last release can be found with a request to:
https://api.github.com/repos/n3pdf/pineappl/releases/latest
(the key in the response is actually zipball_url). Once we have the URL, one GET more and we'll have the zip as well (for tarball replace zip with tar in the key.
Which one do you prefer?
master/main: always updated- latest release: more stable
TODO:
- fix version
- replace repositories with tarballs
- https://github.com/NNPDF/runcards/pull/127#discussion_r928660739
- purge unused (and thus unmaintained) Git related code
- if possible, drop the whole
pygit2dependency, if not used for anything left
- if possible, drop the whole
- download MadGraph from its new source https://github.com/mg5amcnlo/mg5amcnlo (branch
3.4.1, see NNPDF/runcards#142) - purge Breeze if not any longer used
- 主要语言
- Python
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NNPDF/pinefarm 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
-
enhancement
难度 4/5 3-5 天 新手友好度 25/100
-
FONLL instructions可能重新可做 @comane 于 631 天前认领,目前没有进行中的 PR。 未关闭documentation
-
No Pineappl grids being produced by Madgraph可能重新可做 @ramonpeter 于 608 天前认领,目前没有进行中的 PR。 未关闭bug
-
难度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
ready-for-agent
难度 1/5 1-3 小时 新手友好度 79/100
gregwebs/agent-vm-images#216 ·
维护者通常 1 天内回复
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIteration可能已有人在做 @BahaaMattar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 72/100
gcivil-nyu-org/team5-mon-fall26#145 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
gcivil-nyu-org/team3-mon-fall26#156 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
antlr/grammars-v4#5220 ·
维护者通常 1 天内回复