AutoKuma icon indicating copy to clipboard operation
AutoKuma copied to clipboard

static checks should support recursive dirs

Open johntdyer opened this issue 1 year ago • 2 comments

I might want to organize my static checks in folders but the feature currently doesnt support recursive search into folders. This would be a nice thing to have

johntdyer avatar Apr 15 '24 01:04 johntdyer

FWIW I now get this error, which I think is new for 0.6.0

WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml
WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml
WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml
WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml
WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml
WARN [autokuma::sync] Encountered error during sync: Unable to deserialize: Unsupported static monitor file type: /static/adsb, supported: .json, .toml

johntdyer avatar Apr 30 '24 15:04 johntdyer

Yes, static monitors still do not support recursive search, I'm hesitant to add this because the filename is used as the id and i'm not sure something like <dir>/<filename> would be a good fit for the id

BigBoot avatar Apr 30 '24 16:04 BigBoot

This has been fixed on master, please note that the master currently contains some breaking change so make sure to read the CHANGELOG if you want to test the feature.

BigBoot avatar Oct 20 '24 15:10 BigBoot