Indexer: Support reading date from .deb archives
This commit is contained in:
parent
a1e5a2d80d
commit
ecb1a9e25b
8 changed files with 78 additions and 23 deletions
|
|
@ -113,7 +113,7 @@ pub fn sync(pg: &postgres::GenericConnection, sys: i32, mirror: &str, repo: &str
|
|||
cat: repo,
|
||||
pkg: &m.name,
|
||||
ver: &m.version,
|
||||
date: &m.date,
|
||||
date: pkg::Date::Known(&m.date),
|
||||
arch: m.arch.as_ref().map(|e| &e[..]),
|
||||
file: open::Path{
|
||||
path: &p,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue