Skip to content

Receiving template updates

Candace Savonen edited this page Feb 4, 2022 · 18 revisions

Table of Contents generated with DocToc

This original course template: https://github.com/jhudsl/OTTR_Template is always a work in progress. We are working on adding more features and smoothing out bugs as we go (this is also why your feedback is greatly appreciated).

When updates are made to files that aren't specific to the course content but instead run checks and other processes in the original repository, pull requests are filed automatically to any downstream repositories made from this template.

How to enroll a repository to receive template updates

To enroll in these automatic update PRs, the new course's repository name will need to be added to this file in the original template

  • Use this link to edit the file.
  • Add your repository's name where it says #NEW REPO HERE#, being careful to indent the same amount as the other repositories listed.
  • Choose Create a new branch for this commit and start a pull request. Name the branch what you like.
  • Name the commit Add new repository to sync
  • Click Propose changes.
  • Write a short pull request description describing that you are adding a new repository to the sync.yml file.
  • Click Create Pull Request
  • Request @cansavvy as a reviewer.

If the your new course doesn't need some of the functionality of these files or you find the automatic bothersome, you can feel free to use this guide to tailor which files you want updates for. If you have any questions about the implications of any of these updates or files, please tag @cansavvy.

How to tailor incoming sync changes:

Upon a new release, a pull request is automatically filed to any repositories that are added to the sync.yml file. Carefully review the latest release notes and the Files changed tab of the sync PR. And again, tag @cansavvy with any questions.

It might be that you want some of the changes from the PR but not all of them. Each file that is updated in a sync PR is updated in its own commit.

  • If you don't want the changes from a particular file, you can always revert that particular commit before merging the sync PR.
    If you will not want any updates on this file in the future, you may want to remove a file from being synced in your repo by reconfiguring the sync file.

  • If you want only some changes, but they are not on a whole file basis, you could check out the branch and make manual edits. To checkout the branch, navigate to your own repository you should be able to run:

git checkout repo-sync/OTTR_Template/default
Clone this wiki locally