Compare commits

..

No commits in common. "main" and "0.2.2" have entirely different histories.
main ... 0.2.2

4 changed files with 6 additions and 11 deletions

View File

@ -1 +0,0 @@
nim 2.2.0

View File

@ -1,6 +1,6 @@
# Package
version = "0.2.3"
version = "0.2.2"
author = "Jonathan Bernard"
description = "Synchronization tool between JDB pit and Trello."
license = "MIT"
@ -19,8 +19,8 @@ requires @[
# Dependencies from git.jdb-software.com/jdb/nim-packages
requires @[
"cliutils >= 0.9.1",
"pit >= 4.26.0",
"cliutils >= 0.8.1",
"pit >= 4.23.3",
"timeutils",
"update_nim_package_version"
]

View File

@ -192,11 +192,6 @@ proc syncContext(
for (list, lentCard) in unmatchedCards:
let (list, card) = (list, lentCard)
let issueState = issueStateForListCategory(list.category)
# Don't worry about creating new issues for cards that are done.
if issueState == Done: continue
let issue = Issue(
id: genUUID(),
summary: card.name,
@ -210,6 +205,7 @@ proc syncContext(
filter(it.isSome).
map(it.get))
let issueState = issueStateForListCategory(list.category)
if not dryRun: s.pit.tasksDir.store(issue, issueState)
info "pit created: " & formatSectionIssue(issue, width = 64) & " " &
$issueState

View File

@ -1,4 +1,4 @@
const PIT2TRELLO_VERSION* = "0.2.3"
const PIT2TRELLO_VERSION* = "0.2.2"
const USAGE* = """
Usage: