Skip to content

Commit

Permalink
Add .zenodo.json
Browse files Browse the repository at this point in the history
Configuration for Zenodo releases, as seen here:
https://zenodo.org/record/5136721
  • Loading branch information
quantum9Innovation committed Jul 27, 2021
1 parent 2b9c0b3 commit 95c99a8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .zenodo.json
@@ -0,0 +1,17 @@
{
"description": "<h1>epispot</h1> <br> <p>Epispot is an epidemiological analysis tool designed for modeling infectious diseases. To read more about epispot, visit the official GitHub repository at <a href=\"https://github.com/epispot/epispot/tree/master/README.md\" >epispot/epispot</a>.</p>",
"license": "GNU General Public License v3 (GPLv3)",
"title": "epispot/epispot",
"upload_type": "software",
"creators": [
{
"affiliation": "@epispot",
"name": "quantum9innovation"
},
{
"affiliation": "@epispot",
"name": "Quantalabs"
}
],
"access_right": "open"
}

1 comment on commit 95c99a8

@github-actions
Copy link

@github-actions github-actions bot commented on 95c99a8 Jul 27, 2021

Choose a reason for hiding this comment

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

@check-spelling-bot Report

Unrecognized words, please review:

  • href
To accept these unrecognized words as correct, run the following commands

... in a clone of the git@github.com:epispot/epispot.git repository
on the master branch:

update_files() {
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
use File::Basename qw(dirname);
make_path (dirname($new_expect_file));
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"$patch_add"');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;
system("git", "add", $new_expect_file);
'
}

comment_json=$(mktemp)
curl -L -s -S \
  --header "Content-Type: application/json" \
  "https://api.github.com/repos/epispot/epispot/comments/54058277" > "$comment_json"
comment_body=$(mktemp)
jq -r .body < "$comment_json" > $comment_body
rm $comment_json

patch_add=$(perl -e '$/=undef;
$_=<>;
s{<details>.*}{}s;
s{^#.*}{};
s{\n##.*}{};
s{(?:^|\n)\s*\*}{}g;
s{\s+}{ }g;
print' < "$comment_body")
  
update_files
rm $comment_body
git add -u

Please sign in to comment.