celo-org / celo-composer

celo-composer is a starter project with all code needed to build, deploy, and upgrade a dapps on Celo.
MIT License
117 stars 110 forks source link

prerequisites update #163

Closed nikbhintade closed 1 year ago

nikbhintade commented 1 year ago

This package's Prerequisites have been brought up to date.

Since Celo Composer uses the sparse-checkout command, if the user doesn't have the latest version of git, it will throw an error:

error: failed to initialize sparse-checkout

I got this error, so I thought I should let other users who might get it know. I couldn't figure out at which version of git this error stopped happening, so I added version as 2.38 or higher. The most recent version of git is v2.38.

After doing some research, I think users won't get this error if they have version 2.26.3 or higher. As in this version, the sparse-checkout command had some changes [ref], but I couldn't double-check it.

Context

I am using Ubuntu 20.04 in WSL. If a user of Ubuntu 20.04 uses apt-get to update git, they will get version 2.25.1. By using the git-core PPA to update your git version, you will get the latest version, which is 2.38.

netlify[bot] commented 1 year ago

Deploy Preview for celo-composer failed.

Name Link
Latest commit 9a33b4f00ff2aaad7bc4d836fea9f8180faa4521
Latest deploy log https://app.netlify.com/sites/celo-composer/deploys/639468757dac250008f36ebc