Re: [Hackage] #887: cabal sdist fails if a test suite has other-modules: Paths_pkg

2011-09-23 Thread Hackage
#887: cabal sdist fails if a test suite has other-modules: Paths_pkg
+---
  Reporter:  guest  |Owner:  ttuegel 
  Type:  defect |   Status:  assigned
  Priority:  normal |Milestone:  
 Component:  Cabal library  |  Version:  1.10.1.0
  Severity:  normal | Keywords:  
Difficulty:  unknown|   Ghcversion:  
  Platform: |  
+---

Comment(by ttuegel):

 The patch I just attached fixes the issue. Cabal filters autogenerated
 modules from the build info for libraries and executables when doing
 sdist; the patch extends this behavior to test suites.

-- 
Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/887#comment:2
Hackage http://haskell.org/cabal/
Hackage: Cabal and related projects

___
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel


Re: [Hackage] #887: cabal sdist fails if a test suite has other-modules: Paths_pkg

2011-09-23 Thread Hackage
#887: cabal sdist fails if a test suite has other-modules: Paths_pkg
+---
  Reporter:  guest  |Owner:  ttuegel 
  Type:  defect |   Status:  closed  
  Priority:  normal |Milestone:  
 Component:  Cabal library  |  Version:  1.10.1.0
  Severity:  normal |   Resolution:  fixed   
  Keywords: |   Difficulty:  unknown 
Ghcversion: | Platform:  
+---
Changes (by duncan):

  * status:  assigned = closed
  * resolution:  = fixed


Comment:

 Thanks for the report!

 Thanks for the patch!

 Applied!

 {{{
 Fri Sep 23 21:18:06 BST 2011  Thomas Tuegel ttue...@gmail.com
   * Filter autogenerated modules from test suite build info when doing
 sdist.
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/887#comment:3
Hackage http://haskell.org/cabal/
Hackage: Cabal and related projects

___
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel


patch applied (cabal): Filter autogenerated modules from test suite build info when doing sdist.

2011-09-23 Thread Duncan Coutts
Fri Sep 23 13:18:06 PDT 2011  Thomas Tuegel ttue...@gmail.com
  * Filter autogenerated modules from test suite build info when doing sdist.

M ./cabal/Distribution/Simple/SrcDist.hs -1 +3

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110923201806-30370-becca78dae5b45ae96b3e978670bfb7e5fb64d2a.gz


___
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel


Re: [Hackage] #886: when installing globally, cabal shouldn't use umask, should set mods to 755 or 644

2011-09-23 Thread Hackage
#886: when installing globally, cabal shouldn't use umask, should set mods to 
755
or 644
+---
  Reporter:  alistra|Owner: 
  Type:  defect |   Status:  new
  Priority:  normal |Milestone: 
 Component:  Cabal library  |  Version:  1.8.0.6
  Severity:  normal | Keywords: 
Difficulty:  unknown|   Ghcversion: 
  Platform: |  
+---

Comment(by duncan):

 I believe this is fixed in Cabal-1.10. Could you please try that version
 and confirm?

 Otherwise we'll have to take a look at what's going on. For reference for
 anyone looking into this. see Distribution.Simple.Utils:
 {{{
 -- * installing files
 installOrdinaryFile,
 installExecutableFile,
 installOrdinaryFiles,
 installDirectoryContents,

 -- * File permissions
 setFileOrdinary,
 setFileExecutable,
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/886#comment:1
Hackage http://haskell.org/cabal/
Hackage: Cabal and related projects

___
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel