Closed jgn closed 6 years ago
A colleague @wm notes: https://github.com/go-fsnotify/fsnotify and "Change your dependencies from github.com/go-fsnotify/fsnotify to github.com/fsnotify/fsnotify"
Alright . . . that seems to have compiled and accepts the newer options (--provider oidc
, --oidc-issuer-url
)
$ git diff origin/master
diff --git a/Gopkg.lock b/Gopkg.lock
index 5a3758a..1294a90 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -131,7 +131,7 @@
version = "v1.0.0"
[[projects]]
- name = "gopkg.in/fsnotify.v1"
+ name = "gopkg.in/fsnotify/fsnotify.v1"
packages = ["."]
revision = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
version = "v1.2.11"
@@ -149,6 +149,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
- inputs-digest = "b502c41a61115d14d6379be26b0300f65d173bdad852f0170d387ebf2d7ec173"
+ inputs-digest = "cfdd05348394cd0597edb858bdba5681665358a963356ed248d98f39373c33b5"
solver-name = "gps-cdcl"
solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
index c4005e1..422bd43 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -4,7 +4,7 @@
#
[[constraint]]
- name = "github.com/18F/hmacauth"
+ name = "github.com/mbland/hmacauth"
version = "~1.0.1"
[[constraint]]
@@ -36,7 +36,7 @@
name = "google.golang.org/api"
[[constraint]]
- name = "gopkg.in/fsnotify.v1"
+ name = "gopkg.in/fsnotify/fsnotify.v1"
version = "~1.2.0"
[[constraint]]
diff --git a/watcher.go b/watcher.go
index bedb9f8..9888fe5 100644
--- a/watcher.go
+++ b/watcher.go
@@ -8,7 +8,7 @@ import (
"path/filepath"
"time"
- "gopkg.in/fsnotify.v1"
+ "gopkg.in/fsnotify/fsnotify.v1"
)
func WaitForReplacement(filename string, op fsnotify.Op,
Should this have been closed?
Nope, don't think so. Just bumped into the same issue. The diff provided by @jgn works though. See PR above.
@ploxiln suggests for building:
git clone https://github.com/bitly/oauth2_proxy $HOME/go/src/github.com/bitly/oauth2_proxy
dep ensure
go build
But there seem to be issues with the dependencies on a pretty vanilla go environment: