You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the ros/rosdistro revision the time-machine will make a cache for is the one which has a commit in it which was authored either at or immediately before the requested datetime.
It's unclear whether this could potentially be problematic: theoretically ros/rosdistro committers could push commits authored a long time ago. While one could argue that this possibility is slim (which is most likely true) and it doesn't matter (as the state of the machine of the author of the ros/rosdistro change (and consequently the ROS package versions and dependencies) would still match those in which we are interested), it may be more correct to use the committer date (as it would better encode the time and date at which the "state of ROS" would have changed because of the commits by the committer.
The text was updated successfully, but these errors were encountered:
Based on our discussion in the robust meeting (2020-08-26), we'll go with committer date instead of the current author date.
Rationale: committer date would be when changes (local to someone's clone of rosdistro) end up in the main repository. At that point "the state of ROS" as a whole is changed. Not when the author of the change committed it to his local clone.
I'll put together a PR changing this and then @-mention all of you.
The current implementation compares the requested timestamp to the author date of the commits in the
ros/rosdistro
log:rosinstall_generator_time_machine/rosinstall_generator_tm.sh
Lines 160 to 161 in c37a8b6
So the
ros/rosdistro
revision the time-machine will make a cache for is the one which has a commit in it which was authored either at or immediately before the requested datetime.It's unclear whether this could potentially be problematic: theoretically
ros/rosdistro
committers could push commits authored a long time ago. While one could argue that this possibility is slim (which is most likely true) and it doesn't matter (as the state of the machine of the author of theros/rosdistro
change (and consequently the ROS package versions and dependencies) would still match those in which we are interested), it may be more correct to use the committer date (as it would better encode the time and date at which the "state of ROS" would have changed because of the commits by the committer.The text was updated successfully, but these errors were encountered: