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

Contributors guide #97

Merged
merged 17 commits into from
Jun 15, 2021
Merged

Contributors guide #97

merged 17 commits into from
Jun 15, 2021

Conversation

clyne
Copy link
Contributor

@clyne clyne commented Jun 11, 2021

This PR partially (mostly) addresses #19. It provides a general, but detailed, guide to contributing to Project Pythia, and provides links to repo-specific contributors information (i.e. how to contribute to Foundations). The general guide covers the different ways to contribute (including how to submit an external link); setting up git, github, and conda; and how to use the "forking workflow"

N.B. changes to the foundations contributor's guide are forthcoming

@clyne
Copy link
Contributor Author

clyne commented Jun 11, 2021

@andersy005, any guidance on how to trouble shoot these lint errors? Can I run the linter locally...Thanks!

@andersy005
Copy link
Member

@andersy005, any guidance on how to trouble shoot these lint errors? Can I run the linter locally...Thanks!

@clyne, Try the following

  • Add pre-commit to the list of dependencies in ci/environment.yml and run conda env update -f ci/environment.yml
  • Install pre-commit with conda activate pythia && pre-commit install
  • Run pre-commit run --all-files to fix files from previous commits
  • The pre-commit hooks should run automatically for any subsequent commits.

@clyne
Copy link
Contributor Author

clyne commented Jun 14, 2021

Thanks @andersy005 ! That worked. Is there a reason we don't have this baked in to our build environment? We seem to for the foundations portal...

@andersy005
Copy link
Member

Thanks @andersy005 ! That worked. Is there a reason we don't have this baked in to our build environment? We seem to for the foundations portal...

You are welcome! I think we just forgot to include it in our local build environment

@clyne
Copy link
Contributor Author

clyne commented Jun 14, 2021

How about we add it, and I'll update the contributor's guide while I'm working on it?

Co-authored-by: Anderson Banihirwe <[email protected]>
@andersy005
Copy link
Member

How about we add it, and I'll update the contributor's guide while I'm working on it?

👍🏽 Sounds good

kmpaul
kmpaul previously approved these changes Jun 14, 2021
Copy link
Collaborator

@kmpaul kmpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, @clyne!

jukent
jukent previously approved these changes Jun 14, 2021
@jukent jukent requested a review from kmpaul June 14, 2021 17:03
@clyne clyne requested a review from jukent June 14, 2021 22:52
@clyne
Copy link
Contributor Author

clyne commented Jun 14, 2021

Just need some of you folks who gave thumbs up, looks good, etc. to actually approve :-). Tagging @andersy005 @kmpaul @jukent

Nag, nag, nag..

@brian-rose
Copy link
Member

Looks like this needs approval specifically from @kmpaul and/or @ktyle as code owners.

@brian-rose
Copy link
Member

Ok the merge button is still red even with 3 explicit approvals, because of our relic code-owners setup that will be fixed with #105.

Either @kmpaul can approve and merge this, or if he's busy elsewhere I'll just force-merge later today.

@clyne
Copy link
Contributor Author

clyne commented Jun 15, 2021

This PR seems stuck in the "Read the Docs" build. Anyone (@andersy005 , @kmpaul ) no how to unstick it?

@clyne clyne mentioned this pull request Jun 15, 2021
@jukent
Copy link
Contributor

jukent commented Jun 15, 2021

Should we add joining the email list to the contributor's guide?


If you would like join the [email protected] Google group to be informed of updates and events in the seminar series, please do so by following this link and clicking "Join Group" next to the group name.

@jukent
Copy link
Contributor

jukent commented Jun 15, 2021

This PR seems stuck in the "Read the Docs" build. Anyone (@andersy005 , @kmpaul ) no how to unstick it?

When I click "details" it says the build completed. Not sure why it is hanging.

@brian-rose
Copy link
Member

Yep, same over at #105. I tried closing and reopening to trigger another build on readthedocs, but still hangs forever. Annoying but seems clear that it has nothing to do with the content of these PRs.

@brian-rose brian-rose closed this Jun 15, 2021
@brian-rose brian-rose reopened this Jun 15, 2021
@brian-rose
Copy link
Member

I think I got this working again by going over to Read the Docs and clicking on "Resync Webhooks" under the admin tab.

@brian-rose
Copy link
Member

Now if we merge main in one more time (which now includes the changes to codeowners from #105), I guess that the review requirements will be met automatically.

Let me try that.

@brian-rose brian-rose requested a review from a team as a code owner June 15, 2021 17:55
@brian-rose
Copy link
Member

Should we add joining the email list to the contributor's guide?

If you would like join the [email protected] Google group to be informed of updates and events in the seminar series, please do so by following this link and clicking "Join Group" next to the group name.

@jukent given the multiple rounds of review on this particular PR, I'd prefer to merge this as-is now. Can you please open a new issue / PR to add the email list info?

@clyne clyne merged commit fa6627a into main Jun 15, 2021
@clyne clyne deleted the contributors_guide branch June 15, 2021 18:02
@clyne
Copy link
Contributor Author

clyne commented Jun 15, 2021

I got the green lights, and I squashed and merged before anything else could happen!!! Thanks for sorting this out, @brian-rose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants