-
Notifications
You must be signed in to change notification settings - Fork 28
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
use towncrier
to handle changelog entries
#1375
use towncrier
to handle changelog entries
#1375
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1375 +/- ##
=======================================
Coverage 78.49% 78.49%
=======================================
Files 117 117
Lines 7867 7867
=======================================
Hits 6175 6175
Misses 1692 1692
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
.github/pull_request_template.md
Outdated
**Checklist** | ||
- [ ] added entry in `CHANGES.rst` under the corresponding subsection | ||
- [ ] for a public change, added a [towncrier news fragment](https://towncrier.readthedocs.io/en/stable/tutorial.html#creating-news-fragments) <details><summary>`changes/<PR#>.<changetype>.rst`</summary> |
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.
Checklist
-
for a public change, added a towncrier news fragment
changes/<PR#>.<changetype>.rst
changes/<PR#>.general.rst
: infrastructure or miscellaneous changechanges/<PR#>.docs.rst
changes/<PR#>.stpipe.rst
changes/<PR#>.associations.rst
changes/<PR#>.scripts.rst
changes/<PR#>.mosaic_pipeline.rst
changes/<PR#>.patch_match.rst
steps
changes/<PR#>.dq_init.rst
changes/<PR#>.saturation.rst
changes/<PR#>.refpix.rst
changes/<PR#>.linearity.rst
changes/<PR#>.dark_current.rst
changes/<PR#>.jump_detection.rst
changes/<PR#>.ramp_fitting.rst
changes/<PR#>.assign_wcs.rst
changes/<PR#>.flatfield.rst
changes/<PR#>.photom.rst
changes/<PR#>.flux.rst
changes/<PR#>.source_detection.rst
changes/<PR#>.tweakreg.rst
changes/<PR#>.skymatch.rst
changes/<PR#>.outlier_detection.rst
changes/<PR#>.resample.rst
changes/<PR#>.source_catalog.rst
-
updated relevant tests
-
updated relevant documentation
-
updated relevant milestone(s)
b996c73
to
4e78e85
Compare
4e78e85
to
75c85e4
Compare
current changelog ( 0.16.2.dev2+g482ef5c7 (2024-08-27)
==================================
Documentation
-------------
- handle changelog entries with `towncrier` (`#1375
<https://github.com/spacetelescope/romancal/1375>`_)
``mosaic_pipeline``
-------------------
- Only load patch table when needed. (`#1367
<https://github.com/spacetelescope/romancal/1367>`_) |
75c85e4
to
8c071b6
Compare
**Checklist** | ||
- [ ] added entry in `CHANGES.rst` under the corresponding subsection | ||
- [ ] for a public change, added a towncrier news fragment in `changes/` <details><summary>`echo "changed something" > changes/<PR#>.<changetype>.rst`</summary> | ||
|
||
- ``changes/<PR#>.general.rst``: infrastructure or miscellaneous change | ||
- ``changes/<PR#>.docs.rst`` | ||
- ``changes/<PR#>.stpipe.rst`` | ||
- ``changes/<PR#>.associations.rst`` | ||
- ``changes/<PR#>.scripts.rst`` | ||
- ``changes/<PR#>.mosaic_pipeline.rst`` | ||
- ``changes/<PR#>.patch_match.rst`` | ||
|
||
## steps | ||
- ``changes/<PR#>.dq_init.rst`` | ||
- ``changes/<PR#>.saturation.rst`` | ||
- ``changes/<PR#>.refpix.rst`` | ||
- ``changes/<PR#>.linearity.rst`` | ||
- ``changes/<PR#>.dark_current.rst`` | ||
- ``changes/<PR#>.jump_detection.rst`` | ||
- ``changes/<PR#>.ramp_fitting.rst`` | ||
- ``changes/<PR#>.assign_wcs.rst`` | ||
- ``changes/<PR#>.flatfield.rst`` | ||
- ``changes/<PR#>.photom.rst`` | ||
- ``changes/<PR#>.flux.rst`` | ||
- ``changes/<PR#>.source_detection.rst`` | ||
- ``changes/<PR#>.tweakreg.rst`` | ||
- ``changes/<PR#>.skymatch.rst`` | ||
- ``changes/<PR#>.outlier_detection.rst`` | ||
- ``changes/<PR#>.resample.rst`` | ||
- ``changes/<PR#>.source_catalog.rst`` | ||
</details> | ||
- [ ] updated relevant tests | ||
- [ ] updated relevant documentation | ||
- [ ] updated relevant milestone(s) |
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.
Checklist
-
for a public change, added a towncrier news fragment in
changes/
echo "changed something" > changes/<PR#>.<changetype>.rst
changes/<PR#>.general.rst
: infrastructure or miscellaneous changechanges/<PR#>.docs.rst
changes/<PR#>.stpipe.rst
changes/<PR#>.associations.rst
changes/<PR#>.scripts.rst
changes/<PR#>.mosaic_pipeline.rst
changes/<PR#>.patch_match.rst
steps
changes/<PR#>.dq_init.rst
changes/<PR#>.saturation.rst
changes/<PR#>.refpix.rst
changes/<PR#>.linearity.rst
changes/<PR#>.dark_current.rst
changes/<PR#>.jump_detection.rst
changes/<PR#>.ramp_fitting.rst
changes/<PR#>.assign_wcs.rst
changes/<PR#>.flatfield.rst
changes/<PR#>.photom.rst
changes/<PR#>.flux.rst
changes/<PR#>.source_detection.rst
changes/<PR#>.tweakreg.rst
changes/<PR#>.skymatch.rst
changes/<PR#>.outlier_detection.rst
changes/<PR#>.resample.rst
changes/<PR#>.source_catalog.rst
-
updated relevant tests
-
updated relevant documentation
-
updated relevant milestone(s)
Do you want to talk about this at the tag up tomorrow (3 pm)? |
sure, where is it? |
c33dd3f
to
b4ad5c6
Compare
@schlafly sorry for the flurry of commits; this should be ready now, if you think it's good to approve. Like in |
039a792
to
1052c7e
Compare
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.
Thanks Zach, LGTM.
using
towncrier
to handle changelog entries willCHANGES.rst
we currently experience with PRsCHANGES.rst
consistent and eliminate duplicate sectionstowncrier
expects "news fragment" files (text files in thechanges/
directory with filenames in the format<PR#>.<changetype>.rst
, i.e. for this PR it would bechanges/1375.docs.rst
). See docs at https://towncrier.readthedocs.io/en/latest/tutorial.html#creating-news-fragmentswhen ready to make a release, run
towncrier build
to ingest the news fragments and generate a changelog section inCHANGES.rst
with all the new change log entries for that release (this clears thechanges/
directory of all news fragment files). This step should either be done before making a release, or could probably be added to a GitHub workflow triggered on release (to insert a commit and remake the tag).After merging this PR the
Release Process
wiki page will need to be updated to include a step to runtowncrier build
instead of manually editingCHANGES.rst
Checklist
CHANGES.rst
under the corresponding subsectionupdated relevant testsran regression tests, post a link to the Jenkins job below. How to run regression tests on a PR