flora-pm / flora-server

A package index for the Haskell ecosystem
https://flora.pm/about
Other
123 stars 38 forks source link

Create a membership data model for packages #556

Open tchoutri opened 1 month ago

tchoutri commented 1 month ago

We need to express the membership of a package to a group of other packages, like Core libraries or custom universes of packages (servant, effectful, conduit).

This is particularly important in order to deprecate the @haskell namespace.

We need a table package_groups that contains such package groups, and a many-to-many table whose rows are package_group_id and package_id, that will store the membership.

We need the following actions to be performable from the back-office: