My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1070: Some ancient tags cannot be pushed to Gerrit.
5 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by maze@google.com, Jul 27, 2011
Affected Version: 2.1.8

Tag from upstream klibc (git://git.kernel.org/pub/scm/libs/klibc/klibc.git) repository:

$ git cat-file -t remotes/klibc/klibc-1.5.9
tag

$ git cat-file -p remotes/klibc/klibc-1.5.9
object 045990b374200b1fb6deebfba7c1ba1970e3b158
type commit
tag klibc-1.5.9
tagger H. Peter Anvin <hpa@zytor.com>
Thu Jan 1 00:00:00 1970 +0000

Released on Fri, 28 Mar 2008 20:37:35 +0000

$ git cat-file tag remotes/klibc/klibc-1.5.9
object 045990b374200b1fb6deebfba7c1ba1970e3b158
type commit
tag klibc-1.5.9
tagger H. Peter Anvin <hpa@zytor.com>

Released on Fri, 28 Mar 2008 20:37:35 +0000


Attempting to push the tag to Gerrit results in:

$ git push tools/klibc remotes/klibc/klibc-1.5.9:refs/tags/klibc-1.5.9
Counting objects: 1, done.
Writing objects: 100% (1/1), 182 bytes, done.
Total 1 (delta 0), reused 1 (delta 0)
error: unpack failed: error Invalid tag 7fc3467a671d6401a7eb7bf3d2284314cd59f752:invalid tagger
fatal: Unpack error, check server log
To prodkernel:tools/klibc
 ! [remote rejected] remotes/klibc/klibc-1.5.9 -> klibc-1.5.9 (n/a (unpacker error))
error: failed to push some refs to 'prodkernel:tools/klibc'

Attempting to push a newer tag succeeds:
$ git push tools/klibc remotes/klibc/klibc-1.5.24:refs/tags/klibc-1.5.24
Counting objects: 1, done.
Writing objects: 100% (1/1), 186 bytes, done.
Total 1 (delta 0), reused 1 (delta 0)
To prodkernel:tools/klibc
 * [new tag]         remotes/klibc/klibc-1.5.24 -> klibc-1.5.24


This is not an ACL issue, I have: "Push Tag" "refs/tags/*" "+3: Create Any Tag"
and obviously pushing 1.5.24 succeeded.

Clearly this is a tag with an older format.
How do I push this tag to Gerrit?
Sign in to add a comment

Powered by Google Project Hosting