Rotate the CHANGELOG through the API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

As a release manager, I need a way to automatically rotate the changelog when it sizes reaches a certain limit. (e.g. The GitLab UI can not render files larger than 1MB.)

Proposal

Extend the POST /projects/:id/repository/changelog endpoint with an optional argument that rotates the CHANGELOG.

TBD questions:

  • where do we store the previous changelogs?
    • use a new attribute --archive with the path where the current changelog needs to be moved

Intended users

Feature Usage Metrics

  • monthly calls to the POST /projects/:id/repository/changelog API endpoint, we don't want to measure rotation usage separately
Edited by 🤖 GitLab Bot 🤖