Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate resources #22

Open
krzysztofrewak opened this issue Dec 27, 2022 · 0 comments
Open

Validate resources #22

krzysztofrewak opened this issue Dec 27, 2022 · 0 comments

Comments

@krzysztofrewak
Copy link
Member

krzysztofrewak commented Dec 27, 2022

All resources should be automatically validated. It could be done in PHP or Javascript and then, added to GHA. I would expect:

  • check if every resource has proper types (eg. not-nullable names for companies, nullable URLs for linkedin profiles, etc.)
  • check if people and companies are sorted alphabetically (by company name and person surname and name) in their respective files
  • check if all "relations" are valid (eg. if @marcintracz and @blumilk exist in people.json and companies.json:
    {
      "title": "xD bug - jak debugować PHP-owe aplikacje",
      "speakers": [
        {
          "person": "@marcintracz",
          "company": "@blumilk"
        }
      ]
    }
  • image sizes and proportions?
  • ... something more?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant