Hide Forgot
Current mock SCm buitld option can't use http non secure urls due --depth option add in the clone url This is an example of generated url: [helio@trex pkg]$ git clone --branch master --depth 1 http://copr-dist-git.fedorainfracloud.org/cgit/@kdesig/qt5-next/qt5.git qt5 Cloning into 'qt5'... fatal: dumb http transport does not support --depth To fix, there's two possible solutions, just remove the depth option but causing a problem if an unnatended url is introduced to clone a huge tree, or explicitly advise in the page that only secure ( https/ssh ) repositories are accepted.
Actually, if you run: git clone --branch master --depth 1 http://copr-dist-git.fedorainfracloud.org/git/@kdesig/qt5-next/qt5.git qt5 (There is 'git' instead of 'cgit' in the url) then `--depth 1` works. On that url, git-http-backend is used, not the cgit binary. Clone urls in copr-dist-git projects are now reflecting that correctly. Thanks for the report!