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
- Host: GitHub
- URL: https://github.com/abrochard/magit-circleci
- Owner: abrochard
- License: gpl-3.0
- Created: 2019-07-03T22:26:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-06T23:01:38.000Z (over 1 year ago)
- Last Synced: 2024-08-05T06:03:47.597Z (over 1 year ago)
- Topics: circleci, emacs, magit
- Language: Emacs Lisp
- Homepage:
- Size: 223 KB
- Stars: 34
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://melpa.org/#/magit-circleci)
# magit-circleci
Magit extension for CircleCI. See the latest builds from the Magit status buffer.

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