Skip to content

Conversation

@stevenhua0320
Copy link
Contributor

@stevenhua0320 stevenhua0320 commented Oct 18, 2025

@sbillinge Ready to review the potential schemas for releaselist. The Tests on PR fails now because I have not create the corresponding exemplars in exemplars.json. After we reach an agreement on the schemas, I would create the corresponding exemplar.

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

this schema is not quite right I think. Honestly, it would be easier if you wrote the exemplar before we write the schema, and we can the write the schema to capture the exemplar.

"required": false,
"anyof_type": ["date", "string"]
},
"day": {
Copy link
Contributor

Choose a reason for hiding this comment

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

day/month/year are probably not needed. these are replaced more recently by date. They are still needed if only a partial date is know, butI think every release will have a well defined date.

"required": false,
"type": "integer"
},
"released_package": {
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we call this "releases"?

"schema": {
"type": "dict",
"schema": {
"package_name": {
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't the package already known from the top level?

@stevenhua0320
Copy link
Contributor Author

this schema is not quite right I think. Honestly, it would be easier if you wrote the exemplar before we write the schema, and we can the write the schema to capture the exemplar.

OK, I would first design the exemplar instead and then redo the schemas.

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

please see comments

"releaseReports": [
{
"_id": "sbillinge",
"date": "17/07/2025",
Copy link
Contributor

Choose a reason for hiding this comment

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

dates are in iso standard. Also, what date is this?, when the package was first created? in which case creation_date or something like that.

"year": 2020
}
],
"releaseReports": [
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this collection should be called software

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But I see that in schemas.json there is a collection called software created by last year for this. Maybe we should base on that to further develop the release and release_type?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I forgot about that... We Should use that as a start

],
"releaseReports": [
{
"_id": "sbillinge",
Copy link
Contributor

Choose a reason for hiding this comment

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

I would expect the id to reflect the name of the software

"date": "17/07/2025",
"releases": [
{
"package_name": "regolith",
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be at the top level, not in the release.

"releases": [
{
"package_name": "regolith",
"description": "A Group Content Management System",
Copy link
Contributor

Choose a reason for hiding this comment

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

top level

"package_name": "regolith",
"description": "A Group Content Management System",
"url": "https://github.com/regro/regolith",
"release_updates": [
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed

"change name and then fix tests for function that formats awards and honors"],
"release_url": "https://github.com/regro/regolith/releases/tag/0.9.1",
"release_date": "21/07/2024",
"author": ["Simon Billinge", "Rundong Hua"],
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed in the release, but at the top level we may need authors and have it take the ids

"release_url": "https://github.com/regro/regolith/releases/tag/0.9.1",
"release_date": "21/07/2024",
"author": ["Simon Billinge", "Rundong Hua"],
"author_id": ["sbillinge", "stevenhua0320"]
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed

"version_number": "0.9.1",
"updated_capacities": ["Rearrange Regolith package to new Billingegroup package standards",
"change name and then fix tests for function that formats awards and honors"],
"release_url": "https://github.com/regro/regolith/releases/tag/0.9.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe keep this if we can use it get the release info. In which case, don't save the other information here, for example the changelog.

Maybe have a release_type that can be major, minor, patch. This will allow us to chosse what levels of release we want to list in some situation.

@stevenhua0320
Copy link
Contributor Author

Closes thisw as we need to build on software exemplar.

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.

2 participants