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
- The location of the GIT repository on GitHub (`github` field), or the git URL
24
+
in case other servers are used (`git` field).
25
+
- Optional locations within the git repository (`search-extra-paths` field) to
26
+
search for libraries. This can be specified if the libraries are not located
27
+
at the root of repository.
28
+
- Optional branches to be managed besides the official releases (`branches`
29
+
field).
30
+
- Optional tags to be ignored, if one wants to avoid them to be considered by
31
+
the package manager (`ignore-tags` field).
32
+
- The level of support in OpenModelica of the various versions of the library
33
+
(`support` field), see below.
34
+
35
+
As an example, if you develop your library `MyLibrary` at
36
+
"<https://github.com/myGithubName/MyLibrary.git>", you can add a json object
37
+
like the following to [repos.json](repos.json)
12
38
13
-
For each library, the [repos.json](repos.json) database contains several pieces of information:
14
-
- The name of the library(es) (`names` field); it is possible to collect a set of libraries that are found in the same GIT repository
15
-
e.g. Modelica, ModelicaReference, ModelicaServices, Complex, ModelicaTest.
16
-
- The location of the GIT repository on GitHub (`github` field), or the git URL in case other servers are used (`git` field).
17
-
- Optional locations within the git repository (`search-extra-paths` field) to search for libraries. This can be specified if the libraries are not located at the root of repository.
18
-
- Optional branches to be managed besides the official releases (`branches` field).
19
-
- Optional tags to be ignored, if one wants to avoid them to be considered by the package manager (`ignore-tags` field).
20
-
- The level of support in OpenModelica of the various versions of the library (`support` field), see below.
21
-
22
-
As an example, if you develop your library `MyLibrary` at "https://github.com/myGithubName/MyLibrary.git",
23
-
you can add a json object like the following to [repos.json](repos.json)
24
39
```json
25
40
"MyLibrary": {
26
41
"names": ["MyLibrary"],
@@ -35,20 +50,30 @@ you can add a json object like the following to [repos.json](repos.json)
35
50
## Library support levels in OpenModelica
36
51
37
52
There are five levels of support:
38
-
-`fullSupport`: The library is fully supported by OpenModelica, with over 95% runnable models in the library simulating correctly.
39
-
-`support`: The library is partially supported by OpenModelica; most models and features work correctly, but some still don't.
40
-
-`experimental`: The library is currently being tested with OpenModelica, but there is no guarantee of success when using it.
41
-
-`noSupport`: The library is actively developed or maintained, but is not supported by OpenModelica.
42
-
-`obsolete`: The library is no longer developed or maintained, or it has been completely superseded by more recent versions.
43
-
44
-
Note that a library may not be fully supported because of OpenModelica limitations or bugs, but also because the library
45
-
is not fully compliant to the Modelica Language standard. In both cases, we are open to cooperation with open-source
46
-
Modelica library developers, to fix the OpenModelica issues on one hand, and to help them fix it so it is fully
47
-
compliant to the standard on the other hand. Please open an issue on the
48
-
[OpenModelica issue tracker](https://github.com/OpenModelica/OpenModelica/issues) if you want to start the process on your
49
-
open-source Modelica library.
50
-
51
-
The support field may contain multiple selection criteria that are applied sequentially. For example:
53
+
54
+
-`fullSupport`: The library is fully supported by OpenModelica, with over 95%
55
+
runnable models in the library simulating correctly.
56
+
-`support`: The library is partially supported by OpenModelica; most models and
57
+
features work correctly, but some still don't.
58
+
-`experimental`: The library is currently being tested with OpenModelica, but
59
+
there is no guarantee of success when using it.
60
+
-`noSupport`: The library is actively developed or maintained, but is not
61
+
supported by OpenModelica.
62
+
-`obsolete`: The library is no longer developed or maintained, or it has been
63
+
completely superseded by more recent versions.
64
+
65
+
Note that a library may not be fully supported because of OpenModelica
66
+
limitations or bugs, but also because the library is not fully compliant to the
67
+
Modelica Language standard. In both cases, we are open to cooperation with
68
+
open-source Modelica library developers, to fix the OpenModelica issues on one
69
+
hand, and to help them fix it so it is fully compliant to the standard on the
70
+
other hand. Please open an issue on the [OpenModelica issue
71
+
tracker](https://github.com/OpenModelica/OpenModelica/issues) if you want to
72
+
start the process on your open-source Modelica library.
73
+
74
+
The support field may contain multiple selection criteria that are applied
75
+
sequentially. For example:
76
+
52
77
```json
53
78
"support": [
54
79
["prerelease", "noSupport"],
@@ -57,63 +82,88 @@ The support field may contain multiple selection criteria that are applied seque
57
82
["*", "obsolete"]
58
83
]
59
84
```
60
-
means that all pre-release versions are not supported, all _remaining_ versions with version number greater or equal to
61
-
7.0.0 are fully supported, all _remaining_ versions with version number greater or equal to 5.1.0 are partially supported,
62
-
and all _remaining_ versions are considered obsolete.
63
85
64
-
When the first string starts with `>=`, all versions with equal or higher release number according to semver get the attribute of the second string. The string
65
-
`prerelease` identifies all pre-release version, that have a semver metadata starting with `-`. It is also possible to start the first string with `+`, as in `+default.modelica.association` that matches `v3.2.1+default.modelica.association` and `v3.2.2+default.modelica.association`. The wildcard `*` matches any
66
-
version. In all other cases the first string must match verbatim the version number.
86
+
means that all pre-release versions are not supported, all _remaining_ versions
87
+
with version number greater or equal to 7.0.0 are fully supported, all
88
+
_remaining_ versions with version number greater or equal to 5.1.0 are partially
89
+
supported, and all _remaining_ versions are considered obsolete.
67
90
68
-
Some libraries in the package manager are regularly tested on the OSMC servers, see the OpenModelica Library Testing [README.md](https://github.com/OpenModelica/OpenModelicaLibraryTesting/blob/master/README.md).
91
+
When the first string starts with `>=`, all versions with equal or higher
92
+
release number according to semver get the attribute of the second string. The
93
+
string `prerelease` identifies all pre-release version, that have a semver
94
+
metadata starting with `-`. It is also possible to start the first string with
95
+
`+`, as in `+default.modelica.association` that matches
96
+
`v3.2.1+default.modelica.association` and `v3.2.2+default.modelica.association`.
97
+
The wildcard `*` matches any version. In all other cases the first string must
98
+
match verbatim the version number.
99
+
100
+
Some libraries in the package manager are regularly tested on the OSMC servers,
0 commit comments