cabal-audit is broken
Hi, running `cabal-audit` fails with
```
cabal-audit failed :
listing advisories in
/tmp/cabal-audit942863/advisories/published/2024/HSEC-2024-0009.md
failed with
Advisory structure error:
while trying to lookup mandatory key "advisory.date":
the path is missing 'hackage' or 'ghc' directory
in <top-level>
listing advisories in
/tmp/cabal-audit942863/advisories/published/2024/HSEC-2024-0007.md
failed with
Advisory structure error:
while trying to lookup mandatory key "advisory.date":
the path is missing 'hackage' or 'ghc' directory
in <top-level>
listing advisories in
/tmp/cabal-audit942863/advisories/published/2024/HSEC-2024-0001.md
failed with
Advisory structure error:
while trying to lookup mandatory key "advisory.date":
the path is missing 'hackage' or 'ghc' directory
in <top-level>
....
```
I am guessing this is likely due to the new layout introduced upstream in this PR https://github.com/haskell/security-advisories/pull/293
4 条评论