haskell / ghcup-hs

https://www.haskell.org/ghcup/
GNU Lesser General Public License v3.0
287 stars 89 forks source link

Intaller DSL #141

Open hasufell opened 3 years ago

hasufell commented 3 years ago

In GitLab by @maerwald on May 15, 2021, 17:46

Adding a new simple binary is a daunting task for potential contributors, as can be seen here: https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/88

ghcup should have a DSL that allows to describe installations in an easy and expressible format. This will:

  1. allow easier contribution
  2. reduce code duplication and make maintenance easier
  3. allows users to add their own tools easily and have them mixed into the main ghcup metadata

Package descriptions would continue to exist in the existing yaml format, but will be extended with DSL-like functionality, such as "unpack tarball". We won't allow arbitrary shell code like an actual package manager, since we don't have sandbox functionality... and most tools should be simple binaries only.

hasufell commented 1 year ago

In GitLab by @maerwald on Nov 20, 2022, 13:18

made the issue visible to everyone