resqui 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. resqui-0.2.0/.github/workflows/docs.yml +49 -0
  2. resqui-0.2.0/.github/workflows/pypi.yml +61 -0
  3. resqui-0.2.0/.github/workflows/resqui.yml +17 -0
  4. resqui-0.2.0/.github/workflows/test.yml +44 -0
  5. resqui-0.2.0/.gitignore +177 -0
  6. resqui-0.2.0/.pre-commit-config.yaml +23 -0
  7. resqui-0.2.0/CITATION.cff +28 -0
  8. resqui-0.2.0/LICENSE +21 -0
  9. resqui-0.2.0/Makefile +45 -0
  10. resqui-0.2.0/PKG-INFO +88 -0
  11. resqui-0.2.0/README.md +55 -0
  12. resqui-0.2.0/action.yml +39 -0
  13. resqui-0.2.0/codemeta.json +120 -0
  14. resqui-0.2.0/configurations/basic.json +6 -0
  15. resqui-0.2.0/configurations/complete.json +26 -0
  16. resqui-0.2.0/configurations/indicators_analysis_code.json +9 -0
  17. resqui-0.2.0/configurations/indicators_prototype_tools.json +16 -0
  18. resqui-0.2.0/configurations/indicators_rs_infrastructure.json +19 -0
  19. resqui-0.2.0/docs/explanation/architecture.md +63 -0
  20. resqui-0.2.0/docs/explanation/indicators.md +65 -0
  21. resqui-0.2.0/docs/how-to/add-a-plugin.md +103 -0
  22. resqui-0.2.0/docs/how-to/ci-integration.md +70 -0
  23. resqui-0.2.0/docs/how-to/custom-configuration.md +57 -0
  24. resqui-0.2.0/docs/index.md +40 -0
  25. resqui-0.2.0/docs/reference/api.md +42 -0
  26. resqui-0.2.0/docs/reference/cli.md +40 -0
  27. resqui-0.2.0/docs/reference/configuration.md +79 -0
  28. resqui-0.2.0/docs/tutorials/first-assessment.md +81 -0
  29. resqui-0.2.0/mkdocs.yml +35 -0
  30. resqui-0.2.0/pyproject.toml +54 -0
  31. resqui-0.2.0/setup.cfg +4 -0
  32. resqui-0.2.0/src/resqui/__init__.py +0 -0
  33. resqui-0.2.0/src/resqui/api.py +33 -0
  34. resqui-0.2.0/src/resqui/cli.py +261 -0
  35. resqui-0.2.0/src/resqui/config.py +43 -0
  36. resqui-0.2.0/src/resqui/core.py +98 -0
  37. resqui-0.2.0/src/resqui/docopt.py +579 -0
  38. resqui-0.2.0/src/resqui/executors/__init__.py +5 -0
  39. resqui-0.2.0/src/resqui/executors/base.py +4 -0
  40. resqui-0.2.0/src/resqui/executors/docker.py +36 -0
  41. resqui-0.2.0/src/resqui/executors/python.py +78 -0
  42. resqui-0.2.0/src/resqui/plugins/__init__.py +19 -0
  43. resqui-0.2.0/src/resqui/plugins/base.py +13 -0
  44. resqui-0.2.0/src/resqui/plugins/cffconvert.py +45 -0
  45. resqui-0.2.0/src/resqui/plugins/gitleaks.py +63 -0
  46. resqui-0.2.0/src/resqui/plugins/howfairis.py +48 -0
  47. resqui-0.2.0/src/resqui/plugins/openssfscorecard.py +254 -0
  48. resqui-0.2.0/src/resqui/plugins/rsfc.py +379 -0
  49. resqui-0.2.0/src/resqui/plugins/superlinter.py +75 -0
  50. resqui-0.2.0/src/resqui/tools.py +68 -0
  51. resqui-0.2.0/src/resqui/version.py +24 -0
  52. resqui-0.2.0/src/resqui.egg-info/PKG-INFO +88 -0
  53. resqui-0.2.0/src/resqui.egg-info/SOURCES.txt +60 -0
  54. resqui-0.2.0/src/resqui.egg-info/dependency_links.txt +1 -0
  55. resqui-0.2.0/src/resqui.egg-info/entry_points.txt +2 -0
  56. resqui-0.2.0/src/resqui.egg-info/requires.txt +9 -0
  57. resqui-0.2.0/src/resqui.egg-info/top_level.txt +1 -0
  58. resqui-0.2.0/tests/test_cli.py +434 -0
  59. resqui-0.2.0/tests/test_config.py +51 -0
  60. resqui-0.2.0/tests/test_core.py +136 -0
  61. resqui-0.2.0/tests/test_executors.py +35 -0
  62. resqui-0.2.0/tests/test_tools.py +134 -0
@@ -0,0 +1,49 @@
1
+ name: Deploy docs
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: pages
15
+ cancel-in-progress: false
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v4
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: '3.13'
28
+
29
+ - name: Install docs dependencies
30
+ run: pip install ".[docs]"
31
+
32
+ - name: Build docs
33
+ run: mkdocs build
34
+
35
+ - name: Upload pages artifact
36
+ uses: actions/upload-pages-artifact@v3
37
+ with:
38
+ path: site/
39
+
40
+ deploy:
41
+ needs: build
42
+ runs-on: ubuntu-latest
43
+ environment:
44
+ name: github-pages
45
+ url: ${{ steps.deployment.outputs.page_url }}
46
+ steps:
47
+ - name: Deploy to GitHub Pages
48
+ id: deployment
49
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,61 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types:
6
+ - published
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ name: Build distributions
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v6
19
+ with:
20
+ # setuptools-scm needs tags to resolve the package version.
21
+ fetch-depth: 0
22
+
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v6
25
+ with:
26
+ python-version: "3.14"
27
+
28
+ - name: Install build tools
29
+ run: python -m pip install --upgrade build twine
30
+
31
+ - name: Build package
32
+ run: python -m build
33
+
34
+ - name: Check distribution metadata
35
+ run: twine check dist/*
36
+
37
+ - name: Upload distributions
38
+ uses: actions/upload-artifact@v7
39
+ with:
40
+ name: python-package-distributions
41
+ path: dist/
42
+
43
+ publish:
44
+ name: Publish to PyPI
45
+ needs: build
46
+ runs-on: ubuntu-latest
47
+ environment:
48
+ name: pypi
49
+ url: https://pypi.org/p/resqui
50
+ permissions:
51
+ id-token: write
52
+
53
+ steps:
54
+ - name: Download distributions
55
+ uses: actions/download-artifact@v7
56
+ with:
57
+ name: python-package-distributions
58
+ path: dist/
59
+
60
+ - name: Publish to PyPI
61
+ uses: pypa/gh-action-pypi-publish@v1.13.0
@@ -0,0 +1,17 @@
1
+ name: Run Resqui CI
2
+
3
+ on:
4
+ push:
5
+
6
+ jobs:
7
+ run-resqui:
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v4
13
+
14
+ - name: Run resqui action
15
+ uses: ./
16
+ with:
17
+ config: "configurations/basic.json"
@@ -0,0 +1,44 @@
1
+ name: Run tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ pull_request:
8
+ branches:
9
+ - '**'
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+
17
+ strategy:
18
+ matrix:
19
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
20
+
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v4
24
+
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+
30
+ - name: Install development dependencies
31
+ run: make install-dev
32
+
33
+ - name: Run tests with coverage
34
+ run: make coverage
35
+
36
+ - name: Upload coverage report
37
+ uses: actions/upload-artifact@v4
38
+ if: matrix.python-version == '3.13'
39
+ with:
40
+ name: coverage-report
41
+ path: htmlcov/
42
+
43
+ - name: Run example
44
+ run: venv/bin/resqui -c configurations/basic.json -t ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,177 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+ src/resqui/version.py
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ #uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ #poetry.lock
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ #pdm.lock
114
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
115
+ # in version control.
116
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
117
+ .pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
122
+ __pypackages__/
123
+
124
+ # Celery stuff
125
+ celerybeat-schedule
126
+ celerybeat.pid
127
+
128
+ # SageMath parsed files
129
+ *.sage.py
130
+
131
+ # Environments
132
+ .env
133
+ .venv
134
+ env/
135
+ venv/
136
+ ENV/
137
+ env.bak/
138
+ venv.bak/
139
+
140
+ # Spyder project settings
141
+ .spyderproject
142
+ .spyproject
143
+
144
+ # Rope project settings
145
+ .ropeproject
146
+
147
+ # mkdocs documentation
148
+ /site
149
+
150
+ # mypy
151
+ .mypy_cache/
152
+ .dmypy.json
153
+ dmypy.json
154
+
155
+ # Pyre type checker
156
+ .pyre/
157
+
158
+ # pytype static type analyzer
159
+ .pytype/
160
+
161
+ # Cython debug symbols
162
+ cython_debug/
163
+
164
+ # PyCharm
165
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
166
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
167
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
168
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
169
+ #.idea/
170
+
171
+ # Ruff stuff:
172
+ .ruff_cache/
173
+
174
+ # PyPI configuration file
175
+ .pypirc
176
+
177
+ config.json
@@ -0,0 +1,23 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v5.0.0
4
+ hooks:
5
+ - id: check-yaml
6
+ args: ["--unsafe"]
7
+ - id: end-of-file-fixer
8
+ - id: trailing-whitespace
9
+ - id: check-added-large-files
10
+ - repo: https://github.com/psf/black
11
+ rev: 23.12.1
12
+ hooks:
13
+ - id: black
14
+ - repo: https://github.com/PyCQA/flake8
15
+ rev: 7.0.0
16
+ hooks:
17
+ - id: flake8
18
+ args: [--ignore=E501]
19
+ - repo: https://github.com/asottile/pyupgrade
20
+ rev: v3.19.1
21
+ hooks:
22
+ - id: pyupgrade
23
+ args: [--py39-plus]
@@ -0,0 +1,28 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ type: software
4
+ title: resqui
5
+ authors:
6
+ - family-names: Gal
7
+ given-names: Tamas
8
+ orcid: https://orcid.org/0000-0001-7821-8673
9
+ affiliation: "Erlangen Centre for Astroparticle Physics, Friedrich-Alexander-Universität Erlangen-Nürnberg"
10
+ - name: "EVERSE"
11
+ repository-code: https://github.com/EVERSE-ResearchSoftware/QualityPipelines
12
+ url: https://github.com/EVERSE-ResearchSoftware/QualityPipelines
13
+ abstract: A tool to check indicators related to research software quality.
14
+ keywords:
15
+ - research-software
16
+ - software-quality
17
+ - quality-assessment
18
+ - quality-indicators
19
+ - continuous-integration
20
+ - github-action
21
+ - best-practices
22
+ - fair-principles
23
+ - reproducibility
24
+ - software-sustainability
25
+ - python
26
+ license: MIT
27
+ version: 0.1.7
28
+ date-released: 2026-02-03
resqui-0.2.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 EVERSE
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
resqui-0.2.0/Makefile ADDED
@@ -0,0 +1,45 @@
1
+ PKGNAME=resqui
2
+ VENV=venv
3
+ PYTHON=$(VENV)/bin/python
4
+ PIP=$(VENV)/bin/pip
5
+ COVERAGE=$(VENV)/bin/coverage
6
+
7
+ $(VENV)/bin/activate: pyproject.toml
8
+ python3 -m venv $(VENV)
9
+ $(PIP) install -e ".[dev,docs]"
10
+ touch $(VENV)/bin/activate
11
+
12
+ install: $(VENV)/bin/activate
13
+
14
+ install-dev: $(VENV)/bin/activate
15
+
16
+ install-docs: $(VENV)/bin/activate
17
+
18
+ venv: $(VENV)/bin/activate
19
+
20
+ test: $(VENV)/bin/activate
21
+ $(COVERAGE) run -m unittest discover -s tests
22
+ $(COVERAGE) report -m
23
+
24
+ coverage: $(VENV)/bin/activate
25
+ $(COVERAGE) run -m unittest discover -s tests
26
+ $(COVERAGE) html
27
+ $(COVERAGE) report -m
28
+
29
+ example: $(VENV)/bin/activate
30
+ $(VENV)/bin/resqui -c configurations/basic.json
31
+
32
+ black: $(VENV)/bin/activate
33
+ $(VENV)/bin/black src/$(PKGNAME)
34
+ $(VENV)/bin/black tests
35
+
36
+ docs: $(VENV)/bin/activate
37
+ $(VENV)/bin/mkdocs build
38
+
39
+ docs-serve: $(VENV)/bin/activate
40
+ $(VENV)/bin/mkdocs serve
41
+
42
+ clean:
43
+ rm -rf venv site htmlcov .coverage
44
+
45
+ .PHONY: install install-dev install-docs venv test coverage example black docs docs-serve clean
resqui-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: resqui
3
+ Version: 0.2.0
4
+ Summary: EVERSE Research Software Quality Indicators
5
+ Author-email: Tamas Gal <tamas.gal@fau.de>
6
+ Maintainer-email: Tamas Gal <tamas.gal@fau.de>
7
+ Project-URL: Homepage, https://github.com/EVERSE-ResearchSoftware/QualityPipelines
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Scientific/Engineering
22
+ Requires-Python: >=3.9
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: setuptools_scm
26
+ Provides-Extra: dev
27
+ Requires-Dist: black; extra == "dev"
28
+ Requires-Dist: coverage[toml]; extra == "dev"
29
+ Provides-Extra: docs
30
+ Requires-Dist: mkdocs; extra == "docs"
31
+ Requires-Dist: mkdocstrings[python]; extra == "docs"
32
+ Dynamic: license-file
33
+
34
+ # EVERSE Software Quality Pipelines
35
+
36
+ The EVERSE Software Quality Pipelines provide
37
+
38
+ 1) the command line tool `resqui` to check a configurable set of software quality indicators on research software via external plugins (tools);
39
+ 2) GitHub Action to run the pipeline on a github repository.
40
+
41
+ ## Documentation
42
+
43
+ ### Quality Pipelines
44
+
45
+ 1) `resqui` is installed - preferable within a Python virtual environment - as follows:
46
+
47
+ ```
48
+ git clone https://github.com/EVERSE-ResearchSoftware/QualityPipelines.git
49
+ cd QualityPipelines
50
+ pip install .
51
+ ```
52
+ and can be executed with these options:
53
+
54
+ ```
55
+ $ resqui -h
56
+ Usage:
57
+ resqui [options]
58
+ resqui indicators
59
+
60
+ Options:
61
+ -u <repository_url> URL of the repository to be analyzed.
62
+ -c <config_file> Path to the configuration file.
63
+ -o <output_file> Path to the output file [default: resqui_summary.json].
64
+ -t <github_token> GitHub API token.
65
+ -d <dashverse_token> DashVerse API token.
66
+ -b <branch> The Git branch to be checked.
67
+ -v Verbose output.
68
+ --version Show the version of the script.
69
+ --help Show this help message.
70
+ ```
71
+ The complete documentation of the quality pipelines are available at the project's [Github Pages](https://everse.software/QualityPipelines/);
72
+
73
+ 2) The GitHub Action to include in CI/CDs pipeline is available in [this repository](https://github.com/EVERSE-ResearchSoftware/resqui-github-action).
74
+
75
+ ### EVERSE Services
76
+
77
+ EVERSE provides a set of services to assess and improve the quality of research software, visit the [EVERSE homepage](https://everse.software) for more information.
78
+
79
+ A simplified workflow to improve the software quality is:
80
+ Find the practices on `RSQKit` (1), get an overview on tools and services to measure and improve the quality on the `TechRadar` (2), run an assessment on your own or your groups software via resqui (3) and display the results on `DashVERSE` (4), assess and repeat from (1).
81
+
82
+ More information the services can be found at:
83
+
84
+ 1) Research Software Quality Kit - [RSQKit](https://everse.software/services/rsqkit/)
85
+ 2) Technology Radar - [TechRadar](https://everse.software/services/techradar/)
86
+ 3) Quality Pipelines - `resqui` which is this project
87
+ 4) Software Quality Dashboards - [DashVERSE](https://everse.software/services/dashverse/)
88
+
resqui-0.2.0/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # EVERSE Software Quality Pipelines
2
+
3
+ The EVERSE Software Quality Pipelines provide
4
+
5
+ 1) the command line tool `resqui` to check a configurable set of software quality indicators on research software via external plugins (tools);
6
+ 2) GitHub Action to run the pipeline on a github repository.
7
+
8
+ ## Documentation
9
+
10
+ ### Quality Pipelines
11
+
12
+ 1) `resqui` is installed - preferable within a Python virtual environment - as follows:
13
+
14
+ ```
15
+ git clone https://github.com/EVERSE-ResearchSoftware/QualityPipelines.git
16
+ cd QualityPipelines
17
+ pip install .
18
+ ```
19
+ and can be executed with these options:
20
+
21
+ ```
22
+ $ resqui -h
23
+ Usage:
24
+ resqui [options]
25
+ resqui indicators
26
+
27
+ Options:
28
+ -u <repository_url> URL of the repository to be analyzed.
29
+ -c <config_file> Path to the configuration file.
30
+ -o <output_file> Path to the output file [default: resqui_summary.json].
31
+ -t <github_token> GitHub API token.
32
+ -d <dashverse_token> DashVerse API token.
33
+ -b <branch> The Git branch to be checked.
34
+ -v Verbose output.
35
+ --version Show the version of the script.
36
+ --help Show this help message.
37
+ ```
38
+ The complete documentation of the quality pipelines are available at the project's [Github Pages](https://everse.software/QualityPipelines/);
39
+
40
+ 2) The GitHub Action to include in CI/CDs pipeline is available in [this repository](https://github.com/EVERSE-ResearchSoftware/resqui-github-action).
41
+
42
+ ### EVERSE Services
43
+
44
+ EVERSE provides a set of services to assess and improve the quality of research software, visit the [EVERSE homepage](https://everse.software) for more information.
45
+
46
+ A simplified workflow to improve the software quality is:
47
+ Find the practices on `RSQKit` (1), get an overview on tools and services to measure and improve the quality on the `TechRadar` (2), run an assessment on your own or your groups software via resqui (3) and display the results on `DashVERSE` (4), assess and repeat from (1).
48
+
49
+ More information the services can be found at:
50
+
51
+ 1) Research Software Quality Kit - [RSQKit](https://everse.software/services/rsqkit/)
52
+ 2) Technology Radar - [TechRadar](https://everse.software/services/techradar/)
53
+ 3) Quality Pipelines - `resqui` which is this project
54
+ 4) Software Quality Dashboards - [DashVERSE](https://everse.software/services/dashverse/)
55
+
@@ -0,0 +1,39 @@
1
+ name: 'Run resqui'
2
+ description: 'Installs resqui from GitHub and runs it with an optional config file.'
3
+ inputs:
4
+ config:
5
+ description: 'Path to the configuration file (e.g., configurations/basic.json)'
6
+ required: false
7
+ github_token:
8
+ description: 'GitHub token required for some indicator plugins.'
9
+ required: true
10
+ dashverse_token:
11
+ description: 'Dashverse token to upload the results'
12
+ required: false
13
+
14
+ runs:
15
+ using: 'composite'
16
+ steps:
17
+ - name: Set up Python 3.13
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: '3.13'
21
+
22
+ - name: Install resqui
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install git+https://github.com/EVERSE-ResearchSoftware/QualityPipelines.git@main
26
+ shell: bash
27
+
28
+ - name: Run resqui
29
+ shell: bash
30
+ env:
31
+ RESQUI_GITHUB_TOKEN: ${{ inputs.github_token }}
32
+ RESQUI_CONFIG: ${{ inputs.config }}
33
+ DASHVERSE_TOKEN: ${{ inputs.dashverse_token }}
34
+ run: |
35
+ if [[ -n "$RESQUI_CONFIG" ]]; then
36
+ resqui -c "$RESQUI_CONFIG" -t "$RESQUI_GITHUB_TOKEN"
37
+ else
38
+ resqui -t "$RESQUI_GITHUB_TOKEN"
39
+ fi