/magit-circleci

Emacs Magit extension for CircleCI

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

MELPA

magit-circleci

Magit extension for CircleCI. See the latest builds from the Magit status buffer.

alt text

Setup

Get your token (https://circleci.com/docs/api/#add-an-api-token) and shove it as

(setq magit-circleci-token "XXXXXXXX")

or set it as environment variable CIRCLECI_TOKEN.

Usage

M-x magit-circleci-mode : to activate
C-c C-o OR RET : to visit the build at point
" : in magit status to open the CircleCI Menu
" f : to pull latest builds for the current repo

Customization

  • If you use CircleCI enterprise, you can change your host by editing magit-circleci-host.
  • By default, the extension fetches and shows the last 5 builds, you can change that by customizing the `magit-circleci-n-builds' variable.

TODO

  • retry a build
  • cancel build
  • show build output/failure
  • request timeout
  • HTTP error handling
  • utf-8 support
  • filter builds by branch/author
  • change screenshot to show new workflows representation