CloudNet icon indicating copy to clipboard operation
CloudNet copied to clipboard

feat: toggle for remote inclusion caches

Open 0utplay opened this issue 1 year ago • 3 comments

Motivation

Some users use remote inclusions to always download latest files of certain plugins. The automatic caches makes that a bit hard.

Modification

Added a new cacheFiles option for remote inclusions and we only cache files when the property is enabled.

Result

The caching can be toggled using the cacheFiles option

0utplay avatar May 25 '24 15:05 0utplay

Test Results

 48 files  ±0   48 suites  ±0   2m 6s :stopwatch: -9s 420 tests ±0  420 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  751 runs  ±0  751 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 2e67937c. ± Comparison against base commit 18530b6b.

This pull request removes 33 and adds 33 tests. Note that renamed tests count towards both.
eu.cloudnetservice.driver.document.DocumentSerialisationTest ‑ [4] {"b":1,"s":2,"i":3,"l":4,"f":5.0,"d":6.0,"c":"/","string":"Hello, World!","bol":true,"cloud":["Ben?","Yes","No","HoHoHoHo"],"world":{"insane":"!","hello":"world","this":"is"}}, PRETTY
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [14] 2024-07-23
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [23] 15:57:53.417148201
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [28] 15:57:53.417202462Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [29] 15:57:53.417222660Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [30] 15:57:53.417230124+05:00
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [31] 15:57:53.417248699-03:00
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [34] 2024-07-23T15:57:53.417284616
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [39] 2024-07-23T15:57:53.417339068Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [4] 2024-07-23T15:57:53.416929682Z
…
eu.cloudnetservice.driver.document.DocumentSerialisationTest ‑ [4] {"b":1,"s":2,"i":3,"l":4,"f":5.0,"d":6.0,"c":"/","string":"Hello, World!","bol":true,"cloud":["Ben?","Yes","No","HoHoHoHo"],"world":{"this":"is","hello":"world","insane":"!"}}, PRETTY
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [14] 2024-08-10
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [23] 14:07:08.398088938
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [28] 14:07:08.398150493Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [29] 14:07:08.398173416Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [30] 14:07:08.398183114+05:00
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [31] 14:07:08.398203081-03:00
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [34] 2024-08-10T14:07:08.398257353
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [39] 2024-08-10T14:07:08.398320231Z
eu.cloudnetservice.driver.document.gson.JavaTimeSerializerTest ‑ [4] 2024-08-10T14:07:08.397848729Z
…

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar May 26 '24 15:05 github-actions[bot]

sieeeht gut aus, wird uns freuen

copyandexecute avatar May 27 '24 05:05 copyandexecute

passt oder

copyandexecute avatar May 27 '24 20:05 copyandexecute