| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Server.Pipeline.Publish
Contents
Description
The serve path behind the first-party publish route: PUT /{pkg}.
This module handles the publish flow: it validates edge authentication, applies anti-shadowing scope guards to ensure the package name is permitted for publication, enforces body-name agreement between the URL path and the publish document, and relays the request to the upstream publication target with the publisher's credential.
Synopsis
- servePublish :: PackageName -> Request -> (Response -> IO ResponseReceived) -> Handler ResponseReceived