update changelog categories#720
Conversation
40555e3 to
479d69a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #720 +/- ##
=======================================
Coverage 90.62% 90.62%
=======================================
Files 99 99
Lines 4577 4577
=======================================
Hits 4148 4148
Misses 429 429 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
emolter
left a comment
There was a problem hiding this comment.
@braingram should probably also comment
There was a problem hiding this comment.
We should probably add some text somewhere here that defines public API. It's more in-line with standard open-source standard practices than jwst, but because jwst is different it may be worth specifying our policy.
|
|
||
| - `<PR#>.breaking.rst`: Add this fragment if your change **breaks public API**, describing what the user needs to change | ||
| - `<PR#>.feature.rst` | ||
| - `<PR#>.fix.rst` |
There was a problem hiding this comment.
Why is "bugfix" becoming "fix"?
There was a problem hiding this comment.
i figure more concise (conveying the same info) is better and reduces the chance of a typo (that's why I used fix in the upcoming package template). But we can revert this too if it's too much of a change
There was a problem hiding this comment.
I'm fine either way it just might take a bit of adjusting to not forget this
|
With any change here we need to rename all the existing fragments. To be honest I liked that this package used the standard fragment types but I see the point about the proposed new ones making it easier to tell what requires a major version bump. |
We could also just use the default ones with |
1cadd5d to
bd0ecf7
Compare
|
As mentioned in Team Chartreuse tag up, I am curious on who is the intended audience of these change logs. Are they for pipeline devs or end-users (e.g., Jdaviz users who need this package to open data without the pipeline)? If the latter, category like "schema" would mean little to them. They would want to know which instrument changed what data format and if it is backward compatible with the data they already have. |
|
@pllim I find it a bit doubtful that most end-user scientists read these changelogs in detail. So to me, the primary consumers of this would be:
The name wouldn't have to be "schemas". My idea was simply to separate new code features from schema updates somehow. But given that providing schemas is a huge part of what stdatamodels does, I'm not sure there's any rename that's easier to understand. A problem with separating this by instrument or mode is that many changes don't fall into a single category. Have a look at https://github.com/spacetelescope/stdatamodels/blob/main/CHANGES.rst#new-features
|
|
So if changes to a schema is a breaking change, do we then need 2 fragments, one in breaking and one in schema? |
yeah exactly; the |
|
I am not sure how splitting the change summary into 2 different sections is gonna make things less confusing... |
b8d500b to
7cc43c7
Compare
|
@pllim even if we don't change the category name, in order to be in-line with what's already done in |
7cc43c7 to
66213ec
Compare
66213ec to
971b563
Compare
updates changelog categories to be more in line with pipeline towncrier fragments:
breakingschemafeaturefixdocsotherthese are ordered in the changelog output, and should make it easier to follow semantic versioning for releases if we want to do that
Tasks
docs/pageno-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types)jwstregression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>")news fragment change types...
changes/<PR#>.feature.rst: new featurechanges/<PR#>.bugfix.rst: fixes an issuechanges/<PR#>.doc.rst: documentation changechanges/<PR#>.removal.rst: deprecation or removal of public APIchanges/<PR#>.misc.rst: infrastructure or miscellaneous change