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
|
|
@ -68,7 +68,7 @@ fn handlepkg(pg: &postgres::GenericConnection, sys: i32, mirror: &str, manpkgs:
|
|||
cat: §ion,
|
||||
pkg: &name,
|
||||
ver: &version,
|
||||
date: "1980-01-01", // TODO: Fetch date from somewhere (package contents itself, likely)
|
||||
date: pkg::Date::Deb,
|
||||
arch: Some(arch),
|
||||
file: open::Path{
|
||||
path: &uri,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue