Skip to content
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

Changelog Auto-Updater #422

Merged
merged 6 commits into from
Sep 4, 2021
Merged

Changelog Auto-Updater #422

merged 6 commits into from
Sep 4, 2021

Commits on Aug 5, 2021

  1. tools: Add update_changelog.py helper to tools directory

    This new helper script takes a branch name as input, then fetches
    `CHANGELOG.md` from that branch in the upstream mixxxdj/mixxx repo,
    converts the changelog into sphinx's ReStructured Text format and writes
    it to `source/chapters/appendix/version_history.py`.
    
    This makes keeping the manual repository changelog in sync with the code
    repository changelog much easier and will allow automation in the
    future.
    Holzhaus committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    976946a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2021

  1. CI: Add workflow to update changelog and rebuild on repo dispatch

    This workflow can be triggered using a personal access token (PAT) with
    the `public_repo` scope.
    
        $ curl -H "Accept: application/vnd.github.v3+json" \
               -H "Authorization: token <your-token>" \
               --request POST \
               --data '{"event_type": "update-changelog", "client_payload": {"branch": "2.3"}}' \
               https://api.github.com/repos/mixxxdj/manual/dispatches
    
    It will then run `tools/update_changelog.py` and if any files were
    changed, it will commit these changes and then trigger rebuild of the
    manual.
    
    For the latter to work, a `MIXXXBOT_CHANGELOG_AUTOUPDATER_PAT`
    repository secret needs to be present, because the default
    `GITHUB_TOKEN` doesn't suffice.
    Holzhaus committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    b02d4b1 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Configuration menu
    Copy the full SHA
    e21c0e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3eed809 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. Configuration menu
    Copy the full SHA
    a10f31a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5097ab7 View commit details
    Browse the repository at this point in the history