Ignore completed issues that were never on a Trello board.

This commit is contained in:
Jonathan Bernard 2023-11-16 17:32:08 -06:00
parent 214ac9f1b3
commit 2080be5537
3 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -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,

View File

@ -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.
"""
"""