You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/01 16:21:08 UTC

[GitHub] mrutkows opened a new issue #430: Manifest parser needs to find Manifests in subdirectories within GitHub

mrutkows opened a new issue #430: Manifest parser needs to find Manifests in subdirectories within GitHub
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/430
 
 
   Currently, our parser will only find manifest files (i.e., manifest.yaml) within the top-level GitHub project directory/folder.  We need to be able to allow manifests for packages to be referenced (and found and processed) if they are placed within sub-directories (or sub-folders) within a GitHub project repo. as well.
   
   For example, if we specify a dependent (GitHub hosted) package within a manifest as follows:
   ```
   package:
     name: TestGitHubDependency
     dependencies:
       ow-package:
         location: github.com/myrepo/openwhisk-packages
   ```
   
   It will find, by default, the manifest.yaml within the "github.com/myrepo/openwhisk-app" top-level directory.
   
   However, we also need it to support subdirectories as expressed in the following example:
   ```
   package:
     name: TestGitHubDependency
     dependencies:
       ow-package-1:
         location: github.com/myrepo/openwhisk-packages/pkg1
       ow-package-1:
         location: github.com/myrepo/openwhisk-packages/pkg2
   ```
   
   where a "manifest.yaml" file exists in both the "pkg1" and "pkg2" subdirectories, but there is NO manifest.yaml in the top-level project repo. folder (i.e., no manifest in github.com/myrepo/openwhisk-packages/).
   
   Wskdeploy will have many GitHub integartion tests that will rely upon this ability (feature).
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services