corr is an interactive console application that ties a Youtrack instance and a
Git repository, to provide certain functionality in its corr ui
mode:
- correlate Git branches and YouTrack issues
- interactively & incrementally query issues and observe their comments
- post issue comments
A separate mode, called corr exec
allows to execute Youtrack commands.
Still separate is a ghci
integration, allowing interactive exploration of
Youtrack objects.
- Install Nix:
bash <(curl https://nixos.org/nix/install)
If security implications of this particular step worry you, please read the following piece by Domen Kožar: https://www.domenkozar.com/2015/09/27/friends-sometimes-let-friends-curl-to-shell/)
- Obtain & build corr:
git clone https://github.com/deepfire/corr cd corr nix-env --no-build-output --cores 4 -iE 'f: (import ./shell.nix {})'
- Validate:
corr --help
- Secure connection (none other is provided) requires SSL certificate of the
Youtrack server (
someserver.crt
). - A secret corresponding to the server/user name pair must be provided by the
means of
~/.authinfo
(yes, it’s far from ideal):machine youtrack.server.hostname login username password password
corr
connection parameters can be specified either via its command line, or
by ~/.corrc
, which is updated after first successful connection.
Mandatory connection parameters:
--server
- YouTrack server hostname
--rest-prefix
- REST-service prefix (typically “/rest”)
--login
- user name
--cacert
- server SSL certificate (
someserver.crt
) --project
- YouTrack project alias