Implement commit hook to validate if libmongocrypt version in purls.txt matches csproj file

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Implement a validation script to check if libmongocrypt version matches across the purls.txt and MongoDB.Driver.Encryption.csproj file. The hook could simply reject the commit if the mismatch detected with error message like: "libmongocrypt version in purls.txt does not match MongoDB.Driver.Encryption.csproj. ** Try to update the purls.txt and re-generate the sbom file."

            Assignee:
            Unassigned
            Reporter:
            Oleksandr Poliakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: