project-system icon indicating copy to clipboard operation
project-system copied to clipboard

Property validation for owned project-system property pages

Open adamint opened this issue 2 years ago • 1 comments

Summary

With the pending completion of client-side validation for property values, it would be a good idea to go through our owned property pages and, where applicable, add property validation.

adamint avatar Apr 14 '22 23:04 adamint

Some ideas:

  • Root namespace is limited in what characters are allowed
  • File paths cannot contain certain characters
  • Package ID cannot contain spaces or characters that are invalid in URLs
  • Assembly versions must be something like 0.0.0 or 0.0.0.0 (don't quote me on this!)
  • Package versions must be something like 0.0, 0.0.0, 0.0-foo, 0.0.0-bar, etc (again, find a proper source to verify)
  • Project URL and Repository URL must be a valid URL (we should not use RegEx for this though)

drewnoakes avatar Apr 19 '22 12:04 drewnoakes