Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !1968

Script to list recent changes to templates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Pablo Brasero requested to merge github/fork/pablobm/changelog-script into main Apr 29, 2021
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 1

A first stab at a script to help with writing changelogs. Currently, it lists which template files have changed since the version given as an argument (actually a Git tag):

$ ./bin/changelog v0.15.0
The following templates have changed since v0.15.0:

  app/views/administrate/application/_navigation.html.erb
  app/views/fields/url/_index.html.erb
  app/views/fields/url/_show.html.erb

If your application overrides any of them, make sure to review your
custom templates to ensure that they remain compatible.

This was inspired by https://github.com/thoughtbot/administrate/issues/1957, where a user observed that it would be worth mentioning these template updates in the changelog, as it's something that people need to look out for when upgrading Administrate.

Perhaps in the future we can add other capabilities to this script.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/pablobm/changelog-script