Compare commits
2 Commits
8b0c751344
...
main
Author | SHA1 | Date | |
---|---|---|---|
85d561c8a5 | |||
1064de3e1b |
@ -1,2 +1,2 @@
|
|||||||
[tools]
|
[tools]
|
||||||
nim = "2.2.0"
|
nim = "2.2.4"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "4.29.0"
|
version = "4.29.1"
|
||||||
author = "Jonathan Bernard"
|
author = "Jonathan Bernard"
|
||||||
description = "Personal issue tracker."
|
description = "Personal issue tracker."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -13,7 +13,6 @@ bin = @["pit"]
|
|||||||
requires @[
|
requires @[
|
||||||
"nim >= 1.4.0",
|
"nim >= 1.4.0",
|
||||||
"docopt >= 0.7.1",
|
"docopt >= 0.7.1",
|
||||||
"jester >= 0.6.0",
|
|
||||||
"uuids >= 0.1.10",
|
"uuids >= 0.1.10",
|
||||||
"zero_functional"
|
"zero_functional"
|
||||||
]
|
]
|
||||||
@ -28,4 +27,4 @@ requires @[
|
|||||||
]
|
]
|
||||||
|
|
||||||
task updateVersion, "Update the version of this package.":
|
task updateVersion, "Update the version of this package.":
|
||||||
exec "update_nim_package_version pit 'src/pit/cliconstants.nim'"
|
exec "update_nim_package_version pit 'src/pit/cliconstants.nim'"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const PIT_VERSION* = "4.29.0"
|
const PIT_VERSION* = "4.29.1"
|
||||||
|
|
||||||
const USAGE* = """Usage:
|
const USAGE* = """Usage:
|
||||||
pit ( new | add) <summary> [<state>] [options]
|
pit ( new | add) <summary> [<state>] [options]
|
||||||
|
@ -19,6 +19,7 @@ type
|
|||||||
lastUpdatedAt*: DateTime
|
lastUpdatedAt*: DateTime
|
||||||
archivedAt*: Option[DateTime]
|
archivedAt*: Option[DateTime]
|
||||||
tags*: seq[string]
|
tags*: seq[string]
|
||||||
|
parent*: Option[string]
|
||||||
priority*: Option[string]
|
priority*: Option[string]
|
||||||
project*: Option[string]
|
project*: Option[string]
|
||||||
milestone*: Option[string]
|
milestone*: Option[string]
|
||||||
@ -45,6 +46,9 @@ proc toServerTask(i: Issue): ServerTask =
|
|||||||
lastUpdatedAt:
|
lastUpdatedAt:
|
||||||
if i.hasProp("last-updated"): parseIso8601(i["last-updated"])
|
if i.hasProp("last-updated"): parseIso8601(i["last-updated"])
|
||||||
else: now(),
|
else: now(),
|
||||||
|
parent:
|
||||||
|
if i.hasProp("parent"): some(i["parent"])
|
||||||
|
else: none[string](),
|
||||||
priority:
|
priority:
|
||||||
if i.hasProp("priority"): some(i["priority"])
|
if i.hasProp("priority"): some(i["priority"])
|
||||||
else: none[string](),
|
else: none[string](),
|
||||||
|
Reference in New Issue
Block a user