| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.PyPI.Publish.Multipart
Description
Bounded reading of the name, version, :action and file name claims in the unchanged PyPI publication relay body.
Synopsis
- uploadClaims :: Limits -> Maybe ByteString -> ByteString -> IO (Either PublishBodyFault [Text])
- pypiFileUploadOnly :: Text
- pypiSdistNameForm :: Text
- pypiVersionForm :: Text
Documentation
uploadClaims :: Limits -> Maybe ByteString -> ByteString -> IO (Either PublishBodyFault [Text]) Source #
The agreed project name of one file_upload whose file name names that project at the declared version.
pypiFileUploadOnly :: Text Source #
The 501 reason for any other :action, such as remove_pkg or doc_upload.
pypiSdistNameForm :: Text Source #
The 400 reason for any upload that is not a wheel and does not name the declared release as PEP 625 names an sdist.
pypiVersionForm :: Text Source #
The 400 reason for a declared version that is not a PEP 440 version, whatever the file is named.