Re: Plugins as subdirectories of git repos, trivial as of git 1.7

2013-04-22 Thread Michal Mocny
I agree cordova-core should not include plugins.

I also agree that the cordova plugins should not need to come as one bundle
and can be picked-and-chosen as per an app's needs.

I merely asking if it is necessary to have them live in separate git
repositories.


On Mon, Apr 22, 2013 at 12:05 PM, Filip Maj  wrote:

> Lessons learned from github.com/phonegap/phonegap-plugins ...
>
> On 4/22/13 8:28 AM, "Brian LeRoux"  wrote:
>
> >There is a very good reason that we want the plugins to be discreet,
> >atomic, almost userspace, artifacts vs the core cordova distribution
> >which should just be bridge and supporting code.
> >
> >
> >On Mon, Apr 22, 2013 at 7:50 AM, Anis KADRI  wrote:
> >> I can only see one. Does the apache infra support 1.7 ? :-D This feature
> >> can't be just client-side.
> >> If they do, I don't see any reason to have 16 repositories.
> >>
> >>
> >> On Mon, Apr 22, 2013 at 7:35 AM, Michal Mocny 
> wrote:
> >>
> >>> Hey,
> >>>
> >>> Just found out that git now does support cloning a subdirectory of a
> >>> project using sparse-checkout mode (added in git 1.7, so super fresh).
> >>>
> >>> Quick guide:
> >>>
> >>>
> http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checko
> >>>ut/
> >>>
> >>> I know this was indirectly possible using a temporary directory
> >>>holding the
> >>> full repo clone, but this change means we can now operate directly on
> >>>the
> >>> git repo from within a cordova project workspace.  I like this.
> >>>
> >>> What does this mean for cordova core plugin repo(s)?  Could someone
> >>> summarize the compelling reasons for breaking up the plugins?
> >>>
> >>> -Michal
> >>>
>
>


Re: Plugins as subdirectories of git repos, trivial as of git 1.7

2013-04-22 Thread Filip Maj
Lessons learned from github.com/phonegap/phonegap-plugins ...

On 4/22/13 8:28 AM, "Brian LeRoux"  wrote:

>There is a very good reason that we want the plugins to be discreet,
>atomic, almost userspace, artifacts vs the core cordova distribution
>which should just be bridge and supporting code.
>
>
>On Mon, Apr 22, 2013 at 7:50 AM, Anis KADRI  wrote:
>> I can only see one. Does the apache infra support 1.7 ? :-D This feature
>> can't be just client-side.
>> If they do, I don't see any reason to have 16 repositories.
>>
>>
>> On Mon, Apr 22, 2013 at 7:35 AM, Michal Mocny  wrote:
>>
>>> Hey,
>>>
>>> Just found out that git now does support cloning a subdirectory of a
>>> project using sparse-checkout mode (added in git 1.7, so super fresh).
>>>
>>> Quick guide:
>>> 
>>>http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checko
>>>ut/
>>>
>>> I know this was indirectly possible using a temporary directory
>>>holding the
>>> full repo clone, but this change means we can now operate directly on
>>>the
>>> git repo from within a cordova project workspace.  I like this.
>>>
>>> What does this mean for cordova core plugin repo(s)?  Could someone
>>> summarize the compelling reasons for breaking up the plugins?
>>>
>>> -Michal
>>>



Re: Plugins as subdirectories of git repos, trivial as of git 1.7

2013-04-22 Thread Brian LeRoux
There is a very good reason that we want the plugins to be discreet,
atomic, almost userspace, artifacts vs the core cordova distribution
which should just be bridge and supporting code.


On Mon, Apr 22, 2013 at 7:50 AM, Anis KADRI  wrote:
> I can only see one. Does the apache infra support 1.7 ? :-D This feature
> can't be just client-side.
> If they do, I don't see any reason to have 16 repositories.
>
>
> On Mon, Apr 22, 2013 at 7:35 AM, Michal Mocny  wrote:
>
>> Hey,
>>
>> Just found out that git now does support cloning a subdirectory of a
>> project using sparse-checkout mode (added in git 1.7, so super fresh).
>>
>> Quick guide:
>> http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/
>>
>> I know this was indirectly possible using a temporary directory holding the
>> full repo clone, but this change means we can now operate directly on the
>> git repo from within a cordova project workspace.  I like this.
>>
>> What does this mean for cordova core plugin repo(s)?  Could someone
>> summarize the compelling reasons for breaking up the plugins?
>>
>> -Michal
>>


Re: Plugins as subdirectories of git repos, trivial as of git 1.7

2013-04-22 Thread Anis KADRI
I can only see one. Does the apache infra support 1.7 ? :-D This feature
can't be just client-side.
If they do, I don't see any reason to have 16 repositories.


On Mon, Apr 22, 2013 at 7:35 AM, Michal Mocny  wrote:

> Hey,
>
> Just found out that git now does support cloning a subdirectory of a
> project using sparse-checkout mode (added in git 1.7, so super fresh).
>
> Quick guide:
> http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/
>
> I know this was indirectly possible using a temporary directory holding the
> full repo clone, but this change means we can now operate directly on the
> git repo from within a cordova project workspace.  I like this.
>
> What does this mean for cordova core plugin repo(s)?  Could someone
> summarize the compelling reasons for breaking up the plugins?
>
> -Michal
>