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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-19Lines changed: 3 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,8 +142,9 @@ We have two places for our documentation
142
142
##### LF Energy Wiki
143
143
LF Energy has it's own [CoMPAS specific Wiki](https://wiki.lfenergy.org/display/HOME/CoMPAS). This is the place for documenation about CoMPAS in general (like roadmap and the community call agendas).
144
144
145
-
##### CoMPAS Architecture Github Pages
146
-
There is also a [Github Pages](https://com-pas.github.io/compas-architecture/) website for CoMPAS architecture specific topics.
145
+
#### Architecture and technologies
146
+
For all architecture and technology choices (for example frameworks, build tools, database choices, etcetera),
147
+
please check the source code (duh!) and our [CoMPAS Architecture Github Pages](https://com-pas.github.io/compas-architecture/).
147
148
148
149
#### Copyright and Licensing
149
150
Copyright and license information is done on per-file basis. We use the specification of [REUSE](https://reuse.software/spec/)
@@ -153,23 +154,6 @@ Every source code repository within CoMPAS has a Github Action for checking agai
153
154
154
155
For more information, check the [Copyright Guidelines](#copyright-guidelines) section.
155
156
156
-
#### Architecture and technologies
157
-
For all architecture and technology choices (for example frameworks, build tools, database choices, etcetera),
158
-
please check the source code (duh!) and our [CoMPAS Architecture Github Pages](https://com-pas.github.io/compas-architecture/).
159
-
160
-
#### Adding custom badges to your README
161
-
Badges are great for quickly checking several status reports of a specific repository.
162
-
Sometimes a application doesn't serve badges ([LFX Security tool](https://security.lfx.linuxfoundation.org/) for example), and you need to do it yourself.
163
-
We use [shields.io](https://shields.io/) for this problem.
164
-
165
-
In case of the LFX Security Tool, we used the following:
166
-
- Go to [shields.io](https://shields.io/).
167
-
- Go to the 'Dynamic' section.
168
-
- Choose JSON as data type.
169
-
- Insert 'LFX Security Tool' as the label.
170
-
- Insert the API to use, in case of our LFX Security tool projects we use [this API](https://api.security.lfx.linuxfoundation.org/v1/project/e8b6fdf9-2686-44c5-bbaa-6965d04ad3e1/issues).
171
-
- Now you can query using JsonPath. To get all open high issues from the 'CoMPAS Core' project, use `issues[?(@['repository-name'] == 'compas-core')]['high-open-issues']`.
172
-
- Choose a color and a pre- or surfix text.
173
157
174
158
### Github Project Boards
175
159
For managing the CoMPAS issues created in all the separate repositories, we use the [Projects Board](https://github.com/orgs/com-pas/projects) of Github.
@@ -116,7 +124,7 @@ After importing the projects with either method, install SonarLint for quicker f
116
124
117
125
## GitHub Actions
118
126
119
-
#####Settings.xml during GitHub Action for GitHub Packages
127
+
### Settings.xml during GitHub Action for GitHub Packages
120
128
During multiple GitHub Actions (like building and SonarCloud analysis), the custom `settings.xml` file is needed because it needs access to the GitHub Packages
121
129
to download certain artifacts. We can do this by adding the following step **before** the GitHub Packages repository is needed.
122
130
@@ -169,10 +177,26 @@ To publish artifacts to GiHub Packages a distribution section needs to be added
The ID is the same as the ID used for the repository section [above](#github-packages-in-maven).
177
185
This way the same credentials will be used to connect to GitHub Packages as described [above](#maven-local-settingsxml-for-github-packages).
178
-
Replace "repo-name" with the name of the repository from CoMPAS.
186
+
Replace "[repo-name]" with the name of the repository from CoMPAS.
187
+
188
+
## Others
189
+
190
+
### Adding custom badges to your README
191
+
Badges are great for quickly checking several status reports of a specific repository.
192
+
Sometimes a application doesn't serve badges ([LFX Security tool](https://security.lfx.linuxfoundation.org/) for example), and you need to do it yourself.
193
+
We use [shields.io](https://shields.io/) for this problem.
194
+
195
+
In case of the LFX Security Tool, we used the following:
196
+
- Go to [shields.io](https://shields.io/).
197
+
- Go to the 'Dynamic' section.
198
+
- Choose JSON as data type.
199
+
- Insert 'LFX Security Tool' as the label.
200
+
- Insert the API to use, in case of our LFX Security tool projects we use [this API](https://api.security.lfx.linuxfoundation.org/v1/project/e8b6fdf9-2686-44c5-bbaa-6965d04ad3e1/issues).
201
+
- Now you can query using JsonPath. To get all open high issues from the 'CoMPAS Core' project, use `issues[?(@['repository-name'] == 'compas-core')]['high-open-issues']`.
0 commit comments