git fetch (according to `git ubuntu clone` refspecs)
# do we want a flag to prevent the following?
delete refs/heads/importer/*
delete refs/tags/importer/*
copy refs/remotes/pkg/* to refs/heads/importer/{debian,ubuntu}/*
fetch refs/tags/* to refs/tags/importer/* # in case the local tags have been manipulated
Relevent bit of code (importer.py):
self.local_repo.add_base_remotes(self.pkgname, repo_owner=owner)
if not args.no_fetch: self.local_repo.fetch_base_remotes(must_exist=False)
self.local_repo.copy_base_references(self.namespace)
if not args.no_fetch: self.local_repo.fetch_remote_refspecs('pkg', refspecs=['refs/tags/*:refs/tags/%s/*' % self.namespace], must_exist=False)
I think the base reference copy must be failing. I wonder if it's not copying the tags correctly in that case.
Relevent bit of spec:
git fetch (according to `git ubuntu clone` refspecs) importer/ * importer/ * importer/ {debian, ubuntu} /* importer/ * # in case the local tags have been manipulated
# do we want a flag to prevent the following?
delete refs/heads/
delete refs/tags/
copy refs/remotes/pkg/* to refs/heads/
fetch refs/tags/* to refs/tags/
Relevent bit of code (importer.py):
if not args.no_fetch:
if not args.no_fetch:
I think the base reference copy must be failing. I wonder if it's not copying the tags correctly in that case.