Created attachment 214387 [details]
PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API. The structural constraints and permissions in the database determine the API endpoints and operations.
Created attachment 214816 [details]
update to 7.0.1
A commit references this bug:
Date: Tue May 26 06:55:38 UTC 2020
New revision: 536575
Using PostgREST is an alternative to manual CRUD programming. Custom API
servers suffer problems. Writing business logic often duplicates, ignores or
hobbles database structure. Object-relational mapping is a leaky abstraction
leading to slow imperative code. The PostgREST philosophy establishes a single
declarative source of truth: the data itself.
Submitted by: Dmitry Wagin
I'd appreciate getting haskell@ on hook when adding new Haskell ports.
In the Makefile
- "SKIP_CABAL_PLIST= yes" should be removed, along with "sbin/postgrest" from pkg-plist.
- do-install target shouldn't contain INSTALL_PROGRAM part. Doesn't USES=cabal install this executable automatically?
(In reply to Gleb Popov from comment #4)
postgrest is a web server, custom installation is made for remove unnecessary shell wrapper.
(In reply to Dmitry Wagin from comment #5)
You mean wrapper generated by USES=cabal? What's wrong with it?
(In reply to Gleb Popov from comment #6)
wrapper is not needed.
(In reply to Dmitry Wagin from comment #7)
Most of Haskell ports don't need them, but that's not a reason to introduce additional complexity to ports. Please, provide a patch with changes I requested.
(In reply to Gleb Popov from comment #8)
Generating files that will not be used is wrong.
Okay, since you're the maintainer I'll leave that to you.
Created attachment 214883 [details]
IMHO complexity same + generated file