polite-garden-50641
02/22/2023, 7:33 PMpolite-garden-50641
02/22/2023, 7:35 PMenough-analyst-54434
02/22/2023, 7:42 PM~/.cache/nce
enough-analyst-54434
02/22/2023, 7:44 PM--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.enough-analyst-54434
02/22/2023, 7:45 PMpolite-garden-50641
02/22/2023, 7:45 PMenough-analyst-54434
02/22/2023, 7:46 PMenough-analyst-54434
02/22/2023, 7:46 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 ?polite-garden-50641
02/22/2023, 7:49 PM~/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 missingenough-analyst-54434
02/22/2023, 7:49 PMenough-analyst-54434
02/22/2023, 7:50 PM--version
- that would do it.enough-analyst-54434
02/22/2023, 7:50 PMenough-analyst-54434
02/22/2023, 7:50 PMpolite-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....polite-garden-50641
02/27/2023, 7:05 PMpolite-garden-50641
02/27/2023, 7:06 PMpolite-garden-50641
02/27/2023, 7:06 PMenough-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.polite-garden-50641
02/27/2023, 7:23 PM