-
Notifications
You must be signed in to change notification settings - Fork 70
feat: add releaselist schemas into schemas.json. #1269
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| **Added:** | ||
|
|
||
| * Added release_list schemas in `schemas.json`. | ||
|
|
||
| **Changed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Deprecated:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Removed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Fixed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Security:** | ||
|
|
||
| * <news item> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2169,6 +2169,49 @@ | |
| "year": 2020 | ||
| } | ||
| ], | ||
| "releaseReports": [ | ||
| { | ||
| "_id": "sbillinge", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| "releases": [ | ||
| { | ||
| "package_name": "regolith", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be at the top level, not in the release. |
||
| "description": "A Group Content Management System", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. top level |
||
| "url": "https://github.com/regro/regolith", | ||
| "release_updates": [ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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_date": "21/07/2024", | ||
| "author": ["Simon Billinge", "Rundong Hua"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| "author_id": ["sbillinge", "stevenhua0320"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not needed |
||
| }, | ||
| { | ||
| "version_number": "0.8.1", | ||
| "updated_capacities": "Fix bug in builder", | ||
| "release_date": "11/13/2023", | ||
| "author": "Simon Billinge", | ||
| "author_id": "sbillinge" | ||
| }] | ||
| }, | ||
| { | ||
| "package_name": "diffpy.xpdfsuite", | ||
| "description": "The suite of algorithms and software for diffpy programs.", | ||
| "release_updates": [ | ||
| { | ||
| "version_number": "0.2.0", | ||
| "updated_capacities": "scikit-pakcage everything in the suite to new BillingeGroup standard.", | ||
| "release_date": "20/10/2025", | ||
| "author": ["Simon Billinge", "Zhiming Xu", "Rundong Hua"], | ||
| "author_id": ["sbillinge", "zmx27", "stevenhua0320"] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "students": { | ||
| "_id": "Human A. Person", | ||
| "aka": ["H. A. Person"], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2924,6 +2924,109 @@ | |
| "anyof_type": ["string", "integer"] | ||
| } | ||
| }, | ||
| "releaseReports": { | ||
| "_description": { | ||
| "description": "This is a collection of information that will be be used to build a release report. This should probably be private." | ||
| }, | ||
| "_id": {"description": "the ID", "required": true, "type": "string"}, | ||
|
|
||
| "date": { | ||
| "description": "date the list was edited", | ||
| "required": false, | ||
| "anyof_type": ["date", "string"] | ||
| }, | ||
| "day": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| "description": "The day the list was edited", | ||
| "required": false, | ||
| "type": "integer" | ||
| }, | ||
| "month": { | ||
| "description": "The month the list was edited", | ||
| "required": false, | ||
| "anyof_type": ["integer", "string"] | ||
| }, | ||
| "year": { | ||
| "description": "The day the list was edited", | ||
| "required": false, | ||
| "type": "integer" | ||
| }, | ||
| "released_package": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shall we call this "releases"? |
||
| "description": "The list of software releases.", | ||
| "required": true, | ||
| "type": "list", | ||
| "schema": { | ||
| "type": "dict", | ||
| "schema": { | ||
| "package_name": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isn't the package already known from the top level? |
||
| "description": "the name of the package.", | ||
| "required":true, | ||
| "type": "string" | ||
| }, | ||
| "description": { | ||
| "description": "the description of what is the software doing.", | ||
| "required": true, | ||
| "type": "string" | ||
| }, | ||
| "url": { | ||
| "description": "the url of the released software if it is public.", | ||
| "required": false, | ||
| "type": "string" | ||
| }, | ||
| "release_updates": { | ||
| "description": "updated/added capacities for each time of release.", | ||
| "required": true, | ||
| "type": "list", | ||
| "schema": { | ||
| "type": "dict", | ||
| "schema": { | ||
| "version_number": { | ||
| "description": "The version number of the package.", | ||
| "required": true, | ||
| "type": "string" | ||
| }, | ||
| "updated_capacities": { | ||
| "description": "the description of the updated capacity of the package.", | ||
| "required": true, | ||
| "type": "string" | ||
| }, | ||
| "release_url": { | ||
| "description": "the released url of the package in specific version.", | ||
| "required": false, | ||
| "type": "string" | ||
| }, | ||
| "release_year": { | ||
| "description": "the year of the version released.", | ||
| "required": true, | ||
| "type": "integer" | ||
| }, | ||
| "release_month": { | ||
| "description": "the month of the version released.", | ||
| "required": true, | ||
| "anyof_type": ["integer", "string"] | ||
| }, | ||
| "release_day": { | ||
| "description": "the day of the version released.", | ||
| "required": true, | ||
| "type": "integer" | ||
| }, | ||
| "author": { | ||
| "description": "the author(s) who contribued to the version release.", | ||
| "required": true, | ||
| "anyof_type": ["list", "string"] | ||
| }, | ||
| "author_id": { | ||
| "description": "the id of the author who contributed to the version release.", | ||
| "required": false, | ||
| "anyof_type": ["list", "string"] | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "software": { | ||
| "_description": {"description": "Information about software, such as active, grants, etc."}, | ||
| "_id": { | ||
|
|
||
There was a problem hiding this comment.
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
softwareThere was a problem hiding this comment.
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.jsonthere is a collection calledsoftwarecreated by last year for this. Maybe we should base on that to further develop thereleaseandrelease_type?There was a problem hiding this comment.
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