cocos2d-x repo fixes

12 views
Skip to first unread message

Ricardo Quesada

unread,
Apr 3, 2014, 7:54:57 PM4/3/14
to cocos2d-...@googlegroups.com
 (includes feedback from the Microsoft guys, ideas from the cocos2d-iphone repo, plus other ideas)

Two things I'm trying to fix:
 - improve the cloning speed of cocos2d-x
 - make it easier to compile the external dependencies to new platforms (eg: ARM64, or WP8)


James, since you were maintaining the external dependencies, could you move those dependencies to the cocos2d-x-dependencies repo ? Thanks!


Thoughts?
Thanks.

James Chen

unread,
Apr 3, 2014, 9:57:05 PM4/3/14
to Ricardo Quesada, cocos2d-...@googlegroups.com
So do we need to clean all history commits by force pushing a commit without binaries?
I think only in this way, the repo size could be reduced.
Or are there some better methods to achieve that?

--
You received this message because you are subscribed to the Google Groups "cocos2d JS development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocos2d-js-dev...@googlegroups.com.
To post to this group, send email to cocos2d-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Chen

unread,
Apr 3, 2014, 10:03:51 PM4/3/14
to guanghui8827, cocos2d-js-devel
Could git rm also cleans binaries in history ?

On Apr 4, 2014, at 10:01, guanghui8827 <guang...@cocos2d-x.org> wrote:

I don’t think force push should work. we should git rm all the binaries first, and then commit?


Regards,
Guanghui

NiTe Luo

unread,
Apr 3, 2014, 10:05:54 PM4/3/14
to James Chen, guanghui8827, cocos2d-js-devel
I don’t think so, otherwise how do you revert back the history.

James Chen

unread,
Apr 3, 2014, 10:07:30 PM4/3/14
to NiTe Luo, guanghui8827, cocos2d-js-devel
Agree. So git rm will only affect current status(commit), it could not resolve the problem of big repo.

Xiaoming Zhang

unread,
Apr 3, 2014, 10:21:42 PM4/3/14
to James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
I think tests includes too much resources. We should reuse resources.

Best Regards
Minggo



Xiaoming Zhang

unread,
Apr 4, 2014, 4:37:48 AM4/4/14
to James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
I have added comment in the ticket.
And it is better to add comment there.

Best Regards
Minggo



Ricardo Quesada

unread,
Apr 4, 2014, 4:33:03 PM4/4/14
to Xiaoming Zhang, James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
I added a "how to do it" in the ticket.

Sam Clegg

unread,
May 28, 2014, 6:10:00 PM5/28/14
to Ricardo Quesada, Xiaoming Zhang, James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
So did you guys end up rewriting all of the git history?

I'm look at my fork now and non of the SHA1s match :(

cheers,
sam

On Fri, Apr 4, 2014 at 1:33 PM, Ricardo Quesada
<ricardo...@gmail.com> wrote:
> I added a "how to do it" in the ticket.
>

Xiaoming Zhang

unread,
May 28, 2014, 10:03:54 PM5/28/14
to Sam Clegg, Ricardo Quesada, James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
@Sam

I think you can visit this news: http://www.cocos2d-x.org/news/226

Best Regards
Minggo



Sam Clegg

unread,
May 29, 2014, 12:11:06 PM5/29/14
to Xiaoming Zhang, Ricardo Quesada, James Chen, NiTe Luo, guanghui8827, cocos2d-js-devel
Well, I guess its worth the one time pain of having to rebase all my
branches. The repo certainly was *way* to big before.
Reply all
Reply to author
Forward
0 new messages