Giter VIP home page Giter VIP logo

notify's People

Contributors

adg avatar calmh avatar claytono avatar cortesi avatar d6o avatar fjl avatar harshavardhana avatar imsodin avatar mnagel avatar nathany avatar pblaszczyk avatar plouj avatar ppknap avatar rjeczalik avatar zillode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notify's Issues

weird test failure on aarch64/arm64, epoll_wait not available?

I'm trying to create a proper fedora package of this go library, but I am hitting this strange error when running the tests on aarch64/arm64:

+ go test -compiler gc -ldflags '' github.com/zillode/notify
panic: notify: epoll_wait(2) error function not implemented
goroutine 10 [running]:
github.com/zillode/notify.(*inotify).loop(0x442011c000, 0x442008b7a0)
	(...)/src/github.com/zillode/notify/watcher_inotify.go:215 +0x114
created by github.com/zillode/notify.(*inotify).lazyinit
	(...)/src/github.com/zillode/notify/watcher_inotify.go:133 +0x10c
FAIL	github.com/zillode/notify	1.774s

It seems this issue has already been fixed upstream: rjeczalik#116

Build failure on Go 1.10, Darwin

Cgo rules have changed slightly in the upcoming Go 1.10. With the current beta1:

jb@kvar:~/e/s/g/z/notify $ go version
go version go1.10beta1 darwin/amd64
jb@kvar:~/e/s/g/z/notify $ go install
# github.com/zillode/notify
./watcher_fsevents_cgo.go:51: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
./watcher_fsevents_cgo.go:162: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCStringNoCopy
./watcher_fsevents_cgo.go:163: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal

The required changes are documented here:

https://go-review.googlesource.com/c/go/+/66332

May I merge from rjeczalik?

I don't think there is anything directly affecting syncthing-inotify, but potentially (while unlikely) for the FS notification PR on syncthing.
And in the future, should I just do the merge or keep asking/notifying you first?

Contribute to rjeczalik/notify

Hello!

Are there plans to contribute changes to rjeczalik/notify?

I am the Debian maintainer for Syncthing in Debian and I would love to avoid having the two libraries in Debian.

Creating pull requests to rjeczalik

There was just some PR activity over on rjeczalik repo, so there is activity. I would like to create a PR for the changes introduced in #2 and also a work-in-progress PR for #3.
It makes sense that this PRs come from the Zillode fork and not mine. Now this is the first time I have push access to a git repo, so I wanted to ask first: Is it ok if I create the necessary branches and issue the PRs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.