matthewhirschey / ddh.org

datadrivenhypothesis.org is a resource to query 100+ GB of raw biological science data to develop data-driven hypotheses
2 stars 7 forks source link

Adds script to pull changes from ddh.com repo #110

Closed johnbradley closed 3 years ago

johnbradley commented 3 years ago

Adds top level pullchanges.sh script. This script switches to the master branch, creates a new git branch based on master, pulls changes from ddh.com skipping specific files, then commits the remaining files to the new branch. The new branch is then pushed and your web browser is opened to create a github pull request.

The script requires the github command line too(gh)l to be installed. Instructions to install it are at https://cli.github.com/.

The files skipped from ddh.com repo are as follows: Any file ending in _private.R. Any file within the openshiftor tests/data directories. Any file named README.md.

NOTE: Currently the upstream branch in pullchanges.sh is hard coded to the org-reorg ddh.com branch. This will need to be changed to master once the org-reorg branch is merged. It would be a good idea to make these changes before merging this PR.