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

Schema 4.6 draft #144

Merged
merged 22 commits into from
Dec 5, 2024
Merged

Schema 4.6 draft #144

merged 22 commits into from
Dec 5, 2024

Conversation

ashwinisukale
Copy link
Contributor

Purpose

closes: #141

Approach

Open Questions and Pre-Merge TODOs

Learning

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to change)

Reviewer, please remember our guidelines:

  • Be humble in the language and feedback you give, ask don't tell.
  • Consider using positive language as opposed to neutral when offering feedback. This is to avoid the negative bias that can occur with neutral language appearing negative.
  • Offer suggestions on how to improve code e.g. simplification or expanding clarity.
  • Ensure you give reasons for the changes you are proposing.

Copy link
Contributor

@codycooperross codycooperross left a comment

Choose a reason for hiding this comment

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

This is a great start, @ashwinisukale , but can you also add tests for the new relatedIdentifierType, contributorType, relationType, and dateType values? See the summary of changes here: https://docs.google.com/document/d/1RllY4Q-_Ls9gHSfy9Iuwlctv0uV4E_S6Sg56rvkMt1o/edit#heading=h.76dlmbn6ivq4

spec/kernel-4.5/other_spec.rb Outdated Show resolved Hide resolved
spec/kernel-4.5/other_spec.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@svogt0511 svogt0511 left a comment

Choose a reason for hiding this comment

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

How does this release play with the stylistic changes that Kelly is doing? Are they being released at the same time?

source/meta/kernel-4.6/index.html.md Outdated Show resolved Hide resolved
source/_four.html.md.erb Outdated Show resolved Hide resolved
source/meta/kernel-4/index.html.md Outdated Show resolved Hide resolved
spec/kernel-4.5/other_spec.rb Outdated Show resolved Hide resolved
@codycooperross
Copy link
Contributor

How does this release play with the stylistic changes that Kelly is doing? Are they being released at the same time?

@KellyStathis I'm not sure I have the most context on this—can you provide some insight?

@ashwinisukale ashwinisukale self-assigned this Oct 18, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@codycooperross @svogt0511

I have added most of the test cases in this file, instead of having multiple files for testing different part of the XML. I will create a issue which will clean all the tests inside schema. Right now they are all having incorrect file path.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good. The only one I don't see is 'dateType: Coverage'. That may be elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats was a good catch, adding it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just added all the date types and tested its presence.

Copy link
Contributor

Choose a reason for hiding this comment

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

2nd ResourceTypeGeneral in other_spec.rb should have 'Project' instead of 'Award'?

@KellyStathis
Copy link
Contributor

KellyStathis commented Oct 23, 2024

How does this release play with the stylistic changes that Kelly is doing? Are they being released at the same time?

@KellyStathis I'm not sure I have the most context on this—can you provide some insight?

Sorry @codycooperross and @svogt0511 I missed this last week.

The redesign of the schema site is on track to launch at the end of October. Once that's complete, I would merge those changes into this schema-4.6-draft branch. It is mostly CSS changes, but some of the pages will have minor structural changes (e.g., changing a heading level) that we'll want to incorporate here. There may be a few merge conflicts.

Copy link
Contributor

@codycooperross codycooperross left a comment

Choose a reason for hiding this comment

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

I think one of the last pieces of this work, assuming that all the new values are tested as valid against the XSD, is to copy all of the spec/kernel-4.6 tests to the spec/kernel-4 folder. These two should be identical, to my memory, because the XSD is identical as well. @svogt0511 does that sound right?

@ashwinisukale
Copy link
Contributor Author

I think one of the last pieces of this work, assuming that all the new values are tested as valid against the XSD, is to copy all of the spec/kernel-4.6 tests to the spec/kernel-4 folder. These two should be identical, to my memory, because the XSD is identical as well. @svogt0511 does that sound right?

I have created a ticket which will address this #146 here I am also addressing correction of test cases in other versions.

Copy link
Contributor

@svogt0511 svogt0511 left a comment

Choose a reason for hiding this comment

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

As far as I can see my comments have been addressed. I am going to approve this pending resolution of Cody's comments. I assume that this is not going to be released until @KellyStathis is ready to make the announcement of 4.6, and at that time, everything related to 4.6 will be released. I am also assuming that 4.6 is scheduled to go after the October release of the site format/css changes.

# Conflicts:
#	source/_versions.html.md.erb
#	source/meta/kernel-4/index.html.md
<date dateType="Available">2024-01-01</date>
</dates>
<descriptions>
<description xml:lang="en" descriptionType="Abstract">This chapter reviews selected landmarks ocurred in Chemistry basic research in the last 5 years</description>

Choose a reason for hiding this comment

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

Suggested change
<description xml:lang="en" descriptionType="Abstract">This chapter reviews selected landmarks ocurred in Chemistry basic research in the last 5 years</description>
<description xml:lang="en" descriptionType="Abstract">This chapter reviews selected landmarks occurred in Chemistry basic research in the last 5 years</description>

ref:

@codycooperross codycooperross self-requested a review December 5, 2024 13:30
@codycooperross codycooperross merged commit f5388e7 into master Dec 5, 2024
1 check passed
@codycooperross codycooperross deleted the schema-4.6-draft branch December 5, 2024 13:30
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.

Metadata 4.6 - Schema updates - Add test cases
5 participants