You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like configlet to tell the user if their configlet version is out of date.
Implementation sketch:
Store a file locally that contains a timestamp. For example on Linux in .cache/exercism/configlet/last_update_check.txt or similar.
Running a configlet command should check that local timestamp. If more than e.g. 1 day has elapsed, and the --offline flag was not provided, configlet makes a request to determine the latest version (perhaps hitting https://raw.githubusercontent.com/exercism/configlet/main/configlet.version, or the GitHub API) .
If there is an update, advise the user to run fetch_configlet (or configlet upgrade, if we restore that functionality).
treeform/puppy, without -d:ssl. This uses libcurl on macOS/Linux, and the win32 WinHttp API on Windows.
There might be some complications regarding static linking, but we have to think about this for the online configlet lint checks too (Exercism-wide UUID checking, and checking that a forked_from value is valid).
This issue has been in the back of my mind for a while - I think there was some discussion about it for configlet-v2. But I was reminded of it by today's call, where updating the Exercism CLI was mentioned.
The text was updated successfully, but these errors were encountered:
I'd like configlet to tell the user if their configlet version is out of date.
Implementation sketch:
.cache/exercism/configlet/last_update_check.txt
or similar.--offline
flag was not provided, configlet makes a request to determine the latest version (perhaps hitting https://raw.githubusercontent.com/exercism/configlet/main/configlet.version, or the GitHub API) .fetch_configlet
(orconfiglet upgrade
, if we restore that functionality).Possible HTTP helper modules:
-d:ssl
-d:ssl
. This useslibcurl
on macOS/Linux, and thewin32 WinHttp
API on Windows.There might be some complications regarding static linking, but we have to think about this for the online
configlet lint
checks too (Exercism-wide UUID checking, and checking that aforked_from
value is valid).This issue has been in the back of my mind for a while - I think there was some discussion about it for
configlet-v2
. But I was reminded of it by today's call, where updating the Exercism CLI was mentioned.The text was updated successfully, but these errors were encountered: