Skip to content

Commit 604cf72

Browse files
authored
Merge pull request #1437 from Open-MSS/merge_develop_to_stable
Merge develop to stable, preparing 6.1.0
2 parents baa5932 + 221073d commit 604cf72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1136
-357
lines changed

.github/workflows/python-flake8.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33

44
name: flake8
55

6-
on: [ push, pull_request ]
6+
on:
7+
push:
8+
branches:
9+
- develop
10+
- stable
11+
pull_request:
12+
branches:
13+
- develop
14+
- stable
15+
716
jobs:
817
lint:
918
runs-on: ubuntu-latest

.github/workflows/testing.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Pytest MSS
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- stable
8+
pull_request:
9+
branches:
10+
- develop
11+
- stable
12+
413
env:
514
PAT: ${{ secrets.PAT }}
615

.github/workflows/xdist_testing.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Pytest MSS
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- stable
8+
pull_request:
9+
branches:
10+
- develop
11+
- stable
12+
413
env:
514
PAT: ${{ secrets.PAT }}
615

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ in alphabetic order by first name
1919
- Reimar Bauer <rb.proj@gmail.com>
2020
- Sakshi Chopkar <sakshichopkar@gmail.com>
2121
- Shivashis Padhi <shivashispadhi@gmail.com>
22+
- Sreelakshmi Jayarajan <sreelakshmipj555@gmail.com>
2223
- Tanish Grover <tanish1908@gmail.com>
2324
- Thomas Breuer <t.breuer@fz-juelich.de>
2425
- Vaibhav Mehra <veb7vmehra@gmail.com>

CHANGES.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
=========
33

4+
Version 6.1.0
5+
~~~~~~~~~~~~~
6+
7+
This release includes some small improvements of the usablity.
8+
A few bug fixes, a new plugin for NAVAID waypoints is decribed and
9+
mscolab gots few improvements for user creation.
10+
Wind speed plots can now be created for altitudes > 25km.
11+
12+
All changes:
13+
https://github.com/Open-MSS/MSS/milestone/70?closed=1
14+
415

516
Version 6.0.6
617
~~~~~~~~~~~~~

conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
limitations under the License.
2626
"""
2727

28-
import importlib
2928
import importlib.machinery
3029
import os
3130
import sys
@@ -37,9 +36,13 @@
3736

3837
import pytest
3938
import fs
39+
import shutil
4040
from mslib.mswms.demodata import DataFiles
4141
import mslib._tests.constants as constants
4242

43+
# make a copy for mscolab test, so that we read different pathes during parallel tests.
44+
sample_path = os.path.join(os.path.dirname(__file__), "docs", "samples", "flight-tracks")
45+
shutil.copy(os.path.join(sample_path, "example.ftml"), constants.ROOT_DIR)
4346

4447
def pytest_addoption(parser):
4548
parser.addoption("--mss_settings", action="store")

docs/components.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Components
55
:maxdepth: 3
66

77
usage
8+
plugins
89
mswms
910
mscolab
1011
tutorials

docs/development.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Create an environment and install the whole mss package dependencies then remove
143143

144144
$ conda create -n mssdev mamba
145145
$ conda activate mssdev
146-
$ mamba install mss=$mss_version --only-deps
146+
$ mamba install mss=$mss_version python --only-deps
147147

148148
You can also use conda to install mss, but mamba is a way faster.
149149
Compare versions used in the meta.yaml between stable and develop branch and apply needed changes.
@@ -172,7 +172,7 @@ You can view the default configuration of mscolab in the file `mslib/mscolab/con
172172
If you want to change any values of the configuration, please take a look at the "Configuring Your Mscolab Server"
173173
section in :ref:`mscolab`
174174

175-
When using for the first time you need to initialise your database. Use the command :code:`python mslib/mscolab/mscolab db --init`
175+
When using for the first time you need to initialise your database. Use the command :code:`python mslib/mscolab/mscolab.py db --init`
176176
to initialise it. The default database is a sqlite3 database.
177177
You can add some dummy data to your database by using the command :code:`python mslib/mscolab/mscolab.py db --seed`.
178178
The content of the dummy data can be found in the file `mslib/mscolab/seed.py`.

docs/mscolab.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Protecting Login
2323
~~~~~~~~~~~~~~~~
2424
The login to the MSColab server can be protected by an additional auth method.
2525

26-
**mss_mscolab_auth.py**
27-
2826
.. literalinclude:: samples/config/mscolab/mss_mscolab_auth.py.sample
2927

28+
Make a copy of the above file, rename it to mss_mscolab_auth.py, make the necessary changes in the file and add it to your $PYTHONPATH.
29+
3030
Steps to Run MSColab Server
3131
~~~~~~~~~~~~~~~~~~~~~~~~~~~
3232
- The MSColab server comes included in the MSS python package.

docs/mswms.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ For more information on WMS, see http://www.opengeospatial.org/standards/wms
2020
WMS Server Deployment
2121
=====================
2222

23+
.. _deployment:
24+
2325
Once installation and configuration are complete, you can start the
2426
Web Map Service application (provided you have forecast data to visualise).
2527
The file "mswms" is an executable Python script starting up a Flask HTTP server
@@ -449,4 +451,4 @@ Detailed server configuration *mss_wms_settings.py* for this demodata
449451

450452
For setting authentication see *mss_wms_auth.py*
451453

452-
.. literalinclude:: samples/config/wms/mss_wms_auth.py.sample
454+
.. literalinclude:: samples/config/wms/mss_wms_auth.py.sample

0 commit comments

Comments
 (0)