Products organizations must build evidence based product plans from competitive and customer interactions. Using Artificial Intelligence and Machine Learning, Mediumroast for GitHub realizes an active product planning repository for Product Managers and Developers everyone can see, use, and reference. The repository is built on GitHub and is accessible via Command Line Interface (CLI) and a Software Development Kit (SDK). This CLI and SDK are built on Node.js and is available for Linux and MacOS operating systems.
A GitHub Page Version of this content is also available, but the screencasts and videos won't display.
Mediumroast for GitHub includes a GitHub Application, a Command Line Interface, and a Software Development Kit. The following steps show you how to install the App and the CLI with SDK.
- A GitHub organization
- Permissions in your GitHub organization to install a GitHub application.
- Access to a command line terminal on Linux or MacOS.
- Node.js installed, ideally globally for all users.
- NPM installed, ideally globally for all users.
Browse to the Mediumroast for GitHub GitHub Application and:
- Click install,
- Choose the location for the installation, usually your organization,
- Confirm the requested permissions, and
- Browse to your organization's
Settings > Third-Party Access > GitHub Apps
and confirm that Mediumroast for GitHub is installed.
This package mediumroast_js can be installed and removed via npm
, several ways to install follow.
Assuming the preinstallation requirements, installation of node.js and npm, are met please one one of the following.
- Global installation for all users:
sudo npm i -g mediumroast_js
- Local installation for a developer or single user:
npm i mediumroast_js
Coming soon.
After installation there are times when you may want to upgrade the CLI to the latest version, run the following.
- Global upgrade for all users:
sudo npm i -g mediumroast_js
- Local upgrade for a developer or single user:
npm i mediumroast_js
After upgrading the CLI it may be necessary to upgrade the actions in the repository. To do this run mrcli actions --update
and the actions will be updated to the latest version.
Before you can use the Mediumroast for GitHub CLI the environment must be setup. With the CLI installed please run mrcli setup
to start the setup process, note there's a video of the setup process in CLI README.
Running mrcli setup
creates a repository in your oganization called <organization_name>_discovery
to contain all interactions and companies, creates two intitial companies, and installs two GitHub Actions to control the number of branches and provide some basic out of the box reporting -- see example screenshot below.
Running mrcli setup
a second time on an existing repository will not create a new one, instead it will detect the existing repository and prompt to update your authentication method and report theme. This is used typically when another user in your organization needs to access the repository.
After the setup process is complete you can verify the installation by running mrcli company
to see the companies in the repository.
Additionally, two GitHub Actions are installed in the repository, one to clean up branches and the other to generate reports. To verify the actions are installed browse to the repository and click on the Actions
tab to see the actions running. These actions are set to run on a schedule, but can be run manually. When a run you'll find an automatically generated README.md
file in the repository and links to company reports in the README.md
, an example screenshot of the repository companies report is below.
Since Mediumroast for GitHub creates a regular repository you can interact with it as normal, but doing so is not recommended. If you interact with the repository, in regular ways, this could result in Mediumroast for GitHub becoming inoperable. There are cases where it may become necessary to directly work with the repository, but that should be rare.
If you're interested in contributing to the Mediumroast for GitHub project, please review the CONTRIBUTING.md file in the .github
directory of the repository. The file contains information on how to get started, how to clone the repository, and how to install the SDK for development.
If you detect a problem or want to suggest an improvement open an issue and we will work with you to resolve or respond.
If you need support or would like to have Mediumroast run the Caffeine Machine Intelligence service on your repository please contact the Mediumroast team via Discord or email us at hello@mediumroast.io.
- Resolved documentation errata for Demo.md
- Updated text for basic reporting workflow and action to show both companies and study reports are running.
- Removed debugging logging statements from basic reporting action.
- The latest version of the SDK and CLI package now includes an initial implementation of Studies with the Foundation study.
- The SDK and CLI may run on for Windows OS, but it has not been tested. If you choose to install and run into problems please open an issue and we will work with you to resolve the matter.
cli-table
has been replaced bycli-table3
to ensure that CLI tabular outputs are on a stable and maintained package.- The
xlsx
package has been removed and replaced withexceljs
for improved output to Excel files, and due to the security vulnerability in thexlsx
package.