diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-03-22 19:07:27 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-03-22 11:07:27 -0700 |
commit | 56558958652f772ba07be011f493b8c733404dfd (patch) | |
tree | 5ac6659a261425c718660e420bbbbc99c366bc1c /bin/sbang | |
parent | 6699ba8769f173d9a0bc2479ee0859bff17d1d77 (diff) | |
download | spack-56558958652f772ba07be011f493b8c733404dfd.tar.gz spack-56558958652f772ba07be011f493b8c733404dfd.tar.bz2 spack-56558958652f772ba07be011f493b8c733404dfd.tar.xz spack-56558958652f772ba07be011f493b8c733404dfd.zip |
Record installation date and time in DB (#7334)
* Added installation date and time to the database
Information on the date and time of installation of a spec is recorded
into the database. The information is retained on reindexing.
* Expose the possibility to query for installation date
The DB can now be queried for specs that have been installed in a given
time window. This query possibility is exposed to command line via two
new options of the `find` command.
* Extended docstring for Database._add
* Use timestamps since the epoch instead of formatted date in the DB
* Allow 'pretty date' formats from command line
* Substituted kwargs with explicit arguments
* Simplified regex for pretty date strings. Added unit tests.
Diffstat (limited to 'bin/sbang')
0 files changed, 0 insertions, 0 deletions