[Hackage] #741: cabal-install: wrong use of mktemp in bash completion script

#741: cabal-install: wrong use of mktemp in bash completion script ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ---------------------------------+------------------------------------------ The following bug was reported by Jan Braun against the Debian bugtracker at http://bugs.debian.org/597769 Hi, the bash completion script 1) does not check the return value of mktemp and 2) fails in the presence of "set -o noclobber" attached is a patch to fix both. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/741 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#741: cabal-install: wrong use of mktemp in bash completion script ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ---------------------------------+------------------------------------------ Comment(by duncan): Great thanks. If you're a bash coder, would you consider helping us with a patch to simplify the completion script by remove the `cabal list` feature? Currently it tries to complete package names by calling `cabal list`. This does not work well and makes the script rather more complicated than it really needs to be. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/741#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#741: simplified bash completion file
---------------------------------+------------------------------------------
Reporter: nomeata | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.6.0.3
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: Linux |
---------------------------------+------------------------------------------
Comment(by guest):
Hey,
I hope that's what you had in mind, otherwise please holler.
Cheers,
Jan (

#741: simplified bash completion file ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: Linux ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Thanks Jan. Done. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/741#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#741: simplified bash completion file ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: Linux ---------------------------------+------------------------------------------ Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-bouygues.html rio bouygues] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/741#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage