ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.RubyGems.Request

Description

RubyGems requests use checked native coordinates and the selected origin's authority.

Synopsis

Documentation

gemInfoRequestUnder :: BaseRequest -> Maybe ClientCredential -> PackageName -> Either UrlFormationError Request Source #

Fetch the named compact-index document under caller-selected credentials.

gemDirectoryRequestUnder :: BaseRequest -> Maybe ClientCredential -> Either UrlFormationError Request Source #

Directory reads retain the selected caller or anonymous public authority.

gemInfoUrl :: Text -> PackageName -> Either UrlFormationError Text Source #

Construct the named upstream path without acquiring a registry-wide catalogue.

gemArtifactUrl :: Text -> GemCoordinate -> Either UrlFormationError Text Source #

Address an artifact by its exact checked native filename.

gemCompactSpecUrl :: Text -> GemCoordinate -> Either UrlFormationError Text Source #

Address the original zlib-compressed compact specification for one checked artifact.

gemPath :: Text -> Text Source #

The path of an archive by its native filename, under the registry root.

compactSpecPath :: Text -> Text Source #

The path of a compact specification by its archive's filename stem, under the registry root.