An open API service indexing awesome lists of open source software.

https://github.com/abrochard/magit-circleci

Emacs Magit extension for CircleCI
https://github.com/abrochard/magit-circleci

circleci emacs magit

Last synced: 4 months ago
JSON representation

Emacs Magit extension for CircleCI

Awesome Lists containing this project

README

          

[![MELPA](https://melpa.org/packages/magit-circleci-badge.svg)](https://melpa.org/#/magit-circleci)

# magit-circleci

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

![alt text](magit-circleci.png)

## 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.

## Notice
* Name of your local workspace folder should be same as name of the repo, for example, if repo is `orgName/repoName`, then the folder name should be `repoName`, otherwise, retrieve of build status will fail.

## 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