Bug#1032826: dgit infrastructure broken for git package.

2023-03-12 Thread Ian Jackson
Thanks for the report.

Peter Michael Green writes ("Bug#1032826: dgit infrastructure broken for git 
package."):
> 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.

Indeed.  I observe:

$ curl https://git.dgit.debian.org/git


301 Moved Permanently

Moved Permanently
The document has moved https://browse.dgit.debian.org/;>here.

Apache Server at git.dgit.debian.org Port 443

$ 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.

-- 
Ian JacksonThese opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.



Bug#1032826: dgit infrastructure broken for git package.

2023-03-12 Thread Peter Michael Green

Package: dgit

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.