File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Contributing
22Please note that this project is released with a
3- [ Contributor Code of Conduct] ( https://github.com/adafruit/circuitpython/blob/master /CODE_OF_CONDUCT.md ) .
3+ [ Contributor Code of Conduct] ( https://github.com/adafruit/circuitpython/blob/main /CODE_OF_CONDUCT.md ) .
44By participating in this project you agree to abide by its terms. Participation
55covers any forum used to converse about CircuitPython including unofficial and official spaces. Failure to do
66so will result in corrective actions such as time out or ban from the project.
Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ Contributing
5555------------
5656
5757See
58- `CONTRIBUTING.md <https://github.com/adafruit/circuitpython/blob/master /CONTRIBUTING.md >`__
58+ `CONTRIBUTING.md <https://github.com/adafruit/circuitpython/blob/main /CONTRIBUTING.md >`__
5959for full guidelines but please be aware that by contributing to this
6060project you are agreeing to the `Code of
61- Conduct <https://github.com/adafruit/circuitpython/blob/master /CODE_OF_CONDUCT.md> `__.
61+ Conduct <https://github.com/adafruit/circuitpython/blob/main /CODE_OF_CONDUCT.md> `__.
6262Contributors who follow the `Code of
63- Conduct <https://github.com/adafruit/circuitpython/blob/master /CODE_OF_CONDUCT.md> `__
63+ Conduct <https://github.com/adafruit/circuitpython/blob/main /CODE_OF_CONDUCT.md> `__
6464are welcome to submit pull requests and they will be promptly reviewed
6565by project admins. Please join the
6666`Discord <https://adafru.it/discord >`__ too.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The latest documentation can be found at:
55http://circuitpython.readthedocs.io/en/latest/
66
77The documentation you see there is generated from the files in the whole tree:
8- https://github.com/adafruit/circuitpython/tree/master
8+ https://github.com/adafruit/circuitpython/tree/main
99
1010Building the documentation locally
1111----------------------------------
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Design Guide
33
44This guide covers a variety of development practices for CircuitPython core and library APIs. These
55APIs are both `built-into CircuitPython
6- <https://github.com/adafruit/circuitpython/tree/master /shared-bindings> `_ and those that are
6+ <https://github.com/adafruit/circuitpython/tree/main /shared-bindings> `_ and those that are
77`distributed on GitHub <https://github.com/search?utf8=%E2%9C%93&q=topic%3Acircuitpython&type= >`_
88and in the `Adafruit <https://github.com/adafruit/Adafruit_CircuitPython_Bundle >`_ and `Community
99<https://github.com/adafruit/CircuitPython_Community_Bundle/> `_ bundles. Consistency with these
Original file line number Diff line number Diff line change 9090 last_rev=" v1.0"
9191fi
9292
93- # get a list of hashes between last revision (exclusive) and master
94- hashes=$( git log --format=format:" %H" --reverse ${last_rev} ..master )
95- # hashes=$(git log --format=format:"%H" --reverse ${last_rev}..master | $AWK '{if (NR % 10 == 0) print $0}') # do every 10th one
93+ # get a list of hashes between last revision (exclusive) and main
94+ hashes=$( git log --format=format:" %H" --reverse ${last_rev} ..main )
95+ # hashes=$(git log --format=format:"%H" --reverse ${last_rev}..main | $AWK '{if (NR % 10 == 0) print $0}') # do every 10th one
9696
9797for hash in $hashes ; do
9898
182182
183183done
184184
185- # checkout master and cleanup
186- git checkout master
185+ # checkout main and cleanup
186+ git checkout main
187187$RM $pystoneavg
You can’t perform that action at this time.
0 commit comments