polite-garden-50641
02/22/2023, 7:33 PMenough-analyst-54434
02/22/2023, 7:42 PM~/.cache/nce
--version
to the script you could be pinning scie-pants and not suffering from the latter except when you choose to upgrade scie-pants deliberately.polite-garden-50641
02/22/2023, 7:45 PMenough-analyst-54434
02/22/2023, 7:46 PMpolite-garden-50641
02/22/2023, 7:47 PMpantsup.sh
right, so that causes the invalidation of pants itself ?~/bin
enough-analyst-54434
02/22/2023, 7:49 PMpantsup.sh
without specifying a scie-pants version, that does this:
+ downloads latest scie-pants
+ forms a cache dir at ~/.cache/nce/<sha256 of the scie-pants binary>
+ looks under that last dir for a cached version of Pants X.Y.Z and installs it if missing--version
- that would do it.polite-garden-50641
02/27/2023, 7:05 PM--version
flag and the binary is already in the ~/bin
directory, I expect the script to be a no-op, but as far as I can tell... it downloads the scie-pants
binary regardless....enough-analyst-54434
02/27/2023, 7:13 PMpolite-garden-50641
02/27/2023, 7:23 PM~/bin
? just running it w/ any flag just passes it to pants... so not sure how to detect check for a version of the binary itself.