-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from GreenBankObservatory/pedro-devel
Updates to documentation
- Loading branch information
Showing
17 changed files
with
634 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,40 @@ | |
Instructions for Beta Testers | ||
***************************** | ||
|
||
Instructions | ||
For beta testing we ask that your provide feedback in the form of: | ||
|
||
* Reporting issues. For example, if something does not work or the results are not accurate. | ||
* Making suggestions. For example, requesting new features. | ||
* Letting us know what you think. | ||
|
||
If you are interested in beta testing `dysh`, please contact Pedro Salas ([email protected]) to be added to the beta testers list. Thanks for your interest! | ||
|
||
|
||
Providing feedback | ||
================== | ||
|
||
If you encounter a problem with `dysh`, would like to request a new feature or enhancement or would like to leave feedback, please do so using `GitHub issues <https://github.com/GreenBankObservatory/dysh/issues>`_. There are some basic instructions of how to do this :ref:`here <for_developers/github_integrations:issues>`. | ||
If you encounter a problem with `dysh`, would like to request a new feature or enhancement or would like to leave feedback, please do so using `GitHub issues <https://github.com/GreenBankObservatory/dysh/issues>`_. There are some basic instructions of how to do this :ref:`here <for_developers/github_integrations:issues>`. This requires `creating a free account <https://github.com/>`_ on GitHub if you do not have one. | ||
|
||
If you prefer not to create a GitHub account, please provide your feedback to the `dysh-beta mailing list <https://groups.google.com/g/dysh-beta/about>`_, or send an email to [email protected]. Additionally, we will provide a `form for collecting feedback <https://forms.gle/27tg9adfLbDnUyz37>`_. | ||
|
||
When providing feedback, please provide | ||
|
||
* `Python` version | ||
* `dysh` version | ||
* operating system | ||
|
||
If reporting an issue please also provide | ||
|
||
* the input data (either as a link or a location inside the GBO computing environment) | ||
* a minimum working example to reproduce the error | ||
* outputs (for example, error messages or figures) | ||
* any additional information that might help us reproduce and understand the problem | ||
|
||
|
||
Example feedback | ||
---------------- | ||
|
||
Give and example of how to provide useful feedback when facing an issue. | ||
Here are examples of feedback on GitHub | ||
|
||
* reporting an issue, `Issue #88 <https://github.com/GreenBankObservatory/dysh/issues/88>`_ | ||
* requesting a modification, `Issue #78, <https://github.com/GreenBankObservatory/dysh/issues/78>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
*************************** | ||
Installation for Developers | ||
*************************** | ||
|
||
Here are the steps to install ``dysh`` if you want to develop code. | ||
|
||
We use `hatch <https://hatch.pypa.io/>`_ to manage the build environment. | ||
The usual caveats apply how you set up your python development environment. | ||
|
||
#. Clone the repo and install hatch. | ||
|
||
.. code-block:: bash | ||
$ git clone [email protected]:GreenBankObservatory/dysh.git | ||
$ cd dysh | ||
$ pip install hatch | ||
#. Create and activate a virtual environment with hatch and install the packages required for development. | ||
The virtual environment will be created the first time; subsequent invoking ``hatch shell`` will simply load the created environment. | ||
|
||
.. code-block:: bash | ||
$ hatch shell | ||
(dysh) $ pip install -r requirements_dev.txt | ||
#. Build and install the package | ||
|
||
.. code-block:: bash | ||
(dysh) $ hatch build | ||
(dysh) $ pip install -e . | ||
#. You can exit this environment (which effectively had started a new shell). | ||
|
||
.. code-block:: bash | ||
(dysh) $ exit | ||
$ | ||
#. Each time when you come back in this directory without being in this virtual environment, you'll need to load the virtual environment. | ||
|
||
.. code-block:: bash | ||
$ hatch shell | ||
Notice you can *only* do that from within the original install directory tree. | ||
|
||
Additional Installation Options | ||
------------------------------- | ||
|
||
.. include:: install_developer.rst | ||
|
||
Testing | ||
======= | ||
We use `pytest` for unit and integration testing. | ||
From the top-level dysh directory, run: | ||
|
||
.. code-block:: bash | ||
$ pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.