Can we get a metadata file with a specific revision or hash?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
調査の方向性
まず、issue にある plan.json のハッシュと 2 つの Hackage URL を使って network-uri の例を再現します。リビジョン固有の .cabal URL またはエンドポイントが存在するかどうかを判断するため、Hackage に文書化されているメタデータとパッケージダウンロードの動作を調査します。再現可能でサポートされている仕組みを特定するか、必要なサーバー変更を明確に定義できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm currently trying to create a Nixified Haskell package set using plan.json. This is the approach I'm taking.
I need to make the process of fetching packages from Hackage using plan.json reproducible. However, there are currently these issues:
The cabal file of the network-uri package fetched through the URI like https://hackage.haskell.org/package/network-uri-2.4.2.2/network-uri-2.4.2.2.tar.gz is the originally uploaded version, not the latest revision. This is fine since the pkg-src-sha256 in plan.json also points to the hash of the original version.
I discovered that I can fetch the latest revision via https://hackage.haskell.org/package/network-uri-2.4.2.2/network-uri.cabal. The hash of that cabal file matches the pkg-cabal-sha256 in plan.json.
To make builds perfectly reproducible, I need to be able to fetch a specific version of the .cabal file rather than just the latest revision. Does Hackage currently provide a way to do this?
- 主要言語
- Haskell
- スター
- 471
- フォーク
- 228
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell/hackage-server のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 22/100
haskell/hackage-server#1530 · コメント 4 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
haskell/hackage-server#1528 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
haskell/hackage-server#1523 ·
-
Count downloads from content delivery network対応中かも @LaurentRDC が 60 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
haskell/hackage-server#1517 · コメント 1 件 ·
-
hackage-mirror can't mirror old packages対応中かも @TTyChud が 7 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
haskell/hackage-server#1515 ·
haskell/hackage-server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
haskell/bytestring#730 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
seal-harness/seal-harness#399 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
fmidue/codeworld-tasks#124 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
reflex-frp/reflex#563 ·