[GHC] #15641: Git repositories have several problems

#15641: Git repositories have several problems -------------------------------------+------------------------------------- Reporter: flip101 | Owner: hvr Type: bug | Status: new Priority: high | Milestone: Component: Trac & Git | Version: 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: -------------------------------------+------------------------------------- I have some problems with the repositories. When i try to clone from the official repo: {{{ ยป git clone --single-branch --branch master --depth=1 --recursive git://git.haskell.org/ghc.git ghc-head Cloning into 'ghc-head'... fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed }}} Maybe it's because the git server version is old (1.9.1). Without `--depth=1` it works, but anyway it's an issue. With the github mirror i have another problem: {{{ Cloning into 'libraries/Cabal'... fatal: remote error: ghc/packages/Cabal is not a valid repository name Email support@github.com for help fatal: clone of 'git://github.com/ghc/packages/Cabal.git' into submodule path 'libraries/Cabal' failed }}} With the phabricator repo the following issue: command: {{{ git clone --depth=1 --single-branch --branch ghc-8.6 --recursive https://phabricator.haskell.org/diffusion/GHC/glasgow-haskell-compiler.git ghc-8.6-head }}} error: {{{ Cloning into '.arc-linters/arcanist-external-json-linter'... error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 first byte timeout fatal: The remote end hung up unexpectedly fatal: clone of 'https://phabricator.haskell.org/diffusion/GHC/arcanist- external-json-linter.git' into submodule path '.arc-linters/arcanist- external-json-linter' failed }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15641 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15641: Git repositories have several problems -------------------------------------+------------------------------------- Reporter: flip101 | Owner: hvr Type: bug | Status: new Priority: high | Milestone: Component: Trac & Git | Version: 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 potato44): I'm only guessing here, but the problem with github might be from not doing some configuration mentioned on the [https://ghc.haskell.org/trac/ghc/wiki/Newcomers newcomers] wiki page {{{ # needed only once, URL rewrite rule is persisted in ${HOME}/.gitconfig git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/ # (if you already cloned using ssh, you'll need this rule instead to make submodules work:) # git config --global url."git@github.com:ghc/packages-".insteadOf git@github.com:ghc/packages/ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15641#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15641: Git repositories have several problems -------------------------------------+------------------------------------- Reporter: flip101 | Owner: hvr Type: bug | Status: new Priority: high | Milestone: Component: Trac & Git | Version: 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 flip101): Ah yes you are right there are special instructions for cloning from github i missed that. So only 2 of 3 issues remain. However it would be better if those special things for github were not needed (but maybe there is no way around it) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15641#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15641: Git repositories have several problems -------------------------------------+------------------------------------- Reporter: flip101 | Owner: hvr Type: bug | Status: new Priority: high | Milestone: Component: Trac & Git | Version: 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 bgamari): I am a bit confused as to why your first attempt at cloning from `git.haskell.org` failed. Are you able to ping that host? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15641#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15641: Git repositories have several problems -------------------------------------+------------------------------------- Reporter: flip101 | Owner: hvr Type: bug | Status: closed Priority: high | Milestone: Component: Trac & Git | Version: Resolution: fixed | 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 bgamari): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15641#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC