Skip to content

Tools for bulk changes to help text and settings #5015

@joemull

Description

@joemull

Problem

We have an upcoming set of edits to model help text and Janeway setting descriptions that will result in very large migrations, if we just auto-generate them. Or we could stitch the help text changes into existing migrations manually, as we usually do for small changes, but that would be very time-intensive. It will also be time-intensive to produce the setting update migration by hand.

Proposed solutions

  • Ignore help text and verbose names in migrations, using the approach described by Cynthia Kiser.
  • Write a management command that can generate appropriate JSON to paste into a data migration to feed to utils.migration_utils.update_default_setting_values, based on a git diff of journal_default.json.
  • We then need to actually write the setting migrations for Updating in app documentation #4916.

It probably makes sense to do this work on the same branch as the recent help text and description edits, #4916.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority urgentUrgent prioritySize LLargedev-readyThis issue has been refined and is ready for development.new featureA new thing that doesn't exist yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions