Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF6CC1742C for ; Tue, 20 Jan 2015 01:34:47 +0000 (UTC) Received: (qmail 92579 invoked by uid 500); 20 Jan 2015 01:34:49 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 92553 invoked by uid 500); 20 Jan 2015 01:34:49 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 92541 invoked by uid 99); 20 Jan 2015 01:34:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 01:34:48 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jwargo23@gmail.com designates 209.85.160.180 as permitted sender) Received: from [209.85.160.180] (HELO mail-yk0-f180.google.com) (209.85.160.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 01:34:44 +0000 Received: by mail-yk0-f180.google.com with SMTP id 9so15859778ykp.11 for ; Mon, 19 Jan 2015 17:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=X2JoDlTJgXKQ7bEqN/NPCuN8sfNbTd1vvvdqvAshhn0=; b=cqfYmmoDyn9B17BQag91ExJecfgDz/5VKfrhiON+wK0K8aPD3bvoWVO+nLoBoPD7Eq bmhvv7E8ASSLD6IJ9lCWVYbcvYNCueTyGiOXdS1BhNeuQzlMW34l6OIJTOp/L/S5CCMr jlKRN+bo5CF5B3XtB47FFLCs7EgmM3ZwHKe37wEg9z+C0xX/t8CuyGbDBo9+ATwb3zNt BUXHOK46XzfPou5knDYMCf73dmki1H/aBP4ARvrz0w4MF6m55rmcyzLmP7vQf4tpPZhz 8GlevhhI3wKiIBxYFWvI5IASzM/ZBV1qEEzuNKYgedg2VxdSa+hPOcxHFEzjt0beFu9s C8AQ== X-Received: by 10.236.198.130 with SMTP id v2mr19782167yhn.169.1421717663484; Mon, 19 Jan 2015 17:34:23 -0800 (PST) Received: from [127.0.0.1] (cpe-075-181-098-190.carolina.res.rr.com. [75.181.98.190]) by mx.google.com with ESMTPSA id s65sm8820848yhp.2.2015.01.19.17.34.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 17:34:22 -0800 (PST) Message-ID: <54BDB0A2.6040608@gmail.com> Date: Mon, 19 Jan 2015 20:34:26 -0500 From: "John M. Wargo" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: dev@cordova.apache.org Subject: Re: Created a plugin to help with local plugin development References: <5900F9BCB827854FB01CA94BA718810D58DF1906@USPHLEMB11A.global.corp.sap> In-Reply-To: Content-Type: multipart/alternative; boundary="------------040108030304000607090609" X-Virus-Checked: Checked by ClamAV on apache.org --------------040108030304000607090609 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit You're probably right, but it seems to make sense to include it for consistency sake. On 1/14/2015 7:40 PM, Shazron wrote: > I noticed that sometime ago - my thinking is, there is no more context > (.opts.plugin object) really after the plugin is uninstalled, that's why > the hook is not there. > > On Wed, Jan 14, 2015 at 4:27 PM, Wargo, John wrote: > >> Looking at the Hooks read me at >> https://github.com/apache/cordova-lib/blob/master/cordova-lib/templates/hooks-README.md. >> Looks like after_plugin_uninstall is missing from the list. I'm assuming >> it's supposed to be there? Let me know and I'll make the change. >> >> John M. Wargo >> >> -----Original Message----- >> From: Michal Mocny [mailto:mmocny@google.com] >> Sent: Monday, December 1, 2014 2:14 PM >> To: dev >> Subject: FYI: Created a plugin to help with local plugin development >> >> Took the opportunity to use our new plugin hooks and created a plugin to >> automate a tedious task I've been doing a lot of recently: plugin >> re-installation. >> >> https://github.com/mmocny/cordova-plugin-plugin-auto-upgrade >> >> As per the README: >> ================ >> >> This plugin with automatically upgrade (re-install) a set of plugins >> (specified by you) before every cordova prepare. This is useful if you are >> doing plugin development and would like to automatically synchronize your >> app with any changes made to your plugin. >> >> Install the plugin: cordova plugin add >> org.apache.cordova.labs.pluginAutoUpgrade >> >> At root of your app, create a pluginAutoUpgrade.json file, which looks >> like: >> >> { >> "PLUGIN_ID": "PLUGIN_INSTALL_PATH", >> "PLUGIN_ID2": "PLUGIN_INSTALL_PATH" >> } >> >> ================ >> >> This is useful if you are making changes to a plugin inside the plugin's >> directory structure. >> >> For more meaty plugin work, you are possibly better off making native >> changes inside platforms/ and js changes inside plugins/, and being very >> careful to not clobber your work (or use the build/run scripts directly to >> skip prepare entirely). I'm considering improving that workflow as well. >> >> For now, I've found this plugin useful for minor plugin work. Sharing in >> case you do, too. >> >> -Michal >> --------------040108030304000607090609--