17

我不小心上传了一个错误的发行版并试图立即重新上传它,但cabal回复说:

This version of the package has already been uploaded.

As a matter of policy we do not allow package tarballs to be changed after a
release (so we can guarantee stable md5sums etc). The usual recommendation is
to upload a new version, and if necessary blacklist the existing one. In
extraordinary circumstances, contact the administrators.

好的,我已经增加了版本并上传了正确的发行版,但现在我有兴趣按照建议将错误版本列入黑名单。但是,没有关于如何在任何地方执行此操作的概念。怎么做?“黑名单”一词实际上意味着什么?

4

1 回答 1

17

转到您的包裹页面Hackage。向下滚动Maintainers' corner并单击edit package information。然后,您将可以选择单击Preferred versions

此页面允许您指定version rangesdeprecate individual package versions

不推荐使用的版本不会完全消失,但cabal-install会在尝试解决依赖关系时尝试尊重偏好。

于 2014-02-12T10:28:04.647 回答