Skip to content

andrewc89/Mertrellial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mertrellial

Adds Mercurial commit messages as comments on specified Trello cards

Usage

var mertrellial = new Mertrellial("<repository directory filepath>", "<Trello appy key>", "<Trello auth token>");
mertrellial.CheckCommits();
mertrellial.PushComments();

You can set the app key and auth token in the constructor as default values so your instantiation is a little more clean. You can also specify a DateTime from which to check for commits (the default is within the last hour):

new Mertrellial("<repo path>").CheckCommits(DateTime.Now.AddHours(-1));

Syntax

<VERB> <BOARD> card <CARD #> commit message

One message per line. The verb is optional. It will move the card to the specified list.

Example:

coding Mertrellial card 2: updated README

Personalization

You'll want to personalize the VERBS Dictionary to match your Trello list names. You can do this by editing the code or at runtime with mertrellial.SetVerbs(myVerbs).

Dependencies

Trello.NET Mercurial.NET

About

Updates Trello cards via Mercurial commit messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages