[GHC] #11782: Teach ghc-pkg to read multiple registrations from command line

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature | Status: new request | Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- ghc-pkg register and ghc-pkg update should take files/stdin streams which consist of multiple packages separated by `----`. ghc-pkg will operate atomically: either all of the registrations succeed or none are performed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by ezyang: @@ -2,1 +2,1 @@ - consist of multiple packages separated by `----`. ghc-pkg will operate + consist of multiple packages separated by `---`. ghc-pkg will operate New description: ghc-pkg register and ghc-pkg update should take files/stdin streams which consist of multiple packages separated by `---`. ghc-pkg will operate atomically: either all of the registrations succeed or none are performed. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by hvr): IOW, `ghc-pkg register` will be able to read the output of `ghc-pkg dump`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: patch Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2080 Wiki Page: | -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => patch * differential: => Phab:D2080 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: patch Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2080 Wiki Page: | -------------------------------------+------------------------------------- Comment (by ezyang): Yeah, that's the intent. Although, your comment made me realize there is a bug in the current implementation. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11782: Teach ghc-pkg to read multiple registrations from command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: ghc-pkg | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => new * differential: Phab:D2080 => Comment: The patch was abandoned. I'm not sure if this ticket should stay open or not. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11782#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC