ktx icon indicating copy to clipboard operation
ktx copied to clipboard

[Feature request] Manage/auto-update changes of packages/scripts

Open krzema12 opened this issue 1 year ago • 1 comments

I installed my script with

> ktx install https://raw.githubusercontent.com/krzema12/PersonalConfigs/master/scripts/removeLocalMergedBranches.main.kts --alias=remove-merged-branches

but I guess ktx just fetches it once and doesn't check for changes, right? I thought ktx can be made aware of versions somehow. For Maven packages it will be much easier, and for scripts, I can think of several approaches:

  • inferring actual commit SHA-1 and using it as version
  • simply detecting that the remote file changed

I'd then see a feature of updating all/chosen packages/scripts, perhaps also doing it automatically or perhaps only checking for updates.

krzema12 avatar Jan 19 '23 11:01 krzema12