Skip to content

Commit bdd666c

Browse files
authored
Merge pull request #56 from oeg-upm/dev
Fixed minor issue with RSFC-17-1 test
2 parents b6a88a8 + c36b008 commit bdd666c

7 files changed

Lines changed: 57 additions & 6 deletions

File tree

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ keywords:
2626
- indicators
2727
- fairness
2828
license: MIT
29-
version: 0.0.8
29+
version: 0.0.9

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,56 @@ Given a repository URL, RSFC will perform a series of checks based on a list of
2929
For more information about these RSQIs, you can check https://github.com/EVERSE-ResearchSoftware/indicators. We have plans to implement all of the RSQIs available in that repository.
3030

3131

32+
## Available tests
33+
34+
RSFC can perform the following tests:
35+
36+
- RSFC-01-1: There is an identifier and it resolves
37+
- RSFC-01-2: There is an identifier in the metadata files
38+
- RSFC-01-3: There is an identifier and it follows a common schema
39+
- RSFC-03-1: The software has releases
40+
- RSFC-03-2: Releases have version and identifier
41+
- RSFC-03-3: Release versions follow SemVer or CalVer
42+
- RSFC-03-4: Release identifiers follow the same scheme
43+
- RSFC-03-5: Last release version corresponds to version in package file
44+
- RSFC-03-6: There is a version number stated in metadata files
45+
- RSFC-04-1: Metadata files exist
46+
- RSFC-04-2: There is a README file
47+
- RSFC-04-3: Title and description are declared
48+
- RSFC-04-4: There is descriptive metadata
49+
- RSFC-04-5: There is a codemeta file
50+
- RSFC-05-1: There is a repostatus badge in the README file
51+
- RSFC-05-2: Contact and support metadata exists
52+
- RSFC-05-3: Software documentation exists
53+
- RSFC-06-1: Authors are declared
54+
- RSFC-06-2: Contributors are declared
55+
- RSFC-06-3: Authors have an ORCID assigned
56+
- RSFC-06-4: Authors have their role stated
57+
- RSFC-07-1: There is an identifier in README or CITATION
58+
- RSFC-07-2: Software identifier resolves and links back to software
59+
- RSFC-08-1: Metadata record is found in SWHeritage or Zenodo
60+
- RSFC-09-1: Repository is from Github or Gitlab
61+
- RSFC-12-1: There is an article citation or reference publication
62+
- RSFC-13-1: Dependencies are declared
63+
- RSFC-13-2: There are installation instructions
64+
- RSFC-13-3: Dependencies have version numbers
65+
- RSFC-13-4: Dependencies are in a machine-readable format
66+
- RSFC-14-1: Tests are provided
67+
- RSFC-14-2: There are actions to automate tests
68+
- RSFC-15-1: There is a license
69+
- RSFC-15-2: License is in SPDX format
70+
- RSFC-15-3: License information is provided
71+
- RSFC-16-1: License is referenced in metadata files
72+
- RSFC-17-1: The repository has an 'active' status
73+
- RSFC-17-2: Repository has a commit history
74+
- RSFC-17-3: Commits are linked to issues
75+
- RSFC-18-1: There are citations
76+
- RSFC-19-1: Repository has continuous integration workflows
77+
- RSFC-20-1: Repository has an issue tracker
78+
79+
**Note**: These will be the identifiers needed to run single-test assessments. More information later in the README
80+
81+
3282
## Requirements
3383

3484
Python 3.10.8 or higher

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
"operatingSystem": "Linux",
3535
"programmingLanguage": "Python",
3636
"relatedLink": "https://github.com/EVERSE-ResearchSoftware/indicators",
37-
"version": "0.0.8",
37+
"version": "0.0.9",
3838
"developmentStatus": "wip"
3939
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "rsfc"
3-
version = "0.0.8"
3+
version = "0.0.9"
44
description = "EVERSE Research Software Fairness Checks"
55
authors = ["Andres Montero <andres.montero.martin@upm.es>"]
66
license = "MIT"

src/rsfc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

33

4-
__version__ = "0.0.8"
4+
__version__ = "0.0.9"
55

src/rsfc/rsfc_tests/rsfc_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,7 @@ def test_commits_linked_issues(gh):
11151115
if commits == [] or issues == []:
11161116
output = "false"
11171117
evidence = constants.EVIDENCE_NOT_ENOUGH_ISSUES_COMMITS_INFO
1118+
suggest = constants.SUGGEST_NO_COMMITS_OR_ISSUES
11181119
else:
11191120
linked = rsfc_helpers.cross_check_any_issue(issues, commits)
11201121

src/rsfc/utils/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
SUGGEST_NO_ISSUES_LINK_COMMITS = "It is good practice to indicate in your commits which issues you are targeting or solving"
255255
SUGGEST_NO_ACTIVE_REPO = "You should keep your repository active and indicate it with a repostatus badge"
256256
SUGGEST_NO_ISSUE_TRACKER = "You should have an issue tracker in your repository to help you manage your ideas, next steps and bugs to fix."
257-
257+
SUGGEST_NO_COMMITS_OR_ISSUES = "Don't forget to make commits of your source code to your git repository and issues to improve version control. More information at https://everse.software/RSQKit/using_version_control"
258258

259259

260260

@@ -419,7 +419,7 @@
419419
'rsfc' : {
420420
'name' : 'RSFC',
421421
'id' : 'https://w3id.org/rsfc/',
422-
'version' : '0.0.7'
422+
'version' : '0.0.9'
423423
}
424424
}
425425

0 commit comments

Comments
 (0)