renku-python
renku-python copied to clipboard
`date_modified` on datasets is set incorrectly
Describe the bug
date_modified property on the datasets is always set to current date/time which is not correct: https://github.com/SwissDataScienceCenter/renku-python/blob/add433e3b52854b5546bf9c57a09e893c3ff0d7b/renku/domain_model/dataset.py#L367
A manifestation of this bug is visible in renku log.
To Reproduce
-
renku clone [email protected]:rok.roskar/atmospheric-vertical-profiles.git -
renku log - See
Dateon each entry
Expected behavior
-
date_modifiedshould get its value from the persisted value - migration must set proper
date_modifiedon the datasets; we can usedate_createdor commit date/time - current values for this field should be fixed either by a
renku doctorfix or by usingdate_created