Replace clone with download
@felixhekhorn đang làm issue này rồi.
Từ ngày 22/7/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NNPDF/pinefarm
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
FONLL instructionsCó thể làm lại được @comane đã nhận 631 ngày trước và không có pull request nào đang mở. Đang mởdocumentation
-
No Pineappl grids being produced by MadgraphCó thể làm lại được @ramonpeter đã nhận 608 ngày trước và không có pull request nào đang mở. Đang mởbug
-
Standardize CKM matrixĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
Tất cả issue của NNPDF/pinefarm
Issue tương tự
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIterationCó thể đã có người làm @BahaaMattar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openfga/openfga.dev#1436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2Có thể đã có người làm @Duhan07 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
micropython/micropython-lib#1176 ·