haskell / haskell/cabal

Support pinning remote imports by hash

Open
#8,204 1 comment 4 reactions 0 assignees View on GitHub
re: project-file type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Cabal 3.8 allows us to use `import: https://www.stackage.org/lts-19.10/cabal.config` inside `cabal.project`.

Someone might be interested in pinning down that file with a cryptographic hash, for security or reproducibility reasons. Perhaps this is a feature worth considering.

Contributor guide

Open the contributing guide

Research direction

The issue identifies remote imports in cabal.project, using https://www.stackage.org/lts-19.10/cabal.config, but names no implementation files or tests. Start by locating Cabal's handling of import URLs and determine the proposed hash syntax and verification behavior. Done requires an agreed design and support for securely pinning the imported file, with coverage for the relevant cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.