Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3463E200C77 for ; Mon, 1 May 2017 23:51:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 32FB2160BB9; Mon, 1 May 2017 21:51:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79AF9160BAE for ; Mon, 1 May 2017 23:51:07 +0200 (CEST) Received: (qmail 63463 invoked by uid 500); 1 May 2017 21:51:06 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 63452 invoked by uid 99); 1 May 2017 21:51:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2017 21:51:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4DB341B14C5 for ; Mon, 1 May 2017 21:51:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HSZBwlYcTqKh for ; Mon, 1 May 2017 21:51:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0DB295F5C4 for ; Mon, 1 May 2017 21:51:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5B4ABE05BF for ; Mon, 1 May 2017 21:51:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 158FD21DE1 for ; Mon, 1 May 2017 21:51:04 +0000 (UTC) Date: Mon, 1 May 2017 21:51:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12705) Project *_plugin_install hooks don't have information on installed plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 01 May 2017 21:51:08 -0000 [ https://issues.apache.org/jira/browse/CB-12705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991624#comment-15991624 ] ASF GitHub Bot commented on CB-12705: ------------------------------------- Github user stevengill commented on the issue: https://github.com/apache/cordova-lib/pull/549 merged! Thanks > Project *_plugin_install hooks don't have information on installed plugin > ------------------------------------------------------------------------- > > Key: CB-12705 > URL: https://issues.apache.org/jira/browse/CB-12705 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-cli, CordovaLib > Affects Versions: 6.5.0 > Reporter: Fabian Eichinger > > I want to build a {{after_plugin_install}} javascript hook for my project that only executes it logic when installing a specific plugin (in my case {{cordova-plugin-file}}). As it turns out the context passed to project-level {{\*_plugin_install}} hooks do not contain *any* information on the plugin that was installed and this makes these kind of hooks basically useless. > I propose passing to them the same information in {{context.opts.plugin}} as to plugin hooks. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org