Re: [plugman] js install
FYI, I've added a bunch of issues based on a brain dump of outstanding tasks that Braden wrote up in plugman's future branch. Tagged the issues in JIRA as "future", and they are also noted at the bottom of plugman/future FUTURE.md under the TODO section. We're pretty damn close but missing tests for all the new features, but I think close to 2.6 release time this stuff should be ready.. Super exciting!! On 3/26/13 10:23 AM, "Brian LeRoux" wrote: >fuckin eh, sounds awesome---thx man > >On Tue, Mar 26, 2013 at 10:14 AM, Braden Shepherdson > wrote: >> I added the plugin-loading code there (see scripts/plugin_loader.js) >>but I >> wasn't aware that XHRs to file:// URLs always have status 0 instead of >> 200/404/etc. Andrew fixed that today, but we decided not to try to >> cherry-pick that change into 2.6.x. >> >> It's harmless for the main function of cordova-js, but it means that the >> future branch of the CLI tools won't work with the released 2.6. >> >> Braden >> >> >> On Tue, Mar 26, 2013 at 12:57 PM, Brian LeRoux wrote: >> >>> Braden: whats happening in cordova-js that is broken/being heavily >>> refactored? >>> >>> >>> On Tue, Mar 26, 2013 at 9:36 AM, Braden Shepherdson >>> >>> wrote: >>> > You'll need the future branch of cordova-cli and plugman, and to go >>> through >>> > a bit of a dance to get those two installed and npm linked properly. >>>The >>> > dance is as follows: >>> > >>> > cd plugman >>> > npm install >>> > sudo npm link >>> > cd ../cordova-cli >>> > npm install >>> > sudo npm link >>> > npm link plugman >>> > >>> > Now when you run 'cordova' you get the git version, and 'plugman' >>> likewise. >>> > You can skip everything after the first three lines if you're only >>>using >>> > plugman and not CLI. >>> > >>> > Note that the master branch is currently broken with cordova-js >>>2.6.0; >>> > you'll have to use the future branch. Unfortunately that branch is >>>under >>> > heavy development right now, but I'm trying to keep it in a working >>> state. >>> > >>> > Braden >>> > >>> > >>> > On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj wrote: >>> > >>> >> Use the future branch of plugman. That's where braden is putting the >>> >> symbol mapping work into. >>> >> >>> >> On 3/26/13 9:09 AM, "Brian LeRoux" wrote: >>> >> >>> >> >Steve has plugman working with devicemotion plugin. Happy days! Its >>> >> >time he ripped the JS out of cordova-js and put it in the plugin. >>>But >>> >> >does plugman support js installation? What needs happening to make >>>it >>> >> >so? >>> >> >>> >> >>>
Re: [plugman] js install
fuckin eh, sounds awesome---thx man On Tue, Mar 26, 2013 at 10:14 AM, Braden Shepherdson wrote: > I added the plugin-loading code there (see scripts/plugin_loader.js) but I > wasn't aware that XHRs to file:// URLs always have status 0 instead of > 200/404/etc. Andrew fixed that today, but we decided not to try to > cherry-pick that change into 2.6.x. > > It's harmless for the main function of cordova-js, but it means that the > future branch of the CLI tools won't work with the released 2.6. > > Braden > > > On Tue, Mar 26, 2013 at 12:57 PM, Brian LeRoux wrote: > >> Braden: whats happening in cordova-js that is broken/being heavily >> refactored? >> >> >> On Tue, Mar 26, 2013 at 9:36 AM, Braden Shepherdson >> wrote: >> > You'll need the future branch of cordova-cli and plugman, and to go >> through >> > a bit of a dance to get those two installed and npm linked properly. The >> > dance is as follows: >> > >> > cd plugman >> > npm install >> > sudo npm link >> > cd ../cordova-cli >> > npm install >> > sudo npm link >> > npm link plugman >> > >> > Now when you run 'cordova' you get the git version, and 'plugman' >> likewise. >> > You can skip everything after the first three lines if you're only using >> > plugman and not CLI. >> > >> > Note that the master branch is currently broken with cordova-js 2.6.0; >> > you'll have to use the future branch. Unfortunately that branch is under >> > heavy development right now, but I'm trying to keep it in a working >> state. >> > >> > Braden >> > >> > >> > On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj wrote: >> > >> >> Use the future branch of plugman. That's where braden is putting the >> >> symbol mapping work into. >> >> >> >> On 3/26/13 9:09 AM, "Brian LeRoux" wrote: >> >> >> >> >Steve has plugman working with devicemotion plugin. Happy days! Its >> >> >time he ripped the JS out of cordova-js and put it in the plugin. But >> >> >does plugman support js installation? What needs happening to make it >> >> >so? >> >> >> >> >>
Re: [plugman] js install
I added the plugin-loading code there (see scripts/plugin_loader.js) but I wasn't aware that XHRs to file:// URLs always have status 0 instead of 200/404/etc. Andrew fixed that today, but we decided not to try to cherry-pick that change into 2.6.x. It's harmless for the main function of cordova-js, but it means that the future branch of the CLI tools won't work with the released 2.6. Braden On Tue, Mar 26, 2013 at 12:57 PM, Brian LeRoux wrote: > Braden: whats happening in cordova-js that is broken/being heavily > refactored? > > > On Tue, Mar 26, 2013 at 9:36 AM, Braden Shepherdson > wrote: > > You'll need the future branch of cordova-cli and plugman, and to go > through > > a bit of a dance to get those two installed and npm linked properly. The > > dance is as follows: > > > > cd plugman > > npm install > > sudo npm link > > cd ../cordova-cli > > npm install > > sudo npm link > > npm link plugman > > > > Now when you run 'cordova' you get the git version, and 'plugman' > likewise. > > You can skip everything after the first three lines if you're only using > > plugman and not CLI. > > > > Note that the master branch is currently broken with cordova-js 2.6.0; > > you'll have to use the future branch. Unfortunately that branch is under > > heavy development right now, but I'm trying to keep it in a working > state. > > > > Braden > > > > > > On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj wrote: > > > >> Use the future branch of plugman. That's where braden is putting the > >> symbol mapping work into. > >> > >> On 3/26/13 9:09 AM, "Brian LeRoux" wrote: > >> > >> >Steve has plugman working with devicemotion plugin. Happy days! Its > >> >time he ripped the JS out of cordova-js and put it in the plugin. But > >> >does plugman support js installation? What needs happening to make it > >> >so? > >> > >> >
Re: [plugman] js install
Braden: whats happening in cordova-js that is broken/being heavily refactored? On Tue, Mar 26, 2013 at 9:36 AM, Braden Shepherdson wrote: > You'll need the future branch of cordova-cli and plugman, and to go through > a bit of a dance to get those two installed and npm linked properly. The > dance is as follows: > > cd plugman > npm install > sudo npm link > cd ../cordova-cli > npm install > sudo npm link > npm link plugman > > Now when you run 'cordova' you get the git version, and 'plugman' likewise. > You can skip everything after the first three lines if you're only using > plugman and not CLI. > > Note that the master branch is currently broken with cordova-js 2.6.0; > you'll have to use the future branch. Unfortunately that branch is under > heavy development right now, but I'm trying to keep it in a working state. > > Braden > > > On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj wrote: > >> Use the future branch of plugman. That's where braden is putting the >> symbol mapping work into. >> >> On 3/26/13 9:09 AM, "Brian LeRoux" wrote: >> >> >Steve has plugman working with devicemotion plugin. Happy days! Its >> >time he ripped the JS out of cordova-js and put it in the plugin. But >> >does plugman support js installation? What needs happening to make it >> >so? >> >>
Re: [plugman] js install
You'll need the future branch of cordova-cli and plugman, and to go through a bit of a dance to get those two installed and npm linked properly. The dance is as follows: cd plugman npm install sudo npm link cd ../cordova-cli npm install sudo npm link npm link plugman Now when you run 'cordova' you get the git version, and 'plugman' likewise. You can skip everything after the first three lines if you're only using plugman and not CLI. Note that the master branch is currently broken with cordova-js 2.6.0; you'll have to use the future branch. Unfortunately that branch is under heavy development right now, but I'm trying to keep it in a working state. Braden On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj wrote: > Use the future branch of plugman. That's where braden is putting the > symbol mapping work into. > > On 3/26/13 9:09 AM, "Brian LeRoux" wrote: > > >Steve has plugman working with devicemotion plugin. Happy days! Its > >time he ripped the JS out of cordova-js and put it in the plugin. But > >does plugman support js installation? What needs happening to make it > >so? > >
Re: [plugman] js install
Use the future branch of plugman. That's where braden is putting the symbol mapping work into. On 3/26/13 9:09 AM, "Brian LeRoux" wrote: >Steve has plugman working with devicemotion plugin. Happy days! Its >time he ripped the JS out of cordova-js and put it in the plugin. But >does plugman support js installation? What needs happening to make it >so?