Code Monkey home page Code Monkey logo

dewey's Introduction

Build status

Dewey

  • Introducing a standard for cataloguing software components throughout multiple repositories using simple JSON manifest files.
  • A simple command line application for reading the manifests and performing simple actions described by them. Such as building, deploying and graphing dependencies.

Command Line application

The current trend in software design is to break up large, complicated software systems into a collection of many smaller, simpler components. e.g. micro services.
The dewey command line tool is designed to help alleviate some of the problems of working on a large system.
By reading the necessary information from the appropriate set of manifest files, dewey can help perform more complex tasks in a simple instruction. Such as:

  • Build a component.
  • Deploy a component.
  • Graph component dependencies.

Getting Started

Dewey is available as a chocolatey package (latest package can be found here) and can be installed in a single command.

$ choco install dewey

The installation can be simply tested by typing 'dewey'. If successful, the version number and a list of available commands will be displayed.

$ dewey
Dewey Development Tool. v0.0.60
Usage: dewey <command>
Commands:
 - list
 - build
 - deploy
 - graph

Commands

  • The list command loads all discoverable manifests and lists the known components and runtime-resources. More information can be found here.
  • The build command loads all discoverable manifests and attempts to build the component that matches the given name. All the component's dependencies can also be built. More information can be found here.
  • The deploy command loads all discoverable manifests and attempts to deploy the component that matches the given name. All the component's dependencies can also be built. More information can be found here.
  • The graph command loads all discoverable manifests and builds a dependency graph of all the known components and runtime resources. More information can be found here.

Manifest File

Dewey manifest files dewey.json are used to capture the location of components in a repository and information required to perform different tasks. The following root information can be captured:

  • Location of other manifest files.
  • Details about components.
  • Details about runtime resources used by components.

More information and examples about Manifest Files can be found here.

dewey's People

Contributors

pburls avatar

dewey's Issues

Deploy command fails with for components with multiple dependencies

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Dewey.Deploy.DeployCommandHandler.Execute()
   at Dewey.Deploy.DeployCommandHandler.Execute(DeployCommand command)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Dewey.Messaging.CommandProcessor.Execute(ICommand command)
   at Dewey.CLI.Program.Main(String[] args)

Build command fails with for components with multiple dependencies

Build command fails with for components with multiple dependencies:

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Dewey.Build.BuildCommandHandler.Execute()
   at Dewey.Build.BuildCommandHandler.Execute(BuildCommand command)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Dewey.Messaging.CommandProcessor.Execute(ICommand command)
   at Dewey.CLI.Program.Main(String[] args)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.