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 1.3] [Build] Update folder timestamps after copying files into them using scanCopy #2977

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 5dc0212 from #2964.

…2964)

* When updating the timestamps were requested, scanCopy first set the times and then copied content into the destination folder. On certain platforms, copying files into a folder updates its "Last Access Time" and that overwrites the just set timestamps. This PR, makes sure the timestamps are set only after copying the content.

Signed-off-by: Miki <amoo_miki@yahoo.com>

Signed-off-by: Miki <amoo_miki@yahoo.com>
(cherry picked from commit 5dc0212)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (1.3@3ce2731). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 5dc0212 differs from pull request most recent head e2e15d3. Consider uploading reports for the commit e2e15d3 to get more accurate results

@@          Coverage Diff           @@
##             1.3    #2977   +/-   ##
======================================
  Coverage       ?   66.67%           
======================================
  Files          ?     3219           
  Lines          ?    61450           
  Branches       ?     9417           
======================================
  Hits           ?    40973           
  Misses         ?    18231           
  Partials       ?     2246           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@AMoo-Miki AMoo-Miki added autocut Skip the changelog verification check on backports v1.3.7 labels Dec 1, 2022
@AMoo-Miki AMoo-Miki merged commit 1c4a215 into 1.3 Dec 1, 2022
@github-actions github-actions bot deleted the backport/backport-2964-to-1.3 branch December 1, 2022 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports v1.3.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants