Implement incremental changelog generation for Debian packages #25

Merged
olemd merged 1 commit from feature/incremental-changelog into main 2025-08-25 08:38:31 +02:00
Owner

Summary

  • Implements incremental changelog generation showing complete version history
  • Fixes #22: Improve Debian package changelog to show incremental version history
  • Ensures users can see all changes when reviewing package updates

Changes

Changelog Generation Rewrite

  • Modified scripts/build-deb.sh to generate incremental changelogs
  • Iterates through all git tags in reverse chronological order
  • Creates changelog entries for each tagged version
  • Includes current development version if commits exist after latest tag

Script Improvements

  • Fixed all shellcheck warnings for better script quality
  • Properly separated variable declarations from assignments
  • Used : command for creating empty files (shellcheck compliant)
  • Added -f flag to gzip to force overwrite existing changelog.gz files

Test Results

Successfully tested the build process:

  • Generated changelog with 4 version entries (v0.0.4-dev, v0.0.4, v0.0.3, v0.0.2)
  • Each version shows its respective changes
  • Proper Debian changelog format maintained
  • Package builds successfully with new changelog

Closes #22

🤖 Generated with Claude Code

## Summary - Implements incremental changelog generation showing complete version history - Fixes #22: Improve Debian package changelog to show incremental version history - Ensures users can see all changes when reviewing package updates ## Changes ### Changelog Generation Rewrite - Modified `scripts/build-deb.sh` to generate incremental changelogs - Iterates through all git tags in reverse chronological order - Creates changelog entries for each tagged version - Includes current development version if commits exist after latest tag ### Script Improvements - Fixed all shellcheck warnings for better script quality - Properly separated variable declarations from assignments - Used `:` command for creating empty files (shellcheck compliant) - Added `-f` flag to gzip to force overwrite existing changelog.gz files ## Test Results Successfully tested the build process: - Generated changelog with 4 version entries (v0.0.4-dev, v0.0.4, v0.0.3, v0.0.2) - Each version shows its respective changes - Proper Debian changelog format maintained - Package builds successfully with new changelog Closes #22 🤖 Generated with [Claude Code](https://claude.ai/code)
Fixes #22: Improve Debian package changelog to show incremental version history

The Debian package changelog now includes the complete version history
instead of just changes since the previous release. This provides users
with full visibility into the software's evolution when reviewing
package updates.

Changes:
- Rewrote changelog generation to iterate through all git tags
- Generate entries for each tagged version in reverse chronological order
- Include current development version if commits exist after latest tag
- Fixed shellcheck warnings for better script quality
- Added -f flag to gzip to force overwrite existing changelog.gz files

Benefits:
- Complete version history visible in every package
- Standard Debian changelog format compliance
- Better integration with apt changelog and dpkg tools
- Improved transparency for users reviewing updates
- Proper audit trail for administrators

The changelog now shows all versions with their respective changes,
making it easier for users to understand what has changed between
their installed version and the available update.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
olemd merged commit a5faddf900 into main 2025-08-25 08:38:31 +02:00
olemd deleted branch feature/incremental-changelog 2025-08-25 08:38:31 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: olemd/skyview#25
No description provided.