Commit graph

16 commits

Author SHA1 Message Date
James Kinsman
09ef3314e2
Update 00_deprecation.sh
Invert logic for cache_mem_size deprecation check
2022-03-07 08:47:00 +00:00
James Kinsman
364ebbe1e8
Fixed CACHE_MEM_SIZE regression error
sh doesn't know how to process [[ if's so CACHE_MEM regression tests are not run

Ooops, don't drink and code kids
2022-03-05 10:55:02 +00:00
Proto
e9f90f438f
Inactive to match CACHE_MAX_AGE (#139)
* Set innactive time to match the CACHE_MAX_AGE env var
* setup script copy for max age
2021-11-01 12:18:59 +00:00
VibroAxe
2fa012f667 Ported CACHE_INDEX_SIZE PR from generic
Ported PR https://github.com/lancachenet/generic/pull/103/ from @crabbey
Changes CACHE_MEM_SIZE to CACHE_INDEX_SIZE but maintains backwards compatiblity through deprecation.sh
2021-10-09 10:24:38 +00:00
VibroAxe
faa6b3969d Rebase generic off monolithic
This commit rebases the generic code into the monolithic image
This allows the base image to be the more regularly accessed / edited image

Commits to lancachenet/generic:switcheroo will mimic this commit

Also fixes lancachenet/generic#108
2021-07-20 12:04:38 +00:00
James Kinsman
c81b8e6545
Fix vibs dun goof
CD Into the git repo not popd out
2020-02-23 14:23:30 +00:00
James Kinsman
67e4bef59f
Fixed offline startup
Aligned to lancache-dns
2020-02-23 14:01:08 +00:00
James Kinsman
f013ac0958
Change maps to allow user agent mapping too (#87)
Correclty disable StrictHostKeyChecking whilst we are at it!
map "$http_useragent---$http_host" $cacheidentifier {
Hostnames in maps file need to be regexs
Save the docker image into the artifacts store to allow download for testing
Need to handle *. wildcard
Use # instead of / as regex/sed seperator to provide a slightly cleaner sed line for debug
Provide comments and breakdown for sed (Requested by @GotenXiao
Changed UA/Host seperator from --- to £££ @rconan suggestion from UKLans chat

Closes #86 See github for details
2020-02-11 15:32:09 +00:00
VibroAxe
42600bd00d Inverted deprecation check 2019-12-02 11:26:37 +00:00
VibroAxe
bf361ef18b Updated env vars to allow specifying branch
Also fixed CACHE_DOMAIN_REPO to CACHE_DOMAINS_REPO to align with DNS
better
2019-12-02 11:04:26 +00:00
VibroAxe
459f8af361 Added NOFETCH option to prevent git reset
When developing/updating the uklans repo it is helpful to bind mount a
local copy for testing.

-e NOFETCH=true

Resolves #41
2019-06-22 16:42:56 +01:00
VibroAxe
1cf7dc39fd Fixed whitespace handling in domain lists
All whitespace removed from host entries before handling, blank lines
are skipped

This WILL mangle comments in the map files, but is best to ensure
working files
2019-02-17 14:32:16 +00:00
VibroAxe
66e6e2d366 Updated readying for steamcache/generic 2 2018-12-02 17:19:28 +00:00
VibroAxe
25f46d2c35 Removed duplicate parsing altogether
UKLans is a curated directory and shouldn't contain duplicates, lets
save ourselves some effort
2018-12-01 12:29:26 +00:00
VibroAxe
0a980bd03c Fixed incorrect passing of duplicates 2018-11-29 10:36:11 +00:00
VibroAxe
00619cf6d2 Initial Commit 2018-11-29 00:13:51 +00:00