Skip to content

94 doc release procedure#103

Merged
rogerkuou merged 10 commits into
mainfrom
94_doc_release_procedure
Jul 2, 2026
Merged

94 doc release procedure#103
rogerkuou merged 10 commits into
mainfrom
94_doc_release_procedure

Conversation

@rogerkuou

Copy link
Copy Markdown
Member

fix #94

  • Update Changelog
  • Add a GitHub issue template for release checklist
  • Add an agent skill for generating changelog infor
  • Update JOSS paper AI usage disclosure section.

@rogerkuou

Copy link
Copy Markdown
Member Author

Hi @SarahAlidoost , when you have time, can you help me review this PR?

This PR is to fix a comment we got from the JOSS review, where the reviewer asked us to improve the Change Log, create templates to standardize the release process.

While working on these suggestions, I think I can go one step further and created an agent skill to generate draft CHANGELOG info. This is the part I specifically want to ask for your input.

You can run in GitHub Copilot /release-changelog v1.2.4 to locally test the agent skill for the next release. This is also documented in the GitHub issue template.

@SarahAlidoost SarahAlidoost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rogerkuou looks good! 👍 Nice to see how SKILLS can be created for coding agents and how tasks can be done by agents. I haven't run the agent though, but I could run the script. I left some comments.

Comment thread .github/ISSUE_TEMPLATE/release-checklist.md Outdated
Comment on lines +19 to +20
- The agent skill can be executed in GenAI prompt, e.g. GitHub Copilot Chat, by `/release-changelog vX.Y.Z` command, where `vX.Y.Z` is the new version label.
- Alternatively, one can run the helper script `bash .github/skills/release-changelog/scripts/generate_release_section.sh vX.Y.Z` to get bullets for the new release section. No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These are documentation on how the agent skill can be called. I suggest moving these two lines to the CONTRIBUTING.md under the section "Making a release".

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Moved this to COONTRIBUTING.md

- [ ] Step3: Create release/tag at https://github.com/TUDelftGeodesy/sarxarray/releases

Hints:
- Step 1 and 2 can be done semi-automatically by calling agent skill in [release-changelog](.github/skills/release-changelog). However the changes will always be reviewed and commited by human.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a documentation on how to call the agent if so, please add a link here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Pointing to CONTRIBUTING.md now

Comment on lines +13 to +16
- [ ] Step1: Update version in pyproject.toml
- [ ] Step2: Update `docs/CHANGELOG.md` with new change information
- [ ] Step3: Create release/tag at https://github.com/TUDelftGeodesy/sarxarray/releases

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In addition to this issue template, release guide should be added to the CONTRIBUTING.md under a section "Making a release", see example.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added this section to CONTRIBUTING.md


## When To Use

- You just created a new release tag and want changelog content.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the changelog be created/update before the release tag?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Indeed! I updated to You are preparing a new release and want to generate a new section in the changelog.

- bash .github/skills/release-changelog/scripts/generate_release_section.sh vX.Y.Z vX.Y.(Z-1)

Notes:
- This supports changelog-first workflows where docs are built from release-triggered actions.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This sentence is not clear.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I removed this sentence. This was coming from a try, when I wanted enforce the agent to understand that the changlog information needs to be updated before a release is made. Now I found it's not necessary.

Comment thread docs/CHANGELOG.md Outdated
Comment thread .github/ISSUE_TEMPLATE/release-checklist.md Outdated
Comment thread paper/paper.md Outdated
@SarahAlidoost

Copy link
Copy Markdown
Member

@rogerkuou looks good! 👍 Nice to see how SKILLS can be created for coding agents and how tasks can be done by agents. I haven't run the agent though, but I could run the script. I left some comments.

To follow up, I could run the agent successfully. I ran /release-changelog v1.2.4 and got the expected changes to CHANGELOG and pyproject.toml:

git diff docs/CHANGELOG.md
+## Unreleased
+
+## [v1.2.4] - 2026-07-01
+
+Compared to: v1.2.3..HEAD (pre-tag draft)
+
+### Added
+- Add an issue template
+- Add agent skills for generating CHANGELOG
+- Add read_metadata to_binary and crop to API docs
+- Add output file test for to_binary
+- Fix linting, add tests
+- Add Simon as an author
+- Add a data downloading cell in the example notebook
+- Add more sections
+- Add complex coherence computation
+- Add SURF grant numbers
+- Add GitHub Action for paper
+- Add draft paper
+
+### Changed
+- Update issue template
+- Update AI usage disclosure section in JOSS paper
+- Update CHANGELOG
+- Update citation file
+- Remove list ensurance since this is already done in read_metadat
a
+- Update installation guide in docs
+- Update README with extra dependencies and zsh safe format
+- Update paper
+- Update software name in README to SARXarray
+- Update workflow
+
+### Fixed
+- Fix DOI links in JOSS paper
+- Fix typo
+
+### Docs
+- Update docs/api_reference.md
+- Add missing tickmark in docstring
+- Fix docstring
+
+### CI
+- Split filewriting test in dataset and dataarray
+- Test more edge cases in io
+- Remove da_crop reference in ValueError test
+- Add ValueError test
+- Add crop test, allow for non-integer crops
+

@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

@rogerkuou

Copy link
Copy Markdown
Member Author

Thanks @SarahAlidoost . I have adapted all your comments. Merging now.

@rogerkuou rogerkuou merged commit 47df17f into main Jul 2, 2026
18 checks passed
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.

Document release process and include actual release notes in Changelog file

2 participants