mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
188 stars 19 forks source link

feat: add integrity checksum to lockfile #132

Closed beeb closed 3 weeks ago

beeb commented 1 month ago

This is the first step towards having a way to skip install of already installed dependencies. The next step will involve a refactor for the download/extract pipeline and is out of the scope of this PR.

This checksum would only be used for zip dependencies. Deps cloned with git could be checked for integrity with git diff for example, and a full re-download/clone is probably not necessary in case of failed integrity check. A simple forced checkout should suffice.

Took the chance to refactor the dir-walking for the push command.

Breaking changes

Closes #128