spack/lib/spack/llnl/util
Massimiliano Culpo 5655895865 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.
2018-03-22 11:07:27 -07:00
..
tty Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
__init__.py Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
argparsewriter.py Rework command reference in docs, add spack commands command 2018-02-12 20:25:17 -08:00
filesystem.py Make fix_darwin_install_name python3-compatible (#7329) 2018-02-23 10:24:59 -08:00
lang.py Record installation date and time in DB (#7334) 2018-03-22 11:07:27 -07:00
link_tree.py Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
lock.py Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00