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

Find on linux and detect container offset #459

Merged
merged 6 commits into from Jan 12, 2015
Merged

Conversation

remy
Copy link
Owner

@remy remy commented Jan 8, 2015

Closes #455
Closes #453
Fixes #419

This method creates a file and checks the stat to check of an offset between the date on the machine and the created time on the file system. Docker (in my tests) show that you can get the offset using this method.

Once we have the offset, we tell the user (once) and then we use that to find files that have been modified according to the offset (either looking in the last using -mmin or in the future using -newer + a touched file).

Closes #455
Closes #453
Fixes #419

This method creates a file and checks the stat to check of an offset between the date on the machine and the created time on the file system. Docker (in my tests) show that you can get the offset using this method.

Once we have the offset, we tell the user (once) and then we use that to find files that have been modified according to the offset (either looking in the last using -mmin or in the future using -newer + a touched file).
dir += '/';
}
config.options.ignore.forEach(function (path) {
var pathIsDir = (fs.existsSync(dir + path) && fs.statSync(dir + path).isDirectory()) || (path.charAt(path.length - 1) == '/');
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are just jshint fixes.

@remy
Copy link
Owner Author

remy commented Jan 12, 2015

Merging because it also fixes the damn --delay option.

remy added a commit that referenced this pull request Jan 12, 2015
Find on linux and detect container offset
@remy remy merged commit c7f9660 into master Jan 12, 2015
@remy remy deleted the fix/419-vm-time-offset branch January 12, 2015 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no automatic restart when using boot2docker docker volume
1 participant