Ok, I've just had chance to play about.

I've performed a new clone:

$ git clone g...@github.com:jollytoad/jquery.git

Initialized empty Git repository in /home/mark/git/jquery/.git/
remote: Counting objects: 10347, done.
remote: Compressing objects: 100% (3098/3098), done.
remote: Total 10347 (delta 6801), reused 10279 (delta 6749)
Receiving objects: 100% (10347/10347), 4.94 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (6801/6801), done.

$ cd jquery
$ make init

Grabbing external dependencies...
cd: 1: can't cd to src/sizzle
make: *** [init] Error 2

Both 'git submodule init' and 'git submodule update' produce no output at all!

So, I tried manually adding the submodules:

$ git submodule add git://github.com/jquery/qunit.git test/qunit

Initialized empty Git repository in /home/mark/git/jquery/test/qunit/.git/
remote: Counting objects: 347, done.
remote: Compressing objects: 100% (271/271), done.
remote: Total 347 (delta 121), reused 224 (delta 75)
Receiving objects: 100% (347/347), 74.04 KiB, done.
Resolving deltas: 100% (121/121), done.

$ git submodule add git://github.com/jeresig/sizzle.git src/sizzle

Initialized empty Git repository in /home/mark/git/jquery/src/sizzle/.git/
remote: Counting objects: 895, done.
remote: Compressing objects: 100% (866/866), done.
remote: Total 895 (delta 576), reused 57 (delta 10)
Receiving objects: 100% (895/895), 431.53 KiB | 388 KiB/s, done.
Resolving deltas: 100% (576/576), done.

$ git submodule init

Submodule 'src/sizzle' (git://github.com/jeresig/sizzle.git)
registered for path 'src/sizzle'
Submodule 'test/qunit' (git://github.com/jquery/qunit.git) registered
for path 'test/qunit'

...and now it works :)

(was using git version 1.6.3.3, now on 1.6.5.3)

- Mark

2009/11/27 Chris Wanstrath <ch...@logicalawesome.com>:
>> On Thu, Nov 26, 2009 at 6:13 PM, Mark Gibson <jollyt...@gmail.com> wrote:
>
> Hi,
>
>>> has anyone managed to build jQuery from a forked repository?
>
> Here's what I did:
>
> 1. forked http://github.com/jquery/jquery to http://github.com/defunkt/jquery
> 2. cloned g...@github.com:defunkt/jquery.git
> 3. ran `make init` in my jquery clone
> 4. saw this output: http://gist.github.com/244143
> 5. ran `make init` again, saw similar output: http://gist.github.com/244144
> 6. deleted my local clone, re-cloned, added a `jquery` remote:
> http://gist.github.com/244147
> 7. ran `make init`, saw original output: http://gist.github.com/244149
>
> Is that similar to what you're doing? What does running `git submodule
> init` then `git submodule update` manually give you?
>
> Also, what version of Git are you on?
>
> $ git --version
> git version 1.6.4.2
>
> --
> Chris Wanstrath
> http://defunkt.github.com/
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to