cabal-install requests credentials even when they are listed in the config #800

Closed
bos opened this Issue May 24, 2012 · 5 comments

Projects

None yet

3 participants

@bos
Haskell member

(Imported from Trac #810, reported by @basvandijk on 2011-03-09)

I have listed my Hackage username and password in my cabal config:

/home/bas/.cabal/config:

username: BasVanDijk
password: **********
Previously this enabled me to cabal upload packages to Hackage without entering my credentials. However the new cabal-install requests my credentials.
$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
@bos
Haskell member

(Imported comment by @dcoutts on 2011-03-09)

Oops, thanks.

Tue Mar 15 22:47:21 GMT 2011  Duncan Coutts <duncan@community.haskell.org>
  * Fix username prompting for cabal upload
  Fixes ticket #810
@bos
Haskell member

(Imported comment by @kosmikus on 2011-03-15)

Apparently it still doesn't work?

@bos
Haskell member

(Imported comment by v.dijk.bas on 2012-04-20)

Yes, I noticed the same when uploading a package at UHac.

@gregorycollins
Haskell member

@basvandijk is this still happening?

@basvandijk
Haskell member

I just tried it on case-insensitive-1.0 and it works now:

$ cabal upload dist/case-insensitive-1.0.tar.gz 
Uploading dist/case-insensitive-1.0.tar.gz...
Ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment