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

Define Review Process #21

Open
mfixstsci opened this issue Apr 29, 2020 · 0 comments
Open

Define Review Process #21

mfixstsci opened this issue Apr 29, 2020 · 0 comments

Comments

@mfixstsci
Copy link
Collaborator

mfixstsci commented Apr 29, 2020

There is currently no defined process for reviewing pull requests. This process is very involved for a reviewer and the contributor. When a user submits a notebook for review, it will most likely contain paths pointing to data that are stored on disk or somewhere on central store. However, for the notebooks to run on the Jenkins server, the data will need to be stored on artifactory under

https://bytesalad.stsci.edu/artifactory/webapp/#/artifacts/browse/tree/General/jwst_validation_notebooks

and will need to be retrieved using ci_watson.get_bigdata for single data files or leverage jwst.regtest.regtestdata for jwst asn files. The data can be manually added by someone who has permissions to write to the artifactory repository, whether it is the contributor, reviewer, or someone in DMD.

There are examples of how to use ci_watson and regtestdata in the resample notebook.

Once the data is stored in it's correct location on artifactory and the changes are made in the notebooks pointing to the data on artifactory using ci_watson or regtestdata, the user will need to test that the notebook successfully pulls the data from artifactory and the notebook completes successfully.

Once this is done, the contributor will need to clear the cells of the notebook and the restart the kernel before pushing more changes back to the pull request.

Reviewers should make sure notebooks are being submitted to master with no executed cells, executed notebooks take up a lot of space on your github repository!

The reviewer can verify and merge the notebook into master and the next time the build is run, the html will be generated and will be served via https://jwst-validation-notebooks.stsci.edu/

NOTE: A future goal of this repository is to fold it into the notebooks repository to show users some more in depth analysis of how the pipeline is performing. Once JWST is taking data and we can make calls to astroquery for data, rather than relying on artifactory and adding the data manually.

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