haskell / haskell/hackage-server

Revise flag from `automatic` to `manual` is irreversible

Open
#1,420 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

On Hackage, when revising a package metadata, revising a flag from `automatic` to `manual` is permitted, but the reverse is not. Hence, after a mistaken revision from `automatic` to `manual`, the package metadata gets stuck with the wrong setting.

Example: [hs-onnxruntime-capi-0.1.0.0](https://hackage-content.haskell.org/package/hs-onnxruntime-capi-0.1.0.0) is stuck with `pkg-config` as a manual flag, while it was an automatic flag before. (It _should_ be manual with a default set to false, but that's now an unreachable configuration.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.