Skip to content

Bot which does cleanup/sync tasks between Open Library and Wikidata

Notifications You must be signed in to change notification settings

cdrini/openlibrary-wikidata-bot

Repository files navigation

This bot operates on Open Library and Wikidata, doing some sync/cleanup tasks between the two.

Usage

  1. Start Jenkins:
docker run \
  -u root \
  --rm \
  -d \
  -p 8080:8080 \
  -p 50000:50000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  --name jenkins \
  jenkinsci/blueocean
  1. Follow the steps here to finish setting up Jenkins: https://jenkins.io/doc/book/installing/#setup-wizard
  2. Follow these steps to create a new Pipeline Project using git: https://jenkins.io/doc/book/pipeline/getting-started/#defining-a-pipeline-in-scm
  3. In Jenkins, go to /credentials/store/system/ on Jenkins, and create new credentials:
  • openlibrary-bot-credentials (how OpenLibraryBot should log in to Wikidata)
  • wikidata-bot-credentials (how WikidataBot should log in to Open Library)
  1. Run the pipeline!

NOTE: This will currently run the only job this bot does. Once there are more jobs, this flow will change (somehow).

About

Bot which does cleanup/sync tasks between Open Library and Wikidata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published