-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
416 changed files
with
45,564 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
codecov: | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "80...100" | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: | ||
layout: "reach,diff,flags,tree" | ||
behavior: default | ||
require_changes: no |
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,166 @@ | ||
# This file is part of CERN Open Data Portal. | ||
# Copyright (C) 2020, 2023 CERN. | ||
# | ||
# CERN Open Data Portal is free software; you can redistribute it | ||
# and/or modify it under the terms of the GNU General Public License as | ||
# published by the Free Software Foundation; either version 2 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# CERN Open Data Portal is distributed in the hope that it will be | ||
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with CERN Open Data Portal; if not, write to the | ||
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
# MA 02111-1307, USA. | ||
# | ||
# In applying this license, CERN does not | ||
# waive the privileges and immunities granted to it by virtue of its status | ||
# as an Intergovernmental Organization or submit itself to any jurisdiction. | ||
|
||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint-shellcheck: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Runs shell script static analysis | ||
run: | | ||
sudo apt-get install shellcheck | ||
./run-tests.sh --check-shellscript | ||
lint-black: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Check Python code formatting | ||
run: | | ||
pip install black | ||
./run-tests.sh --check-black | ||
lint-pycodestyle: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Check compliance with Python coding style conventions | ||
run: | | ||
pip install --upgrade pip | ||
pip install pycodestyle | ||
./run-tests.sh --check-pycodestyle | ||
lint-pydocstyle: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Check compliance with Python docstring conventions | ||
run: | | ||
pip install --upgrade pip | ||
pip install pydocstyle | ||
./run-tests.sh --check-pydocstyle | ||
lint-check-manifest: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Check Python manifest completeness | ||
run: | | ||
pip install --upgrade pip | ||
pip install check-manifest | ||
./run-tests.sh --check-manifest | ||
check-fixtures: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "14" | ||
|
||
- name: Install Node dependencies | ||
run: npm install -g jsonlint | ||
|
||
- name: Check fixtures | ||
run: ./run-tests.sh --check-fixtures | ||
|
||
check-isort: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Check isort | ||
run: | | ||
pip install --upgrade pip | ||
pip install isort | ||
./run-tests.sh --check-isort | ||
docker-build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Lint Dockerfile | ||
run: docker run -i --rm hadolint/hadolint:v1.18.2 < Dockerfile | ||
|
||
- name: Create certificates | ||
run: ./scripts/generate-localhost-certificate.sh | ||
|
||
- name: Build docker | ||
run: ./run-tests.sh --check-docker-build | ||
|
||
- name: Run pytest | ||
run: docker-compose run --rm web ./run-tests.sh --check-pytest | ||
|
||
- name: Codecov Coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: coverage.xml |
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,57 @@ | ||
Authors | ||
======= | ||
|
||
The list of contributors in alphabetical order: | ||
|
||
- `Achintya Rao <https://orcid.org/0000-0002-1628-2618>`_ | ||
- `Adam Novorolnik <https://github.com/ANovorolnik>`_ | ||
- `Adriano Di Florio <https://github.com/AdrianoDee>`_ | ||
- `Alexander Ioannidis <https://github.com/slint>`_ | ||
- `Ana Trisovic <https://github.com/atrisovic>`_ | ||
- `Andrii Verbytskyi <https://orcid.org/0000-0002-3713-8033>`_ | ||
- `Anna Trzcinska <https://github.com/annatrz>`_ | ||
- `Annemarie Mattmann <https://github.com/Kjili>`_ | ||
- `Anxhela Dani <https://github.com/anxheladani>`_ | ||
- `Artemis Lavasa <https://github.com/artemislav>`_ | ||
- `Arturo Sanchez <https://github.com/artfisica>`_ | ||
- `Audrius Mecionis <https://orcid.org/0000-0002-3759-1663>`_ | ||
- `Clemens Lange <https://github.com/clelange>`_ | ||
- `Daan Rosendal <https://github.com/DaanRosendal>`_ | ||
- `Diego Rodriguez <https://orcid.org/0000-0003-0649-2002>`_ | ||
- `Edgar Carrera <https://github.com/caredg>`_ | ||
- `Eric Engestrom <https://github.com/1ace>`_ | ||
- `Felix Socher <https://github.com/fsocher>`_ | ||
- `Filip Maxin <https://orcid.org/0000-0002-2726-3535>`_ | ||
- `Giuliana Galati <https://github.com/galatigiuliana>`_ | ||
- `Harri Hirvonsalo <https://orcid.org/0000-0002-5503-510X>`_ | ||
- `Heitor Pascoal de Bittencourt <https://github.com/heitorPB>`_ | ||
- `Ioannis Tsanaktsidis <https://github.com/ioannistsanaktsidis>`_ | ||
- `Jan Okraska <https://orcid.org/0000-0002-1416-3244>`_ | ||
- `Jiri Kuncar <https://github.com/jirikuncar>`_ | ||
- `Jose Benito Gonzalez Lopez <https://github.com/jbenito3>`_ | ||
- `Joud Masoud <https://github.com/joudmas>`_ | ||
- `Julie Hogan <https://orcid.org/0000-0002-8604-3452>`_ | ||
- `Juha-Matti Teuho <https://github.com/JuhaTeuho>`_ | ||
- `Kati Lassila-Perini <https://github.com/katilp>`_ | ||
- `Kyle Cranmer <https://github.com/cranmer>`_ | ||
- `Laura Rueda <https://github.com/espacial>`_ | ||
- `Linda Hemmann <https://github.com/hemmlin>`_ | ||
- `Mantas Savaniakas <https://github.com/mantasavas>`_ | ||
- `Matt Bellis <https://github.com/mattbellis>`_ | ||
- `Mihaela Gheata <https://github.com/mgheata>`_ | ||
- `Nancy Hamdan <https://github.com/nancyhamdan>`_ | ||
- `Osama Sh. Almomani <https://github.com/OsamaMomani>`_ | ||
- `Pablo Saiz <https://github.com/psaiz>`_ | ||
- `Pamfilos Fokianos <https://github.com/pamfilos>`_ | ||
- `Patricia Herterich <https://github.com/pherterich>`_ | ||
- `Richard Hildebrandt <https://github.com/rdebrand>`_ | ||
- `Sebastian Feger <https://github.com/sefeg>`_ | ||
- `Sergey Dmitrievsky <https://github.com/dmitr25>`_ | ||
- `Silvia Amerio <https://github.com/samerio>`_ | ||
- `Stefan Wunsch <https://github.com/stwunsch>`_ | ||
- `Suchith Krishna S Donni <https://github.com/sksDonni>`_ | ||
- `Thomas McCauley <https://github.com/tpmccauley>`_ | ||
- `Tibor Šimko <https://orcid.org/0000-0001-7202-5803>`_ | ||
- `Tim Smith <https://github.com/TimSmithCH>`_ | ||
- `Xiaohe Shen <https://github.com/Ari-mu-l>`_ | ||
- `Zacharias Zacharodimos <https://github.com/zzacharo>`_ |
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,7 @@ | ||
Changes | ||
======= | ||
|
||
Version 0.1.0 (released TBD) | ||
---------------------------- | ||
|
||
- Initial public release. |
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,51 @@ | ||
============== | ||
Contributing | ||
============== | ||
|
||
Bug reports, feature requests and code contributions are encouraged | ||
and welcome! | ||
|
||
Bug reports and feature requests | ||
-------------------------------- | ||
|
||
If you find a bug or have a feature request, please search for | ||
`already reported problems | ||
<https://github.com/cernopendata/opendata.cern.ch/issues>`_ before | ||
submitting a new issue. | ||
|
||
If you would like to take more active part in the CERN Open Data | ||
portal developments, you can `watch ongoing discussions | ||
<https://github.com/cernopendata/opendata.cern.ch/notifications>`_ and | ||
`become part of the team | ||
<https://github.com/orgs/cernopendata/teams>`_. | ||
|
||
Code contributions | ||
------------------ | ||
|
||
We follow typical `GitHub flow | ||
<https://guides.github.com/introduction/flow/index.html>`_. | ||
|
||
1. Fork this repository into your personal space. | ||
2. Start a new topical branch for any contribution. Name it sensibly, | ||
say ``fix-event-display-icons``. | ||
3. Test your branch on a local site. If everything works as expected, | ||
please `sign your commits | ||
<https://invenio.readthedocs.io/en/latest/technology/git.html#r2-remarks-on-commit-log-messages>`_ | ||
to indicate its quality. | ||
4. Create `logically separate commits for logically separate things | ||
<https://invenio.readthedocs.io/en/latest/technology/git.html#r1-remarks-on-commit-history>`_. | ||
Check out our usual `development practices | ||
<https://invenio-github.readthedocs.io/en/latest/contributing.html>`_. | ||
5. Please add any ``(closes #123)`` directives in your commit log | ||
message if your pull request closes an open issue. | ||
6. Issue a pull request. If the branch is not quite ready yet, please | ||
indicate ``WIP`` (=work in progress) in the pull request title. | ||
|
||
For more information on how we work with branches, see our `developing | ||
guide <DEVELOPING.rst>`_. | ||
|
||
Chatroom | ||
-------- | ||
|
||
Our chatroom is `on gitter | ||
<https://gitter.im/cernopendata/opendata.cern.ch>`_. |
Oops, something went wrong.