Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-14Add a sleep to ensure that cache item is evictedfix-flaky-cache-evictKamil Trzciński
2020-10-13This workarounds a bug in `patrickmn/go-cache`Kamil Trzciński
If an expired item is set, it will not be evicted. This workarounds a known bug: https://github.com/patrickmn/go-cache/issues/48
2020-10-13Bump data-offset/readlink expiration to 1hlru-cache-offsetsKamil Trzciński
2020-10-13Update LRU cache valuesKamil Trzciński
2020-10-13Rename `namespace` to `cacheNamespace`Kamil Trzciński
2020-10-13Apply 1 suggestion(s) to 1 file(s)Kamil Trzciński
2020-10-13Improve LRU cache tests and implementationKamil Trzciński
2020-10-13Update metricsKamil Trzciński
2020-10-13Reduce the number of items to pruneJaime Martinez
2020-10-13Split cache set/get and add metricsJaime Martinez
2020-10-13Use ccache/v2Jaime Martinez
2020-10-13Remove extra : from cache keyKamil Trzciński
2020-10-13Try to LRU cache offsets and symlinksKamil Trzciński
2020-10-01Move ZipCachedArchives closerKamil Trzciński
2020-10-01Rerun goimportsJaime Martinez
2020-10-01Move metrics.ZipOpened to readArchive()Jaime Martinez
2020-10-01Rename all zip and httprange metricsJaime Martinez
Renames all metrics to make them easier to understand. Adds a missing metric for number of open requests made by httprange.
2020-10-01Move onEvicted to zipArchiveJaime Martinez
2020-09-30Add correct measureJaime Martinez
2020-09-30Add extra metric for currently cached files per archiveJaime Martinez
2020-09-30Use histograms instead of gauges for transport durationsJaime Martinez
2020-09-30Rename metrics and update typesJaime Martinez
2020-09-30Add more metrics for zip servingJaime Martinez
Adds a bunch of new metrics related to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/423. It uses [httptrace.ClienTrace](https://golang.org/src/net/http/httptrace/trace.go) to add a bunch of very granular metrics that happen when an http connection is established.
2020-09-25Simplify after code reviewKamil Trzciński
2020-09-25Return early if openArchive is already doneJaime Martinez
2020-09-25Apply suggestions from reviewJaime Martinez
2020-09-24Add test for multiple concurrent requestsJaime Martinez
2020-09-24Restore prefix validationJaime Martinez
2020-09-24Add Name to the VFS interface to use with metricsJaime Martinez
2020-09-24Improve code layoutJaime Martinez
2020-09-24Rebase from base branchJaime Martinez
Add vfs.VFS implementation for zip Fix build errors Clean zip vfs Add tests for Root Add zip serving metric Return a zip.Instance() when source == zip Add simple acceptance test for zip serving Use correct contents No need to start testServer in go routine
2020-09-22Pass context to httprange ReaderJaime Martinez
Assert that if a context is canceled the read request will fail. Add missing ctx to zip
2020-09-21Apply suggestions from feedbackJaime Martinez
2020-09-21Add test for context cancelationJaime Martinez
2020-09-21Read archive with its own timeoutJaime Martinez
2020-09-21Add to-do referencesJaime Martinez
2020-09-21New ctx from parentCtx before opening archiveJaime Martinez
2020-09-21WIP: apply some of the suggestionsJaime Martinez
2020-09-21Update deflate_reader docsJaime Martinez
2020-09-21Add zip package that implements vfs.RootJaime Martinez
Adds a zip package capable of reading zip files from an httprange.Resource. It reads archive file contents into memory per archive that is requested from the vfs.Root. WIP: add simple test for archive reader WIP: fix build WIP: update archive test WIP: adding tests for archive WIP: print more info WIP: update zip file correct symlink WIP: use correct file Add bad symlink file to zip Update handling long symlinks update documentation and reorg code fix up stuff
2020-09-09Fix handling of absolute paths for `vfs/local`fix-symlink-specsKamil Trzcinski
This resolves absolute paths to be relative if within a `rootPath` or absolute if outside. The `EvalSymlink` and the later usage of `VFS` will ensure that path is sanitised
2020-09-08Fix `symlink` specs on OSXKamil Trzcinski
The fix is a little unconventional: - we treat the absolute paths as local to `rootPath` - this actually makes sense, given that this VFS should only work in this context
2020-09-08Fix `TestVFSRoot` and `TestReadlinkAbsolutePath`fix-osx-specsKamil Trzcinski
2020-09-03Abstract `VFS` `Root`Kamil Trzciński
2020-08-13Add VFS for local diskJacob Vosmaer