aboutcode-org / aboutcode-org/fetchcode

take some inspiration from NixOS for different fetchers, mirrors, and so on.

オープン
#82 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
13
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

NixOS has quite a few fetchers for different VCS systems as well as mirrored sites:

It might be worthwhile to spend some time understanding what they are doing there and get some inspiration. Some systems, such as GitHub, apparently do not return hashes in a consistent way per release, but it differs, so hashes that are used by NixOS are computed in a different way.

The NixOS fetchers have support for downloading from mirrors (example: sourceforge) and have supporting syntax in the Nix files for it, for example:

```
url = "mirror://sourceforge/scummvm/lure-${version}.zip";
```
which would automatically grab a mirror from the list of defined mirrors.

There are also some fetchers that are a bit more obscure bit which might be fun or useful to add.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。