bytecodealliance / bytecodealliance/wit-deps

Add a `--check` subcommand

Open
#157 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
91
Forks
12
PR merge metrics
No merged PRs in 30d

Description

First of all, thank you for creating this useful tool!

I've been experimenting with wit-deps for a while. At the moment, using it as a tightly integrated dependency manager for my wit deps from within my Rust deps doesn't quite work yet. Therefore, I'm trying to switch to just using wit-deps in CI for now to assert that my deps.lock file is accurate and my deps folder is up-to-date. At the moment, it seems that checking the deps folder requires running `wit-deps update`, which fully recreates the folder. In my usecase, this wont't work, unfortunately.

Would it be possible to add a `wit-deps check` subcommand? It should work almost identically to `wit-deps update`, but instead of overriding folders and files, it would check that their contents are the same. Crucially, it should follow symlinks.

Thanks for your help and feedback :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.