Skip to content

Package Versions

Henne Vogelsang edited this page Mar 31, 2026 · 4 revisions

The core functionality of this feature is to track and manage package versions. This is achieved by creating PackageVersion objects.

Components

  • A Project has the anitya_distribution_name attribute and has many Packages
  • A Package has many...
  • PackageVersion with a version string
  • PackageVersionLocal (STI) represent the current package versions
  • PackageVersionUpstream (STI) represent the package versions found on https://release-monitoring.org

Workflow

Initial Synchronization

  • A User adds/changes the anitya_distribution_name of his Project
  • a SyncUpstreamPackageVersionJob gets scheduled
    • for each Package all PackageVersionUpstream get deleted
    • for each Package the latest PackageVersionUpstream is created from https://release-monitoring.org data
  • a SyncLocalPackageVersionJob gets scheduled
    • for each Package a PackageVersionLocal is created from backend data

Ongoing PackageVersionLocal Synchronization

  • An Event:VersionChange for a Package is created
  • a CreateLocalPackageVersionJob is scheduled
    • a PackageVersionLocal is created

Ongoing PackageVersionUpstream Synchronization

  • Every 12 hours a SyncUpstreamPackageVersionJob is scheduled
  • for all Packages of Projects with anitya_distribution_name set, the latest PackageVersionUpstream is created from https://release-monitoring.org data

Clone this wiki locally