Skip to main content

tracking of upstream project metadata

Project description

Upstream Ontologist

The upstream ontologist provides a common interface for finding metadata about upstream software projects.

It will gather information from any sources available, prioritize data that it has higher confidence in as well as report the confidence for each of the bits of metadata.

The ontologist originated in Debian and the currently reported metadata fields are loosely based on DEP-12, but it is meant to be distribution-agnostic.

Provided Fields

Standard fields:

  • Homepage: homepage URL
  • Name: human name of the upstream project
  • Contact: contact address of some sort of the upstream (e-mail, mailing list URL)
  • Repository: VCS URL
  • Repository-Browse: Web URL for viewing the VCS
  • Bug-Database: Bug database URL (for web viewing, generally)
  • Bug-Submit: URL to use to submit new bugs (either on the web or an e-mail address)
  • Screenshots: List of URLs with screenshots
  • Archive: Archive used - e.g. SourceForge
  • Security-Contact: e-mail or URL with instructions for reporting security issues
  • Documentation: Link to documentation on the web

Extensions for upstream-ontologist, not defined in DEP-12:

  • X-SourceForge-Project: sourceforge project name
  • X-Wiki: Wiki URL
  • X-Summary: one-line description of the project
  • X-Description: longer description of the project
  • X-License: Single line license (e.g. "GPL 2.0")
  • X-Copyright: List of copyright holders
  • X-Version: Current upstream version
  • X-Security-MD: URL to markdown file with security policy
  • X-Author: List of people who contributed to the project
  • X-Maintainer: The maintainer of the project
  • X-Funding: URL to more information about funding

Supported Data Sources

At the moment, the ontologist can read metadata from the following upstream data sources:

It will also scan README and INSTALL for possible upstream repository URLs (and will attempt to verify that those match the local repository).

In addition to local files, it can also consult external directories using their APIs:

Example Usage

The easiest way to use the upstream ontologist is by invoking the guess-upstream-metadata command in a software project:

$ guess-upstream-metadata ~/src/dulwich
X-Security-MD: https://github.com/dulwich/dulwich/tree/HEAD/SECURITY.md
Name: dulwich
X-Version: 0.20.15
Bug-Database: https://github.com/dulwich/dulwich/issues
Repository: https://www.dulwich.io/code/
X-Summary: Python Git Library
Bug-Submit: https://github.com/dulwich/dulwich/issues/new

Alternatively, there is a Python API. There are also autocodemeta and autodoap commands that can generate output in the codemeta and DOAP formats, respectively.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upstream-ontologist-0.1.35.tar.gz (102.6 kB view details)

Uploaded Source

Built Distribution

upstream_ontologist-0.1.35-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

Details for the file upstream-ontologist-0.1.35.tar.gz.

File metadata

  • Download URL: upstream-ontologist-0.1.35.tar.gz
  • Upload date:
  • Size: 102.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for upstream-ontologist-0.1.35.tar.gz
Algorithm Hash digest
SHA256 040f1aaa9a2560474192f549c5d4544800a1e108afc3e7c6000b13ef9e299112
MD5 948bee5288a67114dee574af00a9a6bf
BLAKE2b-256 3704144443ac5bcae56b8d1b79535a9456efcec406227a204dc85426d6d7512c

See more details on using hashes here.

File details

Details for the file upstream_ontologist-0.1.35-py3-none-any.whl.

File metadata

File hashes

Hashes for upstream_ontologist-0.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 385f44b544aaf0a1056bf2113ad8feff583fe59c225d2834622281cc2cddd9ae
MD5 bd1bf8b7aa2f2736d11efa78e4cb7d5a
BLAKE2b-256 e048d8586964fbc42126f2ddf8c3072ea0810159e10577e6481d7aa8e25b23dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page