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

Create a template update script. #18

Open
seanfisk opened this issue Jul 15, 2013 · 1 comment
Open

Create a template update script. #18

seanfisk opened this issue Jul 15, 2013 · 1 comment

Comments

@seanfisk
Copy link
Owner

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.

@seanfisk
Copy link
Owner Author

A prototype script is currently working. Has to be developed into a full script and then added to the PPT distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant