This repository contains materials related to the Roman Space Telescope WFI Reference File Pipeline (RFP). The development team’s primary focus is achieving operational stability after launch and through commissioning into operations. As a result, the maintainers may or may not be able to respond to GitHub Issues or discussions submitted to this repository.
We do appreciate Roman mission community interest. For questions, feedback, or support requests, the best and most reliable way to reach the team is through the Roman Helpdesk: https://stsci.service-now.com/roman. This is the preferred method of communication for Project Infrastructure Team (PIT) members, WFI Science Teams, and individuals at the Science Support Center at IPAC (SSC).
Thank you for your understanding and patience during this phase of mission development.
See the instructions below for how to contribute to this repository using a forking workflow.
-
Create a personal fork of the
roman-wfi-reference-pipelinerepository by visiting its location on GitHub and clicking theForkbutton. This will create a copy of theroman-wfi-reference-pipelinerepository under your personal GitHub account (hereby referred to as "personal fork"). Note that this only has to be done once. -
Make a local copy of your personal fork by cloning the repository (e.g.
git clone https://github.com/username/roman-wfi-reference-pipeline.git, found by clicking the green "clone or download" button.). Note that, unless you explicitly delete your clone of the fork, this only has to be done once. -
Ensure that the personal fork is pointing to the
upstreamroman-wfi-reference-pipelinerepository withgit remote add upstream https://github.com/spacetelescope/roman-wfi-reference-pipeline.git(or use the SSH version if you have your SSH keys set up). Note that, unless you explicitly change the remote location of the repository, this only has to be done once. -
Create a branch off of the
mainbranch on the personal clone to develop software changes on. Branch names should be short but descriptive (e.g.new-database-tableorfix-ingest-algorithm), and not too generic (e.g.bug-fix). Consistent use of hyphens is encouraged.git branch <branchname>git checkout <branchname>- you can use this command to switch back and forth between existing branches.- Perform local software changes using the nominal
git add/git commit -mcycle:git status- allows you to see which files have changed.git add <new or changed files you want to commit>git commit -m 'Explanation of changes you've done with these files'
-
Remember all changes must have appropriate test and documentation updates.
-
Push the branch to the GitHub repository for the personal fork with
git push origin <branchname>. -
In the
roman-wfi-reference-pipelinerepository, create a pull request for the recently pushed branch. You will want to set the base fork pointing toroman-wfi-reference-pipeline:mainand theheadfork pointing to the branch on your personal fork (i.e.username:branchname). Note that if the branch is still under development, you can use the GitHub "Draft" feature (under the "Reviewers" section) to tag the pull request as a draft. Not until the "Ready for review" button at the bottom of the pull request is explicitly pushed is the pull request 'mergeable'. -
Assign the pull request a reviewer, selecting a maintainer of the
roman-wfi-reference-pipelinerepository. They will review your pull request and either accept the request and merge, or ask for additional changes. -
Iterate with your reviewer(s) on additional changes if necessary, addressing any comments on your pull request. If changes are required, you may end up iterating over steps 4.iii and 5 several times while working with your reviewer.
-
Once the pull request has been accepted and merged, you can delete your local branch with
git branch -d <branchname>.
If you wish to, you can keep a personal fork up-to-date with the roman-wfi-reference-pipeline repository by fetching and rebasing with the upstream remote, remember to update your github repo's main after doing this.
git checkout maingit fetch upstream maingit rebase upstream/maingit push origin main
Alternatively, you can use the sync fork button on the main page of your github fork. Remember once synced you will need to pull your main down to your machine
git checkout maingit fetch origin maingit pull origin main
Users can contribute to another user's personal fork by adding a remote that points to their fork and using the nominal forking workflow, e.g.:
git remote add <username> <remote URL>git fetch <username>git checkout -b <branchname> <username>/<branchname>- Make some changes (i.e.
add/commitcycle) git push <username> <branchname>