Ignore completed issues that were never on a Trello board.
This commit is contained in:
parent
214ac9f1b3
commit
2080be5537
@ -1,6 +1,6 @@
|
||||
# Package
|
||||
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
author = "Jonathan Bernard"
|
||||
description = "Synchronization tool between JDB pit and Trello."
|
||||
license = "MIT"
|
||||
|
@ -209,6 +209,10 @@ proc syncContext(
|
||||
|
||||
for lentIssue in unmatchedIssues:
|
||||
let issue = lentIssue
|
||||
|
||||
# Don't worry about creating new cards for issues that are done.
|
||||
if issue.state == Done: continue
|
||||
|
||||
let list = board.lists[listCategoryForIssueState(issue.state)][0]
|
||||
let newCard = TrelloCard(
|
||||
name: issue.summary,
|
||||
|
@ -1,4 +1,4 @@
|
||||
const PIT2TRELLO_VERSION* = "0.2.0"
|
||||
const PIT2TRELLO_VERSION* = "0.2.1"
|
||||
|
||||
const USAGE* = """
|
||||
Usage:
|
||||
@ -15,4 +15,4 @@ Options:
|
||||
--debug Enable verbose debug logging.
|
||||
|
||||
--help Print this help and usage information.
|
||||
"""
|
||||
"""
|
Loading…
Reference in New Issue
Block a user