Giter Club home page Giter Club logo

drobot's Introduction

Codeship Status for snufkin/drobot Go Report Card

Overview

The purpose of this utility is to check what components are outdated in a Drupal installation. It requires a manifest file, which contains the list of modules and themes along with the version information, and compares it to the release information published on drupal.org. Currently only supports drush makefiles, but composer.lock files (for Drupal 8+) are also planned.

Installing from scratch

Make sure you have a working Go environment. There should be no specific version requirements. Read the Golang install documentation on how to do this. Once ready issue the following command:

$ go get github.com/snufkin/drobot

you can build the binary using a simple go build command.

Dependencies

The following packages are required for .make and composer.lock support, respectively:

  1. github.com/snufkin/go-composerlockparser
  2. github.com/snufkin/go-drushmakeparser

The dependencies should automatically downloaded when you go get drobot.

Usage

Once you have the binary compiled the usage should be straightforward:

$ ./drobot parse /path/to/mysite.make
$ ./drobot parse /path/to/mysite/compoers.lock

Both of these commands will generate a status report, similarly to how drush would do it, when using drush up. The main difference is that this approach does not have to connect to a fully bootstrapped and functional website, which means, that you don't have to move heavy databases for a simple monitoring task.

Planned features

The report output currently is hardcoded, but it would be nice to support various formats, such as CSV, JSON and the tab delimited format as is currently.

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.