Skip to content

Create a template update script. #18

@seanfisk

Description

@seanfisk

I have a number of projects on which work is currently being done that use this template project. It would be nice if I could run a script to update the project to the current version of the template project.

A possible solution would involve the following steps:

  • Create a new "fake" project based on the template project.
  • Replace the fake project's metadata.py with the old project.
  • Run generation on the fake project.
  • Diff the output on relevant files from the old project to the fake project and save to a patch file.
  • Use git apply or plain patch to apply the patch.

Some conflict resolution would likely be necessary for most projects, but it would be much better than doing a manual merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions