[Pkg-haskell-maintainers] Bug#655752: very unclear how to configure hackage username and password

Joey Hess joeyh at debian.org
Fri Jan 13 20:26:56 UTC 2012


Package: cabal-install
Version: 0.10.2-3
Severity: normal

The autogenerated .cabal/config file contains:

-- username:
-- password:
-- username:
-- password:

I don't know why that is doubled, but this doesn't work:

username: JoeyHess
password: foo

cabal upload still prompts me for a password.

Looking in the source, I found an undocumented configuration that does
work:

hackage-username: JoeyHess
hackage-password: foo

(I would have reported this upstream but their BTS is broken.
http://hackage.haskell.org/trac/hackage/ throws
TracError: IOError: [Errno 13] Permission denied: '/srv/trac/hackage/VERSION')

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cabal-install depends on:
ii  libc6     2.13-24
ii  libffi5   3.0.10-3
ii  libgmp10  2:5.0.2+dfsg-2
ii  zlib1g    1:1.2.3.4.dfsg-3

Versions of packages cabal-install recommends:
ii  ghc  7.0.4-8

cabal-install suggests no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120113/b9751281/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list