George Zakhour (geezee) opened
Bellow is a series of commands that:
- create a bare repository
- creates a local repository
- creates a commit, an identity, and a bug, and pushes them to the bare repository created in step 1.
- clones the bare repository
- tries to pull the identities/bugs
cd /tmp
mkdir -p git-bug-bug/bare git-bug-bug/repo
cd git-bug-bug/bare && git init --bare
cd ../repo && git init
echo "Hello World" > README
git add .
git commit -m "initial commit"
git remote add origin ../bare
git push origin master
git bug user create
git bug add # fill in some title and description
git bug push
cd ..
git clone bare clonedrepo
cd clonedrepo
git bug pull
At the very last step I get the following output:
Building identity cache... Done.
Building bug cache... Done.
Fetching remote ...
Merging data ...
8e86a36: invalid data: remote bug is not readable: identity doesn't exist
Creating an identity before git bug pull still produces an error.
Here's my go env variables
go version go1.12 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.12 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.12
uname -v: Darwin Kernel Version 16.6.0: Fri Apr 14 16:13:31 PDT 2017; root:xnu-3789.60.24~4/RELEASE_X86_64
ProductName: Mac OS X
ProductVersion: 10.12.5
BuildVersion: 16F2073
lldb --version: lldb-370.0.42
Swift-3.1
And here's my git version
git version 2.20.1
Please let me know if I forgot to provide any more information.
I managed to recreate the issue on multiple machines: a mac, an ubuntu, and an archlinux machines. I did not have time to debug the issue though.