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 4743D10DC1 for ; Mon, 5 Jan 2015 09:11:08 +0000 (UTC) Received: (qmail 22162 invoked by uid 500); 5 Jan 2015 09:11:09 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 22115 invoked by uid 500); 5 Jan 2015 09:11:09 -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 22101 invoked by uid 99); 5 Jan 2015 09:11:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 09:11:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 23CD3A3F26B; Mon, 5 Jan 2015 09:11:06 +0000 (UTC) From: hstaudacher To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org Message-ID: Subject: [GitHub] cordova-lib pull request: CB-8239 Add support for git urls to 'cor... Content-Type: text/plain Date: Mon, 5 Jan 2015 09:11:06 +0000 (UTC) GitHub user hstaudacher opened a pull request: https://github.com/apache/cordova-lib/pull/141 CB-8239 Add support for git urls to 'cordova platform add' A function called 'cordova_custom_git' was added to lazy_load.js. When invoking 'cordova platform add GIT_REPO' this function will now be invoked. It clones the repo if accessible into a tmp directory and forwards the location of this directory to handle it as ordinary folder after the cloning. Also two hooks were added: 'before_library_clone' and 'after_library_clone'. They work the same way as the 'before_library_download' and 'after_library_download' hooks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hstaudacher/cordova-lib master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/141.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #141 ---- commit 76d5b8e675732dccb2d36b12b265c1a365a4b66e Author: hstaudacher Date: 2015-01-05T08:45:02Z CB-8239 Add support for git urls to 'cordova platform add' A function called 'cordova_custom_git' was added to lazy_load.js. When invoking 'cordova platform add GIT_REPO' this function will now be invoked. It clones the repo if accessible into a tmp directory and forwards the location of this directory to handle it as ordinary folder after the cloning. Also two hooks were added: 'before_library_clone' and 'after_library_clone'. They work the same way as the 'before_library_download' and 'after_library_download' hooks. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org