Enhancement #1850

Allow to switch off the --depth option for git clone

Added by J. Wienke almost 9 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:04/22/2014
Priority:LowDue date:
Assignee:J. Moringen% Done:

100%

Category:Project Analysis
Target version:0.3

Description

It seems there are some git repositories that cannot handle --depth while cloning. Please add a variable to project files to disable this mode.

Here is an example

jwienke@cinnabar:/tmp$ git clone --depth 10 https://git.gitorious.org/qt-labs/scxml.git foo
Cloning into 'foo'...
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly

You can also find further reference on the web, e.g.: https://github.com/titanous/homebrew-gnuradio/issues/43

Associated revisions

Revision bc87b4e8
Added by J. Moringen almost 9 years ago

Support scm.history-limit in src/{commandline-interface/main,analysis/git}.lisp

fixes #1850

  • src/analysis/git.lisp (analyze uri eql :git): accept keyword parameter
    history-limit; use --depth accordingly
  • src/commandline-interface/main.lisp (analyze-project): pass
    scm.history-limit to `analyze'

History

#1 Updated by J. Wienke almost 9 years ago

  • Priority changed from Urgent to Low

For unexpected reasons the pure git url to the repo is not affected by this issue. So I decrease the urgency level.

#2 Updated by J. Moringen almost 9 years ago

  • Target version set to 0.3

#3 Updated by J. Moringen almost 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF