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

Fix build under Go 1.9.2 and other minor fixes #2

Merged
merged 6 commits into from
Dec 8, 2017

Conversation

adriansr
Copy link

@adriansr adriansr commented Dec 4, 2017

This pull request incorporates 3 fixes to fsevents:

Also updates .travis.yml to use Go 1.9.2

Fixes elastic/beats#5783

adriansr and others added 5 commits November 13, 2017 22:18
Passing a device ID of zero (Host device) to FSEventsCopyUUIDForDevice
causes the following assertion failure error to be printed to the logs:

(FSEvents.framework) FSEventsCopyUUIDForDevice(): failed assertion 'dev > 0'
@codecov-io
Copy link

codecov-io commented Dec 4, 2017

Codecov Report

Merging #2 into master will increase coverage by 29.36%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #2       +/-   ##
===========================================
+ Coverage   42.85%   72.22%   +29.36%     
===========================================
  Files           2        2               
  Lines         161      162        +1     
===========================================
+ Hits           69      117       +48     
+ Misses         83       34       -49     
- Partials        9       11        +2
Impacted Files Coverage Δ
wrap.go 69.91% <ø> (+27.64%) ⬆️
fsevents.go 79.48% <100%> (+34.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ceee05...623b1b0. Read the comment docs.

example/main.go Outdated
@@ -1,4 +1,4 @@
// +build darwin
// +build ignore
Copy link
Member

Choose a reason for hiding this comment

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

Adding

go_import_path: github.com/fsnotify/fsevents

to the travis.yml should fix this issue b/c then the source code here will be used.

Copy link
Member

Choose a reason for hiding this comment

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

Then when updating our project that fsevents we can use

govendor fetch github.com/fsnotify/fsevents/^::github.com/elastic/fsevents

to pull down updates from our fork without doing a rename in all imports. I suggest doing it this way with optimism that we will get these changes merged upstream.

ruflin added a commit to ruflin/beats that referenced this pull request Dec 5, 2017
This takes the fix elastic/fsevents#2 and overwrites it directly in our vendor directory. This is a temporary fix until the vendoring is updated to our dependency but should bring our builds and packaging back to green.
@andrewkroh andrewkroh reopened this Dec 5, 2017
@andrewkroh
Copy link
Member

Re-opening. It looks like this was automatically closed when we merged the commit from @ruflin.

@andrewkroh
Copy link
Member

Can you squash down those last four related commits? Then I'll use the "rebase and merge" button.

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.

Packaging broken because of uint64 overflow in auditbeat
4 participants