I copy/paste-d from another repo earlier and didn't realize
this repo uses 'master' as its main branch.
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
We used to have a web-based Perkeep launcher at perkeep.org/launch
that created a GCE-based Perkeep instance for users, where they pay
Google for compute time. (One of those "one click deploy" template things)
Unfortunately, Google broke their APIs for doing the third party VM
creations and we disabled it some years ago. But the code remains. And
now, updating it again, we find that they've broken it again:
Error: pkg/deploy/gce/deploy.go:358:4: servicemanagement.NewServicesService(s).Enable undefined (type *servicemanagement.ServicesService has no field or method Enable)
It's not worth fighting Google's API breakages. Just remove the GCE
launcher support as it's been unused for years.
We can always resurrect this code from git if really needed. But a
Digital Ocean or Fly launcher would probably be much easier.
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
* Use modernc.org/sqlite
This way it can be enabled by default, as it is a cgo-free, Go-only package.
No need for build tags, conditional compilation (whether libsqlite3-dev is installed).
* make.go: Remove unused -sqlite flag
* Remove use of -sqlite flag
* Update goleveldb to v1.0.0
* Update goleveldb to 64b5b1c739545ed311fb9d9924d19d188fabdc83
- fix data race (758128399b1df3a87e92df6c26c1d2063da8fabe)
- optimizations from bytes.Buffer (42cf80bcefdf184caead3785a11b06fe6dfe9649)
- fsync after creating new manifest (eb135432c5aa4c841c91f3fdc871f07a94aa5a44)
* Update all dependencies.
Keep google.golang.org/api on v0.42.0 as that's the latest not borking
servicemanagement/v1 APIService.Enable.
* Pin bazil.org to latest version that supports macOS
Support has been removed in mid-2018 - see
https://github.com/bazil/fuse/issues/224
for details.
* pkg/blobserver/sftp: Make it pass on Windows
Translate paths with filepath.ToSlash
* Remove macos test cache
* go mod tidy
Remove zembed*.go as pkg/fileembed is history
* Remove caching in tests-linux
Co-authored-by: Tamás Gulácsi <tamas@gulacsi.eu>
envvardoc: repair the script so that it does not fail on very long
lines.
envvardoc: look for env vars with the `PERKEEP` prefix too.
envvardoc: adapt the `docVar` regex to the markdown format.
envvardoc: also look for vars in internal/.
CI: run envvardoc so that we notice when we add new undocumented
environement variables.
doc: List all remaining undocumented env variables. This "shitlist"
gives us a green build in the CI and allows us to ensure all new
environment variables are documented in the future.
doc: Link to the environment variables page.
Some code was merged without being fmt-compliant. This
PR runs `go fmt ./...` and adds a test to github workflows
to verify that pull requests are fmt-compliant.
github.com/gopherjs/gopherjs no longer supports new Go versions and
doing a full perkeep build currently requires go 1.12.
This moves to github.com/goplusjs/gopherjs which supports new Go
version. Building perkeep no longer requires go 1.12.
- Support building webui with just go 1.15
- Before this PR, reactGen was built from the vendor directory.
Now, it is built with gomodules. We can't run it with `go run`
because it breaks myitcv.io/gogenerate which they use to determine
what file to compile.
- go.mod: require go 1.15
- goplusjs/gopherjs is built and ran with gomodules. We run it
with go run github.com/goplusjs/gopherjs
- Add test-tidy workflow to ensure that go.mod can't drift.
- We use go run -mod=readonly so packages are not sneakily updated.
Any update in go.mod should be voluntary.