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 ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NNPDF/pinefarm のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
FONLL instructions再び着手できるかも @comane が 631 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
-
No Pineappl grids being produced by Madgraph再び着手できるかも @ramonpeter が 608 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
似ている issue
-
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時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
needs discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openfga/openfga.dev#1436 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2対応中かも @Duhan07 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
micropython/micropython-lib#1176 ·