cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil Khandelwal <nikhi...@microsoft.com>
Subject RE: Merges as a feature
Date Wed, 02 Sep 2015 12:33:15 GMT
I sort of agree with Raymond that is a useful functionality and is easy enough to do this for
users - by using a 'convention'. Customizing the build system using hooks sounds more complicated
for the developer. How does ionic & mfp actually achieve this? How does a developer specify
specific versions of files that need to be included only on certain platforms.

-Nikhil

-----Original Message-----
From: Jesse [mailto:purplecabbage@gmail.com] 
Sent: Tuesday, September 1, 2015 3:18 PM
To: dev@cordova.apache.org
Subject: Re: Merges as a feature

Well finding it in the docs is/was.
This functionality is depended on by Visual Studio TACO so I don't think it is going anywhere
soon.




My team is hiring!
@purplecabbage
https://na01.safelinks.protection.outlook.com/?url=risingj.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754dab6e3608d2b31b4271%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=LaeCiYKqEmUrtyvFWibxgtMPzi52MfNI5rJHHotD0sc%3d

On Tue, Sep 1, 2015 at 3:03 PM, Raymond Camden <raymondcamden@gmail.com>
wrote:

> Yeah I don't think documentation is a problem. :)
>
> On Tue, Sep 1, 2015 at 4:58 PM, Carlos Santana <csantana23@gmail.com>
> wrote:
> > Merges doc is here:
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fcordo
> va.apache.org%2fdocs%2fen%2fedge%2fguide_cli_index.md.html%23The%2520C
> ommand-Line%2520Interface_using_merges_to_customize_each_platform&data
> =01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754dab6e3608d2b31b4271
> %7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=%2f2FhMxoCI4p5BF1l22FIPv
> Wt3jA0%2fECQfsW9iIAmpbA%3d
> >
> >
> > - Carlos
> > Sent from my iPhone
> >
> >> On Sep 1, 2015, at 5:53 PM, Jesse <purplecabbage@gmail.com> wrote:
> >>
> >> I would like to get rid of merges, now that you bring it up.
> >> We have far too many nuanced features that just sort of go undoc'd.
> >>
> >> I may change my mind if someone can point me at a page in the docs 
> >> that explains the full use and value of this feature because 
> >> currently it
> just
> >> sounds like technical debt.
> >>
> >>
> >> My team is hiring!
> >> @purplecabbage
> >> https://na01.safelinks.protection.outlook.com/?url=risingj.com&data
> >> =01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754dab6e3608d2b31b4
> >> 271%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=LaeCiYKqEmUrtyvFWi
> >> bxgtMPzi52MfNI5rJHHotD0sc%3d
> >>
> >> On Tue, Sep 1, 2015 at 2:38 PM, Raymond Camden 
> >> <raymondcamden@gmail.com
> >
> >> wrote:
> >>
> >>> Oh sorry - well - I brought it up in an issue report for Ionic.
> >>> They've got a few different ways of handling this, and I thought 
> >>> it might make sense to mention the Cordova Merges feature too. I 
> >>> was asked if it was possibly going away, hence me asking the 
> >>> Powers that Be here. (Wait, I think I'm one of those Powers...)
> >>>
> >>> On Tue, Sep 1, 2015 at 4:32 PM, Carlos Santana 
> >>> <csantana23@gmail.com>
> >>> wrote:
> >>>> Ok I agree for simple use case is very simple to drop files in merges.
> >>> Which is the use case for visual studio template.
> >>>>
> >>>> Just curious on why an open ended question?
> >>>>
> >>>> It will be the same as me asking "Is hooks as a Feature going away?"
> >>> With not other context.
> >>>>
> >>>> What prompted you to ask a the random question?
> >>>>
> >>>> Did someone told you that merges is going away?
> >>>>
> >>>> - Carlos
> >>>> Sent from my iPhone
> >>>>
> >>>>> On Sep 1, 2015, at 5:18 PM, Raymond Camden 
> >>>>> <raymondcamden@gmail.com>
> >>> wrote:
> >>>>>
> >>>>> Ok, so now we're off my initial question and into a debate. :)
> >>>>>
> >>>>> I think you are absolutely right - there are more powerful 
> >>>>> solutions
> -
> >>>>> but that doesn't negate the ease of use of merges. The 
> >>>>> simplicity of it may be just fine for many use cases.
> >>>>>
> >>>>>
> >>>>>> On Tue, Sep 1, 2015 at 4:10 PM, Carlos Santana <
> csantana23@gmail.com>
> >>> wrote:
> >>>>>> If people wants achieve to do what merges do, I recommend hooks

> >>>>>> or
> >>> custom build process (i.e. npm scripts, gulp, grunt, ant, perl, 
> >>> ruby,
> etc)
> >>> or running custom build from hooks.
> >>>>>>
> >>>>>> There is more flexibility and control thru hooks than merges.
> >>>>>>
> >>>>>> - Carlos
> >>>>>> Sent from my iPhone
> >>>>>>
> >>>>>>> On Sep 1, 2015, at 5:04 PM, Raymond Camden <
> raymondcamden@gmail.com>
> >>> wrote:
> >>>>>>>
> >>>>>>> K good enough for me. I don't agree with you. ;)
> >>>>>>>
> >>>>>>>> On Tue, Sep 1, 2015 at 3:25 PM, Carlos Santana <
> csantana23@gmail.com>
> >>> wrote:
> >>>>>>>> In my personal opinion it's not a best practice anymore
to 
> >>>>>>>> use
> >>> merges.
> >>>>>>>>
> >>>>>>>> The feature works today if you create a folder "merges"
> >>>>>>>>
> >>>>>>>> cordova create doesn't create it by default It will
not go 
> >>>>>>>> away, visual studio leverages the "merges" folder
> in
> >>> their cordova templates.
> >>>>>>>>
> >>>>>>>> It will not be remove or deprecated, and at the same
time 
> >>>>>>>> will not
> >>> be highlighted as a main Cordova "F"eature
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> - Carlos
> >>>>>>>> Sent from my iPhone
> >>>>>>>>
> >>>>>>>>> On Sep 1, 2015, at 3:34 PM, Raymond Camden <
> raymondcamden@gmail.com>
> >>> wrote:
> >>>>>>>>>
> >>>>>>>>> That's not what I'm asking though. What I'm asking
is - as a
> >>> "Feature"
> >>>>>>>>> (capital F ;) of Cordova, is it something that is
going away?
> >>>>>>>>>
> >>>>>>>>>> On Tue, Sep 1, 2015 at 11:07 AM, Carlos Santana
<
> >>> csantana23@gmail.com> wrote:
> >>>>>>>>>> For mfp cordova it's not needed, there are modern
ways of
> >>> achieving this.
> >>>>>>>>>>
> >>>>>>>>>> In cordova you can use hooks and merges More
advance users 
> >>>>>>>>>> can use their build tooling like grunt, gulp,
> >>> etc.
> >>>>>>>>>>
> >>>>>>>>>> - Carlos
> >>>>>>>>>> Sent from my iPhone
> >>>>>>>>>>
> >>>>>>>>>>> On Sep 1, 2015, at 11:54 AM, Raymond Camden
<
> >>> raymondcamden@gmail.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> Just a quick question - is merges as a feature
going away? 
> >>>>>>>>>>> I
> >>> haven't
> >>>>>>>>>>> seen anything about that here, but just
checking.
> >>>>>>>>>>>
> >>>>>>>>>>> --
> >>>
> ======================================================================
> =====
> >>>>>>>>>>> Raymond Camden, Developer Advocate for MobileFirst
at IBM
> >>>>>>>>>>>
> >>>>>>>>>>> Email : raymondcamden@gmail.com Blog : 
> >>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=www.ray
> >>>>>>>>>>> mondcamden.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7
> >>>>>>>>>>> f9065b097754dab6e3608d2b31b4271%7c72f988bf86f141af91ab2d7c
> >>>>>>>>>>> d011db47%7c1&sdata=anXjyh3CbdImSKHqMrVyVlasAheDoP5m8kVJ8Bd
> >>>>>>>>>>> BSqI%3d
> >>>>>>>>>>> Twitter: raymondcamden
> >>> ------------------------------------------------------------------
> >>> ---
> >>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>>>>>>> For additional commands, e-mail: 
> >>>>>>>>>>> dev-help@cordova.apache.org
> >>> ------------------------------------------------------------------
> >>> ---
> >>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>>>>>> For additional commands, e-mail: 
> >>>>>>>>>> dev-help@cordova.apache.org
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --
> >>>
> ======================================================================
> =====
> >>>>>>>>> Raymond Camden, Developer Advocate for MobileFirst
at IBM
> >>>>>>>>>
> >>>>>>>>> Email : raymondcamden@gmail.com Blog : 
> >>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=www.raymo
> >>>>>>>>> ndcamden.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f906
> >>>>>>>>> 5b097754dab6e3608d2b31b4271%7c72f988bf86f141af91ab2d7cd011db
> >>>>>>>>> 47%7c1&sdata=anXjyh3CbdImSKHqMrVyVlasAheDoP5m8kVJ8BdBSqI%3d
> >>>>>>>>> Twitter: raymondcamden
> >>> ------------------------------------------------------------------
> >>> ---
> >>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>>>>>>
> >>>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>
> ======================================================================
> =====
> >>>>>>> Raymond Camden, Developer Advocate for MobileFirst at IBM
> >>>>>>>
> >>>>>>> Email : raymondcamden@gmail.com Blog : 
> >>>>>>> https://na01.safelinks.protection.outlook.com/?url=www.raymond
> >>>>>>> camden.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b09
> >>>>>>> 7754dab6e3608d2b31b4271%7c72f988bf86f141af91ab2d7cd011db47%7c1
> >>>>>>> &sdata=anXjyh3CbdImSKHqMrVyVlasAheDoP5m8kVJ8BdBSqI%3d
> >>>>>>> Twitter: raymondcamden
> >>>>>>>
> >>>>>>>
> ---------------------------------------------------------------------
> >>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>>>>
> >>>>>>
> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>
> ======================================================================
> =====
> >>>>> Raymond Camden, Developer Advocate for MobileFirst at IBM
> >>>>>
> >>>>> Email : raymondcamden@gmail.com
> >>>>> Blog : 
> >>>>> https://na01.safelinks.protection.outlook.com/?url=www.raymondca
> >>>>> mden.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754
> >>>>> dab6e3608d2b31b4271%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata
> >>>>> =anXjyh3CbdImSKHqMrVyVlasAheDoP5m8kVJ8BdBSqI%3d
> >>>>> Twitter: raymondcamden
> >>>>>
> >>>>> ----------------------------------------------------------------
> >>>>> ----- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>>
> >>>> -----------------------------------------------------------------
> >>>> ---- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>
> >>>
> >>>
> >>> --
> >>>
> ======================================================================
> =====
> >>> Raymond Camden, Developer Advocate for MobileFirst at IBM
> >>>
> >>> Email : raymondcamden@gmail.com
> >>> Blog : 
> >>> https://na01.safelinks.protection.outlook.com/?url=www.raymondcamd
> >>> en.com&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754dab6
> >>> e3608d2b31b4271%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=anXjy
> >>> h3CbdImSKHqMrVyVlasAheDoP5m8kVJ8BdBSqI%3d
> >>> Twitter: raymondcamden
> >>>
> >>> ------------------------------------------------------------------
> >>> --- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>> For additional commands, e-mail: dev-help@cordova.apache.org
> >>>
> >>>
>
>
>
> --
> ======================================================================
> ===== Raymond Camden, Developer Advocate for MobileFirst at IBM
>
> Email : raymondcamden@gmail.com
> Blog : 
> https://na01.safelinks.protection.outlook.com/?url=www.raymondcamden.c
> om&data=01%7c01%7cnikhilkh%40microsoft.com%7c7f9065b097754dab6e3608d2b
> 31b4271%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=anXjyh3CbdImSKHqM
> rVyVlasAheDoP5m8kVJ8BdBSqI%3d
> Twitter: raymondcamden
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>
Mime
View raw message