A few days ago I started to see an issue trying to clone one of our repos and I'm a bit confused by the errors I'm seeing. Keep in mind that I could be doing something wrong, but given our repo/process hasn't changed I'm starting to think there's something on the CF github side of things that isn't quite right. Perhaps someone on the list could help.
We have a repo that has cf-release as a submodule - right now its pointing to cf-release at v150
Normally, we do a recursive git clone and it pulls in cf-release and all submodules just fine
However, now when we do the clone we see this:
remote: Counting objects: 1884, done. remote: Compressing objects: 100% (693/693), done. remote: Total 1884 (delta 1191), reused 1884 (delta 1191) Receiving objects: 100% (1884/1884), 543.68 KiB | 305 KiB/s, done. Resolving deltas: 100% (1191/1191), done. fatal: reference is not a tree: 9fed6b9e77a96f1ab3a4c02bc8dbed72fbac9eb0 Unable to checkout '9fed6b9e77a96f1ab3a4c02bc8dbed72fbac9eb0' in submodule path 'src/github.com/coreos/go-raft' Failed to recurse into submodule path 'src/hm9000' Failed to recurse into submodule path 'releases/cf-release' |
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
yea, not sure what this means for those who are pre-155 - like us. Is there a way to re-write history again so those missing links are valid?
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
James Bayer ---01/30/2014 11:20:09 AM---alex suraci says this should be fixed on master, which means when we cut v155 that it's fixed. v155
matthew kocher is going to send a message with more detail.
a bit more to the story is that the final release blobs should have previously released final releases. however, you will have to use those as-is and not be able to easily modify those for changes because coreos/raft has moved a git submodule pointer that used to resolve ok. this is a limitation of having git dependencies with submodules to a git repo that someone else controls.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
But I can't clone the cf-release repo in order to do a bosh create release.
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Matthew Kocher ---01/30/2014 01:01:30 PM---Final releases don't rely on the working tree being up to date, you can still `bosh create release r
From: Matthew Kocher <mko...@pivotallabs.com>
To: vcap...@cloudfoundry.org,
Date: 01/30/2014 01:01 PM
Subject: Re: [vcap-dev] Can't clone from github anymore...
Yes, sort of. I can't recursively checkout my parent repo (which has cf-release as a submodule).
What I don't understand about git is that a checkout <myrepo> + recursive submodule update fails when I do it on 'master'. But it works just fine with I do it on a branch of my repo. Its very confusing to me.
I guess as long as I can modify my stuff to only do a submodule update at one level instead of recursive I'll live - for now.
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Dr Nic Williams ---01/30/2014 07:03:38 PM---Doug, I was able to clone cf-release. Are you still having issues? On Thu, Jan 30, 2014 at 1:50 PM,
From: Dr Nic Williams <drnicw...@gmail.com>
To: "vcap...@cloudfoundry.org" <vcap...@cloudfoundry.org>,
To reproduce it:
git clone https://github.com/cloudfoundry/cf-release
cf cf-release
git checkout v150
git submodule update --recursive --init
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Doug Davis---01/30/2014 11:04:22 PM---Yes, sort of. I can't recursively checkout my parent repo (which has cf-release as a submodule).
On Sat, Feb 1, 2014 at 2:09 PM, Doug Davis <d...@us.ibm.com> wrote:
To reproduce it:
git clone https://github.com/cloudfoundry/cf-release
cf cf-release
git checkout v150
git submodule update --recursive --init
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
<graycol.gif>
Doug Davis---01/30/2014 11:04:22 PM---Yes, sort of. I can't recursively checkout my parent repo (which has cf-release as a submodule).
From: Doug Davis/Raleigh/IBM@IBMUS
To: vcap...@cloudfoundry.org,
Date: 01/30/2014 11:04 PM
Subject: Re: [vcap-dev] Can't clone from github anymore...
Yes, sort of. I can't recursively checkout my parent repo (which has cf-release as a submodule).
What I don't understand about git is that a checkout <myrepo> + recursive submodule update fails when I do it on 'master'. But it works just fine with I do it on a branch of my repo. Its very confusing to me.
I guess as long as I can modify my stuff to only do a submodule update at one level instead of recursive I'll live - for now.
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
<graycol.gif>
Dr Nic Williams ---01/30/2014 07:03:38 PM---Doug, I was able to clone cf-release. Are you still having issues? On Thu, Jan 30, 2014 at 1:50 PM,
From: Dr Nic Williams <drnicw...@gmail.com>
To: "vcap...@cloudfoundry.org" <vcap...@cloudfoundry.org>,
Date: 01/30/2014 07:03 PM
Subject: Re: [vcap-dev] Can't clone from github anymore...
Doug, I was able to clone cf-release. Are you still having issues?
On Thu, Jan 30, 2014 at 1:50 PM, Doug Davis <d...@us.ibm.com> wrote:
But I can't clone the cf-release repo in order to do a bosh create release.
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
<graycol.gif>
While I'm sure its possible, its not trivial when you're starting two levels (or more) above the problem submodule. It means having to do one level at a time until you reach it. Blech! :-)
Are there plans in place to avoid this type of situation in the future?
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
"Dr Nic Williams" ---02/01/2014 05:12:53 PM---Doug, if any of the 3rd party repos are screwed, you may need to manually fix the .gitmodules, .git/
Yep - which is exactly our situation. :-(
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
James Bayer ---02/02/2014 02:56:27 AM---none that have been put into motion yet because it involves moving away from submodules to 3rd party