chiark / gitweb /
Merge branch 'p2' into 'master'
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 18 Feb 2016 13:35:33 +0000 (13:35 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 18 Feb 2016 13:35:33 +0000 (13:35 +0000)
commitcb6928978ab6e53ed1c0440060603ce40583262a
tree4222a5da0ce46460f9260431843de70380b2c53f
parent3685ba16f782e624f4c14dcd227c7f023b9f01d2
parent476502fe8dd8a1460998f0585b7010907cb50ab4
Merge branch 'p2' into 'master'

Fix update crash in case of unset dates in APK; add an option to use APK's entry date

I encountered an error when I tried to add [TrackID APK](https://play.google.com/store/apps/details?id=com.sonyericsson.trackid) (files in the APK don't have dates set): as far as I can remember `datetime(*manifest.date_time)` was raising `ValueError`.

Also add an option to use date from APK as this APK's entry date (may be useful in case of a simple binary repo): `fdroid update --use-date-from-apk`.

I should have split this commit, but I hope this would be OK too.

See merge request !104