support/scripts/pkg-stats: factorize date and commit
authorVictor Huesca <victor.huesca@bootlin.com>
Fri, 19 Jul 2019 13:06:30 +0000 (15:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 1 Aug 2019 09:10:41 +0000 (11:10 +0200)
commit3c9d4082072fe50e24c100c3b2aee9d7c5ab48ce
tree82d963f93fcf59c5d50b3a334344087ab16a21cf
parent500e1d6241afa569269f1d8953bcf9b8d3d5a7a9
support/scripts/pkg-stats: factorize date and commit

The 'dump_html' and 'dump_json' both include commit infos as well as the
current date. It make more sense to retrieve these information once.
This patch simply does this factorization.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/pkg-stats