phonegap / phonegap-roadmap

Upcoming milestones and projects for PhoneGap
4 stars 6 forks source link

Decouple Cordova from PhoneGap #34

Open mwbrooks opened 8 years ago

mwbrooks commented 8 years ago

Description

We would like to see PhoneGap (CLI and Desktop) not require a specific version of Cordova. Instead, we would like each app to declare the Cordova version as a dependency. This will allow older apps to lockdown the Cordova version, while still using the latest PhoneGap tools.

Follow

stevengill commented 8 years ago

To split up cordova-create, it makes sense to split up all fetching code into its own module. I'm currently working on that. Here is the proposal for cordova-fetch: https://github.com/cordova/cordova-discuss/pull/33

mwbrooks commented 8 years ago

Had a meeting with Microsoft to get consensus on it.

mwbrooks commented 8 years ago

Progress is being made on a forked branch: https://github.com/stevengill/cordova-lib/tree/CB-9858

mwbrooks commented 8 years ago

Made some progress this week. Working towards integrating into Cordova Lib behind a flag.

mwbrooks commented 8 years ago

@stevengill when you have a moment, can you drop a brief update on this work.

mwbrooks commented 8 years ago

Plugin and template integration remaining.

mwbrooks commented 8 years ago

@stevengill is back!

stevengill commented 8 years ago

Lots of discussion has been happening around the fetch proposal and how it is going to work with npm install. Microsoft, IBM and others are chiming in. https://github.com/cordova/cordova-discuss/pull/33. Uninstall method was added to cordova-fetch that runs npm uninstall.

stevengill commented 8 years ago

ready for merge. Tools release this week will include the PR

mwbrooks commented 7 years ago

@stevengill can you update these with the next steps or we can create a new task to track it.

stevengill commented 7 years ago

Definitely!

After the above are completed (timeline, next week)

mwbrooks commented 7 years ago

cordova-create has been extracted and will be published today. Next step is getting the CLI to use it.

mwbrooks commented 7 years ago

Publishing cordova-create is held up by a failing test.

We have a branch on PhoneGap that uses the cordova-create module. This is just waiting on the official release.

mwbrooks commented 7 years ago

Team meeting tomorrow to discuss the entire process of packing (bundling) cordova with PhoneGap.

carynbear commented 7 years ago

https://docs.google.com/document/d/1C_gHnJfc4oqkYqUVA1omrwCHkoxCgi7TEa71-hgNSmI/edit?usp=sharing

carynbear commented 7 years ago

@mwbrooks: I added in symlinking and had Suraj review the changes I made to connect this week. The packagejson dependencies require the next minor Common update. But it's ready for testing slash review

https://docs.google.com/document/d/1C_gHnJfc4oqkYqUVA1omrwCHkoxCgi7TEa71-hgNSmI/edit?usp=sharing

carynbear commented 7 years ago

@stevengill Next Steps:

  1. Release Cordova Common minor bump
  2. Review Cordova Create (still one failing test on AppVeyor; added back symlinking) 2.1 Review Cordova Lib 2.2 Review Cordova Cli (added back symlinking)
  3. Review Phonegap Cordova Dependence
  4. Review Connect PhoneGap (was already checked out by Suraj)
  5. Review PhoneGap CLI

ToDos:

carynbear commented 7 years ago

(1) Waiting on Cordova-Common 1.4.1 release! (2) cordova-create PR to fix appveyor test (2.1) need to publish Cordova-Create on npm (2.2) cordova-lib PR failing tests (2.3) cordova-cli PR (3) Give Phonegap-Cordova-Dependence a new phonegap repo (3.1) Need to publish Phonegap-Cordova-Dependence on npm. (4) connect-phonegap PR (5) phonegap-cli PR for decoupling

mwbrooks commented 7 years ago

Common was released last week. Android, iOS, and create are going out today. See the above list for the next steps.

mwbrooks commented 7 years ago

cordova-create was released and published on Friday. Next up we can review and merge it into the PhoneGap CLI / Desktop.

stevengill commented 7 years ago

(1) Waiting on Cordova-Common 1.4.1 release! (2) cordova-create PR to fix appveyor test (2.1) need to publish Cordova-Create on npm (2.2) cordova-lib PR failing tests (2.3) cordova-cli PR (3) Give Phonegap-Cordova-Dependence a new phonegap repo (3.1) Need to publish Phonegap-Cordova-Dependence on npm. (4) connect-phonegap PR (5) phonegap-cli PR for decoupling

mwbrooks commented 7 years ago

@stevengill is moving along on this. @purplecabbage is going to help look into the connect-phonegap dependence on Cordova.

stevengill commented 7 years ago

onboarding vishal on this work today. Need to figure out what to do with phonegap-cordova-dependence and then move forward

maverickmishra commented 7 years ago

The phonegap - cordova decouple plan document .

https://docs.google.com/document/d/1eC3jV0P9eQybn2hQyByIyLXtA-haiSdnD-W3aXQ326o/edit

stevengill commented 7 years ago

Vishal just shared a document outline changes we are going to make to connect-phonegap so we don't have to phonegap-cordova dependance as its own module anymore and instead have it live in pg-cli.

mwbrooks commented 7 years ago

A lot of discussion happened last week. Looking to remove the dependence module and move the code into the PG CLI. Also moving the browser platform management from connect-phonegap to the phonegap-cli.

stevengill commented 7 years ago

@maverickmishra, incorporated cordova-phonegap-depandance into pg cli. Adding browser functionality got moved into cli from connect-phonegap.

mwbrooks commented 7 years ago

@maverickmishra moved the browser functionality into the PG CLI and added the test cases by @carynbear. Final tasks are adding browser tests (likely ported from connect-phonegap).

mwbrooks commented 7 years ago

Setting this On Hold since @maverickmishra is away.

mwbrooks commented 7 years ago

@maverickmishra if you have an update can you drop it here. Thanks!

mwbrooks commented 7 years ago

@maverickmishra

mwbrooks commented 7 years ago

@maverickmishra

mwbrooks commented 7 years ago