Commit Graph

9 Commits

Author SHA1 Message Date
Brad Fitzpatrick 06f7accf31 Require Go 1.5 (due out soon), start move from third_party to vendor.
See https://golang.org/s/go15vendor

This commit moves the google.golang.org/cloud/... packages. The rest
of third_party will move later.

This commit is a dependency for some cloud logging work which we'll
develop in Camlistore's tree.
2015-08-15 22:45:11 +02:00
mpl 5147aff319 google blobservers: migrate to golang.org/x/oauth2
Previous oauth2 (code.google.com/p/goauth2/oauth) still used in:
third_party/github.com/tgulacsi/picago
pkg/importer/picasa
pkg/importer/foursquare

Final cleanup in a subsequent CL.

Change-Id: I805d81fcaa651e03a17823c78abe5040d51346c3
2015-04-20 23:17:28 +02:00
Brad Fitzpatrick c9a0beae45 Add new 'env' package to detect the type of environment.
Also, delete my old gce package from third_party and only use the
google metadata package (which my gce package became, and which was
also already vendored into third_party)

Fixes #596

Change-Id: I64fd6f1e9dc6f433466f91f81efd2ecbf039334f
2015-04-01 08:45:36 -07:00
Brad Fitzpatrick 9607667c2f wkfs/gcs: support for writing files
Change-Id: I4916dc6b07130d31c732da9df0dd3e7189eb8075
2014-08-08 11:03:27 -07:00
Brad Fitzpatrick 2f4e571e7c wkfs: make Create use OpenFile(WRONLY) instead of RDWR
Change-Id: Ifbd82b1392a436229fd350a604e1125cf7b1f64d
2014-08-08 10:14:10 -07:00
Brad Fitzpatrick b720765c96 wkfs/gcs: remove logging
Change-Id: I32dbb8f16a086879f9e9cbb6d9618459601a4ee4
2014-08-06 16:47:53 -07:00
Brad Fitzpatrick 966d25cb62 add wkfs.ReadFile, use it in serverinit
Change-Id: I2870568e41de9ddb879c51606c77aec0ec77c4ef
2014-08-05 12:51:17 -07:00
Brad Fitzpatrick 5540a38dbd More work towards making the /gcs/ filesystem paths work on GCE. Incomplete.
Change-Id: I58ceec5d1c1cb61cbaa7d7e68a13ed5482dfbb0d
2014-08-05 12:45:10 -07:00
Brad Fitzpatrick c8322af356 Add well-known filesystem abstraction package 'wkfs' for cloud deployment ease.
Part of Camlistore deploy to GCE easily. Will use paths like /gcs/bucket/foo or /gce-meta/attr for some
things previously-assumed to only be stored on the OS filesystem.

Change-Id: I2ed6cf5759c4d277f4e89a33a0fcfeee8bcbbf82
2014-08-04 21:27:07 -07:00