You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Firstly you have to make your own copy of project. For that you have to fork the repository. You can find the fork button on the top-right side of the browser window.
26
59
27
60
2. Kindly wait till it gets forked.
28
61
29
62
3. After that copy will look like *<your-user-name>/MSS* forked from *Open-MSS/MSS*.
30
63
31
-
============================
32
64
Cloning the Repo
33
-
============================
65
+
----------------
34
66
35
67
1. Now you have your own copy of project. Here you have to start your work.
36
68
@@ -46,9 +78,10 @@ Cloning the Repo
46
78
47
79
or simply head over here for `cloning a repository <https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github/cloning-a-repository>`_
48
80
49
-
============================
50
-
Setting up remote :
51
-
============================
81
+
7. Add the path of your local cloned mss directory to $PYTHONPATH.
Please open a new issue in the appropriate GitHub repository `here <https://github.com/Open-MSS/MSS/issues/new>`_ with steps to reproduce the problem you're experiencing.
82
-
83
-
Be sure to include as much information including screenshots, text output, and both your expected and actual results.
84
-
85
-
============================
86
-
How to Request Enhancements:
87
-
============================
88
-
First, please refer to the applicable `GitHub repository <https://github.com/Open-MSS/MSS>`_ and search `the repository's GitHub issues <https://github.com/Open-MSS/MSS/issues>`_ to make sure your idea has not been (or is not still) considered.
89
-
90
-
Then, please `create a new issue <https://github.com/Open-MSS/MSS/issues/new>`_ in the GitHub repository describing your enhancement.
91
-
92
-
Be sure to include as much detail as possible including step-by-step descriptions, specific examples, screenshots or mockups, and reasoning for why the enhancement might be worthwhile.
93
-
94
-
============================
95
-
Development
96
-
============================
97
-
98
-
This chapter will get you started with MSS development.
99
-
100
-
MSS is written in Python.
101
-
102
-
Once a stable release is published we do only bug fixes in stable and release regulary
103
-
new minor versions. If a fix needs a API change or it is likly more a new feature you have
104
-
to make a pull request to the develop branch. Documentation of changes is done by using our
On linux install the `conda package pyvirtualdisplay` and `xvfb` from your linux package manager.
160
-
This is used to run tests on a virtual display.
161
-
If you don't want tests redirected to the xvfb display just setup an environment variable::
143
+
Creating a pull request
144
+
-----------------------
162
145
163
-
$ export TESTS_VISIBLE=TRUE
146
+
By this time you can see a message on your github fork as your fork is ahead of Open-MSS:develop by <number> of commits and also you can see a button called Compare and pull request.
147
+
148
+
Click on Compare and pull request button.
149
+
150
+
You will see a template.
151
+
152
+
Fill out the template completely by describing your change, cause of change, issue getting fixed etc.
153
+
154
+
After filling the template completely click on Pull request
164
155
156
+
How to Report Bugs
157
+
~~~~~~~~~~~~~~~~~~
158
+
159
+
Please open a new issue in the appropriate GitHub repository `here <https://github.com/Open-MSS/MSS/issues/new>`_ with steps to reproduce the problem you're experiencing.
160
+
161
+
Be sure to include as much information including screenshots, text output, and both your expected and actual results.
162
+
163
+
How to Request Enhancements
164
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
165
+
166
+
First, please refer to the applicable `GitHub repository <https://github.com/Open-MSS/MSS>`_ and search `the repository's GitHub issues <https://github.com/Open-MSS/MSS/issues>`_ to make sure your idea has not been (or is not still) considered.
167
+
168
+
Then, please `create a new issue <https://github.com/Open-MSS/MSS/issues/new>`_ in the GitHub repository describing your enhancement.
169
+
170
+
Be sure to include as much detail as possible including step-by-step descriptions, specific examples, screenshots or mockups, and reasoning for why the enhancement might be worthwhile.
165
171
166
172
Setup demodata
167
173
~~~~~~~~~~~~~~
174
+
In the mss package is some demodata included. The default where this is stored is $HOME/mss. Your clone of the
175
+
MSS repository needs a different folder, e.g. workspace/mss. Avoid to mix data and source.
168
176
169
177
:ref:`demodata` is provided by executing::
170
178
@@ -196,6 +204,15 @@ Now you can use the MSS desktop application to connect to it using the Mscolab w
196
204
197
205
Running tests
198
206
~~~~~~~~~~~~~~~~~~~
207
+
For developers we provide additional packages for running tests, activate your env and run::
On linux install the `conda package pyvirtualdisplay` and `xvfb` from your linux package manager.
212
+
This is used to run tests on a virtual display.
213
+
If you don't want tests redirected to the xvfb display just setup an environment variable::
214
+
215
+
$ export TESTS_VISIBLE=TRUE
199
216
200
217
We have implemented demodata as data base for testing. On first call of pytest a set of demodata becomes stored
201
218
in a /tmp/mss* folder. If you have installed gitpython a postfix of the revision head is added.
@@ -347,29 +364,3 @@ Publish on Conda Forge
347
364
* rerender the feedstock by conda smithy
348
365
* send a pull request
349
366
* maintainer will merge if there is no error
350
-
351
-
352
-
============================
353
-
Pushing your changes:
354
-
============================
355
-
356
-
1. Now you have made the changes, tested them and built them. So now it's time to push them.
357
-
2. Goto your terminal and type git status and hit enter, this will show your changes from the files
358
-
3. Then type in git add and hit enter, this will add all the files to staging area
359
-
4. Commit the changes by ``git commit -m "<message-describing-your-change>"`` and hit enter.
360
-
5. Now push your branch to your fork by ``git push origin <your-branch-name>`` and hit enter.
361
-
362
-
363
-
============================
364
-
Creating a pull request:
365
-
============================
366
-
By this time you can see a message on your github fork as your fork is ahead of Open-MSS:develop by <number> of commits and also you can see a button called Compare and pull request.
367
-
368
-
Click on Compare and pull request button.
369
-
370
-
You will see a template.
371
-
372
-
Fill out the template completely by describing your change, cause of change, issue getting fixed etc.
373
-
374
-
After filling the template completely click on Pull request
0 commit comments