Git Product home page Git Product logo

neic-zenodo-upload's Introduction

neic-zenodo-upload

Set of scripts to upload NeIC documents etc to Zenodo repository

How to use:

get_authors.sh:

A shell script that will generate a file of author metadata in the form:

last name,first name,ORCID,affiliation

This file is generated by parsing the .md files in the neic.no repository

git clone https://github.com/neicnordic/neic.no.git

You must set DIRECTORY to the full path where the files neic.no/_people/*.md are found

You must set OUTPUT_FILE to the desired name of the authors metadata text file

./upload_to_zenodo.py -p <path to document file> \ -i <document file> \ -d <file containing the description of the document> \ -m <file containing the author list> \ -A <your secret key string generated on Zenodo site>

e.g.

./upload_to_zenodo.py -p /home/jwhite/Downloads/
-i Dellingr_Phase1_DO1_v2.pdf
-d dellingr_p1_d1_description.txt
-m dellingr_p1_d1.txt
-A "SECRETKEYSTRINGetcetc"

where:

jwhite@iso-paha:~/Zenodo$ ls -l ~/Downloads/Dellingr_Phase1_DO1_v2.pdf
-rw-rw-r-- 1 jwhite jwhite 473048 Jul 28 15:29 /home/jwhite/Downloads/Dellingr_Phase1_DO1_v2.pdf

jwhite@iso-paha:~/Zenodo$ cat dellingr_p1_d1_description.txt
Dellingr Phase 1 deliverable DO1 giving the overall requirements for resource sharing and current usage modes for non-national users.

jwhite@iso-paha:~/Zenodo$ cat dellingr_p1_d1.txt
Fagerholm Juha,0000-0002-9972-4468,CSC
Nikunen Petri,0000-0003-0759-6372,CSC
Malkiewicz Tomasz,,CSC
Sveinbjörnsson Hjörleifur,0000-0002-4120-1234,RHnet
Svalgaard-Kohrt Jens,0000-0002-3104-0406,DeIC
Viðarsson Máni-Maríus,,RHnet

neic-zenodo-upload's People

Stargazers

Rosa avatar

Watchers

James Cloos avatar John White avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.