Skip to content

Commit

Permalink
Crosswalk metadata between Project.toml, codemeta.json, zenodo.json a…
Browse files Browse the repository at this point in the history
…nd LICENSE
  • Loading branch information
richardreeve committed Jul 15, 2024
1 parent 94470d8 commit 141e7b9
Showing 45 changed files with 748 additions and 63 deletions.
18 changes: 9 additions & 9 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"title": "Diversity.jl - diversity measurement in Julia",
"title": "Diversity.jl",
"description": "Julia package for measuring diversity",
"upload_type": "software",
"creators": [
{
"affiliation": "University of Glasgow",
"name": "Reeve, Richard",
"orcid": "0000-0003-2589-8091",
"affiliation": "University of Glasgow",
"ror": "00vtgdb53"
},
{
"affiliation": "Biomathematics and Statistics Scotland",
"name": "Harris, Claire",
"orcid": "0000-0003-0852-2340",
"affiliation": "Biomathematics and Statistics Scotland",
"ror": "03jwrz939"
}
],
@@ -26,13 +26,13 @@
}
],
"keywords": [
"diversity measurement",
"diversity",
"EcoJulia",
"biodiversity",
"phylogenetic diversity",
"partitioning diversity",
"diversity",
"diversity measurement",
"ecology",
"EcoJulia",
"julia"
"julia",
"partitioning diversity",
"phylogenetic diversity"
]
}
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright (c) 2014-2024 Richard Reeve, Claire Harris and Isaac Peetom Heida

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 changes: 0 additions & 23 deletions LICENSE.md

This file was deleted.

25 changes: 22 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name = "Diversity"
uuid = "d3d5718d-52de-57ab-b67a-eca7fd6175a4"
author = ["Richard Reeve <Richard.Reeve@glasgow.ac.uk>", "Claire Harris", "Isaac Peetom Heida"]
version = "0.5.13"
author = ["Richard Reeve <richard.reeve@glasgow.ac.uk>", "Claire Harris", "Isaac Peetom Heida"]
version = "0.5.14"

[license]
SPDX = "BSD-2-Clause"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
@@ -19,8 +22,8 @@ Phylo = "aea672f4-3940-5932-aa44-993d1c3ff149"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[extensions]
DiversityPhyloExt = "Phylo"
DiversityAxisArraysExt = "AxisArrays"
DiversityPhyloExt = "Phylo"

[compat]
AxisArrays = "0.4"
@@ -40,6 +43,22 @@ Statistics = "1.8"
StatsBase = "0.32, 0.33, 0.34"
julia = "1.8"

[[authors]]
name = "Richard Reeve"
orcid = "0000-0003-2589-8091"
email = "richard.reeve@glasgow.ac.uk"

[[authors.affiliation]]
ror = "00vtgdb53"
[[authors]]
name = "Claire Harris"
orcid = "0000-0003-0852-2340"

[[authors.affiliation]]
ror = "03jwrz939"
[[authors]]
name = "Isaac Peetom Heida"

[extras]
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
59 changes: 31 additions & 28 deletions codemeta.json
Original file line number Diff line number Diff line change
@@ -4,56 +4,59 @@
"applicationCategory": "ecology",
"author": [
{
"id": "https://orcid.org/0000-0003-2589-8091",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "University of Glasgow",
"identifier": "https://ror.org/00vtgdb53"
},
"email": "richard.reeve@glasgow.ac.uk",
"givenName": "Richard",
"familyName": "Reeve",
"givenName": "Richard"
"email": "richard.reeve@glasgow.ac.uk",
"id": "https://orcid.org/0000-0003-2589-8091",
"affiliation": [
{
"type": "Organization",
"name": "University of Glasgow",
"identifier": "https://ror.org/00vtgdb53"
}
]
},
{
"id": "https://orcid.org/0000-0003-0852-2340",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "Biomathematics and Statistics Scotland",
"identifier": "https://ror.org/03jwrz939"
},
"email": "claire.harris@bioss.ac.uk",
"givenName": "Claire",
"familyName": "Harris",
"givenName": "Claire"
"id": "https://orcid.org/0000-0003-0852-2340",
"affiliation": [
{
"type": "Organization",
"name": "Biomathematics and Statistics Scotland",
"identifier": "https://ror.org/03jwrz939"
}
]
}
],
"codeRepository": "https://github.com/EcoJulia/Diversity.jl",
"dateCreated": "2014-08-31",
"dateModified": "2024-07-04",
"dateModified": "2024-07-15",
"datePublished": "2017-04-09",
"description": "Julia package for measuring diversity",
"downloadUrl": "https://github.com/EcoJulia/Diversity.jl/archive/refs/tags/v0.5.13.tar.gz",
"downloadUrl": "https://github.com/EcoJulia/Diversity.jl/archive/refs/tags/v0.5.14.tar.gz",
"identifier": "10.5281/zenodo.597610",
"keywords": [
"diversity measurement",
"diversity",
"EcoJulia",
"biodiversity",
"phylogenetic diversity",
"partitioning diversity",
"diversity",
"diversity measurement",
"ecology",
"EcoJulia",
"julia"
"julia",
"partitioning diversity",
"phylogenetic diversity"
],
"license": "https://spdx.org/licenses/BSD-2-Clause",
"name": "Diversity.jl",
"operatingSystem": [
"macOS",
"Linux",
"Windows"
"Windows",
"macOS"
],
"programmingLanguage": "Julia",
"version": "0.5.13",
"programmingLanguage": "julia",
"version": "v0.5.14",
"codemeta:contIntegration": {
"id": "https://github.com/EcoJulia/Diversity.jl/actions/workflows/testing.yaml"
},
12 changes: 12 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Diversity = "d3d5718d-52de-57ab-b67a-eca7fd6175a4"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Git = "d7ba0133-e1db-5d97-8f8c-041e4b3a1eb2"
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
2 changes: 2 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-2-Clause

using Documenter
using Diversity
using Phylo
Loading

2 comments on commit 141e7b9

@richardreeve
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/111108

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.14 -m "<description of version>" 141e7b94966daff527b716b16459e8b30c0ed6dd
git push origin v0.5.14

Please sign in to comment.