Skip to content

Commit 2c7e236

Browse files
authored
Merge pull request #3 from boydorr/rr/pluto
Fix for Pluto notebooks
2 parents 945798c + d67ce1d commit 2c7e236

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2024 Richard Reeve
1+
Copyright (c) 2024-2025 Richard Reeve
22

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

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# NEWS
22

3+
- v0.1.5
4+
- Can't add license info for Pluto notebooks
35
- v0.1.4
46
- More compatibility fixes
57
- v0.1.3

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "ResearchSoftwareMetadata"
22
uuid = "58378933-4625-47fa-851e-05ee27d397bd"
33
license = "BSD-2-Clause"
44
authors = ["Richard Reeve <richard.reeve@glasgow.ac.uk>"]
5-
version = "0.1.4"
5+
version = "0.1.5"
66

77
[deps]
88
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"

codemeta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"Linux",
1515
"macOS"
1616
],
17-
"version": "v0.1.4",
18-
"dateModified": "2024-10-16",
17+
"version": "v0.1.5",
18+
"dateModified": "2025-04-02",
1919
"datePublished": "2024-07-18",
20-
"downloadUrl": "https://github.com/boydorr/ResearchSoftwareMetadata.jl/archive/refs/tags/v0.1.4.tar.gz",
20+
"downloadUrl": "https://github.com/boydorr/ResearchSoftwareMetadata.jl/archive/refs/tags/v0.1.5.tar.gz",
2121
"license": "https://spdx.org/licenses/BSD-2-Clause",
2222
"author": [
2323
{

src/ResearchSoftwareMetadata.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ function crosswalk(git_dir = readchomp(`$(Git.git()) rev-parse --show-toplevel`)
637637
data = readlines(jl_file)
638638
if startswith(data[1], "# SPDX-License-Identifier:")
639639
data[1] = "# SPDX-License-Identifier: $(project["license"])"
640-
else
640+
elseif !startswith(data[1], "### A Pluto.jl notebook ###")
641641
pushfirst!(data, "")
642642
pushfirst!(data,
643643
"# SPDX-License-Identifier: $(project["license"])")

0 commit comments

Comments
 (0)