Your message dated Fri, 20 Apr 2012 14:06:55 -0400
with message-id <[email protected]>
and subject line Re: very unclear how to configure hackage username and password
has caused the Debian Bug report #655752,
regarding very unclear how to configure hackage username and password
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
655752: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655752
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Joachim Breitner wrote:
> I just checked with cabal-install 0.14, and it only generates one pair
> of username/password entries. I did not test the upload feature (as I
> don’t have anything to upload right now), but maybe you can test if it
> works as expected with your next upload.
I tried setting:
username: JoeyHess
password: notreallymypassword
And indeed, I get no password prompt, and the expected authorization
failure when it uses the wrong password. Based on this, I think it's
fixed.
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---