flora-server icon indicating copy to clipboard operation
flora-server copied to clipboard

Metadata revisions

Open tchoutri opened this issue 2 years ago • 2 comments

How to best represent metadata revisions?

We should add a Maybe RevisionNumber in the Release record, with:

newtype RevisionNumber = RevisionNumber Word

I am growing increasingly convinced that we should not support metadata revisions. They are supposed to be transparent, and if we ever want to switch to a model closed to CAS, it's not great.

tchoutri avatar Nov 18 '21 21:11 tchoutri

Idea: Being able to pin the revision number of a package. Unfortunately, Cabal cannot represent this at the moment, so this'll have to be merged on their side before it is actionable on our end

tchoutri avatar Nov 21 '21 07:11 tchoutri

Very nice tool!

Currently the dependency ranges shown for a package are outdated as revisions are not taken into account (or there is a bug). This might make a package look outdated when in reality it is up-to-date.

Example: regex-base

Screenshot 2024-02-29 at 20 25 32

On hackage:

Screenshot 2024-02-29 at 20 27 53

andreasabel avatar Feb 29 '24 19:02 andreasabel