Skip to content

Add simple PR tests #77

Description

@gonX

Some ideas:

JSON Key Check
Name ^.{2,}$ (2 characters or more)
Description same as Name
Owner ^[^\s]+$
SupportedDriverVersion Must be lower than newest release, and have all 4 version subvalues (e.g. 0.6.4.0, not 0.6.4)
PluginVersion ^\d+(\.\d+){1,2}$ or less strict
*Url must be curl'able (or similar)
CompressionFormat Whatever we support, zip only for now? Can skip this check
LicenseIdentifier Ideally, something from a predermined list, but otherwise same check as Owner

Already covered in tests:

  • SHA256
  • DownloadUrl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions