lupo

DataCite REST API

https://github.com/datacite/lupo

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary

Keywords

doi graphql jsonapi lupo rails-api ruby
Last synced: 6 months ago · JSON representation

Repository

DataCite REST API

Basic Info
  • Host: GitHub
  • Owner: datacite
  • License: mit
  • Language: Ruby
  • Default Branch: master
  • Homepage: https://api.datacite.org
  • Size: 16 MB
Statistics
  • Stars: 14
  • Watchers: 7
  • Forks: 8
  • Open Issues: 84
  • Releases: 0
Topics
doi graphql jsonapi lupo rails-api ruby
Created almost 9 years ago · Last pushed 6 months ago
Metadata Files
Readme License Codemeta

README.md

DataCite REST API

Identifier Release Maintainability Test Coverage

Rails API application for managing DataCite providers, clients, prefixes and DOIs. The API usesthe JSONAPI specification.

Installation

Using Docker.

bash docker run -p 8065:80 datacite/lupo

or

bash docker-compose up

If you want to build the docker image locally (instead of pulling it from docker hub) and use docker compose for development you can use bash docker-compose -f docker-compose.yml -f docker-compose.local.yml

You can now point your browser to http://localhost:8065 and use the application. Some API endpoints require authentication.

Development

For basic setup one can use the following:

bash bundle exec rake db:create bundle exec rake db:schema:load bundle exec rake db:seed:development:base

All other seed options can be found using rake --tasks

We use Rspec for testing:

bash bundle exec rspec

Note when using a fresh test database you will need to instantiate the test db with:

bash bundle exec rake db:create RAILS_ENV=test

Note when accessing the console you will need to disable spring:

bash env DISABLE_SPRING=true bundle exec rails console

Follow along via Github Issues.

Note on Patches/Pull Requests

  • Fork the project.
  • Write tests for your new feature or a test that reproduces a bug.
  • Implement your feature or make a bug fix.
  • Do not mess with Rakefile, version or history.
  • Commit, push and make a pull request. Bonus points for topical branches.

License

Lupo is released under the MIT License.

Owner

  • Name: DataCite
  • Login: datacite
  • Kind: organization
  • Email: info@datacite.org

Connecting research, identifying knowledge

CodeMeta (codemeta.json)

{
  "@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld",
  "@type": "SoftwareSourceCode",
  "@id": "https://doi.org/10.5438/8gb0-v673",
  "agents": [
    {
      "@id": "https://orcid.org/0000-0003-0077-4738",
      "@type": "person",
      "name": "Martin Fenner",
      "affiliation": "DataCite",
      "mustBeCited": true,
      "isMaintainer": true,
      "isRightsHolder": true
    },
    {
      "@id": "https://orcid.org/0000-0003-3484-6875",
      "@type": "person",
      "name": "Kristian Garza",
      "affiliation": "DataCite",
      "mustBeCited": true,
      "isMaintainer": true,
      "isRightsHolder": true
    }
  ],
  "identifier": "https://doi.org/10.5438/8gb0-v673",
  "codeRepository": "https://github.com/datacite/lupo",
  "controlledTem": "software",
  "dateCreated": "2017-05-18",
  "datePublished": "2018-05-09",
  "dateModified": "2018-05-09",
  "description": "Rails API application for managing DataCite providers, clients, prefixes and DOIs. The API is based on the JSONAPI specification.",
  "isAutomatedBuild": true,
  "licenseId": "MIT",
  "publisher": "DataCite",
  "version": "1.0.1",
  "tags": [
    "Doi Registration",
    "Rails API",
    "DOI Fabrica"
  ],
  "title": "DataCite Application API",
  "programmingLanguage": {
    "name": "Ruby",
    "version": " 2.4.1",
    "URL": "https://www.ruby-lang.org"
  },
  "readme": "https://github.com/datacite/lupo/blob/master/README.md"
}

GitHub Events

Total
  • Create event: 95
  • Issues event: 38
  • Release event: 20
  • Watch event: 2
  • Delete event: 77
  • Issue comment event: 55
  • Push event: 190
  • Pull request review comment event: 37
  • Pull request event: 148
  • Pull request review event: 129
Last Year
  • Create event: 95
  • Issues event: 38
  • Release event: 20
  • Watch event: 2
  • Delete event: 77
  • Issue comment event: 55
  • Push event: 190
  • Pull request review comment event: 37
  • Pull request event: 148
  • Pull request review event: 129

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 74
  • Average time to close issues: over 1 year
  • Average time to close pull requests: about 2 months
  • Total issue authors: 6
  • Total pull request authors: 9
  • Average comments per issue: 1.75
  • Average comments per pull request: 0.26
  • Merged pull requests: 32
  • Bot issues: 2
  • Bot pull requests: 19
Past Year
  • Issues: 4
  • Pull requests: 69
  • Average time to close issues: 27 days
  • Average time to close pull requests: 13 days
  • Issue authors: 4
  • Pull request authors: 9
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.17
  • Merged pull requests: 31
  • Bot issues: 1
  • Bot pull requests: 14
Top Authors
Issue Authors
  • wendelfabianchinsamy (41)
  • jrhoads (17)
  • ashwinisukale (10)
  • kaysiz (9)
  • codycooperross (5)
  • KellyStathis (4)
  • svogt0511 (3)
  • sentry-io[bot] (2)
  • richardhallett (2)
  • yarikoptic (1)
  • srerickson (1)
  • davidelbert (1)
  • kjgarza (1)
  • mfenner (1)
Pull Request Authors
  • wendelfabianchinsamy (41)
  • jrhoads (31)
  • codycooperross (31)
  • dependabot[bot] (25)
  • richardhallett (23)
  • svogt0511 (11)
  • bklaing2 (11)
  • kaysiz (11)
  • ashwinisukale (8)
  • KellyStathis (6)
  • digitaldogsbody (6)
Top Labels
Issue Labels
bug (12) Epic (6) stale (4) tech_debt (2) optimization (2) project::METADATA-4.5 (1) phase 1 (1) issue::schemaVersion assignment and accuracy (1) enhancement (1) housekeeping (1)
Pull Request Labels
dependencies (25) ruby (6) documentation (1)