From c0dd5e7dedf996c78617e21a7ea6bd2e3553dbfb Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Fri, 14 Sep 2018 22:38:20 +0300 Subject: Display out-of-date flag date in package info --- src/package.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/package.nim') diff --git a/src/package.nim b/src/package.nim index 3e2c6f7..7ad89bd 100644 --- a/src/package.nim +++ b/src/package.nim @@ -31,6 +31,7 @@ type maintainer*: Option[string] firstSubmitted*: Option[int64] lastModified*: Option[int64] + outOfDate*: Option[int64] votes*: int popularity*: float gitUrl*: string @@ -312,6 +313,7 @@ proc parseSrcInfoName(repo: string, name: string, baseIndex: int, baseCount: int maintainer: info.map(i => i.maintainer).flatten, firstSubmitted: info.map(i => i.firstSubmitted).flatten, lastModified: info.map(i => i.lastModified).flatten, + outOfDate: info.map(i => i.outOfDate).flatten, votes: info.map(i => i.votes).get(0), popularity: info.map(i => i.popularity).get(0), gitUrl: gitUrl, gitSubdir: gitSubdir) | -- cgit v1.2.3-70-g09d2