[GHC] #8824: cloning from https://github.com/ghc/ghc.git is broken
#8824: cloning from https://github.com/ghc/ghc.git is broken ------------------------------------+------------------------------------- Reporter: rwbarton | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.9 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Specifically the clone works, but then `./sync-all get` fails; {{{ Cloning into 'libraries/Cabal'... fatal: repository 'https://github.com/ghc/packages/Cabal.git/' not found Clone of 'https://github.com/ghc/packages/Cabal.git' into submodule path 'libraries/Cabal' failed }}} It was broken by b755c7bd6af9f2bee47427b1eaa6c29c72b2b17a which (around lines 587-588) assumes the protocol is `git://`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.9 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by rwbarton): Same deal for cloning over SSH: http://lpaste.net/100385 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: new Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by hvr): * keywords: => sync-all * owner: => hvr * component: Build System => Trac & Git -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: new Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Joachim Breitner <mail@…>): In [changeset:"3efcb0a7d147e05f86501783144bcd0ad3757e93/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="3efcb0a7d147e05f86501783144bcd0ad3757e93" Make sync-all handle all github protocols correctly This fixes #8824. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by nomeata): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by carter): i'm still having issues with this... ` fatal: repository 'https://github.com/ghc/packages/base.git/' ` and friends.. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by carter): the maddening bit is i'm using http! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by carter): i did `git clone http://github.com/ghc/ghc http-ghc ` will try ` git clone http://github.com/ghc/ghc.git http-ghc ` -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by nomeata): I cannot reproduce here. Both {{{ git clone https://github.com/ghc/ghc.git --reference ~/build/haskell/ghc cd ghc ./sync-all get }}} and {{{ git clone https://github.com/ghc/ghc --reference ~/build/haskell/ghc cd ghc ./sync-all get }}} work. I’m not claiming that sync-all cleans up old wrong submodule paths, though. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by rwbarton): Carter is cloning from `http://` not `https://` (I didn't know that that even worked until tonight). -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Joachim Breitner <mail@…>): In [changeset:"d246c62afd7312185aee9433b065ea99e4fa4054/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="d246c62afd7312185aee9433b065ea99e4fa4054" Also allow http://github.com (#8824) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8824: cloning from https://github.com/ghc/ghc.git is broken -------------------------------------+------------------------------------ Reporter: rwbarton | Owner: hvr Type: bug | Status: closed Priority: normal | Milestone: Component: Trac & Git | Version: 7.9 Resolution: fixed | Keywords: sync-all Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by nomeata): Ok, made the regex a bit more liberal – shoudn’t hurt. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8824#comment:11> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC