Skip to content

Conversation

stvno
Copy link
Contributor

@stvno stvno commented Jul 3, 2018

Sorry for the slightly messy commit history, but basically it is a round about way to sync my fork with upstream
In the end it is just a small change in s3.go, similar to the ACL functionality. I've tested it with Digital Ocean's spaces and I'm 99% sure it will work with S3 as well, since it is using the S3 API. solves #447

@stvno stvno requested review from ARolek and gdey as code owners July 3, 2018 10:34
@coveralls
Copy link

coveralls commented Jul 3, 2018

Pull Request Test Coverage Report for Build 1286

  • 0 of 11 (0.0%) changed or added relevant lines in 1 file are covered.
  • 172 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.1%) to 43.424%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cache/s3/s3.go 0 11 0.0%
Files with Coverage Reduction New Missed Lines %
cmd/tegola/cmd/server.go 15 0.0%
cache/file/file.go 17 74.67%
cache/s3/s3.go 35 1.57%
internal/env/dict.go 35 59.5%
provider/postgis/postgis.go 70 64.76%
Totals Coverage Status
Change from base Build 1245: -0.1%
Covered Lines: 5032
Relevant Lines: 11588

💛 - Coveralls

@stvno stvno changed the title Issue 447 enable Cache-Control headers on S3 caches Jul 4, 2018
Copy link
Contributor

@ear7h ear7h left a comment

Choose a reason for hiding this comment

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

Code looks good, could you please add the corresponding docs in the cache/s3/README.md file? 📝

@stvno
Copy link
Contributor Author

stvno commented Jul 10, 2018

I've added the documentation

@ARolek
Copy link
Member

ARolek commented Jul 11, 2018

LGTM.

@ARolek ARolek merged commit b45eb84 into go-spatial:v0.7.0 Jul 11, 2018
sacontreras pushed a commit to sacontreras/tegola that referenced this pull request Aug 18, 2018
* 'master' of sacontreras-GitHub:go-spatial/tegola: (125 commits)
  Update README.md
  updating readme and changelog for v0.7.0. go-spatial#490 (go-spatial#492)
  added TEGOLA_ prefix to SQL_DEBUG env var. closes go-spatial#489 (go-spatial#491)
  support for lambda during CI build
  fix for PGX numeric types sharing pointer reference (go-spatial#487)
  make min / max zoom flags consistant. closes go-spatial#480 (go-spatial#483)
  enable Go pprof profiler with TEGOLA_HTTP_PPROF_BIND environment (go-spatial#462)
  Cache seed improvements (go-spatial#454)
  minor documentation polish to postgis layer geometry_type
  provider/postgis: add geometry_type option to avoid table inspection (go-spatial#466)
  Update README.md to correct "Server" heading spelling (go-spatial#476)
  Update README.md (go-spatial#473)
  force remove on CGO builds
  split CGO and non CGO build flow
  updated xgo work flow for cross compile of CGO builds
  set CI_DIR var in build binary CI script
  modified deploy condition in travis
  Issue 420 (go-spatial#471)
  postgis: add support for !bbox! (Mapnik) and !BOX! (MapServer) tokens (go-spatial#461)
  enable Cache-Control headers on S3 caches (go-spatial#448)
  ...
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.

4 participants