Skip to content

Commit 452c526

Browse files
authored
Fix casing: Codemeta -> CodeMeta (#60)
1 parent e9578cc commit 452c526

File tree

9 files changed

+14
-16
lines changed

9 files changed

+14
-16
lines changed

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"@context": ["http://purl.org/codemeta/2.0", "http://schema.org"],
33
"@type": "SoftwareSourceCode",
44
"identifier": "codemetar",
5-
"description": "The 'Codemeta' Project defines a 'JSON-LD' format for describing\n software metadata, as detailed at <https://codemeta.github.io>. This package\n provides utilities to generate, parse, and modify 'codemeta.jsonld' files \n automatically for R packages, as well as tools and examples for working with\n 'codemeta' 'JSON-LD' more generally.",
5+
"description": "The 'CodeMeta' Project defines a 'JSON-LD' format for describing\n software metadata, as detailed at <https://codemeta.github.io>. This package\n provides utilities to generate, parse, and modify 'codemeta.jsonld' files \n automatically for R packages, as well as tools and examples for working with\n 'codemeta' 'JSON-LD' more generally.",
66
"name": "codemetar: Generate CodeMeta Metadata for R Packages",
77
"issueTracker": "https://github.com/ropensci/codemetar/issues",
88
"license": "https://spdx.org/licenses/MIT",

content/jsonld.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "The Codemeta JSON-LD Representation"
2+
title: "The CodeMeta JSON-LD Representation"
33
---
44

55

content/terms.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
title: Codemeta Terms
3-
2+
title: CodeMeta Terms
43
---
54

65
## Terms from Schema.org
@@ -13,7 +12,7 @@ These terms are all recognized properties of <https://schema.org/SoftwareSourceC
1312

1413
{{< properties-description matchParentType="schema:(Person|Thing|Review|Role)">}}
1514

16-
## Codemeta terms
15+
## CodeMeta terms
1716

1817
The CodeMeta project also introduces the following additional properties, which lack clear equivalents in <https://schema.org> but can play an important role in software metadata records covered by the CodeMeta crosswalk.
1918

content/tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This page lists some existing tools to help with CodeMeta files
44

55
## File Generation
66

7-
Some of the early tools still need a little updating to use the latest version of the codemeta context.
7+
Some of the early tools still need a little updating to use the latest version of the codemeta context.
88

99
{.table .table-striped}
1010

@@ -30,7 +30,7 @@ existing codemeta.json files automatically.
3030

3131
{.table .table-striped}
3232

33-
Name | Description | Authors | Language | Codemeta Version
33+
Name | Description | Authors | Language | CodeMeta Version
3434
-----|-------------|----------|----------|--------------------
3535
[Fidgit](https://github.com/arfon/fidgit): | An ungodly union of GitHub and Figshare | Arfon Smith, Kaitlin Thaney, Mark Hahnel | Ruby | 0.1.0
3636
[Software Heritage](https://docs.softwareheritage.org/devel/swh-indexer/metadata-workflow.html#adding-support-for-additional-ecosystem-specific-metadata)|The metadata indexers | SWH team | Python | 2.0

content/use-cases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Then determine a final set of categorized use cases based on these 3 different s
9696

9797

9898

99-
Codemeta Meeting Portland, Edited Use cases, Working Document 1
99+
CodeMeta Meeting Portland, Edited Use cases, Working Document 1
100100
Day 2, PM 20160416 : Carole Goble, Alice Allen, Ashley Sands, Patricia Cruse
101101
Edited Use cases
102102
Created 20160415 (use cases group pulled from here 3pm 20160516)

content/user-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here is an example of a basic `codemeta.json` that you can put at the root of a
1717
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
1818
"@type": "SoftwareSourceCode",
1919
"name": "CodemetaR",
20-
"description": "Codemeta defines a 'JSON-LD' format for describing software metadata. This package provides utilities to generate, parse, and modify codemeta.jsonld files automatically for R packages.",
20+
"description": "CodeMeta defines a 'JSON-LD' format for describing software metadata. This package provides utilities to generate, parse, and modify codemeta.jsonld files automatically for R packages.",
2121
"license": "https://spdx.org/licenses/GPL-3.0",
2222
"identifier": "http://dx.doi.org/10.5281/zenodo.XXXX"
2323
}

content/workshop.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
title: Codemeta Workshop
3-
2+
title: CodeMeta Workshop
43
---
54

65

@@ -46,7 +45,7 @@ The CodeMeta project does not seek to create [yet another standard](https://xkcd
4645

4746
## Project Origins
4847

49-
The CodeMeta project was first concieved at the [Open Science Codefest](http://nceas.github.io/open-science-codefest/), we met to discuss the metadata for scientific software. Participants included:
48+
The CodeMeta project was first conceived at the [Open Science Codefest](http://nceas.github.io/open-science-codefest/), we met to discuss the metadata for scientific software. Participants included:
5049

5150
- Abigail Cabunoc / @abbycabs
5251
- Matt Jones / @metamattj

layouts/shortcodes/properties-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Property
99
<th>
1010
Type
1111
</th>
12-
<th title="What Codemeta versions support this property">
12+
<th title="What CodeMeta versions support this property">
1313
Versions
1414
</th>
1515
<th>

scripts/properties_to_json.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Transforms a set of ``properties_Description.csv`` files from the main Codemeta repo
1+
"""Transforms a set of ``properties_Description.csv`` files from the main CodeMeta repo
22
into JSON processable by Hugo.
33
44
For example, this turns this :file:`v3.0.csv`:
@@ -82,13 +82,13 @@
8282
if item["Property"] == "":
8383
continue # skip empty rows
8484

85-
# Look for a similar existing item from a newer Codemeta version
85+
# Look for a similar existing item from a newer CodeMeta version
8686
for existing_item in json_items:
8787
if existing_item.items() >= item.items():
8888
# We found an existing item, add this version to its list
8989
assert (
9090
version not in existing_item["versions"]
91-
), f"Codemeta {version} has duplicated property {item}"
91+
), f"CodeMeta {version} has duplicated property {item}"
9292
existing_item["versions"].append(version)
9393
break
9494
else:

0 commit comments

Comments
 (0)