digipres / sentinel

The Sentinel watches various data source and updates digipres.org
Apache License 2.0
5 stars 3 forks source link

Sentinel

This is the watcher that watches the watched and reports the reports to http://www.digipres.org

How it works

WARNING! This is outdated since we no longer use Travis!

Overall, this system works as follows:

There are a few different aggregation processes in place currently:

See README-registries.md to see how the format register aggregation works.

To Do

COPTR Bot

Talking to the wiki requires the 'pywikipedia' codebase which is installed here as a git submodule. See the pywikibot instructions for details: https://www.mediawiki.org/wiki/Manual:Pywikibot

Automated build and update process

travis env set GIT_NAME "Andrew Jackson"
travis env set GIT_EMAIL anj@anjackson.net
travis env set GH_TOKEN XXXXXX

See also password.enc etc.

http://docs.travis-ci.com/user/encrypting-files/

opf:foreg andy$ curl -u anjackson  -d '{"scopes":["public_repo"],"note":"CI: sentinel"}' https://api.github.com/authorizations
Enter host password for user 'anjackson':
{
  "id": 12861208,
  "url": "https://api.github.com/authorizations/12861208",
  "app": {
    "name": "CI: sentinel (API)",
    "url": "https://developer.github.com/v3/oauth_authorizations/",
    "client_id": "00000000000000000000"
  },
  "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "note": "CI: sentinel",
  "note_url": null,
  "created_at": "2014-11-13T21:35:54Z",
  "updated_at": "2014-11-13T21:35:54Z",
  "scopes": [
    "public_repo"
  ]
}