A repository that hosts all relevant legal documents for ROAR research. Documents in the main branch represent the latest versions that have been approved by the ROAR IRB. The ROAR dashboard then references these documents when displaying assent, consent, or terms of service documents to its users. The ROAR IRB maintainers team is responsible for ensuring that the main branch versions represent the latest versions approved by the IRB.
To propose changes to a ROAR legal document, please follow these contribution guidelines1.
git is a really useful tool for version control. GitHub sits on top of git and supports collaborative and distributed working.
If you're not yet familiar with git
, there are lots of great resources to help
you git started! Some of our favorites include the git
Handbook and the Software Carpentry introduction to
git.
The legal documents themselves are written in the Markdown format.
On GitHub, you will also use Markdown to chat in issues and pull requests. You
can think of Markdown as a few little symbols around your text that will allow
GitHub to render the text with a little bit of formatting. For example, you
could write words as bold (**bold**
), or in italics (*italics*
), or as a
link ([link](https://youtu.be/dQw4w9WgXcQ)
) to another webpage.
GitHub has a really helpful page for getting started with writing and formatting Markdown on GitHub.
-
Comment on an existing issue or open a new issue referencing your changes.
This allows other members of the ROAR team to confirm that you aren't overlapping with work that's currently underway and that everyone is on the same page with the goal of the work you're going to carry out.
This blog is a nice explanation of why putting this work in up front is so useful to everyone involved.
-
Clone your roar-legal-documents repository to your machine/computer.
While you can edit files directly on github, sometimes the changes you want to make will be complex and you will want to use a text editor that you have installed on your local machine/computer. (One great text editor is vscode).
In order to work on the code locally, you must clone this repository. To keep up with changes in the roar-legal-documents repository, you should pull those changes to your local repository before starting a new revision branch.
git pull origin main
-
Create a new branch to develop and maintain the proposed code changes.
Never alter your
main
branch. It should always reflect what is on the remotemain
branch. Instead, create a new branch for your edits. For example, starting from yourmain
branch, you would create a new branch titleddoc/update-student-assent
withgit fetch origin # Always start with an updated main branch git checkout -b doc/update-student-assent origin/main
Please use appropriate branch names as those listed below:
fix/<some-identifier>
: for bugfixesenh/<feature-name>
: for new featuresdoc/<some-identifier>
: for documentation improvements.
Repository maintainers may use the
enh
andfix
prefixes. All legal document updates will probably use thedoc
prefix. -
Make your changes
Try to keep the changes focused: it is generally easy to review changes that address one issue at a time. Once you are satisfied with your local changes, add/commit/push them to your feature branch.
-
Submit a pull request.
A member of the ROAR IRB maintaners team will review your changes to confirm that they can be merged into the main code base.
Pull request titles should begin with a descriptive prefix (for example,
ENH: Adding another template
):DOC
: new or updated documentationENH
: enhancements or new featuresFIX
: bug fixesTST
: new or updated testsSTY
: style changesREF
: refactoring existing codeCI
: updates to continous integration infrastructureMAINT
: general maintenance- For works-in-progress, add the
WIP
prefix in addition to the descriptive prefix. Pull-requests tagged withWIP:
will not be merged until the tag is removed.
Again, nearly all of the legal document changes will have the
DOC
prefix. -
Have your PR reviewed by the IRB maintainers team, and update your changes accordingly in your branch.
The reviewers will take special care in assisting you to address their comments, as well as dealing with conflicts and other tricky situations that can emerge from distributed development.
-
Use the automatically generated
_diff
PDF documents to communicate with the IRB.When you open a pull request that modifies any markdown file in this repository, a bot will detect those changes and generate PDF documents that highlight the changes that you have made. The bot will comment on your pull request with a link to download these "diff" documents. These diff documents are useful for interacting with the IRB and ensuring that the changes to documents in this repository match the changes approved by the IRB. The bot takes a few minutes to run, so be sure to check the update timestamp at the bottom of the comment to ensure that you have the latest version of the diff documents.
Footnotes
-
These contributing guidelines borrow language from pyAFQ's excellent contribution guide. ↩