Skip to content

Check frontmatter owners#770

Merged
tannewt merged 7 commits intopidcodes:masterfrom
jepler:check-frontmatter-owners
Jan 10, 2023
Merged

Check frontmatter owners#770
tannewt merged 7 commits intopidcodes:masterfrom
jepler:check-frontmatter-owners

Conversation

@jepler
Copy link
Contributor

@jepler jepler commented Sep 8, 2022

I noticed that not much validation of the metadata is performed. I identified that it would be useful to ensure that the owner's markdown file exists as expected. Other checks, such as for all required keys having values, could be added in the future.

@jepler jepler requested a review from tannewt September 8, 2022 23:23
.. and make a path more specific while I'm here
 * layout is present and "pid"
 * title, license are present

Fix errors in several existing PID files.

Also change the output format so that the affected files can be
automatically visited by vim when the output of validate_pids is used
as the error file.
@jepler
Copy link
Contributor Author

jepler commented Nov 16, 2022

@tannewt ping!

@peternewman
Copy link
Contributor

I noticed that not much validation of the metadata is performed. I identified that it would be useful to ensure that the owner's markdown file exists as expected.

I think that (at least used to) be caught by the link checking stuff, althought it seems that was broken, now fixed in #791 but the jekyll build warnings don't get flagged up with test failures which is a bit unfortunate.

@jepler
Copy link
Contributor Author

jepler commented Nov 28, 2022

If this is redundant then please feel free to close it.

Copy link
Collaborator

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you!

@tannewt tannewt merged commit 897b99c into pidcodes:master Jan 10, 2023
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

Successfully merging this pull request may close these issues.

3 participants