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

Change code & docs to reflect a default branch named main #1150

Merged
merged 12 commits into from
May 29, 2021

Conversation

namurphy
Copy link
Member

This PR makes the changes in the code associated with default branch name change from master to main in our repositories. GitHub has made it easier to change the name of the default branch, which will make this change significantly smoother. For example, pull requests to master will be automagically shifted to main. One-time instructions will pop up for people coming to the repository in order to update clones on their local computers.

A few other packages have changed mastermain, including Astropy and NumPy, so some of the changes are associated with that. Two packages that have not yet done so are Sphinx and xarray, so I've left those links alone. The change in conf.py from master_docroot_doc comes from a name change in Sphinx.

Tasks yet to do include:

  • Change PlasmaPy default branch to main
  • Update branch name on read the docs
  • Change PlasmaPy-logo default branch to main
  • Change PlasmaPy-PLEPs default branch to main
  • Change master to main as needed within code in plasmapy.github.io
  • Change branch name in plasmapy.github.io

Closes #1087.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added notebooks Related to example Jupyter notebooks in docs/examples/ plasmapy.plasma Related to the plasmapy.plasma subpackage labels May 22, 2021
@codecov
Copy link

codecov bot commented May 22, 2021

Codecov Report

Merging #1150 (121f8b7) into master (a51e3a6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1150   +/-   ##
=======================================
  Coverage   96.98%   96.98%           
=======================================
  Files          71       71           
  Lines        7022     7022           
=======================================
  Hits         6810     6810           
  Misses        212      212           
Impacted Files Coverage Δ
plasmapy/plasma/plasma_base.py 75.60% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a51e3a6...121f8b7. Read the comment docs.

@namurphy namurphy merged commit a800d93 into PlasmaPy:main May 29, 2021
@namurphy namurphy deleted the default-to-main branch May 29, 2021 14:56
@namurphy namurphy restored the default-to-main branch May 29, 2021 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notebooks Related to example Jupyter notebooks in docs/examples/ plasmapy.plasma Related to the plasmapy.plasma subpackage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename default branch to main
1 participant