Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 300B61985D for ; Wed, 13 Apr 2016 16:06:59 +0000 (UTC) Received: (qmail 96613 invoked by uid 500); 13 Apr 2016 16:06:59 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 96578 invoked by uid 500); 13 Apr 2016 16:06:59 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 96566 invoked by uid 99); 13 Apr 2016 16:06:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 16:06:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AE00FDFB7C; Wed, 13 Apr 2016 16:06:58 +0000 (UTC) From: sjcorbett To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org Message-ID: Subject: [GitHub] brooklyn-server pull request: Feature/runtime files directory Content-Type: text/plain Date: Wed, 13 Apr 2016 16:06:58 +0000 (UTC) GitHub user sjcorbett opened a pull request: https://github.com/apache/brooklyn-server/pull/114 Feature/runtime files directory So blueprint writers can replace ```yaml brooklyn.config: runtimeTemplates: /path/to/source1: dest1 /path/to/source2: dest2 ... /path/to/sourceN: destN ``` With ```yaml brooklyn.config: runtimeTemplates: /path/to: destinationDir ``` One minor difference: in the first example the two files end up in `runDir/` but in the second in `runDir/to/`. If using the latter syntax I think this would be expected. Each file is copied in a task so there's better visibility of what is in progress at any given point. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sjcorbett/brooklyn-server feature/runtime-files-directory Alternatively you can review and apply these changes as the patch at: https://github.com/apache/brooklyn-server/pull/114.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 #114 ---- commit 940388f18fe6db02d508550bc88ffeddc2c94b8b Author: Sam Corbett Date: 2016-04-13T15:55:08Z Os.isAbsolutish works for blank strings commit 2f15e17844d9c4d1936975e8d353bfeb1cc0dca3 Author: Sam Corbett Date: 2016-04-13T15:44:40Z AbstractSoftwareProcessDriver copyResources walks the filesystem Meaning blueprints can refer to directories rather than every file individually. Each file is copied in a task so there's better visibility of what is in progress at any given point. ---- --- 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. ---