Skip to content
  • Sebastian Tee's avatar
    a0d815c4
    Support authentication tokens for uploading to Hackage (#9058) · a0d815c4
    Sebastian Tee authored
    * Add token authorization for cabal upload
    
    Add token flag. If a token is set ignore the username and password.
    The token is passed to Hackage in the  Authorization header.
    
    * Add token flag to upload documentation
    
    * Add token authentication for cabal report
    
    * Update auth token documentation and changelog
    
    * Add token flag to config integration tests
    
    * Add auth token header to plain-http transport
    
    * Add documentation and reduce wildcard usage
    
    Use Nothing in pattern matching instead of wildcards.
    
    * Add auth token headers to wget and powershell
    
    * Fix auth token header for powershell transport
    
    Powershell has to have the Authorization token set in the Header
    dictionary parameter. Some headers (e.g. User-Agent) have to be set as
    a request parameter.
    
    * Fix code formatting to comply with fourmolu
    a0d815c4
    Support authentication tokens for uploading to Hackage (#9058)
    Sebastian Tee authored
    * Add token authorization for cabal upload
    
    Add token flag. If a token is set ignore the username and password.
    The token is passed to Hackage in the  Authorization header.
    
    * Add token flag to upload documentation
    
    * Add token authentication for cabal report
    
    * Update auth token documentation and changelog
    
    * Add token flag to config integration tests
    
    * Add auth token header to plain-http transport
    
    * Add documentation and reduce wildcard usage
    
    Use Nothing in pattern matching instead of wildcards.
    
    * Add auth token headers to wget and powershell
    
    * Fix auth token header for powershell transport
    
    Powershell has to have the Authorization token set in the Header
    dictionary parameter. Some headers (e.g. User-Agent) have to be set as
    a request parameter.
    
    * Fix code formatting to comply with fourmolu
Loading