On 01/03/13 09:53, Bertrand Jacquin wrote:
> D'ar gwener 01 a viz Meurzh 2013 e 10 eur 44, « Tom Hacohen » he deus skrivet 
> :
>> On 28/02/13 19:55, Bertrand Jacquin wrote:
>>> Another thing that can be done is a dumb repository using git submodule
>>> :
>>>
>>>    $ git init /var/tmp/e-core
>>>    $ cd /var/tmp/e-core
>>>    $ git submodule add http://git.enlightenment.org/core/efl.git/ efl
>>>    $ git submodule add http://git.enlightenment.org/core/elementary.git/ 
>>> elementary
>>>    $ git submodule add http://git.enlightenment.org/core/enlightenment.git/ 
>>> enlightenment
>>>    $ git submodule add 
>>> http://git.enlightenment.org/core/evas_generic_loaders.git 
>>> evas_generic_loaders
>>>
>>> Then to update all the repositories :
>>>
>>>    $ git submodule update
>>>
>>> We can easily provide some dumb repositories for different kind of usage
>>> so you will just need to clone the dumb one. Theses dumb repo should be
>>> maintain manually.
>>
>> Yeah, we thought about that, and also talked about it with leif that
>> suggested it as well. I don't really like it. While it does make sense
>> for efl, elm and evas_generic loaders as they might have actual
>> dependency requirements, enlightenment has nothing to do with it.
>>
>> Also, people will have to maintain that repository which is quite a pain
>> in the ass, and a good reason why to give up on this idea.
>>
>> When you run "git submodule update" it doesn't "update" the repositories
>> according to upstream, but it's just a "local refresh"
>
> Yes, it is 'git submodule foreach git fetch'
>
> $ git submodule foreach git fetch
> Entering 'efl'
> Entering 'elementary'
> Entering 'enlightenment'
> remote: Counting objects: 155, done.
> remote: Compressing objects: 100% (46/46), done.
> remote: Total 143 (delta 126), reused 112 (delta 97)
> Receiving objects: 100% (143/143), 24.90 KiB, done.
> Resolving deltas: 100% (126/126), completed with 12 local objects.
>  From http://git.enlightenment.org/core/enlightenment
>   + ea2f81d...4dbaae8 devs/jeyzu/mixer -> origin/devs/jeyzu/mixer  (forced 
> update)
>
> Mainting scripts, or maintaining a git dumb repo is quiet the same.

Yeah, but that means every user will have to do:
git clone master_repo.git
git submodule init
git submodule update
git submodule foreach git fetch (is that enough? Don't you need to also 
merge that submodule?)

Which is very tedious.

--
Tom.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to