dget -d http://deb.debian.org/debian/pool/main/g/git/git_2.39.2-1.1.dsc mkdir dgittest cd dgittest git init dgit import-dsc ../git_2.39.2-1.1.dsc +workingbranch results in. Dgit metadata in .dsc: specified git info (debian) dgit: import-dsc of .dsc with Dgit field, using git hash .dsc names distro debian: fetching rewrite map fatal: repository 'https://git.dgit.debian.org/git/' not found dgit: failed command: git ls-remote -q --refs https://git.dgit.debian.org/git refs/dgit-rewrite/map dgit: error: subprocess failed with error exit status 128 Doing some poking around it appears to me that the repo does exist, but access to it with git is blocked by some kind of redirection rule.
Thanks for the report.
Peter Michael Green writes ("Bug#1032826: dgit infrastructure broken for git package."):
...
Indeed. I observe:
$ curl https://git.dgit.debian.org/git
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://browse.dgit.debian.org/">here</a>.</p>
<hr>
<address>Apache Server at git.dgit.debian.org Port 443</address>
</body></html>
$ curl https://git.dgit.debian.org/dgit
$
I think this is probably some unhelpful default rule that comes with
the cgit package which is providing the git service on git.dgit.d.o.
I ma currently in a poor network environment where interactive work is
super awkward. Sean has kindly volunteered to file a DSA ticket.
Thanks,
Ian.
Hello, Per bug#1032826, it looks like https://git.dgit.debian.org/git redirects to browse.dgit.debian.org, which is not correct. git.dgit.debian.org/PACKAGE should be PACKAGE's dgit-repos git repo. Ian hypothesises some redirection installed by the cgit package. Could it be removed, please? The problem is only visible now because someone wanted to dgit clone 'git' itself. Thanks!
We have fixed this by changing the Apache configuration on the server, for the vhost git.dgit.debian.org. Thanks to DSA for their help. (See [rt.debian.org #9169].) Ian.