Git Product home page Git Product logo

bubba's Introduction

bubba

A GitHub tool for making Eric's life easier

Installation

It is best to install the package globally:

> npm install bubba-bot -g

Then the command should be available via bubba on the command line.

Configuration

bubba needs a GitHub authorization token available in the environment with the key of GITHUB_TOKEN. You will need to generate a Personal access token for GitHub. In order to do that, you will need to:

  • Navigate to GitHub Settings Tokens
  • Click on Generate new token
  • Provide a token description
  • Provide access (recommended: repo, notifications, and user)
  • Click on the Generate token button
  • Copy the personal access token that was generated
  • Add personal access token to your environment
    • If you are on a Mac you would want to add this line to your ~/.bash_profile:
      export GITHUB_TOKEN=<<GENERATED TOKEN>>

You should now be able to utilise bubba.

Commands

create

bubba create <command> requires a sub-command.

label

bubba create label <name> <color> [options] will create a label, with the specified color across the Dojo 2 repositories. For example:

> bubba create label foo-bar cccccc

Would create the label foo-bar across all the Dojo 2 repositories.

The command will output the success or failure of creating the label for each repository.

milestone

bubba create milestone <title> <due> [options] will create a milestone on the appropriate due date across the Dojo 2 repositories. For example:

> bubba create milestone foo 2017-12-31

Would create a milestone named foo which would be due on the 21st December 2017.

The command will output the success ofr failure of creating the milestone for each repository.

delete

milestone

bubba delete milestone <title> [options] would delete a milestone across the Dojo 2 repositories. For example:

> bubba delete miletstone foo

Would delete a milestone named foo from all the Dojo 2 repositories.

release

bubba release <repo> <tag> [options] will generate a set of release notes based on the commit comments that were supplied in the commit messages. By default, the release notes will be generated using the previous tag before the one specified. For example:

> bubba release widget-core v2.0.0-beta1.4

Would generate a set of release notes as a release on dojo/widget-core for the commits between v2.0.0-beta1.4 and v2.0.0-beta1.3. By default, the releases are unpublished, so they can be reviewed before publishing. A link to the release notes will be output to make it easy to review the notes and publish them.

tags

bubba tags <repo> will output the list of tags for a particular repository. Each tag will be output, and those tags that are already released will be noted with a [released] after the tag name.

update

milestone

bubba update milestone <title> [options] will update a milestone across the Dojo 2 repositories. For example:

> bubba update milestone foo --due 2017-12-01

Would update the due date for the milestone named foo across the Dojo 2 repositories.

License

Apache License, Version 2.0; Copyright 2017 by Kitson P. Kelly

bubba's People

Contributors

dylans avatar kitsonk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bubba's Issues

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.