microbiomedata / cleanroom-schema

Clean-room reboot of NMDC schema
https://microbiomedata.github.io/cleanroom-schema/
MIT License
0 stars 0 forks source link

bash: cruft: command not found #2

Open turbomam opened 1 year ago

turbomam commented 1 year ago

mark@nuc-two-ups:~/gitrepos/cleanroom-schema$ make update ./utils/get-value.sh: 4: Bad substitution ./utils/get-value.sh: 4: Bad substitution cruft update bash: cruft: command not found make: *** [Makefile:67: update-template] Error 127

turbomam commented 1 year ago

How to get latest cookiecutter template?

turbomam commented 1 year ago
mark@nuc-two-ups:~/gitrepos/cleanroom-schema$ poetry add cruft
Using version ^2.11.1 for cruft

Updating dependencies
Resolving dependencies... (2.4s)

...

  • Installing cruft (2.11.1)

mark@nuc-two-ups:~/gitrepos/cleanroom-schema$ make update
./utils/get-value.sh: 4: Bad substitution
./utils/get-value.sh: 4: Bad substitution
cruft update
bash: cruft: command not found
make: *** [Makefile:67: update-template] Error 127

mark@nuc-two-ups:~/gitrepos/cleanroom-schema$ cruft update

Command 'cruft' not found, but can be installed with:

sudo apt install cruft
turbomam commented 1 year ago

poetry run cruft update does run to completion if the git tree is clean. I ran it but am not sure what it changed?!

turbomam commented 1 year ago

Maybe should have tried cruft diff first

turbomam commented 1 year ago

poetry run cruft update does run to completion if the git tree is clean. I ran it but am not sure what it changed?!

If committed and pushed, the changes are visible in GH's commit view