stack-2.9.3: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageHaskell2010

Stack.Upload

Description

Provide ability to upload tarballs to Hackage.

Synopsis

Upload

upload Source #

Arguments

:: HasLogFunc m 
=> String

Hackage base URL

-> HackageAuth 
-> FilePath 
-> UploadVariant 
-> RIO m () 

Upload a single tarball with the given Uploader.

Since 0.1.0.0

uploadBytes Source #

Arguments

:: HasLogFunc m 
=> String

Hackage base URL

-> HackageAuth 
-> String

tar file name

-> UploadVariant 
-> ByteString

tar file contents

-> RIO m () 

Upload a single tarball with the given Uploader. Instead of sending a file like upload, this sends a lazy bytestring.

Since 0.1.2.1

uploadRevision Source #

Arguments

:: HasLogFunc m 
=> String

Hackage base URL

-> HackageAuth 
-> PackageIdentifier 
-> ByteString 
-> RIO m () 

Credentials

data HackageCreds Source #

Username and password to log into Hackage.

Since 0.1.0.0

data HackageAuth Source #

Instances

Instances details
Show HackageAuth Source # 
Instance details

Defined in Stack.Upload

Eq HackageAuth Source # 
Instance details

Defined in Stack.Upload

newtype HackageKey Source #

Constructors

HackageKey Text 

Instances

Instances details
Show HackageKey Source # 
Instance details

Defined in Stack.Upload

Eq HackageKey Source # 
Instance details

Defined in Stack.Upload

Internal