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

Add default timestamp to not-yet-existant parent dirs #1649

Merged
merged 5 commits into from
Apr 19, 2019

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Apr 19, 2019

So this defines a strong behavior for parents that don't exist in the layer yet.

  1. order matters, a directory can only be configured if it's added to the layer before any of its children
  2. for a file with parent(s) that doesn't exist yet, a default modified time is applied.

fixes #1648

NOTE: This does not fix the out of order issue for defining directory permissions. That should be fixed in a followup (#1650)

@loosebazooka
Copy link
Member Author

probably going to have to do a cherry pick release off 1.1.1? wdyt?

@chanseokoh
Copy link
Member

You mean 1.1.2, right? Sounds right.

@loosebazooka loosebazooka merged commit a800df5 into master Apr 19, 2019
@loosebazooka loosebazooka deleted the fix-directory-timestamp branch April 19, 2019 21:14
loosebazooka added a commit that referenced this pull request Apr 19, 2019
* Add default timestamp to not-yet-existant parent dirs
loosebazooka added a commit that referenced this pull request Apr 19, 2019
- This only exists as tags v1.1.2-maven/gradle, not merged into master.
loosebazooka added a commit that referenced this pull request Apr 19, 2019
* Add default timestamp to not-yet-existant parent dirs
loosebazooka added a commit that referenced this pull request Apr 19, 2019
loosebazooka added a commit that referenced this pull request Apr 19, 2019
loosebazooka added a commit that referenced this pull request Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jib:build is not reproducible due to directory timestamps not being set
3 participants