Skip to content

Commit 48fbd29

Browse files
authored
Improve contributing guide for issues and add micropython to FAQ (ev3dev#662)
1 parent 73d1c06 commit 48fbd29

2 files changed

Lines changed: 24 additions & 18 deletions

File tree

CONTRIBUTING.rst

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
Contributing to the Python language bindings for ev3dev
22
=======================================================
33

4-
This repository holds the pure Python bindings for peripheral
5-
devices that use the drivers available in the ev3dev_ distribution.
6-
for embedded systems.
4+
This repository holds the Python bindings for ev3dev_, ev3dev-lang-python.
75

8-
Contributions are welcome in the form of pull requests - but please
9-
take a moment to read our suggestions for happy maintainers and
10-
even happier users.
6+
Opening issues
7+
--------------
118

12-
The ``ev3dev-stretch`` branch
13-
-----------------------------
9+
Please make sure you have read the FAQ_. If you are still encountering your
10+
problem, open an issue, and ensure that the questions asked by the issue
11+
template are completely answered with correct info. This will make it much
12+
easier for us to help you!
1413

15-
This is where the latest version of our library lives. It targets
16-
``ev3dev-stretch``, which is currently considered a beta. Nonetheless,
17-
it is very stable and isn't expected to have significant breaking
18-
changes. We publish releases from this branch.
14+
Submitting Pull Requests
15+
------------------------
1916

20-
Before you issue a Pull Request
21-
-------------------------------
17+
Contributions are welcome in the form of pull requests - but please
18+
take a moment to read our suggestions for happy maintainers and
19+
even happier users.
2220

2321
Sometimes, it isn't easy for us to pull your suggested change and run
2422
rigorous testing on it. So please help us out by validating your changes
2523
and mentioning what kinds of testing you did when you open your PR.
2624
Please also consider adding relevant tests to ``api_tests.py`` and documentation
2725
changes within the ``docs`` directory.
2826

27+
The ``ev3dev-stretch`` branch
28+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29+
30+
This is where the latest version of our library lives. It targets
31+
``ev3dev-stretch``, which is the current stable version of ev3dev.
32+
We publish releases from this branch.
33+
2934
If your change breaks or changes an API
30-
---------------------------------------
35+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3136

3237
Breaking changes are discouraged, but sometimes they are necessary. A
3338
more common change is to add a new function or property to a class.
@@ -40,7 +45,7 @@ and can easily discuss the breaking change and add it to the release
4045
notes.
4146

4247
If your change addresses an Issue
43-
---------------------------------
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4449

4550
Bug fixes are always welcome, especially if they are against known
4651
issues!
@@ -51,7 +56,7 @@ to its relevant issue and will automatically close the issue when the
5156
PR is merged.
5257

5358
Building and testing changes on the EV3
54-
---------------------------------------
59+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5560

5661
In an SSH terminal window with an EV3 with Internet access,
5762
run the following commands:
@@ -95,3 +100,4 @@ sudo apt install --only-upgrade micropython-ev3dev2
95100
```
96101

97102
.. _ev3dev: http://ev3dev.org
103+
.. _FAQ: https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/faq.html

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Q: How can I upgrade the library on my EV3?
3838
.. code-block:: bash
3939
4040
sudo apt-get update
41-
sudo apt-get install --only-upgrade python3-ev3dev2
41+
sudo apt-get install --only-upgrade python3-ev3dev2 micropython-ev3dev2
4242
4343
Q: Are there other useful Python modules to use on the EV3?
4444
A: The Python language has a `package repository`_ where you can find

0 commit comments

Comments
 (0)