Meuse maintains crates states in three places:
In some cases, these three places could be out of sync.
Meuse provides an API call to detect these issues.
admin
, tech
curl --header "Content-Type: application/json" \
-H "Authorization: Y1B5TGx6Fevkfc/soqX2JsSh4lrME2kHy/+s10pMnT2lCaFaOF4MD9Dnso0x77rEgYY=" \
localhost:8855/api/v1/meuse/check
[
{
"crate": "test1",
"errors": [
"metadata does not exist for version 0.1.0",
"metata exists but not in the database for version 0.1.4",
"crate binary file does not exist for version 0.1.1",
"crate binary file does not exist for version 0.1.0"
]
}
]