Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backport][release_2.1] Preserve timestamps when unstreaming dirs (#966) #1058

Merged
merged 1 commit into from
May 4, 2022

Commits on May 4, 2022

  1. Preserve timestamps when unstreaming dirs (ansible#966)

    Preserve timestamps when unstreaming dirs
    
    Connect ansible#964
    That fixes the linked issue with the limitation (discovered by the test) that we might miss a 2 second delta or less. This assumes the computer clock is perfectly synced on the machines that do the compressing and extracting.
    Nonetheless, I think this opens up an option for AWX to get the job done. I show a demo in the test with the very_old.txt file, where I artificially set the mod and access time to 1 day in the past. It seems like that would work for the AWX use case, assuming that the two computers agree on the day, which doesn't sound like an unreasonable demand.
    Ping @jbradberry
    
    Reviewed-by: Jeff Bradberry <None>
    Reviewed-by: David Shrewsbury <None>
    Reviewed-by: Alan Rominger <arominge@redhat.com>
    Reviewed-by: None <None>
    (cherry picked from commit 203ef43)
    AlanCoding authored and Shrews committed May 4, 2022
    Configuration menu
    Copy the full SHA
    0acda69 View commit details
    Browse the repository at this point in the history